Every architecture decision, every debug session, every preference you expressed — gone between sessions. BrainLayer gives any MCP agent persistent memory that survives restarts, compactions, and context limits.
Free · open source · local-first · one SQLite file
When a memory has no tags, the formatter omits the line. Output stays clean — same box-drawing format in Claude Code and BrainBar.
Every architecture decision, every debugging session, every correction you gave it — gone. BrainLayer gives any MCP agent persistent memory backed by semantic search and a knowledge graph.
brain_search combines bge-large embeddings with FTS5 keyword matching via Reciprocal Rank Fusion. One query searches across every conversation you have ever had across 700K+ chunks.
brain_digest extracts entities, relations, and action items from raw content. brain_entity looks up any entity in the graph with evidence and connections.
brain_store persists any memory with auto-type detection, auto-importance scoring, and per-agent scoping. Chunk lifecycle management (supersede, archive) keeps knowledge current without losing history.
Optional native Swift menu bar app. Quick capture, live dashboard, knowledge graph viewer — all over a Unix socket.
Requires the BrainLayer MCP server.
The secondary Python transport exposes 13 tools, including the Python-only brain_resume.
Install from PyPI
Configure MCP and create the local database
Start indexing and optional BrainBar capture flows
BrainLayer runs local-first. MCP clients talk to the same memory layer, and BrainBar exposes the same formatter and database through a menu-bar capture flow on macOS.
Store decisions, search across sessions, recall context, digest documents. One pipeline, 17 live tools, zero configuration.
17 tools on the live BrainBar surface, one local database, and a capture flow that does not lose the thread.