Local-first memory for MCP agents. Every decision, correction, and preference — indexed and searchable in <50ms. Nothing leaves your machine.
$ pip install brainlayer
Every session starts from zero. Your agent doesn't remember
the architecture decision from last week, the debugging approach
that worked, or that you prefer tabs over spaces.
You explain the same context dozens of times.
It suggests patterns you've already rejected.
BrainLayer indexes your AI conversations into 284K searchable chunks.
Hybrid search (semantic + keyword + knowledge graph) finds the right
memory in <50ms.
SessionStart hooks auto-inject relevant context before you even ask.
Everything stays on your machine. One SQLite file.
209KB native Swift app. Async init — menu bar item appears in <250ms.
Install from PyPI
Configure MCP and index conversations
Start real-time indexing
Three commands. Persistent memory. Your data stays yours.
$ pip install brainlayer