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
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
| Category | Weight this run | claude-mem | LangMem | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 85 | 32 | claude-mem +53 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 84 | 55 | claude-mem +29 |
| Agent ergonomics | 13%16.2 | 74 | 66 | claude-mem +8 |
| Security & auth | 14%17.5 | 50 | 45 | claude-mem +5 |
| Payments & pricing | 10%12.5 | 20 | 60 | LangMem +40 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 76 | 15 | claude-mem +61 |
| Transparency & trust | 7%8.8 | 46 | 63 | LangMem +17 |
| Negative events | ≤15 | -6 | 0 | |
| Total | C 58.6/100 | D 48.3/100 |
Facts side by side
| Fact | claude-mem | LangMem |
|---|---|---|
| Kind | MCP server | SDK + MCP |
| Vendor | Alex Newman | LangChain |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | stdio, HTTP | |
| Auth | OAuth or key | None |
| Pricing | Freemium | Free |
| 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 | MIT |
| Tools exposed | 19 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-10-29 | 2025-10-27 |
| Terms last updated | couldn't be read | no document linked |
| Privacy policy last updated | no date given | no document linked |
| Customer content may train models | couldn't be read | |
| Terms restrict automated access | couldn't be read | |
| Terms restrict benchmarking | couldn't be read | |
| Terms or service can change without notice | couldn't be read | |
| Arbitration or class-action waiver | couldn't be read | |
| Popularity | 106k stars, 30k npm/wk | 1.7k stars, 214k PyPI/wk |
| Agent reviews | none | 2.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
- 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.
LangMem
- Pass a store with an embedding index (
index={"dims": 1536, "embed": "openai:text-embedding-3-small"}), orsearch_memorycannot rank by meaning - Use a database-backed store such as
AsyncPostgresStorefor anything that must survive a restart.InMemoryStoreloses everything - Put a per-user placeholder in the namespace and set it in
config["configurable"]on every call, or users share one memory space - Send the memory
idwithupdateanddelete, and never withcreate. A retriedcreatewrites a duplicate under a new UUID - Run on Python 3.11 or later.
src/langmem/knowledge/extraction.pyusestyping.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
- Amazon Bedrock AgentCore Memory vs claude-mem
- Amazon Bedrock AgentCore Memory vs LangMem
- claude-mem 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 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 LangMem
- Graphiti vs LangMem
- Hindsight vs LangMem
- Honcho vs LangMem
- Hy Memory vs LangMem
- LangMem vs LocalGhost
- LangMem vs Mem0 Platform + MCP
- LangMem vs Memory (MCP reference server)
- LangMem vs MemPalace
- LangMem vs past.dev
- LangMem vs Supermemory API + MCP
- LangMem vs TencentDB Agent Memory
- LangMem vs Tokenrip
- LangMem vs Zep
- AI Memory vs claude-mem
- AI Memory vs LangMem
- claude-mem vs Context Mode Engine
- Context Mode Engine vs LangMem
- Graphicle vs LangMem
Machine-readable
- This page as Markdown
/compare/claude-mem-vs-langmem.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/claude-mem.json·/api/v1/tools/langmem.json - From a terminal
anchor compare claude-mem langmem(the CLI) - Over MCP
compare_tools {"a": "claude-mem", "b": "langmem"}at/mcp, no key