graphiti
Graphiti is an open-source Python framework from Zep for building and querying temporal context graphs for AI agents. Unlike traditional static knowledge graphs, it records the validity periods and change history of facts, preserves data provenance, and supports predefined or learned ontologies. The framework can incrementally integrate user interactions, structured and unstructured enterprise data, and external information, providing hybrid retrieval combining semantic, keyword, and graph traversal, enabling precise historical queries without full graph recomputation. Users must provide their own graph database, LLM, and embedding model, and build ingestion, multi-tenancy, access control, and operations services themselves.