Migration guide

Migrating from Zep to Cognee

Zep and Cognee both store memory as a graph, which makes this the most lossless migration Cognee supports. The ZepSource adapter reads Zep's graph export and, in hybrid mode, keeps the entities and facts Zep already extracted.

Based on public information as of September 2026. See each vendor's site for current details.

Zep's temporal knowledge graph tracks when each fact became true and when it stopped being true, and its managed service handles that for you. If your agents' memory is fundamentally a timeline of conversations and you are happy with a hosted service, Zep does that job well and Cognee's temporal support is less specialised. Migrate when you need memory built from sources other than conversation, want the full stack open source and self-hosted, or need many agents sharing one graph.

Disclosure: Cognee is our product. Claims about Zep are based on its public documentation as of September 2026.

Why teams migrate from Zep

Migration steps

Because Zep already extracted entities and facts, preserve mode gives you a faithful copy with zero LLM cost, hybrid (the default for ZepSource) adds Cognee's own extraction on top, and re-derive discards Zep's graph and rebuilds from the episodes only. Use preserve to validate the export shape, then hybrid for the real import.

The import adapters live in cognee.migration and are documented at docs.cognee.ai. If your export does not match the shape the adapter expects, open an issue on GitHub with a redacted sample.

Frequently asked questions

Does Cognee keep Zep's valid_at and invalid_at timestamps?

Facts are imported with their metadata and the TEMPORAL search type reasons over time. Cognee's temporal model is not identical to Zep's bi-temporal edges, so verify time-scoped queries during the parallel run.

I self-host Graphiti rather than using Zep Cloud. Does this apply?

Yes. Graphiti exports have the same shape, and Cognee ships a GraphitiSource alias for them. See the Graphiti migration guide.

Can I export from Cognee later?

Yes. cognee.export writes any dataset to the open COGX archive format or GraphML, so the move is reversible.

What does the import cost?

preserve is free of LLM calls. hybrid and re-derive run extraction over the episodes; use dry_run=True on cognee.remember for a token estimate before the full run.