What do you want to do?
3 use cases
-
Give an agent memory that tracks how facts change
Store each conversation turn or record as an episode so the graph keeps what is true now and what was true before.
View prompt
Using getzep/graphiti, install it with `pip install graphiti-core`, start Neo4j with `docker compose up`, ingest <my conversation log> as episodes, and show me one fact that was invalidated by a later episode.
-
Build a private knowledge graph with local models
Run extraction and embeddings through Ollama's OpenAI-compatible endpoint so no data leaves your machine.
View prompt
Using getzep/graphiti with a local Ollama server, configure OpenAIGenericClient and OpenAIEmbedder as the README shows, ingest <my notes folder>, and report how many entities were extracted and any extraction failures.
-
Shape the graph with your own entity types
Declare entity and edge types as Pydantic models so the graph follows your domain, or let structure emerge from the data.
View prompt
Using getzep/graphiti, define Pydantic entity types for <my domain>, ingest <sample records> as episodes, and list the entity types that ended up in the graph.
Quick start with Graphiti
- Check you have what it needs: Python 3.10 or higher; install with `pip install graphiti-core`; A graph database: Neo4j 5.26, FalkorDB 1.1.2, Amazon Neptune, or Kuzu (deprecated); An OpenAI API key by default, or another provider such as Anthropic, Gemini, Groq or a local Ollama server.
- Open getzep/graphiti on GitHub and read the README and license.
- Install the library with
pip install graphiti-coreand setOPENAI_API_KEYin your environment - Start a graph database with
docker compose upfor Neo4j, ordocker compose --profile falkordb upfor FalkorDB - Follow the Quickstart Example to connect, build the indices and constraints, and add text and JSON episodes
- Query with hybrid search for relationships and rerank results by graph distance
These steps come from our top use case, Give an agent memory that tracks how facts change, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for getzep/graphiti
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forDevelopers building agents or assistants whose knowledge changes over time and who will run their own graph database.
- Why it is hot32k stars, talked about in 2 AI sources we track
- LanguagePython
- Sourcegithub.com/getzep/graphiti ยท Back to Hot repos
Requirements
- Python 3.10 or higher; install with `pip install graphiti-core`
- A graph database: Neo4j 5.26, FalkorDB 1.1.2, Amazon Neptune, or Kuzu (deprecated)
- An OpenAI API key by default, or another provider such as Anthropic, Gemini, Groq or a local Ollama server
Add this badge to your README
Maintain Graphiti? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/getzep-graphiti/?utm_source=github&utm_medium=badge&utm_campaign=getzep-graphiti)
HTML
<a href="https://dedupedai.com/use-cases/getzep-graphiti/?utm_source=github&utm_medium=badge&utm_campaign=getzep-graphiti"><img src="https://dedupedai.com/badge/getzep/graphiti.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Graphiti
What is Graphiti?
Graphiti is a Python framework for building and querying temporal context graphs for AI agents. It turns episodes of text or JSON into entities and facts with validity windows, keeps provenance back to the source data, updates incrementally without recomputing the graph, and retrieves with hybrid semantic, keyword (BM25) and graph traversal search on Neo4j, FalkorDB, Kuzu or Amazon Neptune. It is an open-source project on GitHub: https://github.com/getzep/graphiti.
How do I use Graphiti?
Install the library with pip install graphiti-core and set OPENAI_API_KEY in your environment; then start a graph database with docker compose up for Neo4j, or docker compose --profile falkordb up for FalkorDB; follow the Quickstart Example to connect, build the indices and constraints, and add text and JSON episodes. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Graphiti for?
Developers building agents or assistants whose knowledge changes over time and who will run their own graph database.
What can I do with Graphiti?
3 use cases so far, for example: Give an agent memory that tracks how facts change; Build a private knowledge graph with local models; Shape the graph with your own entity types. Each has steps and a copy-paste agent prompt.
What do I need to run Graphiti?
Python 3.10 or higher; install with `pip install graphiti-core`; A graph database: Neo4j 5.26, FalkorDB 1.1.2, Amazon Neptune, or Kuzu (deprecated); An OpenAI API key by default, or another provider such as Anthropic, Gemini, Groq or a local Ollama server.
What are alternatives to Graphiti?
Other hot AI repos in Research: Txtai, GPT Researcher, Sam2, Reader, Cognee.
Is Graphiti safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.