ColdMemory: what you know
One memory for all your agents.
Every agent keeps what you decided, through compactions and restarts.
Your decisions, transcripts and notes carry over with no context bloat and no repeating yourself. One bad note never poisons the rest. Edit or delete a file once and every agent updates or forgets it on the next search.
- Claude Code
- Codex
- Hermes
- OpenBot
- Grok CLI
- or any agent that speaks MCP
curl -fsSLO https://coldstack.dev/install.sh && shasum -a 256 install.shExpected SHA-256 30d74ba37b62581aa172a153431aebeaeb9d9978a2ab342d82c1d34c7767dcc3
Read install.sh
Loading install.sh
sh install.shCheck the hash, read the script, preview it. Nothing changes until you add --apply.
Watch it forget
Claude Code and cold_mcp, recorded run
# session A: when does the Harbor release freeze start?
tool> cold_memory_query({"query": "Harbor release freeze start"})
engineering-vault/Runbooks/Release Freeze Rule.md:5-6 [current]
"The Harbor release freeze window starts on Thursday at 16:00 UTC."
Thursday 16:00 UTC
Release Freeze Rule.md:5-6
Synthetic 47-note vault. The chat can still repeat what it saw; ColdMemory stops serving it.
Still right after 7 compactions.
We ran two identical OpenBot 0.84.0 agents through 7 real compactions each, about 27k tokens squeezed down to 4k every time. One was stock. One had ColdMemory. After each compaction we asked both the same five questions.
- 35 of 35
- With ColdMemory: facts right after every compaction
- Stock OpenBot: 26 of 35
- 17 of 17
- With ColdMemory: changed, deleted or other-agent facts right
- Stock OpenBot: 8 of 17
| Check | Stock OpenBot | With ColdMemory |
|---|---|---|
| All facts, after each of 7 compactions | 26 of 35 (74%) | 35 of 35 (100%) |
| Facts that changed, were deleted, or came from another agent | 8 of 17 (47%) | 17 of 17 (100%) |
| Facts changed in the chat itself | Kept | Kept |
| A fact deleted from memory (rm) | Kept giving the old answer | Gone from the next turn |
| An update written by another agent | Never saw it | Arrived on the next turn |
To be fair to stock OpenBot: it kept everything said in the chat. All 9 of its misses were a deleted fact and another agent’s update, and it has no way to hear about either. ColdMemory delivers those changes on the very next turn and keeps them through every compaction. The cost: about 140 to 250 extra tokens after each compaction, 66 to 83 ms per hook (median) and under 30 MB of RAM.
91.0% end-to-end answer accuracy, with $0 spent to index.
All 500 LongMemEval-S questions. Retrieval is ColdMemory alone, on a CPU with zero LLM calls. End to end adds a model that reads the top 8 notes and writes the answer. Every cited file and line checked out: 775 of 775. Peak RAM: 36.7 MB.
- 91.0%
- LongMemEval-S E2E accuracy
- 455 of 500 (Sonnet 5.5 reader / GPT-6 Luna judge). 96.6% R@5 / 90.0% all@5 retrieval.
- 83.1%
- LoCoMo E2E accuracy (Cat 1-4)
- 1,280 of 1,540 (79.4% all 1,986 Qs, Sonnet 5.5 / GPT-6 Luna). 93.3% R@10, 0.65 ms, 34.6 MB RAM.
- 75.8 MiB
- Live 89,494-note vault RAM
- Down from 10.88 GB (143x). Warm brief 33 ms (down from 24 min, >40,000x). $0 to index.
How ColdMemory stacks up
| Memory | LongMemEval-S | LoCoMo | Where it runs | LLM in the loop | Notes |
|---|---|---|---|---|---|
| ColdMemory | 91.0%End-to-end answer accuracy, read by Claude Sonnet 5.5 | 83.1%End-to-end answer accuracy, read by Claude Sonnet 5.5 (Cat 1-4) | Local, any CPU | None to store or search | LongMemEval-S: 455/500 E2E, 96.6% R@5 (90.0% all@5). LoCoMo (1,986 Qs): 83.1% Cat 1-4 / 79.4% all 5 E2E, 93.3% R@10 (0.65 ms, 34.6 MB RAM, 100% file:line cites, $0 ingest). |
| Total Recall | 97.73%Recall@10, retrieval only | 92.36%Recall@10, retrieval only | Local-first | None at retrieval | Closest zero-LLM retrieval peer. Pure-stdlib ColdMemory reaches 91.85% Cat 1-4 / 93.28% all 5 (92.43% / 93.93% CPU hybrid) at 0.65-2.14 ms. |
| Mastra OM | 94.87%End-to-end answer accuracy, read by gpt-5-mini | Not published | Self-hostable framework | An LLM writes the memory | 84.23% with a gpt-4o reader. Recall@10 not published. |
| Hindsight | 91.4%End-to-end answer accuracy, read by Gemini 3 Pro | 89.61%End-to-end answer accuracy, read by Gemini 3 Pro (Cat 1-4) | Self-hostable | Yes (retain/reflect) | Recall@10 not published. |
| Zep | 71.2%End-to-end answer accuracy, read by gpt-4o | 75.14%End-to-end answer accuracy, read by Hindsight Table 4 ref | Mostly cloud | Yes (temporal KG) | Recall@10 not published. |
| Mem0 | 66.4%End-to-end answer accuracy, read by GPT-4.1-mini, independent | 66.88%End-to-end answer accuracy, read by gpt-4o-mini (68.44% graph) | Cloud-first | An LLM extracts facts, so detail is lost | Self-reports 94.4% LongMemEval with no reader named. 70.7% on DolphinBench (Hatchery). |
Public datasets, all questions, measured on a pre-release build. Per-category scores, costs and the raw receipts are on the proof page.
Your agents finally share notes.
Every agent reads from the same folder of plain Markdown on your disk. What one learns, the rest can cite. What you delete, none of them can.
01
Claude Code writes it down
decisions/storage.md:12
Use SQLite full-text search. No vector database.
02
Codex asks the next day
Which search index did we pick?
Cites decisions/storage.md:12 word for word.
03
You delete the file
rm decisions/storage.md
Every agent stops getting it on the next call.
Shared folders
Team decisions, runbooks, repo notes. Any agent you point at them can search and cite them.
Private folders
An agent without the key gets “scope denied” before a single note is read. Revoke the key and access ends on the next call.
Why not a cloud memory service?
| Question | Cloud memory | ColdMemory |
|---|---|---|
| Where your notes live | On their servers | In a folder on your disk |
| You delete a note | You trust that they deleted it | Gone on the very next search |
| Proof for an answer | A summary you have to trust | The exact file and line |
| Switching agents | One memory per vendor | One memory for all of them |
Tested live at real size: 89,494 notes in a personal markdown vault, 75.8 MiB live RAM (down from 10.88 GB, 143x smaller), 32.6-38.8 ms warm startup brief (down from 24 min, >40,000x faster), 29.4 ms warm p50 search, 20 of 20 deleted/edited/revoked notes suppressed, and 10 of 10 older repeated stale logs defeated by 1 Keyed Decision Ledger update.
Hatchery study, December 2026
Why we search your real files.
Most memory tools run an AI “fact extractor” over what you save and keep only its summary. Hatchery tested that against simply searching the raw files. Raw files won by 15 to 26 points. We search your real files too, so every answer stays pinned to the real file and line.
- Searching the raw files85.7%
- Mem070.7%
- Honcho68.5%
- Supermemory59.2%
Read it, then run it.
No account, no API key, no piping a script straight into your shell. Download the installer, check its hash, read every line, and preview what it will change.
GitHub (Apache 2.0)QuickstartBenchmark receipts
Zero-dependency Python quickstart (3.18 s fresh venv to live file:line cite)
python3 -m venv .venv && . .venv/bin/activate && pip install --no-deps "git+https://github.com/coldstack-dev/coldstack.git#subdirectory=memory"coldmemory init /path/to/notes --applycurl -fsSLO https://coldstack.dev/install.sh && shasum -a 256 install.shExpected SHA-256 30d74ba37b62581aa172a153431aebeaeb9d9978a2ab342d82c1d34c7767dcc3
Read install.sh
Loading install.sh
sh install.sh