Zep delivers agent memory at enterprise scale, unifying chat and business data into a dynamic temporal Context Graph for each user. It tracks entities, relationships, and facts as they evolve, enabling you to build prompts with only the most relevant information—reducing hallucinations, improving recall, and lowering LLM costs.
Zep provides high-level APIs like thread.get_user_context and deep search with graph.search, supports custom entity/edge types, hybrid search, and granular graph updates. Mem0, by comparison, offers basic add/get/search APIs and an optional graph, but lacks built-in data unification, ontology customization, temporal fact management, and fine-grained graph control.
Got lots of data to migrate? Contact us for a discount and increased API limits.
thread.add_messages go straight into the user’s knowledge graph; business objects (JSON, docs, e-mails, CRM rows) flow in through graph.add. Zep automatically deduplicates entities and keeps every fact’s valid and invalid dates so you always see the latest truth.graph.search supports hybrid BM25 + semantic queries, graph search, with pluggable rerankers (RRF, MMR, cross-encoder) and can target nodes, edges, episodes, or everything at once.Zep offers Python, TypeScript, and Go SDKs. See Installation Instructions for more details.
user_id → Zep user_id, and create thread_id per conversation thread.graph.add; Zep will handle entity linking automatically.rrf reranker; switch to mmr, node_distance, cross_encoder, or episode_mentions when you need speed or precision tweaks.For any questions, ping the Zep Discord or contact your account manager. Happy migrating!