Memory for Claude Code
Claude forgets.
Cogi doesn't.
Cogi the squirrel keeps every message you and Claude say, like nuts in its hollow. When a long session compacts, or last month's idea matters again, Claude asks Cogi and gets your exact words back.
Free · runs on your computer · nothing leaves it
How it works
Collect
After every answer, Cogi picks up the new messages. You do nothing.
Keep
Each message is stored word for word, with its date, in your hollow: a folder on your computer.
Find
When Claude needs something from earlier, Cogi hands back the few messages that matter.
Tested, not promised
The longer your history, the further ahead
A long project soon holds more than Claude can read at once. In LongMemEval's long test, each question hides its answer in about 480 past sessions, some 1.2 million tokens in all. Cogi puts the right session among its first five for 93% of the 500 questions, ahead of four other local memory plugins tested on the same questions.
Questions where the right conversation was missed
LongMemEval long test, 500 questions, 1.2M tokens of history each · fewer is better
We ran each project ourselves, at its best setting, in November 2026. On the short test, with about 50 sessions per question, Cogi and the next two are level at 97–99%.
right session in the top 5, in 1.2 million tokens of history
of the answers rereading everything gets, from 9× fewer tokens (LoCoMo)
to search 10 million tokens, on a laptop CPU
per message: no account, no API key, no AI calls to save
Why Cogi
Private
Your hollow is a folder on your computer. No cloud, no account.
Exact
You get the original words and the date they were said, never an AI's summary.
Automatic
It saves after every answer, with nothing to do. Ask Claude “do you remember…?” and it searches all of it.
Get started
One command in a terminal, with uv installed:
claude plugin install cogito-mem --marketplace meridian21lab/cogito-memThe full guide, with what you should see at each step →
Where Cogi works
| App | Works? | What you get |
|---|---|---|
| Claude Code, in a terminal or an IDE | Yes | Everything: saves on its own, and Claude searches it when needed |
| Claude Code in the desktop app | Yes | The same plugin (we are still testing it there) |
| Codex | Yes | Saves every turn; searches when asked (one-line installer) |
| Claude Desktop chat | Partly | Save and search tools, but no automatic saving |
| Cloud sessions, claude.ai | Not yet | On the roadmap |