[ Project ]
rusty-brain
Local memory for AI coding agents: one binary, one SQLite file per project, and embeddings computed on your machine.
- Rust
- SQLite
- Local embeddings
- MCP

The problem
- People who work with AI coding agents want facts and decisions to survive a session, without sending project memory to a hosted service.
Workflow
- remember stores a fact, tagged with the agent and session that wrote it.
- recall runs a hybrid search and can filter on your own memories or another agent's.
- serve exposes the same operations to any MCP client over stdio.
- export writes a Parquet snapshot, and reembed rebuilds vectors with another model.
Architecture
- One brain per project directory, stored as a single SQLite file that is the source of truth.
- Embeddings are computed on the machine, through an optional MLX sidecar or CPU fastembed models.
- Vector similarity and FTS5 keyword matches are merged with reciprocal rank fusion.
- One embedding model per brain: mixing embedding spaces is refused.
My role and status
- I am the author of the public repository, which is under active development.
- Install is from source with cargo.
Limits
- Built for a trusted single-user machine. Agent and project fields are not access control.