Core tools infrastructure for the BlackRoad OS agent ecosystem.
GET /tools- List all available tools
GET /list- List agents with filtering (type, capability, limit, offset)GET /get/:id- Get specific agentGET /capabilities- List all unique capabilitiesGET /types- List agent types with countsPOST /find- Find agents by capability match
POST /store- Store a memory with PS-SHA∞ hashGET /retrieve/:hash- Get specific memoryGET /list- List agent's memoriesPOST /search- Search memoriesDELETE /invalidate/:hash- Mark memory as invalid (truth_state = -1)
POST /evaluate- Evaluate a claim for contradictionsPOST /commit- Commit a claim to truth statePOST /quarantine- Quarantine contradicting claimsPOST /resolve- Resolve a quarantined contradictionGET /claims- List committed claims
POST /publish- Publish event to topicGET /subscribe/:topic- Get events from topicGET /topics- List active topicsPOST /delegate- Delegate task to agentGET /tasks- Get agent's task queuePOST /complete- Complete a task
All requests should include X-Agent-ID header to identify the calling agent.
Truth states: 1 (true), 0 (unknown), -1 (false)
npm install
npx wrangler deploy- D1 Database: blackroad-continuity (agent registry)
- KV Namespace: blackroad-tools-kv (memory, events, tasks)