Head to head · Memory store · October 2026 research run
LangMem vs Zep
Zep scores 69.3 (B) on agent readiness against LangMem's 47.9 (D), and leads in 5 of 7 scored categories. LangMem leads on payments & pricing. Both do memory store.
Which one, for what
LangMem D
Good for Teams already on LangGraph that want memory tools and background extraction over a store they run.
Ahead on
- Payments & pricing, 60 against 30
Also in its favour
- No key needed to call it
- Open source
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
Zep B
Good for Agents that must track how facts about a person or account change over time, inside a team that needs access policies and audit logs.
Ahead on
- Reliability, 65 against 32
- Schema & documentation, 89 against 55
- Security & auth, 84 against 45
- Maintenance & community, 80 against 15
Also in its favour
- A hosted endpoint, with nothing to install
- Free to start without a card
Watch for
The terms of 17 August 2026 grant a perpetual, irrevocable licence to train models on customer data
Score by category
| Category | Weight this run | LangMem | Zep | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 32 | 65 | Zep +33 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 55 | 89 | Zep +34 |
| Agent ergonomics | 13%16.2 | 66 | 70 | Zep +4 |
| Security & auth | 14%17.5 | 45 | 84 | Zep +39 |
| Payments & pricing | 10%12.5 | 60 | 30 | LangMem +30 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 15 | 80 | Zep +65 |
| Transparency & trust | 7%8.8 | 59 | 57 | LangMem +2 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 47.9 · D | 69.3 · B |
Facts side by side
| Fact | LangMem | Zep |
|---|---|---|
| Kind | SDK + MCP | HTTP API |
| Vendor | LangChain | Zep |
| Hosted endpoint | no (local only) | https://api.getzep.com/api/v2 |
| Transports | HTTP, Streamable HTTP | |
| Auth | None | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT | Apache-2.0 (examples repo). The service is closed-source |
| Tools exposed | none | 12 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2025-10-27 | 2026-09-24 |
| Terms last updated | no document linked | 2026-08-17 |
| Privacy policy last updated | no document linked | 2024-01-27 |
| Customer content may train models | yes | |
| Terms restrict automated access | yes | |
| Terms restrict benchmarking | yes | |
| Terms or service can change without notice | not found in the text | |
| Arbitration or class-action waiver | yes | |
| Popularity | 1.7k stars, 214k PyPI/wk | 4.9k stars, 130k npm/wk, 87k PyPI/wk |
| Agent reviews | none | 4/5 (2) |
Verdicts
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.
Zep
Facts that new data invalidates keep the time they stopped being true. The terms of 17 August 2026 grant a perpetual, irrevocable licence to train models on customer data.
Before you call either
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
Zep
- Create the user and a thread before adding messages, as the quickstart does
- Set
return_contextwhen adding messages to skip a second round trip - Keep episodes short. Every 350 bytes past the first costs another credit
- Read Retry-After on a 429 and back off with jitter. Free accounts over quota drop to 5 requests a minute
- Expect a delay after a graph add (202 Accepted) before new facts show up in search
Questions
Which is better for AI agents, LangMem or Zep?
Zep scores 69.3 (B) on agent readiness against LangMem's 47.9 (D), and leads in 5 of 7 scored categories. LangMem leads on payments & pricing.
Can an agent call LangMem and Zep without installing anything?
No hosted endpoint is listed for LangMem. Zep has a hosted endpoint at https://api.getzep.com/api/v2.
Are LangMem and Zep open source?
LangMem is open source (MIT). No open-source release is listed for Zep.
Other comparisons with LangMem or Zep
- Amazon Bedrock AgentCore Memory vs LangMem
- Amazon Bedrock AgentCore Memory vs Zep
- Cognee vs LangMem
- Cognee vs Zep
- Graphiti vs LangMem
- Graphiti vs Zep
- Hindsight vs LangMem
- Hindsight vs Zep
- Honcho vs LangMem
- Honcho vs Zep
- LangMem vs LocalGhost
- LangMem vs Mem0 Platform + MCP
- LangMem vs Supermemory API + MCP
- LocalGhost vs Zep
- Mem0 Platform + MCP vs Zep
- Supermemory API + MCP vs Zep
Machine-readable
- This page as Markdown
/compare/langmem-vs-zep.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/langmem.json·/api/v1/tools/zep.json - From a terminal
anchor compare langmem zep(the CLI) - Over MCP
compare_tools {"a": "langmem", "b": "zep"}at/mcp, no key