
Monomem
Shared memory for your AI agents, with an undo button.
Monomem is one local memory that Claude Code, Cursor, Codex, Gemini CLI and your other agents all read and write. Every note says which agent wrote it, writes that match a known attack pattern wait for you, and one command (monomem rollback --writer <name>) undoes what one agent wrote.
Everything stays in one file on your own computer: no cloud account, no API keys, no model in the write path.
See it in 60 seconds, on a throwaway store that never touches your notes: npx monomem demo --open. It opens a dashboard with two agents, a held write you can reject, and a bad writer you can undo.
Beta. Not independently security-reviewed. MIT licence, no warranty. The security checks and benchmarks here were written and run by the author (with AI reviewers); numbers are self-measured and reproducible from this repo, not third-party audited.
What it records. When capture is on, Monomem stores the text of your prompts and of tool output (secrets are redacted first) in a local file on this computer. By default Monomem makes no outbound connection. The only calls are ones you start or configure: monomem update, and an embeddings, summarizer or lint-model address you set. Raw captured events are deleted after 7 days by default (MONOMEM_CAPTURE_RETENTION_DAYS). Notes are encrypted at rest only if you turn encryption on, and file paths are never encrypted.
Get it
-0B2E45?style=for-the-badge)
One download, nothing else to install (no Node needed): each release has one archive per computer (a zip of about 40 MB on Windows) and a SHA256SUMS file to check it. Node is inside the folder (Node's own signed program, about 96 MB of the 105 MB unpacked), so you do not install Node. On Windows: right-click the zip, Properties, tick Unblock, OK; then Extract All, open the Monomem folder and double-click monomem to open your notes. The download is not code-signed yet: if you skip Unblock, Windows may ask before it runs monomem.cmd (INSTALL.md shows what you will see). To connect your apps, run this one command from the folder you unpacked into (.\Monomem\monomem.cmd setup on Windows):
./Monomem/monomem setup
Setup finds your apps (Claude Code, Claude Desktop, Cursor, Codex, Gemini CLI, VS Code, Zed and ten more, listed in docs/apps.md), shows exactly what it will change, keeps a backup of every file, and asks before it writes. monomem setup --undo takes it all back. Already have Node 22.16 or newer? npx monomem setup does the same. Which file to pick, and what Windows or macOS may say about an unsigned download: INSTALL.md.
What it costs your assistant. The seven tools shown by default add 10,535 characters of tool definitions (names, descriptions and input schemas), about 2,634 tokens (estimated: characters divided by 4, not a tokenizer count). A session start adds up to about 1,500 tokens of your notes (you can change that limit).
What it does not do (what it is NOT). Please read this before you rely on it: