プロジェクトのスクリーンショット
概要
Graphiti functions as a temporal context graph engine designed to overcome the limitations of static, batch-oriented RAG systems. It continuously integrates user interactions and enterprise data into a queryable graph without requiring full recomputation. The core innovation is its bi-temporal tracking: facts are assigned validity windows and automatically invalidated—rather than deleted—when new information supersedes them. The graph consists of entities (nodes with evolving summaries), facts/relationships (edges with temporal validity), episodes (raw data provenance), and custom types (ontology defined via Pydantic models). It supports incremental updates and hybrid retrieval combining semantic search, BM25 keyword search, and graph traversal.
主な機能
- Temporal fact management with bi-temporal validity windows
- Episodes and provenance tracking from derived facts to raw source data
- Prescribed and learned ontology support via Pydantic models
- Incremental graph construction without batch recomputation
- Hybrid retrieval combining semantic, keyword (BM25), and graph traversal
- Automatic fact invalidation preserving full temporal history
- Pluggable graph database backends
- Model Context Protocol (MCP) server for AI assistant integration
要件、インストール、クイックスタート
使用方法
モデルの互換性とユースケース
Defaults to OpenAI for LLM inference and embedding. Supports Anthropic, Google Gemini, and Groq via extras. Compatible with any OpenAI-compatible `/v1` endpoint (including DeepSeek, Together, OpenRouter, Ollama, vLLM, llama.cpp, LM Studio) using `OpenAIGenericClient`. Supports Azure OpenAI via its v1 API compatibility layer. Smaller models lacking robust Structured Output support may cause incorrect schemas and ingestion failures.
ライセンスとリスクに関する注意事項
Licensed under the Apache-2.0 license.
Editorial verification 2026-08-09: repository URL, owner, description, license and repository statistics were reviewed. License metadata: Apache-2.0. README was fetched for the channel draft; re-check repository dependencies, releases and model terms before production use.
リリースとメンテナンス
As of v0.17.0, users can instantiate a custom database driver and pass it to the Graphiti constructor using the `graph_driver` parameter. The Kuzu backend is deprecated due to the upstream project no longer being maintained.