Graphiti

Updated Published

Graphiti is Zep's Apache-2.0 Python framework for building and querying temporal context graphs for AI agents, run on your own graph database.

Graphiti is the open-source library from Zep, the company. It is the graph framework under Zep Cloud, which is a separate managed product with its own profile.

Best for: developers who want an open-source, time-aware knowledge graph for agents and will run it themselves

Graphiti official site

What is Graphiti?

Graphiti is an open-source Python framework from Zep for building and querying temporal context graphs for AI agents. It stores entities and time-stamped facts in your own graph database and links each one to the data it came from.

Graphiti is the graph engine underneath Zep Cloud, released under Apache-2.0. You get the extraction, the bi-temporal model and hybrid search, and you build and run everything around them: hosting, access control, compliance and any interface. Zep's own docs point teams that want those handled to Zep.

How does Graphiti work?

  1. Install graphiti-core and connect it to Neo4j, FalkorDB or Amazon Neptune, plus an LLM and embedding provider.
  2. Send it episodes: unstructured text or structured JSON from conversations or business data.
  3. An LLM extracts entities and relationships, deduplicates them and adds them to the graph, using entity types you define or ones learned from the data.
  4. When a fact changes, the old fact is invalidated with a validity window rather than deleted.
  5. Agents query the graph through the Python library, the REST service or the MCP server, using combined vector, keyword and graph search.

How much does Graphiti cost?

Graphiti is free under Apache-2.0, checked 18 October 2026. The running costs are your graph database, hosting and LLM calls, and each episode takes several LLM calls to process. Zep, the managed version, starts at $125 a month on its Flex plan.

Who is Graphiti for, and who is it not for?

Graphiti suits a developer or platform team that wants a time-aware knowledge graph for agents, prefers open source and is comfortable operating a graph database. Its own README puts it this way: choose Graphiti if you are comfortable building and operating the surrounding system.

It is a poor fit for a team that needs vendor compliance, SSO, audit logs or a person approving facts before agents use them; we found no mention of SSO, audit logs or an approval step in Graphiti's docs. Teams that want a hosted service with those controls are pointed by Zep's docs to Zep.

What does Graphiti do well?

  • Facts have validity windows and changed facts are invalidated rather than deleted, so you can query what was true at a point in time
  • Every entity and relationship traces back to the raw episodes that produced it
  • Hybrid search over vectors, BM25 and graph traversal, with no LLM reranking step
  • Apache-2.0, with Neo4j, FalkorDB or Amazon Neptune as the store and OpenAI, Azure OpenAI, Gemini or Anthropic as the model
  • Ships an MCP server and a FastAPI REST service, so several agents can share one graph

Graphiti on our criteria

Graphiti: what we found, by criterion
CriterionWhat we found
Pricing No Graphiti price; the library is free. The managed alternative, Zep, starts at $125/month (Flex, billed monthly) Verified
Free plan The whole framework is free open source; you pay for your own graph database and LLM calls Verified
Open source Yes, Apache-2.0 Verified
Human approval Not publicly documented
Cites sources Every entity and relationship traces back to the source episodes that produced it (provenance, not answer-level citations) Verified
Versioning and history Facts have validity windows; old facts are invalidated, not deleted, with point-in-time queries; no review or rollback workflow found Verified
Shared across agents Agents pointed at the same graph or MCP server share it; MCP server over HTTP or stdio with group_id namespaces Verified
Context graph Yes: temporal context graph of entities, facts (edges) and episodes Verified
Enterprise sources Not publicly documented
Deployment Self-hosted only, on Neo4j, FalkorDB or Amazon Neptune Verified
Compliance Self-managed; no certifications for Graphiti itself Verified
Interface Python library (graphiti-core), FastAPI REST service, MCP server; no UI Verified

What are Graphiti's limits?

  • Self-hosted only: governance and compliance are listed as self-managed, and the managed, governed version is Zep
  • Ingestion is LLM-heavy: each episode involves several LLM calls, and the README warns that models without structured output may cause ingestion failures
  • We found no mention of a human review or approval step for extracted facts
  • We found no mention of connectors to company sources such as Notion, Slack or Google Drive; it ingests the text and JSON you send it
  • Anonymous usage telemetry is on by default and has to be switched off

Mentioned in

FAQ

Is Graphiti the same as Zep?

No. Graphiti is the open-source framework that builds the temporal graphs, and Zep Cloud is the managed service that runs on it. Graphiti is self-hosted only, while Zep adds managed ingestion, governance, SOC 2 Type II and BYOK or in-VPC deployment.

Is Graphiti free?

Yes. It is Apache-2.0 and has no paid plan of its own. You pay for the graph database, hosting and the LLM calls used during ingestion, which run several per episode.

Does Graphiti record where a fact came from?

Yes. The README says every entity and relationship traces back to the episodes, the raw data, that produced it. That is provenance in the graph; turning it into citations in an agent's answer is up to your application.

Sources checked

Show 8 sources