aicoolies logo
Graphiti logo
Graphiti logo

Graphiti

Build real-time temporal knowledge graphs for AI agents

open sourceupdated Jul 8, 2026

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.

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

Free and open-source (Apache 2.0); Zep commercial platform available

Platforms

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

Categories

Tags

Use Cases

Mem0 logo

Mem0

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.

Open Source
LangChain logo

LangChain

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.

Open Source
LlamaIndex logo

LlamaIndex

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.

Open 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.

free
Cognee logo

Cognee

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.

freemiumOpen Source

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

Agent Skills logo

Agent Skills

Open standard for portable skills across AI agents

Agent Skills is the open SKILL.md folder specification for packaging reusable instructions, scripts, references, and assets that compatible AI agents load through progressive disclosure. Originally developed by Anthropic and released as an open standard, it defines the portable format itself—not an example library, marketplace, or hosted agent product.

Open Source
MCPJam logo

MCPJam Inspector

Test and debug MCP servers before they ship

Open-source platform for inspecting, debugging and regression-testing MCP servers, MCP Apps and ChatGPT apps, with OAuth and protocol conformance for local and CI workflows.

freemiumOpen SourceTelemetry
ToolHive mascot logo

ToolHive

Run and govern MCP servers across desktop, CLI and Kubernetes

Open-source MCP runtime and governance platform that runs servers in isolated containers, curates registries, enforces access policies, and operates gateways across desktop, CLI, and Kubernetes.

Open Source
grafana mcp

Grafana MCP Server

First-party MCP server for querying and managing Grafana

Grafana's official Model Context Protocol server, letting AI assistants search dashboards, query datasources, and manage alerts/incidents on your Grafana instance through a standard MCP interface.

Open Source
MCP Registry parent MCP protocol mark

MCP Registry

Official open catalog of Model Context Protocol servers

The official, community-run registry for discovering and publishing Model Context Protocol (MCP) servers — an open index that MCP clients read to find available servers.

Open Source
Figma Console MCP logo

Figma Console MCP

Turn a Figma design system into a programmable API for AI assistants

Figma Console MCP is open-source design-system infrastructure that exposes Figma to AI assistants through MCP. It supports structured extraction, design creation and editing, debugging, accessibility audits, and bidirectional design-token workflows across local, remote read-only, and paired cloud modes; it is not a generic one-click Figma-to-code exporter.

Open SourceTelemetry

Comparisons

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 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

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?

Yes — Graphiti is open source and free to use. Free and open-source (Apache 2.0); Zep commercial platform available

Is Graphiti open source?

Yes — Graphiti is open source.

What are the best Graphiti alternatives?

The top editor-verified Graphiti alternatives are Mem0, LangChain, LlamaIndex, and more.