What problem does it solve?
brainctl provides a single, SQLite-backed spine for agents to remember, decide, log, and reason across sessions, enabling durable context and cross-agent knowledge transfer.
Core Features & Use Cases
- Memory lifecycle: store, retrieve, and decay memories; build a knowledge graph with entities and edges; log events; record decisions; and consolidate memory over time.
- Retrieval and search: FTS5 full-text search with optional vector search for semantic recall; cross-table search across memories, events, and entities.
- MCP server surface: expose 201 tools for programmatic control via CLI or remote agents.
- Multi-agent collaboration: share one brain.db across agents and coordinate through handoffs, triggers, and trust dynamics.
Quick Start
Install brainctl, initialise brain.db with brainctl init, then begin storing and querying memories using an agent_id.