Skip to content
aicoolies logo
Graphiti logo

Graphiti

Build real-time temporal knowledge graphs for AI agents

Graphiti is an open-source Python framework by Zep for building temporally-aware knowledge graphs for AI agents. It continuously integrates conversations, business data, and external information into queryable graphs with bi-temporal tracking. The hybrid retrieval combines semantic search, BM25 keywords, and graph traversal for sub-300ms queries without LLM calls at retrieval time.

About Graphiti

Graphiti solves a fundamental limitation of traditional RAG systems by providing real-time incremental knowledge graph construction instead of batch processing. When new information arrives as episodes of text, JSON, or chat messages, Graphiti extracts entities and relationships, resolves them against existing graph nodes through a three-tier deduplication strategy combining exact match, fuzzy similarity, and LLM reasoning, and detects contradictions that trigger temporal invalidation of outdated facts.

The bi-temporal data model is what sets Graphiti apart from every other knowledge graph framework. Every edge carries explicit validity intervals tracking both when an event occurred and when it was recorded. This enables powerful historical queries where agents can reconstruct the state of knowledge at any point in time. Combined with full provenance tracing from derived facts back to source episodes, Graphiti provides the auditability that enterprise applications require.

Graphiti supports multiple graph backends including Neo4j, FalkorDB, Kuzu, and Amazon Neptune, with LLMs spanning OpenAI, Anthropic, Gemini, and Groq. The MCP server lets Claude, Cursor, and other assistants interact directly with knowledge graphs. The framework powers Zep's commercial platform and demonstrates state-of-the-art agent memory performance, outperforming MemGPT with 94.8% accuracy on the Deep Memory Retrieval benchmark.

Pricing & Platform Specs

Pricing Summary

Free and open source for self-hosting (Apache-2.0). Graphiti powers Zep Cloud, which offers managed enterprise AI memory with usage-based cloud pricing, SOC 2 compliance, and dedicated enterprise SLAs.

full pricing breakdown →

Supported Platforms

Python, pip install, Docker, Neo4j/FalkorDB/Kuzu/Neptune backends

Explore categories, tags & use cases

Intelligent memory layer for AI agents and assistants

Mem0 is an open-source intelligent memory layer for AI agents with 51K+ GitHub stars providing persistent, adaptive memory across sessions. It manages working, short-term, and long-term memory types, enabling personalized AI experiences that improve over time. Features automatic memory extraction from conversations, semantic search over stored memories, multi-format support, and integration with 100+ frameworks. Simple API for adding memory to any LLM-powered application or agent.

freemiumOpen Source

Framework for LLM applications

The most widely-used framework for building LLM-powered applications, available in Python and JavaScript. Provides abstractions for chains, agents, RAG, memory, tool usage, and structured output. Integrates with 100+ LLM providers, vector stores, document loaders, and tools. LangSmith offers tracing and evaluation. LangGraph enables stateful, multi-agent workflows with cycles. 100K+ GitHub stars. The de facto standard for LLM application development despite growing alternatives like LlamaIndex.

freemiumOpen Source

Data framework for LLM applications

Leading Python framework for building LLM-powered applications with focus on data-aware and agentic workflows. Provides tools for RAG (Retrieval-Augmented Generation), document indexing, vector store integrations, query engines, and multi-agent orchestration. 150+ data connectors for various sources. Works with OpenAI, Anthropic, local models, and more. Includes LlamaHub for community tools and LlamaCloud for managed RAG pipelines. 50K+ GitHub stars.

freemiumOpen Source

QMD

On-device hybrid search engine for your docs and notes

QMD is an on-device search engine built by Tobi Lütke (Shopify CEO) that indexes markdown notes, meeting transcripts, and documentation locally. It combines BM25 full-text search, vector semantic search, and LLM-powered re-ranking into a single hybrid pipeline. Ships with a built-in MCP server for seamless integration with Claude Code, Cursor, and other AI editors. All processing happens on your machine via node-llama-cpp with GGUF models — zero cloud dependency.

Open Source

Knowledge graph memory engine for AI agents

Cognee is an open-source knowledge engine that builds persistent memory for AI agents by combining vector search with graph databases. It ingests data from 38+ source formats, structures information into a knowledge graph with embeddings, and enables semantic and relational queries through its ECL pipeline. Its cognitive science-inspired architecture provides superior cross-document entity identification compared to traditional RAG approaches.

Open Source

Side-by-Side Comparisons

Graphiti logo
Graphiti
vs
LangChain logo
LangChain

Graphiti vs LangChain — Temporal Knowledge Graphs vs General-Purpose LLM Application Framework

Graphiti builds real-time temporal knowledge graphs for AI agents with entity tracking, relationship management, and historical queries. LangChain provides a comprehensive framework for building LLM applications with chains, agents, tools, memory, and retrieval pipelines. LangChain wins as a general-purpose framework while Graphiti wins for specialized knowledge graph and agent memory workloads.

GraphitiLangChain
Graphiti logo
Graphiti
vs
Mem0 logo
Mem0

Graphiti vs Mem0 — Temporal Knowledge Graphs vs Intelligent Memory Layer for AI Agents

Graphiti builds temporally-aware knowledge graphs that track entity relationships and fact validity over time for AI agents. Mem0 provides an intelligent memory layer that automatically extracts and retrieves relevant context from past interactions. Graphiti wins for complex relationship reasoning while Mem0 wins for quick integration of persistent user memory.

GraphitiMem0

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Graphiti?

Graphiti is an open-source Python framework by Zep for building temporally-aware knowledge graphs for AI agents. It continuously integrates conversations, business data, and external information into queryable graphs with bi-temporal tracking. The hybrid retrieval combines semantic search, BM25 keywords, and graph traversal for sub-300ms queries without LLM calls at retrieval time.

Is Graphiti free?

Graphiti offers a free tier alongside paid plans. Free and open source for self-hosting (Apache-2.0). Graphiti powers Zep Cloud, which offers managed enterprise AI memory with usage-based cloud pricing, SOC 2 compliance, and dedicated enterprise SLAs.

Is Graphiti open source?

Yes — Graphiti is open source.

Is Graphiti still maintained?

Yes — Graphiti is active. Its listing was last verified on September 6, 2026.

What are the best Graphiti alternatives?

The first editor-selected Graphiti alternatives are Mem0, LangChain, LlamaIndex, and more.