cogito-mem
Long-term memory for Claude Code, on your own machine. Cogi the squirrel keeps every message you and Claude exchange, and brings back what Claude forgot. No API key, no cloud, no AI calls to store.
Why try it
- Claude stops forgetting. Every message and reply is kept word for word, with its date. When something has dropped out of the context window, or happened last week, the relevant part comes back with your next prompt.
- It remembers what you did, too. Commands you ran (and whether they failed) and files you touched, without their output.
- Private and free. One folder on your computer. No account, no API key, no AI calls to save a message, nothing leaves your machine.
- Tested. On the LoCoMo benchmark, the 1,000 tokens Cogi hands back answer 74.7% of questions right, level with rereading the whole conversation (76.5%). A search over 10 million tokens takes 26 ms on a laptop CPU. See the results.
Install
With uv installed, one command in a terminal:
claude plugin install cogito-mem --marketplace meridian21lab/cogito-mem
That's it. To get updates, turn on auto-update once: /plugin → Marketplaces → cogito-mem → Enable
auto-update. The first start downloads the model (310 MB, about a minute).
Step-by-step guide · Codex, Claude Desktop, Docker
Try it
- Tell Claude: Let's call the staging server "acorn".
- Clear its short-term memory:
/clear - Ask: What did we call the staging server? Claude answers "acorn": Cogi brought it back.
How it compares
| cogito-mem | claude-mem | Mem0 plugin | cognee plugin | Supermemory plugin | |
|---|---|---|---|---|---|
| AI calls to store a message | none | an observer model per tool call (Haiku on your Claude plan by default) | extraction on Mem0's servers | extraction with your LLM key or claude -p |
in Supermemory's service |
| Account or API key | none | optional sign-in | Mem0 Platform API key | an LLM key or the Claude CLI | API key or login |
| Where your memory lives | your computer | your computer (cloud sync optional) | Mem0's cloud | your computer (cloud optional) | Supermemory's cloud (local mode available) |
| What comes back | your exact words, with dates | AI-written observations | extracted memories | graph facts and summaries | extracted memories |
| Searchable after | the same turn | the observer's run | a batch (every 5 exchanges) | the next graph run | the background save |
Keep your project's rules in CLAUDE.md, and let Cogi remember what happened.
Learn more
| How it works | Collect, keep, find: what Cogi stores and how it finds it |
| Results · Benchmarks | The numbers, and how to reproduce them |
| API & MCP · Reference | HTTP, Python, terminal, settings, FAQ, roadmap |
| What you install · Privacy | Every file, download and connection |
| Development | Running the tests and the evaluations |
Early access. v0.2 is new, built and tested (about 200 tests), and still being measured. Feedback and issues are very welcome.
License
Metadata
Release files for cogito-mem 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cogito_mem-0.2.0.tar.gz | 465.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cogito_mem-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 580.3 kB
Release files / cogito_mem-0.2.0.tar.gz
| Download URL | cogito_mem-0.2.0.tar.gz |
|---|---|
| Size | 465.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72b069c039ca1e4fb1613291904961be6285ab0b8054dc812f92fd1cf1e785b0
|
|
BLAKE2b-256 checksum How to use checksums |
16ee73dfae428804fe101815c69590987ae668f2ca48984a3588adee6aaa5da8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logRelease files / cogito_mem-0.2.0-py3-none-any.whl
| Download URL | cogito_mem-0.2.0-py3-none-any.whl |
|---|---|
| Size | 115.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a019a9c37f8600d3a21e75f40ec7669c30f82284c77e0cba8e07b61b655059a0
|
|
BLAKE2b-256 checksum How to use checksums |
c71fa083bcf587e4bbe1490bbdfc9fd10317fdb90a52b5ab5a61d2865a00906a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logSecurity for cogito-mem 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for cogito_mem-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.