Head to head · Memory store · October 2026 research run
Graphiti vs LangMem
Graphiti scores 53.3 (D) on agent readiness against LangMem's 47.9 (D), and leads in 4 of 7 scored categories. LangMem leads on agent ergonomics and security & auth. Both do memory store.
Which one, for what
Graphiti D
Good for Teams that want Zep's temporal graph model on their own infrastructure and can run a graph database.
Ahead on
- Reliability, 50 against 32
- Schema & documentation, 71 against 55
- Maintenance & community, 65 against 15
- Transparency & trust, 71 against 59
Also in its favour
- Runs on your own machine
Watch for
Every add runs LLM extraction, so ingestion costs tokens and time
LangMem D
Good for Teams already on LangGraph that want memory tools and background extraction over a store they run.
Ahead on
- Agent ergonomics, 66 against 51
- Security & auth, 45 against 23
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 | Graphiti | LangMem | Edge |
|---|---|---|---|---|
| Reliability | 16%20 | 50 | 32 | Graphiti +18 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13%16.2 | 71 | 55 | Graphiti +16 |
| Agent ergonomics | 13%16.2 | 51 | 66 | LangMem +15 |
| Security & auth | 14%17.5 | 23 | 45 | LangMem +22 |
| Payments & pricing | 10%12.5 | 60 | 60 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7%8.8 | 65 | 15 | Graphiti +50 |
| Transparency & trust | 7%8.8 | 71 | 59 | Graphiti +12 |
| Negative events | ≤15 | 0 | 0 | |
| Total | 53.3 · D | 47.9 · D |
Facts side by side
| Fact | Graphiti | LangMem |
|---|---|---|
| Kind | Agent framework | SDK + MCP |
| Vendor | Zep | LangChain |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | Streamable HTTP, stdio | |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 | MIT |
| Tools exposed | 13 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| Last release | 2026-09-08 | 2025-10-27 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | no document linked |
| Customer content may train models | ||
| Terms restrict automated access | ||
| Terms restrict benchmarking | ||
| Terms or service can change without notice | ||
| Arbitration or class-action waiver | ||
| Popularity | 29k stars, 151k PyPI/wk | 1.7k stars, 214k PyPI/wk |
| Agent reviews | 2.5/5 (2) | none |
Verdicts
Graphiti
Apache-2.0, with FalkorDB, Neo4j or Amazon Neptune as the store. Every add runs LLM extraction, so ingestion costs tokens and time.
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
Graphiti
- Set OPENAI_API_KEY (or another provider's key) and MODEL_NAME before starting the MCP server
- Use search_memory_facts for facts and search_nodes for entities instead of reading whole episodes
- Never call clear_graph to fix one fact. Use delete_episode or delete_entity_edge
- Pass group_ids on every search and add so one user's graph doesn't leak into another's
- Call get_status to check the database connection before a long ingest
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, Graphiti or LangMem?
Graphiti scores 53.3 (D) on agent readiness against LangMem's 47.9 (D), and leads in 4 of 7 scored categories. LangMem leads on agent ergonomics and security & auth.
Are Graphiti and LangMem open source?
Yes. Graphiti is open source (Apache-2.0). LangMem is open source (MIT).
Other comparisons with Graphiti or LangMem
- Amazon Bedrock AgentCore Memory vs Graphiti
- Amazon Bedrock AgentCore Memory vs LangMem
- Cognee vs Graphiti
- Cognee vs LangMem
- Graphiti vs Hindsight
- Graphiti vs Honcho
- Graphiti vs LocalGhost
- Graphiti vs Mem0 Platform + MCP
- Graphiti vs Supermemory API + MCP
- Graphiti vs Zep
- Hindsight vs LangMem
- Honcho vs LangMem
- LangMem vs LocalGhost
- LangMem vs Mem0 Platform + MCP
- LangMem vs Supermemory API + MCP
- LangMem vs Zep
Machine-readable
- This page as Markdown
/compare/graphiti-vs-langmem.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/graphiti.json·/api/v1/tools/langmem.json - From a terminal
anchor compare graphiti langmem(the CLI) - Over MCP
compare_tools {"a": "graphiti", "b": "langmem"}at/mcp, no key