Persistent memory
Agents remember decisions, patterns, fixes, and project context across sessions — no more re-explaining the same architecture on day two.
Self-hosted agent memory
Claude, Codex, Cursor, Gemini, and Aider stop losing context between sessions. One shared memory layer, running on your own machine, that every agent you use can read and write.
Available for Windows, macOS, and Linux. Community is free with no time limit; the desktop app starts its embedded services automatically.
brain({
command: "remember",
input: {
type: "decision",
project: "checkout",
content: "Use Stripe webhooks for fulfillment",
},
})
brain({
command: "recall",
input: { query: "how do we ship purchases?" },
})
// shared across Claude, Codex, Cursor, or RESTSee it in action
See voice capture, project memory, and bounded task delegation working together in one session.
What it does
Agent Brain runs a shared memory store, semantic cache, and governance layer on your own machine — one context layer that every connected agent reads and writes, instead of each tool starting over from zero.
Agents remember decisions, patterns, fixes, and project context across sessions — no more re-explaining the same architecture on day two.
Similar prompts reuse prior answers instead of burning tokens on a question that's already been asked and answered.
Claude, Codex, Cursor, Gemini, Aider, and custom agents all read and write the same memory — no more siloed context per tool.
Memory storage and recall run in local services managed by the desktop app. Your project context stays on infrastructure you control.
Audit, deduplicate, archive, restore, and consolidate memories so recall stays sharp as the corpus grows instead of degrading.
Review proposed memory changes, then apply approved audit findings in one controlled step instead of repairing the corpus by hand.
One desktop app handles setup, health checks, knowledge exploration, and monitoring for the whole stack.
How it works
The desktop app boots the local services Agent Brain needs — no cloud account to provision first.
Point Claude, Codex, Cursor, Gemini, or Aider at the local MCP endpoint and they're wired in.
Agents write decisions, fixes, and context as structured, scoped memories instead of losing them at session end.
The next session — in any connected tool — retrieves the relevant context automatically.
Adapter layer
MCP clients use localhost:3100/mcp. REST and WebSocket clients use localhost:9090/api/v1.
Comparison
| Capability | Agent Brain | mem0 | GPTCache | Letta |
|---|---|---|---|---|
| Self-hosted | Yes | No | No | No |
| Semantic cache | Yes | No | Yes | No |
| Cross-agent sharing | Yes | No | No | No |
| Local model operations | Yes | No | No | No |
| Desktop stack control | Yes | No | No | Yes |
| MCP support | Yes | Yes | No | No |
| Agent-agnostic adapters | Yes | No | No | No |
| Community tier | Yes | No | Yes | Yes |
Pricing
Community runs the full stack with real limits. Pro removes them — unlimited memories, semantic cache, and desktop backup — for commercial work.
FAQ
No. Agent Brain is self-hosted. Core memory and recall operations run on your machine or infrastructure.
Claude, Codex, Cursor, Gemini, and Aider connect out of the box through MCP. Custom agents and scripts can connect through the same REST interface.
It checks whether a similar query already has a useful answer. If the similarity score clears your threshold, agents can reuse the cached response instead of spending fresh tokens.
No. The desktop app starts Agent Brain's embedded services automatically. Docker is optional for developers who choose to run the source or Compose stack directly.
Yes. Click 'Get Pro' on the pricing page to subscribe monthly or annually. Community downloads are available now from the download page.
No — Community is for personal and non-commercial use only. If you are using Agent Brain as part of paid work, a business, or a team, you need a Pro or Enterprise license.
Affiliate Program
Refer paying builders and earn 30% on every invoice they pay for the next 12 months.
30%
Commission
12 invoices
Window
60 days
Cookie
Launch the local services, point Claude, Codex, Cursor, Gemini, or Aider at them, and let every agent share the same memory.