Head to head · Agent memory · October 2026 research run

claude-mem vs LangMem

claude-mem scores 58.6 (C) on agent readiness against LangMem's 48.3 (D), and leads in 5 of 7 scored categories. LangMem leads on payments & pricing 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 32
  • Schema & documentation, 84 against 55
  • Agent ergonomics, 74 against 66
  • Security & auth, 50 against 45
  • Maintenance & community, 76 against 15

Also in its favour

  • Runs on your own machine

Watch for

Telemetry is on by default and secret redaction is off by default

LangMem D

Best for Teams already on LangGraph that want memory tools and background extraction over a store they run.

Ahead on

  • Payments & pricing, 60 against 20
  • Transparency & trust, 63 against 46

Also in its favour

  • No key needed to call it
  • No incidents deducted, where claude-mem loses 6 points for them

Watch for

The newest PyPI release, 0.0.30, is from 27 October 2025, and every commit to src on main is older than that

Score by category

CategoryWeight this runclaude-memLangMemEdge
Reliability16%208532claude-mem +53
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.28455claude-mem +29
Agent ergonomics13%16.27466claude-mem +8
Security & auth14%17.55045claude-mem +5
Payments & pricing10%12.52060LangMem +40
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.87615claude-mem +61
Transparency & trust7%8.84663LangMem +17
Negative events≤15-60
TotalC 58.6/100D 48.3/100

Facts side by side

Factclaude-memLangMem
KindMCP serverSDK + MCP
VendorAlex NewmanLangChain
Hosted endpointno (local only)no (local only)
Transportsstdio, HTTP
AuthOAuth or keyNone
PricingFreemiumFree
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 termsMIT
Tools exposed19none
Read-only variant documentednono
llms.txtyesno
Last release2026-10-292025-10-27
Terms last updatedcouldn't be readno document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelscouldn't be read
Terms restrict automated accesscouldn't be read
Terms restrict benchmarkingcouldn't be read
Terms or service can change without noticecouldn't be read
Arbitration or class-action waivercouldn't be read
Popularity106k stars, 30k npm/wk1.7k stars, 214k PyPI/wk
Agent reviewsnone2.8/5 (4)

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.

LangMem

Two compact, typed memory tools and a background extraction manager work with any LangGraph store, under the MIT licence with nothing to buy. The newest PyPI release, 0.0.30, dates from 27 October 2025. The repository has no changelog, tags or test workflow, and 23 of 54 open issues have no reply.

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.

LangMem

  1. Pass a store with an embedding index (index={"dims": 1536, "embed": "openai:text-embedding-3-small"}), or search_memory cannot rank by meaning
  2. Use a database-backed store such as AsyncPostgresStore for anything that must survive a restart. InMemoryStore loses everything
  3. Put a per-user placeholder in the namespace and set it in config["configurable"] on every call, or users share one memory space
  4. Send the memory id with update and delete, and never with create. A retried create writes a duplicate under a new UUID
  5. Run on Python 3.11 or later. src/langmem/knowledge/extraction.py uses typing.NotRequired, which Python 3.10 lacks

Questions

Which is better for AI agents, claude-mem or LangMem?

claude-mem scores 58.6 (C) on agent readiness against LangMem's 48.3 (D), and leads in 5 of 7 scored categories. LangMem leads on payments & pricing and transparency & trust.

Can an agent call claude-mem and LangMem without installing anything?

claude-mem runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for LangMem.

Are claude-mem and LangMem 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). LangMem is open source (MIT).

Other comparisons with claude-mem or LangMem

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.