Graphiti is an open-source Python framework for building and querying temporal context graphs that track how facts change over time. It continuously integrates user interactions, structured and unstructured data into a coherent graph with provenance to source episodes. The framework supports incremental updates, hybrid retrieval (semantic, keyword, and graph traversal), and precise historical queries without full graph recomputation.
Install & use
Install
git clone https://github.com/getzep/graphiti.git
Usage
# open getzep/graphiti and follow its README
getzep/graphiti is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.
Features
Temporal knowledge graphs with validity windows for facts and evolving entity summaries
Hybrid retrieval combining semantic search, keyword matching, and graph traversal
Episodes as provenance layer tracing every derived fact to raw source data
Custom ontology via Pydantic models for developer-defined entity and edge types
Incremental data updates without requiring complete graph recomputation
Historical queries across time, meaning, and relationships