Graphiti: Temporal Context Graph Engine for AI Agents
Build real-time knowledge graphs that evolve with every interaction — know what's true now and what was true before.
- Source repo
- getzep/graphiti
- Stars
- ★ 33k
- Last updated
- 1d ago mcp-v1.1.5
- FARS reviewed
- Nov 08, 2026 +3 new
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 55/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Safety controls
- Docker container isolation per README
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Customer support agents that need to track evolving user preferences and relationships from conversation history.
- Not a fit if
- Teams unwilling to run and operate their own graph database
- Teams needing built-in user management, dashboards, or SLAs
- Website
- help.getzep.com/graphiti ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-01latest release mcp-v1.1.5 (2026-11-24)+23.9 ★/day over 7 days
- Source review
- 55/100 · Major gaps
What does this agent do, and when should you use it?
Graphiti is an open-source framework for building and querying temporal context graphs for AI agents. Unlike static knowledge graphs, Graphiti tracks how facts change over time, maintains provenance to source data, and supports both prescribed and learned ontology. It continuously integrates user interactions, structured and unstructured enterprise data, and external information into a coherent, queryable graph. The framework supports incremental updates, eliminating the need for full graph recomputation, and enables efficient retrieval and precise historical queries. Graphiti offers hybrid retrieval combining semantic embeddings, keyword search, and graph traversal, with sub-second query latency. It serves as the core engine of Zep's context infrastructure, which has been demonstrated as State of the Art in Agent Memory.
Graphiti constructs temporal context graphs: it ingests episodes (raw data) and extracts entities and relationships, assigning temporal validity windows to each fact. It automatically invalidates outdated facts while preserving history. Key operations include: initializing the Graphiti class, adding episodes (text or structured JSON), searching for nodes and edges using hybrid search (semantic + BM25 + graph traversal), reranking results with graph distance, and querying across time. It connects to graph databases such as Neo4j, FalkorDB, Amazon Neptune via drivers like Neo4jDriver and FalkorDriver.
- Customer support agents that need to track evolving user preferences and relationships from conversation history.
- Financial or legal analysts who require precise answers about whether a fact was true at a specific time.
- Recommendation systems that must adapt to real-time user behavior and emerging trends.
- Enterprises aiming to build a unified knowledge graph from diverse data sources (emails, documents, databases).
- Development teams that prefer a self-hosted graph engine with multi-provider LLM support (OpenAI, Anthropic, etc.) and no vendor lock-in.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
OPENAI_API_KEY- Runtime
- Python 3.10+
How do you install or deploy this agent?
Requirements: Python 3.10+, a graph database (Neo4j 5.26, FalkorDB 1.1.2, etc.), and an OpenAI API key. Install via pip: pip install graphiti-core, or with uv: uv add graphiti-core. For FalkorDB support, use: pip install graphiti-core[falkordb]. Optional LLM providers: e.g., Anthropic via pip install graphiti-core[anthropic].
How do you use this agent?
Quick start: set OPENAI_API_KEY, connect to a database, initialize Graphiti, add episodes, and search. Example: from graphiti_core import Graphiti; graphiti = Graphiti("bolt://localhost:7687", "neo4j", "password"). For a complete example, see the examples/quickstart directory.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
README-backed isolation & workflow protocols
What are this agent's strengths and limitations?
- Temporal fact management: old facts are invalidated, not deleted, preserving history and enabling queries at any point in time.
- Hybrid retrieval: combines semantic, keyword, and graph traversal for sub-second queries.
- Incremental graph construction: new data integrates immediately without batch recomputation.
- Multiple graph backends: Neo4j, FalkorDB, Amazon Neptune, etc.
- Strong dependency on LLMs that support structured output (e.g., OpenAI); others may fail.
- Requires self-managed graph database (e.g., Neo4j), adding operational overhead.
- Advanced features like user management and dashboards must be built yourself or via Zep (commercial).
- Kuzu backend is deprecated.
How does this agent compare with similar options?
Graphiti can be compared to GraphRAG: GraphRAG is suited for static document summarization with batch processing and query latency of seconds; Graphiti is designed for dynamic, evolving context with incremental updates, sub-second latency, and explicit temporal tracking with automatic fact invalidation.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Graphiti: Temporal Context Graph Engine for AI Agents This agent | 55 · Major gaps | Library / SDKFree + model costs | ★ 33k | 1d ago | Python | OpenAI API · Claude API |
| Yuxi – Self-Hosted Multi-Tenant Knowledge Agent Platform | 85 · Good | Self-hosted serviceFree + model costs | ★ 7.8k | today | Python | OpenAI API |
| SimpleMem: Efficient Lifelong Memory for LLM Agents | 47 · Major gaps | Library / SDKFree + model costs | ★ 3.9k | 4mo ago | Python | ChatGPT · Claude Code |
| M-flow Cognitive Memory Engine | 57 · Major gaps | CLIFree + model costs | ★ 4.5k | 4mo ago | Python | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README and SECURITY.md clearly state that the reference MCP/REST servers lack authentication, authorization, tenant isolation, and prompt-injection protection, and that callers can read, modify, or delete data in any group_id. This limits the least-privilege and sensitive-data scores. The docs require production deployments to supply controls and describe API-key configuration, data flow, and episode provenance, but the sample does not show per-operation confirmation, deletion recovery, or comprehensive secret handling. The dependency manifest has minimum versions and a few upper bounds, but no demonstrated audit or vulnerability mitigation process. A paper and source-data provenance are identified; publisher identity remains unknown.
The README, AGENTS.md, and CLAUDE.md broadly agree on architecture and database support, though examples and configuration details vary by version and backend. The reference health check returns a fixed healthy status and does not establish dependency availability. The docs warn that weak structured-output support can cause schema errors and ingestion failures, and mention rate limits; the sample provides little detail on failure recovery or error messages. Installation and optional backend guidance is substantial, supporting a stronger dependency-availability score, but this is not runtime verification.
The materials target developers building AI applications and identify use cases such as enterprise data, interaction memory, and temporal queries, with options for databases, LLMs, embedders, and deployment. The README clearly distinguishes the Graphiti framework, Zep service, and non-production reference servers, earning full marks for capability boundaries. Triggering is mainly through explicit library or protocol calls; the sample does not define when to invoke automatically or decline, so trigger precision is weak. Environment guidance covers Python versions, backends, keys, and concurrency, while leaving production operations to the application owner.
The README is organized around concepts, installation, quick start, backends, and service guidance; install steps, example links, and limitations are concrete. AGENTS.md and CLAUDE.md describe modules and development workflows, but are contributor/coding-tool guidance rather than the Agent product's own operating policy. The Apache-2.0 LICENSE and pyproject metadata agree. The package version is explicit and the README has a release badge, but the supplied sample has no detailed changelog. The security reporting route and supported-version policy clarify maintenance responsibility, though publisher identity is unverified and the maintenance commitment is only partly specific.
Temporal validity, fact invalidation, hybrid retrieval, and episode provenance offer a clear use for building dynamic context, and examples show basic integration. The docs claim incremental construction and historical queries, but the sample cannot independently establish performance or correctness. LLM and embedding costs, storage growth, and operational burden are not quantified; the README says self-hosted users must operate the database, retrieval, tenancy, and surrounding service, so cost-benefit earns only partial credit.
The README gives concrete feature, limitation, installation, and service-boundary descriptions; pyproject, SECURITY.md, and the source samples corroborate some architecture and deployment claims, and a research paper is cited. Promotional performance and scalability claims have no measurements in the supplied material, and this assessment does not execute code. Capability claims are reasonably separated from explicit service limits, but claim traceability and cross-source verification remain incomplete.
- Do not expose the reference MCP or REST servers to untrusted networks; the docs explicitly state they lack authentication, authorization, tenant isolation, and prompt-injection protection.
- Production users must provide authentication, access control, tenant isolation, input controls, and operations. Ingested content can change or invalidate facts within the same group_id.
- The sample provides no execution-based verification of performance, correctness, or dependency security; LLM output formats, rate limits, and external service costs may affect use.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
mcp-v1.1.5 mcp-v1.1.5 - Group isolation for MCP tools
Release notes excerpt
Version 1.1.5 replaces 1.1.4. The 1.1.4 release job failed, and it did not publish Docker images. Security - MCP tools now send the selected group to graphiti-core. A UUID from another group causes an error, and the tool does not read or change that group's data. This applies to delete_episode, get_episode_entities, get_entity_edge, delete_entity_edge, and summarize_saga (#2178). Fixes - The combined FalkorDB image builds in one stage on falkordb/falkordb:latest, and it does not run apt. Before, the apt step failed because the FalkorDB image has no perl (#2206). …View on GitHub ↗ -
v0.32.1 v0.32.1 - Relate driver, concurrent ingestion, group isolation, and Kuzu removal
Release notes excerpt
Version 0.32.1 has no functional code changes. It replaces the GitHub release of 0.32.0. The 0.32.0 notes follow. Changes in 0.32.1 * Update the MCP lockfile to graphiti-core 0.32.0 by @mehulp93 in https://github.com/getzep/graphiti/pull/2203 * Set graphiti-core to 0.32.1 by @mehulp93 in https://github.com/getzep/graphiti/pull/2208 0.32.0 Breaking changes - Removed the Kuzu driver (#2151). …View on GitHub ↗ -
mcp-v1.1.4 mcp-v1.1.4 - Group isolation for MCP tools
Release notes excerpt
Security - MCP tools now send the selected group to graphiti-core 0.32.0. A UUID from another group causes an error, and the tool does not read or change that group's data. This applies to delete_episode, get_episode_entities, get_entity_edge, delete_entity_edge, and summarize_saga (#2178). Fixes - The --temperature help text states that the Anthropic provider ignores it. - The combined FalkorDB guide uses the correct Compose file name, and its port example keeps the 127.0.0.1 bindings. Dependencies …View on GitHub ↗
FAQ
What is the difference between Graphiti and Zep?
Can I use LLMs other than OpenAI with Graphiti?
How does Graphiti handle contradictions in data?
Is Graphiti production-ready?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.