Migration guide

Migrating from Graphiti to Cognee

Graphiti is the open-source temporal graph engine behind Zep. If you run it yourself on Neo4j or FalkorDB, Cognee's GraphitiSource adapter imports its nodes, edges, and episodes, and you can keep the graph you already built.

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

Graphiti's bi-temporal edges (when a fact was true, when it was recorded) are more precise than Cognee's temporal model, and if time-aware reasoning over conversations is your core problem, Graphiti is the sharper tool. Cognee also integrates with Graphiti rather than only replacing it. Migrate when you need memory built from documents, databases, and code as well as conversations, want retrieval modes beyond graph search, or want a memory layer with an MCP server, feedback loop, and multi-tenant isolation out of the box.

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

Why teams migrate from Graphiti

Migration steps

Graphiti has already done entity and fact extraction, so preserve mode is a lossless, zero-LLM copy and the right first run. hybrid (recommended for the final import) keeps that graph and adds Cognee's chunks, summaries, and vector index over the episodes. re-derive ignores Graphiti's graph entirely and rebuilds from the episode text.

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

Do I have to stop using Graphiti?

No. Cognee has a Graphiti integration (cognee[graphiti]) for teams that want Graphiti's temporal graph inside a Cognee pipeline. This guide is for teams that want to consolidate on one memory layer.

Are valid_at and invalid_at preserved?

They are imported as fact metadata and used by TEMPORAL search. Cognee's temporal reasoning is not identical to Graphiti's bi-temporal model, so verify time-scoped answers during the parallel run.

My dump has a different shape. What then?

The adapter looks for nodes, edges, and episodes lists and tolerates extra fields. If your export is structured differently, open an issue on GitHub with a redacted sample and we will extend the adapter.

Can I export from Cognee later?

Yes. cognee.export writes a dataset to the open COGX archive format or GraphML.