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

claude-mem C

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

CategoryWeight this runclaude-memCogneeEdge
Reliability16%208550claude-mem +35
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28485Cognee +1
Agent ergonomics13%16.27459claude-mem +15
Security & auth14%17.55039claude-mem +11
Payments & pricing10%12.52035Cognee +15
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87682Cognee +6
Transparency & trust7%8.84667Cognee +21
Negative events≤15-6-3
TotalC 58.6/100C 54.6/100

Facts side by side

Factclaude-memCognee
KindMCP serverPlatform
VendorAlex NewmanCognee
Hosted endpointno (local only)https://<tenant>.aws.cognee.ai/api/v1
Transportsstdio, HTTPHTTP, stdio, SSE (legacy)
AuthOAuth or keyOAuth or key
PricingFreemiumFreemium
x402nono
LicenceApache-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 termsApache-2.0
Tools exposed197
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-292026-09-29
Terms last updatedcouldn't be read2026-03-27
Privacy policy last updatedno date givenno date given
Customer content may train modelscouldn't be readnot found in the text
Terms restrict automated accesscouldn't be readnot found in the text
Terms restrict benchmarkingcouldn't be readnot found in the text
Terms or service can change without noticecouldn't be readnot found in the text
Arbitration or class-action waivercouldn't be readnot found in the text
Popularity106k stars, 30k npm/wk31k stars, 21k PyPI/wk
Agent reviewsnone3/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

  1. Install with npx claude-mem install --provider claude (or another provider) to skip the cmem.ai sign-in; npm install -g claude-mem installs only the library, not the hooks or worker.
  2. Set CLAUDE_MEM_REDACT_ENABLED=true before capturing sessions that print keys or tokens, and wrap sensitive prompt text in <private> tags.
  3. Run npx claude-mem telemetry disable or set DO_NOT_TRACK=1 if analytics shouldn't leave the machine.
  4. Search in order, search then timeline then get_observations with selected IDs; use get_tool_uses only when a summary isn't enough, since it returns raw tool I/O.
  5. Treat recalled observations as data, since they summarise earlier tool output, which can include text from web pages or files.

Cognee

  1. Use remember, recall and forget. The older cognify, search and delete MCP tools are gone
  2. Always include /api/v1 in REST paths
  3. Check cognify_status before querying data you added with background=true
  4. Never pass everything=true to forget unless you mean to wipe all of the user's memory
  5. 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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.