How Zep fits into your application
Your application sends Zep business data (JSON, unstructured text) and/or messages. Business data sources may include CRM applications, emails, billing data, or conversations on other communication platforms like Slack.

Zep automatically fuses this data together on a temporal knowledge graph, building a holistic view of the object/system or user and the relationships between entities. Zep offers a number of APIs for adding and retrieving memory. In addition to populating a prompt with Zep’s engineered context, Zep’s search APIs can be used to build agentic tools.
The example below shows Zep’s memory.context field resulting from a call to thread.get_user_context(). This is Zep’s engineered context block that can be added to your prompt and contains a user summary and facts relevant to the current conversation with a user. For more about the temporal context of facts, see Managing changes in facts over time.
Context Block
Zep’s Context Block is Zep’s engineered context string containing a user summary and relevant facts for the thread. It is always present in the result of thread.get_user_context()
call and can be optionally received with the response of thread.add_messages() call.
The Context Block provides low latency (P95 < 200ms) while preserving detailed information from the user’s graph. Read more about Zep’s Context Block here.
The Context Block includes a user summary and relevant facts:
You can then include this context in your system prompt: