# Graphiti

> Build real-time knowledge graphs for AI agents

Source: https://talira.ai/catalog/graphiti-vdxr6q7w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [ai / knowledge graphs](https://talira.ai/categories/ai/knowledge-graphs), [ai / agents / memory](https://talira.ai/categories/ai/agents/memory), [ai / rag / graph rag](https://talira.ai/categories/ai/rag/graph-rag)
- Platforms: docker[^1]
- Licence: Apache-2.0[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free under Apache-2.0; you pay for your own LLM, embedder and graph database.
- Free tier: yes[^2]
- Self-hostable: yes[^1]
- MCP server: yes[^1][^3]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^1][^3]
- Backed by: [Zep](https://talira.ai/orgs/zep.md)
- Funding: venture-backed[^4]

Graphiti is an open source Python framework from Zep for building temporal knowledge graphs (it calls them context graphs) from conversations and structured or unstructured data. Each piece of data you add (an episode) goes through LLM calls that extract entities and relationships, resolve them against the existing graph and give each fact a validity window, so a contradicting fact invalidates the old one without deleting it and you can query what was true at any point. Retrieval combines embeddings, BM25 keyword search and graph traversal, and the graph updates incrementally rather than being rebuilt in batches. You bring the graph database ([Neo4j](https://talira.ai/catalog/neo4j-76zxhxgj.md), FalkorDB or Amazon Neptune), the LLM and the embedder; it is the engine inside [Zep](https://talira.ai/catalog/zep-54v4ajs8.md), which hosts it as a service.

## Links

- Website: https://help.getzep.com/graphiti
- GitHub: https://github.com/getzep/graphiti
- Docs: https://help.getzep.com/graphiti

## Problems it solves

- build a knowledge graph from chat transcripts and documents that records when each fact was true
- query what was true about a customer on a specific date in the past, not only today
- when new information contradicts an old fact, mark the old one invalid but keep its history
- update a knowledge graph incrementally as new data arrives instead of rebuilding it in batches
- combine vector, keyword and graph traversal search for RAG over entities and their relationships
- define my own entity and relationship types with Pydantic for extraction from unstructured text
- trace every fact in my agent's knowledge graph back to the message or document it came from
- open source temporal knowledge graph for agent memory on Neo4j or FalkorDB
- give Claude or Cursor an MCP server backed by a knowledge graph of my notes and conversations

## Features

- bi-temporal facts with validity windows; contradicted facts are invalidated, not deleted
- episodes as provenance: every entity and fact traces back to its source data
- prescribed ontology with Pydantic entity and edge types, or learned structure
- incremental graph construction without batch recomputation
- hybrid retrieval: semantic embeddings, BM25 keyword search and graph traversal, with graph-distance reranking
- backends: Neo4j 5.26, FalkorDB (including an embedded FalkorDB Lite) and Amazon Neptune with OpenSearch Serverless
- LLM providers: OpenAI, Azure OpenAI, Anthropic, Gemini, Groq, and OpenAI-compatible or local servers such as Ollama and vLLM
- SEMAPHORE_LIMIT setting for ingestion concurrency against LLM rate limits
- reference MCP server and FastAPI REST server

## Limitations

- Doesn't build its graph without an LLM: each ingested episode goes through LLM extraction (OpenAI by default), and it works best with models that support structured output[^1]
- Doesn't store graphs in Postgres or SQLite: it needs Neo4j, FalkorDB or Amazon Neptune[^1]
- Doesn't include a production server: its MCP and REST servers are reference implementations with no authentication or authorization[^1]

## Capabilities

- Has an MCP server: plan not known

## Trust

Overall: 0.42 out of 1.
Signals: backing 0.55, extensibility 0.20.

- backed by Zep
- funding: venture-backed
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Neo4j](https://talira.ai/catalog/neo4j-76zxhxgj.md)

## Alternatives

- [Zep](https://talira.ai/catalog/zep-54v4ajs8.md): The enterprise context layer for reliable agents
- [Mem0](https://talira.ai/catalog/mem0-1hspsvwb.md): The memory layer for AI agents
- [GraphRAG](https://talira.ai/catalog/graphrag-gz2tx1a5.md): A modular graph-based Retrieval-Augmented Generation (RAG) system
- [LightRAG](https://talira.ai/catalog/lightrag-g5860qaa.md): Simple and Fast Retrieval-Augmented Generation
- [Cognee](https://talira.ai/catalog/cognee-en632qdm.md): The open-source AI memory platform for agents
- [HydraDB](https://talira.ai/catalog/hydradb-1nf2a9ty.md): Graph database on object storage, and a knowledge and memory layer for AI agents

## Sources

[^1]: https://github.com/getzep/graphiti (checked 20 Nov 2026)
[^2]: https://github.com/getzep/graphiti/blob/main/LICENSE (checked 20 Nov 2026)
[^3]: https://help.getzep.com/v4/graphiti/getting-started/mcp-server (checked 20 Nov 2026)
[^4]: https://www.getzep.com/about (checked 20 Nov 2026)
