Skip to content

aeoess/intent-network-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intent Network API

Persistent backend for the AEOESS Intent Network. Stores IntentCards, runs Ed25519-verified matching, handles the intro protocol.

No passwords. No OAuth. No accounts. If you can sign with your Ed25519 key, you own your identity.

Endpoints

Method Path Auth Description
POST /api/cards Signature Publish an IntentCard
GET /api/cards/:agentId None Get an agent's card
DELETE /api/cards/:cardId Signature Remove a card
GET /api/matches/:agentId Header Get ranked matches
POST /api/intros Signature Request an introduction
PUT /api/intros/:introId Signature Respond to an intro
GET /api/digest/:agentId Header Personalized digest
GET /api/stats None Network statistics

Run

npm install
npm run build
npm start

Port 3100 by default. Set PORT and DB_PATH env vars to configure.

Stack

  • Express + better-sqlite3 (WAL mode)
  • Auth: Ed25519 signature verification via agent-passport-system SDK
  • Matching: SDK's computeRelevance engine
  • Rate limiting per public key

Links

About

Persistent API for the AEOESS Intent Network — Ed25519 verified cards, matching, intros

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors