Zep for Agent Frameworks
Zep integrations for agent frameworks support agent memory, Context Graph search, and context placement. Memory-specific integrations persist conversation turns and retrieve data from a user’s Context Graph. Search tools can also retrieve shared or domain context with graph_id.
Use model-callable search tools or place retrieved context in your provider’s untrusted-data channel.
Zep context can include content that your users, documents, or tools supplied. A system or developer message gives that content higher instruction priority than ordinary input. Some convenience integrations use system-message injection. Use direct SDK retrieval or an actual retrieval tool call unless all stored content is application-authored and trusted. Follow Memory security best practices for provider-specific placement.
You keep the framework’s orchestration, tools, and runtime. Zep stores and retrieves agent memory across sessions.
If your framework is not listed, use a Zep SDK directly. The quick start guide shows the user, thread, ingestion, and retrieval flow.
Provisioning behavior
Provisioning differs by integration:
- LangGraph and Google ADK require you to create the Zep user and thread before the first turn.
- Other package integrations can create users and threads on first use. Check the integration guide before you enable this behavior.
- Eve and ElevenLabs use SDK patterns instead of a Zep integration package.
Supported frameworks
- AG2: Zep search tools, plus a trusted-content-only automatic memory loop.
- AutoGen: Tools for search and data ingestion, plus trusted-content-only memory classes on AutoGen’s Memory interface.
- CrewAI: Storage adapters and tools so CrewAI agents carry context across executions and share a knowledge base.
- ElevenLabs: SDK pattern for a custom LLM proxy. The proxy places context in user-level input.
- Eve: Hooks persist turns. Authored tools retrieve context with
graph.search. - Google ADK: Message persistence and model-callable search tools, plus trusted-content-only instruction injection.
- LangGraph: Node helpers and a graph-search tool, plus a trusted-content-only pre-model hook.
- LiveKit: Turn persistence and graph search, plus trusted-content-only instruction injection.
- Mastra: Processors and tools that add long-term memory to Mastra agents.
- Microsoft Agent Framework: Turn persistence and a graph-search tool, plus a trusted-content-only context provider.
- NVIDIA NeMo Agent Toolkit: Trusted-content-only automatic memory for NVIDIA NeMo Agent Toolkit agents.
- Pydantic AI: Turn persistence and a model-callable graph-search tool, plus trusted-content-only prompt injection.
- Strands: A Strands
MemoryStorewith batched extraction and graph search, plus trusted-content-only context injection. - Vercel AI SDK: Middleware, helpers, and tools for long-term memory in Vercel AI SDK (v6) applications.