Every AI agent keeps its own memory. Claude Code has CLAUDE.md, Cursor has rules, Codex has AGENTS.md. So you explain your stack, your preferences and last week’s decisions again in each one, and the copies drift apart.
I built Make0 Brain to fix this. It’s an open-source, local-first memory server for MCP. Claude Code, Claude Desktop, Cursor, Codex, Windsurf, VS Code, Gemini CLI, Hermes Agent and OpenClaw all read and write the same memory.
How it works
- Tell one agent, and every agent knows. A fact saved from Cursor shows up for Claude Code in its next session.
- Nothing is overwritten without a record. Every edit is kept as a version, with which agent wrote it and when.
- It stays on your machine. Everything lives in one SQLite file. After a one-time model download it works offline with no API key. It’s MIT licensed and exports to plain Markdown.
- Search runs locally. It combines semantic and keyword search, then reranks results with a cross-encoder. A search takes about 430 ms on a laptop.
Example
In Cursor, say: “Remember that our API uses cursor-based pagination.” Then open a new Claude Code session and ask how pagination works. It searches Brain and answers without being told. The viewer shows the memory as “Added by Cursor”, with its version history.
Getting started
npx @make0-ai/brain init # finds your agents and connects them
npx @make0-ai/brain import --sessions # imports past sessions from 41 coding agents
npx @make0-ai/brain view # opens the local viewer
Running it on your own hardware
Merging duplicate memories and extracting single facts need an LLM. You can point Brain at a local model through Ollama, LM Studio or llama.cpp, so it all stays on your own machine, including a Radeon GPU or a Ryzen AI laptop:
MAKE0_BRAIN_LLM_BASE_URL=http://localhost:11434/v1
MAKE0_BRAIN_LLM_MODEL=llama3.2
Benchmarks (local install)
- LongMemEval_S: 93.9% Recall@5 and 96.2% Recall@10.
- SWE-ContextBench Lite: 62.6% overall and 92.9% in the top 10. Under the same test, LangMem scores 55.6% and Mem0 scores 25.3%.
Current limits: it runs on one machine with no sync between devices, and each memory holds up to 4,000 characters.
- GitHub: GitHub - make0-official/brain-oss: AI memory for Claude Code, Cursor, Codex, Windsurf, and every MCP agent: one shared, versioned memory in a local MCP server. Offline, no API key. · GitHub
- npm:
@make0-ai/brain - Site: https://make0.ai
I’d like feedback, especially from anyone running local models on AMD hardware. If you try it with ROCm or Ryzen AI, let me know how it goes.