Framework for building real-time knowledge graphs for AI agents
Top 3.2% on sourcepulse
Graphiti is a framework for building and querying temporally-aware knowledge graphs, designed for AI agents operating in dynamic environments. It offers a real-time, incremental approach to knowledge graph construction, enabling AI agents to maintain context and adapt to changing information without full graph recomputation. The target audience includes AI developers and researchers building sophisticated agents that require robust memory and state management.
How It Works
Graphiti employs a bi-temporal data model to track both the occurrence and ingestion times of data, facilitating precise point-in-time queries. It utilizes an efficient hybrid retrieval system that combines semantic embeddings, keyword (BM25), and graph traversal methods. This approach allows for low-latency querying without relying on LLM summarization, and supports custom entity definitions via Pydantic models for flexible ontology creation.
Quick Start & Requirements
pip install graphiti-core
(or poetry add graphiti-core
). Optional LLM provider extras available (e.g., graphiti-core[anthropic]
).Highlighted Details
Maintenance & Community
Graphiti is under active development. Community support is available via the Zep Discord server in the #Graphiti channel.
Licensing & Compatibility
The repository does not explicitly state a license in the provided README text. Compatibility for commercial use or closed-source linking would require clarification on licensing.
Limitations & Caveats
The project is under active development, with ongoing work on expanding test coverage and enhancing retrieval capabilities. The README does not specify a license, which may impact commercial adoption.
2 days ago
1 day