Draft:Graphiti (framework)
This draft appears to contain text generated by a large language model (such as ChatGPT). You cannot use LLMs to generate article content.
LLM-generated pages with certain obvious signs of being machine generated may be deleted without notice. These tools are prone to specific issues that violate our policies:
Instead, only summarize in your own words a range of independent, reliable, published sources that discuss the subject. See the advice page on large language models for more information.
Where to get help
How to improve a draft
You can also browse Wikipedia:Featured articles and Wikipedia:Good articles to find examples of Wikipedia's best writing on topics similar to your proposed article. Improving your odds of a speedy review To improve your odds of a faster review, tag your draft with relevant WikiProject tags using the button below. This will let reviewers know a new draft has been submitted in their area of interest. For instance, if you wrote about a female astronomer, you would want to add the Biography, Astronomy, and Women scientists tags. Editor resources
|
Graphiti is an open-source Python framework developed by Zep for building and querying temporally-aware knowledge graphs. It is designed to serve as a dynamic memory layer for artificial intelligence (AI) agents and applications using large language models (LLMs). Unlike traditional retrieval-augmented generation (RAG) systems that rely on static document retrieval, Graphiti enables agents to track how facts, entities, and relationships evolve over time.
History
Graphiti was developed by the team at Zep to address the "stale data" problem in LLM-based applications. It was first released as an open-source project on GitHub in late 2024, with its formal public launch and research debut in early 2025. The project emerged from a need for a memory system that could resolve contradictions, such as a user changing their preferences or a business project moving through different statuses, without losing historical context.
In January 2025, the developers published a research paper titled Zep: A Temporal Knowledge Graph Architecture for Agent Memory[1] , which detailed the framework's performance against existing state-of-the-art memory systems like MemGPT.
Architecture
Graphiti utilizes a three-tiered graph architecture to manage information:
- Episode Subgraph: Acts as a non-lossy audit trail. It stores raw data (e.g., chat logs, documents, or JSON) as discrete "episodes" with precise timestamps.
- Semantic Entity Subgraph: Extracted from episodes, this layer contains structured entities (people, concepts, objects) and their relationships. Relationships in this layer use **bi-temporal metadata**, tracking both when an event occurred and when it was recorded.
- Community Subgraph: This high-level layer groups related entities into clusters, facilitating thematic reasoning and broader contextual understanding.
Key features
Temporal intelligence
Graphiti employs a bi-temporal data model that assigns "valid at" and "invalid at" timestamps to facts. This allows the system to perform point-in-time queries, enabling an AI agent to answer questions like "What was the project status last Tuesday?" or "What did the user believe before they received the update?"
Hybrid retrieval
The framework achieves low-latency retrieval (typically sub-300ms) by combining multiple search methods:
- Semantic search: Using vector embeddings to find similar concepts.
- Keyword search: Utilizing BM25 for precise term matching.
- Graph traversal: Navigating relationships between entities to find connected context.
Model Context Protocol (MCP)
Graphiti includes a dedicated server for the Model Context Protocol (MCP), an open standard for AI tools. This allows AI clients such as Anthropic's Claude Desktop or the Cursor IDE to use Graphiti as a persistent, shared memory backend across different sessions.
Performance
According to the Deep Memory Retrieval (DMR) benchmark, Graphiti-powered systems have demonstrated superior accuracy compared to baseline implementations. In evaluations such as LongMemEval, which tests long-term context maintenance, the framework achieved accuracy improvements of up to 18.5% while reducing response latency by 90% through the elimination of LLM-based summarization at query time.
Support and integrations
Graphiti supports several major graph database backends:
It also integrates with major LLM and embedding providers, including OpenAI, Anthropic, Google Gemini, and Azure OpenAI Service.
See also
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.

- provide significant coverage: discuss the subject in detail, not just brief mentions or routine announcements;
- are reliable: from reputable outlets with editorial oversight;
- are independent: not connected to the subject, such as interviews, press releases, the subject's own website, or sponsored content.
Please add references that meet all three of these criteria. If none exist, the subject is not yet suitable for Wikipedia.