
Graphiti
Open-source temporal knowledge graphs for AI agents
About Graphiti
Graphiti is an open-source Python framework from Zep for building and querying temporal knowledge graphs, which Zep calls Context Graphs, for AI agents. It ingests structured and unstructured data as episodes, uses an LLM to extract entities, relationships and facts from them, and records when each fact became true and when it stopped being true, so outdated facts are invalidated rather than overwritten and the graph can be queried at any point in time. Search combines vector similarity, BM25 full-text and graph traversal into one ranked result without an LLM reranking step, and results can be reranked by distance from a chosen node. Graphiti supports custom entity types and parallel bulk ingestion, uses Neo4j, FalkorDB or Amazon Neptune as its graph database, and works with OpenAI, Azure OpenAI, Gemini and Anthropic for LLM and embedding calls. It is licensed under Apache 2.0, and Zep's managed context platform uses it to build its graphs.
Top Features
- Builds knowledge graphs incrementally from episodes
- Bi-temporal model with fact invalidation and point-in-time queries
- Hybrid semantic, BM25 and graph-traversal search
- Custom entity types for domain-specific graphs
- Neo4j, FalkorDB and Amazon Neptune backends
- Works with OpenAI, Azure OpenAI, Gemini and Anthropic
- Open source under Apache 2.0
What Graphiti does
AINave analysisBuild and query a knowledge graph that records how facts change over time, so AI agents can retrieve current and historical context from ingested data.
- Best for
- AI application developersBackend engineers building agent memory systemsData teams working with evolving enterprise data
- Use it to
- Ingesting conversation and business data into an evolving graph
- Answering point-in-time queries about past facts
- Tracking when facts became true and when they were superseded
- Hybrid semantic, keyword and graph search for agent context
- Defining domain-specific entity and relationship types
- Building custom context services on top of a graph database
Show you're on AINave
Add the badge to Graphiti's site. It links back to this page.
Alternatives to Graphiti
Run 1,000+ AI models, workflows and agents through one API
Amazon data, structured through one API.
Natural language in. Real browser. Pass or fail out.
Automate and simplify scheduling, reservations, appointment booking, and product consultations for any industry, 24/7.
Put yourself into viral TikTok meme videos from one photo
Any Idea to Video. Made Simple.