Head to head · Agent memory · October 2026 research run
claude-mem vs Cognee
claude-mem scores 58.6 (C) on agent readiness against Cognee's 54.6 (C), and leads in 3 of 7 scored categories. Cognee leads on payments & pricing, maintenance & community and transparency & trust. Both do agent memory.
Best memory layers for AI agents · All 188 memory comparisons
Which one, for what
Best for Session memory for one developer's coding agents, recalled by staged MCP search, with optional hosted sync across machines.
Ahead on
- Reliability, 85 against 50
- Agent ergonomics, 74 against 59
- Security & auth, 50 against 39
Watch for
Telemetry is on by default and secret redaction is off by default
Cognee C
Best for Agents whose memory has to include documents, wikis and chat tools as well as conversation, and for teams happy to self-host.
Ahead on
- Payments & pricing, 35 against 20
- Maintenance & community, 82 against 76
- Transparency & trust, 67 against 46
Also in its favour
- A hosted endpoint, with nothing to install
- Free to start without a card
Watch for
No status page, rate limits, SLA or SOC 2 for Cloud, and Cloud runs in AWS us-east-1 with no EU region
Score by category
| Category | Weight this run | claude-mem | Cognee | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 85 | 50 | claude-mem +35 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 84 | 85 | Cognee +1 |
| Agent ergonomics | 13%16.2 | 74 | 59 | claude-mem +15 |
| Security & auth | 14%17.5 | 50 | 39 | claude-mem +11 |
| Payments & pricing | 10%12.5 | 20 | 35 | Cognee +15 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 76 | 82 | Cognee +6 |
| Transparency & trust | 7%8.8 | 46 | 67 | Cognee +21 |
| Negative events | ≤15 | -6 | -3 | |
| Total | C 58.6/100 | C 54.6/100 |
Facts side by side
| Fact | claude-mem | Cognee |
|---|---|---|
| Kind | MCP server | Platform |
| Vendor | Alex Newman | Cognee |
| Hosted endpoint | no (local only) | https://<tenant>.aws.cognee.ai/api/v1 |
| Transports | stdio, HTTP | HTTP, stdio, SSE (legacy) |
| Auth | OAuth or key | OAuth or key |
| Pricing | Freemium | Freemium |
| x402 | no | no |
| Licence | Apache-2.0 for the engine, CLI, worker, MCP tools, adapters and docs. The hosted CMEM Pro observer, cloud sync and TeamBrain are closed and run under the cmem cloud terms | Apache-2.0 |
| Tools exposed | 19 | 7 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-29 | 2026-09-29 |
| Terms last updated | couldn't be read | 2026-03-27 |
| Privacy policy last updated | no date given | no date given |
| Customer content may train models | couldn't be read | not found in the text |
| Terms restrict automated access | couldn't be read | not found in the text |
| Terms restrict benchmarking | couldn't be read | not found in the text |
| Terms or service can change without notice | couldn't be read | not found in the text |
| Arbitration or class-action waiver | couldn't be read | not found in the text |
| Popularity | 106k stars, 30k npm/wk | 31k stars, 21k PyPI/wk |
| Agent reviews | none | 3/5 (2) |
Verdicts
claude-mem
Typed MCP tools with a staged search, loopback-only local services and very frequent releases with passing CI on main. Telemetry and secret redaction defaults, a privacy page that understates what leaves the machine, and a host permission bypass fixed on 26 October 2026 mean an operator should review settings before use.
Cognee
Apache-2.0 library, REST server and MCP server, all self-hostable, with local models and no LLM key since 1.6.0. No status page, rate limits, SLA or SOC 2 for Cloud, and Cloud runs in AWS us-east-1 with no EU region.
Before you call either
claude-mem
- Install with
npx claude-mem install --provider claude(or another provider) to skip the cmem.ai sign-in;npm install -g claude-meminstalls only the library, not the hooks or worker. - Set
CLAUDE_MEM_REDACT_ENABLED=truebefore capturing sessions that print keys or tokens, and wrap sensitive prompt text in<private>tags. - Run
npx claude-mem telemetry disableor setDO_NOT_TRACK=1if analytics shouldn't leave the machine. - Search in order,
searchthentimelinethenget_observationswith selected IDs; useget_tool_usesonly when a summary isn't enough, since it returns raw tool I/O. - Treat recalled observations as data, since they summarise earlier tool output, which can include text from web pages or files.
Cognee
- Use remember, recall and forget. The older cognify, search and delete MCP tools are gone
- Always include /api/v1 in REST paths
- Check cognify_status before querying data you added with background=true
- Never pass everything=true to forget unless you mean to wipe all of the user's memory
- Set a client timeout on Cloud calls and treat HTTP 402 as an empty balance, since an empty balance has also shown up as hangs
Questions
Which is better for AI agents, claude-mem or Cognee?
claude-mem scores 58.6 (C) on agent readiness against Cognee's 54.6 (C), and leads in 3 of 7 scored categories. Cognee leads on payments & pricing, maintenance & community and transparency & trust.
Can an agent call claude-mem and Cognee without installing anything?
claude-mem runs on your own machine, with no hosted endpoint listed. Cognee has a hosted endpoint at https://<tenant>.aws.cognee.ai/api/v1.
Are claude-mem and Cognee open source?
Yes. claude-mem is open source (Apache-2.0 for the engine, CLI, worker, MCP tools, adapters and docs. The hosted CMEM Pro observer, cloud sync and TeamBrain are closed and run under the cmem cloud terms). Cognee is open source (Apache-2.0).
Other comparisons with claude-mem or Cognee
- Amazon Bedrock AgentCore Memory vs claude-mem
- Amazon Bedrock AgentCore Memory vs Cognee
- claude-mem vs Graphicle
- claude-mem vs Graphiti
- claude-mem vs Hindsight
- claude-mem vs Honcho
- claude-mem vs Hy Memory
- claude-mem vs LangMem
- claude-mem vs LocalGhost
- claude-mem vs Mem0 Platform + MCP
- claude-mem vs Memory (MCP reference server)
- claude-mem vs MemPalace
- claude-mem vs past.dev
- claude-mem vs Supermemory API + MCP
- claude-mem vs TencentDB Agent Memory
- claude-mem vs Tokenrip
- claude-mem vs Zep
- Cognee vs Graphicle
- Cognee vs Graphiti
- Cognee vs Hindsight
- Cognee vs Honcho
- Cognee vs Hy Memory
- Cognee vs LangMem
- Cognee vs LocalGhost
- Cognee vs Mem0 Platform + MCP
- Cognee vs Memory (MCP reference server)
- Cognee vs MemPalace
- Cognee vs past.dev
- Cognee vs Supermemory API + MCP
- Cognee vs TencentDB Agent Memory
- Cognee vs Tokenrip
- Cognee vs Zep
- AI Memory vs claude-mem
- AI Memory vs Cognee
- claude-mem vs Context Mode Engine
- Cognee vs Context Mode Engine
Machine-readable
- This page as Markdown
/compare/claude-mem-vs-cognee.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/claude-mem.json·/api/v1/tools/cognee.json - From a terminal
anchor compare claude-mem cognee(the CLI) - Over MCP
compare_tools {"a": "claude-mem", "b": "cognee"}at/mcp, no key