What is context engineering?
Assemble information, instructions, and tools for an agent
Context engineering assembles information, instructions, and tools for a large language model (LLM). Prompt engineering focuses on instructions, while context engineering also supplies data and tools.
LLMs are stateless outside their context window. An application must provide the background knowledge, user history, business data, and tool output for each request.
Zep constructs a Context Graph from business data and chat messages. A Context Graph is a temporal knowledge graph for an object, system, or user.
The graph contains entities, relationships, and facts. When new data contradicts a fact, Zep can invalidate the prior fact while preserving its history.
Use retrieval methods to supply selected graph data to an agent.