Supported agents
Mnemo works with six coding agents. On your computer, they all share the same memories of a project.
Files that setup changes
| Agent | Files in your project |
|---|---|
| Claude Code | .mcp.json, .claude/settings.json |
| Gemini CLI | .gemini/settings.json |
| Antigravity | .agents/hooks.json, and ~/.gemini/config/mcp_config.json in your home folder |
| Cursor | .cursor/mcp.json |
| Codex | .codex/config.toml. Codex only reads this after you trust the project |
| Windsurf | .devin/mcp_config.json (Windsurf is now called Devin Desktop) |
Setup only adds or replaces Mnemo’s own entries. If it can’t read a file safely, it leaves the file alone and shows you what to add yourself. To leave out agents you don’t use, list the others, for example mnemo setup --agents claude,codex.
What each agent supports
All six agents can search and save memories. Some also report what they are doing, which lets Mnemo help them without being asked.
| Agent | Searches and saves | Reports its steps | Playbooks |
|---|---|---|---|
| Claude Code | Yes | Yes | Saves and uses them |
| Gemini CLI | Yes | Yes | Saves and uses them |
| Antigravity | Yes | Yes, but not whether a command worked | Uses them, rarely saves them |
| Cursor, Codex, Windsurf | Yes | No | Uses them when it searches |
Read more about playbooks.
How Mnemo recognizes a project
A project is the top folder of the Git repository your agent works in. All of its worktrees share the same memories.
- If you have a second clone or moved the folder, run
mnemo project link "the other folder"there, and both will use the same memories. To undo this, runmnemo project unlink. - To copy only some memories from another project, run
mnemo project copy-from "the other folder"and choose the ones you want. - To see which project a folder belongs to, run
mnemo project.
Use Mnemo in your own code
The package you installed also works as a JavaScript library:
const { Mnemo } = require("mnemo-code");
const memory = new Mnemo({ repoDir: "." });
console.log(memory.search("how do we deploy"));Other apps
Any other app that supports MCP servers can connect to your team’s memories with a link.