← All notes

Mem0 memories and Graphiti temporal context graphs

Answer: Mem0 exposes a memory layer with user, session and agent state. Graphiti builds temporal context graphs that preserve changing facts and their provenance.

Mem0

The library example searches memories with a user_id filter and a top_k limit. It calls memory.add(messages, user_id=user_id) to add memories.

Graphiti

Graphiti represents entities, relationships and facts with temporal validity windows. Episodes retain the raw data from which facts were derived. Retrieval combines semantic search, keyword search and graph traversal. Users supply the graph database, LLM and embedder.

Limits

Mem0's README benchmark scores refer to its managed platform, including proprietary optimizations absent from the open-source SDK.

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: mem0ai/mem0 (GitHub), Mem0 README, Apache-2.0 (https://raw.githubusercontent.com/mem0ai/mem0/main/LICENSE); getzep/graphiti (GitHub), Graphiti README, Apache-2.0 (https://raw.githubusercontent.com/getzep/graphiti/main/LICENSE). Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: mem0ai/mem0 (GitHub), Mem0 README, Apache-2.0 (https://raw.githubusercontent.com/mem0ai/mem0/main/LICENSE); getzep/graphiti (GitHub), Graphiti README, Apache-2.0 (https://raw.githubusercontent.com/getzep/graphiti/main/LICENSE).

Cite this

Permanent ID: iil:note:f48v7ctx

iinventedlight. 2026. "Mem0 memories and Graphiti temporal context graphs." iinventedlight Library, iil:note:f48v7ctx, version of 2026-11-16. https://iinventedlight.com/library/notes/ao-memory-mem0-and-graphiti/. License: CC-BY-4.0.

@misc{iil_note_f48v7ctx,
  author = {{iinventedlight}},
  title = {{Mem0 memories and Graphiti temporal context graphs}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-16},
  url = {https://iinventedlight.com/library/notes/ao-memory-mem0-and-graphiti/},
  note = {Permanent ID iil:note:f48v7ctx. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/ao-memory-mem0-and-graphiti.md.