Working with Context
Ingest data, shape the Context Graph, and retrieve context for your agent
Zep turns the data you send into agent memory: a temporal Context Graph of entities, relationships, and facts, then a token-efficient context string for your agent’s prompt.
Work through the stages in order, or jump to the one you need.
Only Ingest and Retrieve are required. Zep extracts entities, relationships, and summaries automatically, so shaping the graph is optional — reach for it when your domain needs a specific ontology or terminology.
Graph search, reads, and CRUD sit outside this lifecycle under Working with Graphs, starting with searching the graph.