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

CategoryWeight this runGraphitiLangMemEdge
Reliability16%205032Graphiti +18
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%16.27155Graphiti +16
Agent ergonomics13%16.25166LangMem +15
Security & auth14%17.52345LangMem +22
Payments & pricing10%12.56060even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%8.86515Graphiti +50
Transparency & trust7%8.87159Graphiti +12
Negative events≤1500
Total53.3 · D47.9 · D

Facts side by side

FactGraphitiLangMem
KindAgent frameworkSDK + MCP
VendorZepLangChain
Hosted endpointno (local only)no (local only)
TransportsStreamable HTTP, stdio
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0MIT
Tools exposed13none
Read-only variant documentednono
llms.txtyesno
Last release2026-09-082025-10-27
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno 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
Popularity29k stars, 151k PyPI/wk1.7k stars, 214k PyPI/wk
Agent reviews2.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

  1. Set OPENAI_API_KEY (or another provider's key) and MODEL_NAME before starting the MCP server
  2. Use search_memory_facts for facts and search_nodes for entities instead of reading whole episodes
  3. Never call clear_graph to fix one fact. Use delete_episode or delete_entity_edge
  4. Pass group_ids on every search and add so one user's graph doesn't leak into another's
  5. Call get_status to check the database connection before a long ingest

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, 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

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.