lockstep

Temporal Knowledge Graph

A temporal knowledge graph stores facts as entities and relationships with time attached, so an agent can tell what was true before a change and what is now.

A temporal knowledge graph stores information as entities and the relationships between them, with time attached to each fact. When something changes, such as a service's owner or a customer's plan, the graph records the change instead of overwriting the old fact. An agent can then ask what is true now, or what was true at a given point.

Why agents use them

Plain agent memory often holds two conflicting notes side by side: "payments is owned by Team A" and, later, "payments is owned by Team B." A similarity search may return either. A temporal graph knows which came later and which is current.

Graphiti and Zep

Graphiti is an open-source framework from Zep for building temporal knowledge graphs, licensed Apache-2.0. Zep builds its context layer for enterprise data on it. Graphiti's MCP server supports FalkorDB and Neo4j as graph backends and needs an LLM provider for extraction; its documentation calls it experimental.

What it doesn't capture

Knowing a fact changed is not the same as knowing a team agreed to the change. A graph of facts doesn't record who decided, why, what was rejected, or who approved it. For how the memory tools compare, see Mem0 vs Zep vs Letta vs Supermemory. and Mem0 alternatives.

What is a temporal knowledge graph?
A knowledge graph, entities connected by relationships, where facts carry time information. When a fact changes, the graph keeps the history instead of overwriting it, so queries can ask what is true now or what was true then.
What is Graphiti?
An open-source framework from Zep for building temporal knowledge graphs for AI agents, licensed Apache-2.0. Its MCP server supports FalkorDB and Neo4j and is described in its own documentation as experimental.
Is a temporal knowledge graph the same as a decision log?
No. A temporal graph tracks how facts change over time. A decision log also records who decided, why, what was rejected, and who approved it, which a graph of facts does not capture by itself.

Related