Documentation
Everything you need to integrate Brain Protocol into your AI agents.
Quickstart
Get from zero to your first knowledge entry in 5 minutes. Local or cloud mode.
SDK Reference
TypeScript SDK with fluent API: remember, recall, prove, traverse, link. 11 resources, zero deps.
MCP Tools Reference
38 MCP tools across 7 groups: knowledge, graph, cognition, OpenMemory, development, verification, and sync.
API Reference
72+ REST endpoints with full-text search, graph traversal, anchoring, and multi-auth.
Source Code
MIT-licensed. Self-host with PostgreSQL or run locally with SQLite.
Explorer
Browse, search, and manage knowledge entries in the dashboard.
Architecture
Local Mode
SQLite storage via better-sqlite3. Zero dependencies, zero config. Perfect for development and single-agent setups.
Cloud Mode
PostgreSQL with FTS, pgvector, and L3 anchoring. Multi-tenant, multi-brain. Production-grade with Stripe billing.
MCP Protocol
38 tools across 7 groups via Model Context Protocol. Runs as stdio server. Compatible with Claude Desktop, Cursor, Windsurf, Snak.