# Graphiti Review 2026: Is Zep's Free Graph Engine Production-Ready?

> Graphiti, Zep's open-source engine, records when each fact was true and searches without an LLM. The catch: slow ingestion and a graph database to run.

Type: Review  
Product: Graphiti  
Category: Agent Memory  
Published: 2026-10-17  
Updated: 2026-11-02  
Reading time: 10 min

Graphiti is an open-source framework from Zep for building temporal knowledge graphs, which it now calls temporal context graphs, for AI agents. You can use it to turn conversations, user interactions and business data into a knowledge graph of people, things and facts, where every fact knows when it became true and when it stopped being true.

I ran Graphiti 0.31 with a small support-chat test to see how it handles a fact that changes, how fast it is, and what it costs per chat.

This review covers what Graphiti is, how it works, its features, what makes it different, what it costs, where it falls short, and what we know about its benchmarks.

> [!TLDR]
> - **Graphiti** builds a time-aware knowledge graph (a context graph) from your agent's conversations, with a validity window on every fact. It's a Python library under the Apache 2.0 license.
> - **Pricing:** free. You pay for the AI model that builds the graph (about $0.007 per chat in my test) and the graph database you run.
> - **Watch for** very slow ingestion (29 to 76 seconds per chat in my test) and facts it doesn't extract, like a simple preference.

## What is Graphiti?

Graphiti is an open-source framework for building and querying temporally aware knowledge graphs, specifically tailored to AI agents that work with dynamic data. It's a dynamic memory system: the engine inside Zep's commercial memory service, released as open source so you can run it yourself. Zep calls the result a context graph, a knowledge graph that holds an agent's context over time.

Is Graphiti open source? Yes. The [getzep/graphiti GitHub repo](https://github.com/getzep/graphiti) uses the Apache 2.0 license and has about 31,800 stars, and you install `graphiti-core` from PyPI. Zep retired its own open-source Community Edition in 2025 and points self-hosters to Graphiti instead.

Unlike traditional knowledge graphs, which you rebuild in batches, Graphiti handles dynamic updates: the graph changes as each new piece of data arrives, with no batch recomputation. It takes unstructured data like conversations and structured data like JSON records, so external knowledge and chat history end up in one graph. And it keeps time: every fact carries the date it became true and the date it stopped being true, so you can ask what was true at any point, not just now. That's what maintaining historical context means here.

When should you use Graphiti?

- **Agents whose facts change over time**, like a support or sales agent tracking accounts, plans and contacts.
- **Agents that combine conversations with business data**, like CRM records or product catalogs fed in as structured JSON.
- **Questions about relationships between entities**: who works with whom, which account uses which product, and since when. Traditional RAG approaches, which search chunks of text, struggle with these.
- **Teams that want to self-host** the same engine behind a managed memory service.

You might also be wondering about "graphitization." That's a materials science term for carbon turning into graphite, and it has nothing to do with this Graphiti.

### How does Graphiti work?

![Graphiti maps each chat into people, things and dated connections, stored in a graph database you run.](/infographics/graphiti-review/how-graphiti-works.png)

Every memory system has three jobs: saving what matters, handling facts that change, and recalling the right facts before the agent answers. Here's how Graphiti does each one:

1. **Saving.** You add data as episodes: a conversation message, a block of text or a JSON record, each with the time it happened. An LLM extracts entities (nodes) and the relationships that connect them (edges, each holding a fact), and Graphiti merges them with entities already in the knowledge graph.
2. **Updating.** When a new fact contradicts an old one, Graphiti doesn't delete it. It sets the old fact's `invalid_at` to the date the new one became true. Graphiti tracks two timelines: when a fact was true in the world, and when your system learned it.
3. **Recalling.** `search()` combines semantic embeddings, full-text search (BM25) and graph traversal, and fuses the results. By default, no LLM runs at query time, which gives you low-latency retrieval even on a large knowledge graph.

Here's what that looks like in code. You `pip install graphiti-core`, then import Graphiti and a database driver:

```python title="graphiti_plan.py"
import asyncio
from datetime import datetime, timezone
from graphiti_core import Graphiti
from graphiti_core.driver.falkordb_driver import FalkorDriver
from graphiti_core.nodes import EpisodeType

async def main():
    # Uses OpenAI by default; pass llm_client for other models
    g = Graphiti(graph_driver=FalkorDriver(port=6379))
    await g.build_indices_and_constraints()  # once, at setup

    # Add a chat as an episode, with the time it happened
    when = datetime(2026, 10, 9, tzinfo=timezone.utc)
    await g.add_episode(
        name="chat-2", source=EpisodeType.message,
        episode_body="Priya: We upgraded to Enterprise.",
        source_description="support chat",
        reference_time=when, group_id="acme_priya")

    # Search facts; each has a validity window
    for e in await g.search("Which plan is the customer on?",
                            group_ids=["acme_priya"]):
        print(e.fact, e.valid_at, e.invalid_at)

asyncio.run(main())
```

How did it do? I added the same three support conversations as in my other reviews: a customer on the Team plan, an upgrade to Enterprise, then SSO and billing details.

![Graphiti closed the old plan's validity window on the day of the upgrade, but didn't save the email preference as a fact.](/infographics/graphiti-review/plan-change.png)

The plan change came out exactly right: "Acme is on the Team plan with 12 seats" was valid from September 2 and invalid from October 9, the day of the upgrade.

How fast is it? With Gemini 3.8 Flash and FalkorDB on my server, each `add_episode()` took 29 to 76 seconds. Searches took a median of 257 ms, with no model call.

## Graphiti features

Here's what you can do with Graphiti's main features:

| Feature | What you can do with it |
|---|---|
| Episodes | Add messages, text or structured JSON, each with a timestamp |
| Entity extraction | Turn episodes into entities and the facts between them |
| Bi-temporal facts | Track when each fact was true and when you learned it |
| Fact invalidation | End a fact's validity window when new data contradicts it |
| Hybrid search | Combine semantic embeddings, BM25 full-text search and graph traversal |
| Rerankers | Re-score results by graph distance, diversity or a cross-encoder |
| Custom entity types | Define entity types and edge types with Pydantic models |
| Communities | Group related entities into communities, each with a summary |
| Group IDs | Keep separate graphs per user, tenant or project |
| Bulk ingestion | Load many episodes at once |
| Graph databases | Store the knowledge graph in Neo4j, FalkorDB or Amazon Neptune (Kuzu is deprecated) |
| Models | Use OpenAI, Azure OpenAI, Anthropic, Google Gemini, Groq, or a local model through an OpenAI-compatible server |
| MCP server | Give Claude Code, Cursor and other AI assistants graph memory |
| REST server | Run Graphiti as a FastAPI service |
| Tracing | Trace ingestion and search with OpenTelemetry |

## What makes Graphiti different

Most memory layers save facts and search them. These are the things Graphiti does that most of them don't:

- **A validity window on every fact.** Graphiti records when each fact started and stopped being true, so your agent can answer "which plan were they on in September?" and keep historical context. Most memory layers only know the current state, or keep old facts with no end date.
- **Two timelines.** It separates when something happened from when your system learned it, so you can audit what the agent knew at any point in a conversation.
- **Typed relationships.** Facts are edges between entities, like `UPGRADED_TO` or `HAS_BILLING_CONTACT`, which you can shape with your own Pydantic models. Most memory layers store free text, so queries about relationships need an LLM to piece them together.
- **Incremental updates.** New data lands in the graph right away, with no batch recomputation of the whole graph, which suits dynamic data.
- **No LLM at search time.** Search uses embeddings, BM25 full-text search and graph traversal, so it's fast and costs almost nothing across thousands of queries. Most graph memory systems call a model to answer.
- **The engine behind a commercial product.** Graphiti is what Zep runs in its managed service, so you can start self-hosted and move to Zep Cloud later.

## Graphiti pricing

Graphiti is free under the Apache 2.0 license, with no paid tier of its own. You pay for:

- **The LLM** that extracts entities and facts from every episode. It needs a model with structured output.
- **Embeddings** for entities and facts, which cost very little.
- **The graph database** that stores the knowledge graph: Neo4j, FalkorDB or Amazon Neptune, self-hosted or managed.

If you'd rather not run it, Zep Cloud is the managed version, priced in credits per episode. See [Mem0 vs Zep](/mem0-vs-zep) for Zep's plans.

### What Graphiti costs for a support agent

Graphiti's docs and Zep's examples center on customer and business data, so I used the same support agent as my other reviews:

- A support chat has 5 turns, and you add the whole chat as one episode.
- Each episode used about 7,250 input tokens and 460 output tokens in my test, with Gemini 3.8 Flash at $0.75 and $3.75 per million tokens. That's about $0.007 per chat.
- Search makes no model calls, so recalling before every reply adds only a query embedding.

![Graphiti costs about $7 a month in AI model calls for 1,000 support chats, $21 for 3,000 and $70 for 10,000.](/infographics/graphiti-review/pricing.png)

Here's the arithmetic:

1. **1,000 chats a month** is about $7 in model calls.
2. **3,000 chats a month** is about $21.
3. **10,000 chats a month** is about $70.

On top of that, you run a graph database. Self-hosted Neo4j Community or FalkorDB is free; managed tiers cost more. One big lever: if you add each message as its own episode instead of each chat, every episode pays the extraction overhead, so the bill grows several times over.

## Graphiti drawbacks

Here's what I hit in testing and what developers raise:

- **Ingestion is slow.** Each episode took 29 to 76 seconds in my test, because Graphiti runs several LLM calls to extract, deduplicate and resolve facts. Its docs default to low concurrency to avoid hitting your provider's 429 rate limit errors. Ingest in the background, never in the reply path.
- **It can miss simple facts.** Priya's email preference never became a fact. It only appeared inside an entity summary, so searching "How should I contact the customer?" didn't find it. Graphiti looks for facts that connect two entities; a plain attribute can slip through. Custom entity types with fields like `contact_preference` help.
- **Search returns ended facts too.** The Team plan fact still came back in search queries, marked invalid. Your code has to filter or label facts by `invalid_at` before they reach the prompt, or the agent may read an old fact as the current state.
- **You run a graph database.** There's no hosted option for Graphiti itself, no dashboard and no user management. Those come with Zep Cloud.
- **Setup mistakes cost seconds.** In an [r/Rag thread](https://www.reddit.com/r/Rag/comments/1r1db1z/graphiti_retrieval_neo4j_taking_exceptionally_long/) from February 2026, a developer's searches took around 50 seconds until they found that "`build_indices_and_constraints` was running on every request." Call it once at setup.
- **Python only.** Graphiti is a Python library. TypeScript and Go SDKs exist for Zep Cloud, not for Graphiti.

## Graphiti benchmarks

Zep hasn't published benchmark results for Graphiti on its own. The results you'll see quoted are for Zep Cloud, the managed service built on Graphiti, which adds its own retrieval and context assembly:

- **LongMemEval** (500 questions about long chat histories): Zep reports 90.2% for Zep Cloud.
- **LoCoMo** (about 1,500 questions about long chats between two people): Zep reports 94.7%.

Those are Zep's numbers for Zep's service, so I don't chart them as Graphiti's. Source: [Zep research](https://www.getzep.com/research/).

So what does that tell you?

- **The engine can support top scores**, since Zep Cloud runs on it.
- **Your results depend on your setup**: the model you pick, your search settings and how you shape entity types.
- **Test on your own data.** With no library-level benchmark, a small evaluation with your own conversations is the best way to know.

## Graphiti final review

As a temporal knowledge graph, Graphiti gave the most exact answer to a changing fact of any memory layer I've tested: the old plan got a clean validity window that ended on the day of the upgrade. It's free, its search is fast and model-free, and it's the same engine Zep sells. The trade-off is ingestion speed and the work of running a graph database, plus checking that the facts you care about actually get extracted.

Here's how it holds up:

- **Quality.** Exact validity windows on changed facts, but it missed a simple preference, and there's no published benchmark for the library itself.
- **Latency.** Searches took about 257 ms with no model call, but ingestion took 29 to 76 seconds per chat.
- **Developer experience.** A capable Python framework with custom types and many backends, but you wire up the LLM, embedder, reranker and database yourself.
- **Cost.** Free, with about $0.007 per chat in model calls, plus a graph database.
- **Operability.** You run and monitor a graph database with no dashboard. Zep Cloud exists if you'd rather not.

Choose Graphiti if:

- **your agent needs to know when facts changed**, not just what's true now
- **you want typed relationships** across people, accounts and products, mixed with business data, in one knowledge graph
- **you want to self-host** the engine behind a commercial memory service

Look elsewhere if:

- **you want a managed service with dashboards**: Zep Cloud runs Graphiti for you ([Mem0 vs Zep](/mem0-vs-zep))
- **you need fast ingestion or simple user preferences**: see [Graphiti vs Mem0](/graphiti-vs-mem0)
- **your agent works mostly over documents**: see [Cognee vs Mem0](/cognee-vs-mem0)
