# getzep/graphiti

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/getzep-graphiti).**

22,936 stars · 2,259 forks · Python · apache-2.0

## Links

- GitHub: https://github.com/getzep/graphiti
- Homepage: https://help.getzep.com/graphiti
- awesome-repositories: https://awesome-repositories.com/repository/getzep-graphiti.md

## Topics

`agents` `graph` `llms` `rag`

## Description

Graphiti is a backend framework and memory server designed to provide artificial intelligence agents with persistent, time-aware knowledge graph storage. It functions as a memory layer that enables agents to maintain context across long-term interactions by recording and evolving structured data over time.

The system distinguishes itself through a specialized temporal graph database that tracks how entities and relationships change using validity windows. By combining semantic vector similarity, keyword matching, and graph topology traversal, the engine performs hybrid retrieval to locate relevant information. It further refines these results by calculating graph distances from central entities, ensuring that retrieved context is prioritized based on its structural relevance to the query.

The platform supports schema-driven entity modeling, allowing for the enforcement of domain-specific structures on incoming data. It manages the ingestion of raw inputs into structured graphs and performs incremental updates to maintain the knowledge base without requiring full batch recomputation. Through standardized interfaces and protocol support, the system integrates with various large language model providers to automate data extraction and reasoning.

## Tags

### Artificial Intelligence & ML

- [Agent Memory Engines](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-engines.md) — Provides persistent, time-aware memory storage for AI agents to maintain context across interactions.
- [AI Memory Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-memory-layers.md) — Provides a persistent memory layer for artificial intelligence agents to maintain context across long-term interactions.
- [Knowledge Graphs](https://awesome-repositories.com/f/artificial-intelligence-ml/knowledge-graphs.md) — Maintains temporal knowledge graphs to provide structured, time-aware context and long-term memory for agents.
- [AI Agent Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-integrations.md) — Exposes graph-based memory capabilities to external AI agents through a standardized server interface. ([source](https://help.getzep.com/graphiti))
- [Knowledge Graph Retrieval Systems](https://awesome-repositories.com/f/artificial-intelligence-ml/knowledge-graph-retrieval-systems.md) — Retrieves relevant facts from temporal graphs by centering searches on specific entities. ([source](https://help.getzep.com/graphiti/integrations/lang-graph-agent))
- [Incremental Updates](https://awesome-repositories.com/f/artificial-intelligence-ml/incremental-updates.md) — Maintains knowledge bases through real-time incremental updates to avoid batch recomputation overhead.
- [Persistent Chat Histories](https://awesome-repositories.com/f/artificial-intelligence-ml/language-model-orchestration/ai-memory-systems/persistent-chat-histories.md) — Persists conversation episodes into a temporal graph to maintain long-term interaction context. ([source](https://help.getzep.com/graphiti/integrations/lang-graph-agent))
- [LLM Provider Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/llm-provider-integrations.md) — Provides unified configuration and connectivity for multiple large language model providers. ([source](https://cdn.jsdelivr.net/gh/getzep/graphiti@main/README.md))
- [Result Reranking](https://awesome-repositories.com/f/artificial-intelligence-ml/result-reranking.md) — Refines query results by calculating graph distances from central entities to prioritize contextually relevant information. ([source](https://help.getzep.com/graphiti/graphiti/quick-start))
- [Agent Client Protocols](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-communication-protocols/agent-client-protocols.md) — Implements standardized communication protocols for external agents to query structured graph data.
- [LLM Model Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-ai-resources/generative-ai/llm-model-integrations.md) — Integrates large language models with custom entity schemas to automate data extraction and reasoning.
- [Model Integration Layers](https://awesome-repositories.com/f/artificial-intelligence-ml/model-integration-layers.md) — Provides a unified configuration layer for integrating diverse local and hosted AI models.

### Data & Databases

- [Temporal](https://awesome-repositories.com/f/data-databases/graph-databases/temporal.md) — Ships a specialized storage engine that manages structured information with validity windows to support real-time updates and historical retrieval.
- [Model Context Protocol Servers](https://awesome-repositories.com/f/data-databases/graph-data-models/model-context-protocol-servers.md) — Exposes graph entities and relationships via the Model Context Protocol for real-time agent access. ([source](https://cdn.jsdelivr.net/gh/getzep/graphiti@main/README.md))
- [Graph Querying](https://awesome-repositories.com/f/data-databases/graph-querying.md) — Performs contextual search by calculating graph distances to prioritize relevant information for AI assistants.
- [Hybrid Memory Stores](https://awesome-repositories.com/f/data-databases/hybrid-memory-stores.md) — Orchestrates hybrid retrieval by combining semantic vector similarity, keyword matching, and graph topology traversal.
- [Hybrid Search Engines](https://awesome-repositories.com/f/data-databases/hybrid-search-engines.md) — Implements a hybrid retrieval engine combining semantic, keyword, and graph-based techniques to extract relevant context.
- [Knowledge Graph Construction Tools](https://awesome-repositories.com/f/data-databases/knowledge-graph-construction-tools.md) — Builds and maintains evolving temporal knowledge graphs using validity windows and incremental updates. ([source](https://cdn.jsdelivr.net/gh/getzep/graphiti@main/README.md))
- [Temporal Graph Versioning Systems](https://awesome-repositories.com/f/data-databases/temporal-data-management/temporal-graph-versioning-systems.md) — Tracks evolving entities and relationships using validity windows to maintain a time-aware history.
- [Schema-Driven Data Modeling](https://awesome-repositories.com/f/data-databases/schema-driven-data-modeling.md) — Enforces domain-specific structures on incoming data to ensure consistent knowledge graph categorization.
- [Entity Modeling](https://awesome-repositories.com/f/data-databases/entity-modeling.md) — Allows definition of domain-specific entity types to structure knowledge representation. ([source](https://help.getzep.com/graphiti))
- [Semantic Information Retrieval](https://awesome-repositories.com/f/data-databases/semantic-information-retrieval.md) — Retrieves graph information using a combination of semantic similarity and keyword-based matching to identify relevant facts. ([source](https://help.getzep.com/graphiti))
- [Temporal Data Ingestion](https://awesome-repositories.com/f/data-databases/temporal-data-ingestion.md) — Ingests and processes raw data into time-based graphs by extracting entities and chronological facts. ([source](https://help.getzep.com/graphiti/graphiti/quick-start))
- [Search Strategy Configurations](https://awesome-repositories.com/f/data-databases/search-strategy-configurations.md) — Allows tuning and selection of search strategies to retrieve specific graph components based on optimized configurations. ([source](https://help.getzep.com/graphiti/graphiti/quick-start))
