
Build fast, accurate, and personalized agents with the only platform that systematically engineers relevant context from chat history and business data.
Context Engineering assembles relevant information around an LLM for reliable task completion. Unlike basic prompting, it dynamically integrates user preferences, conversation history, and business data.
Agents often fail due to missing personalized context. Zep solves this by automatically creating temporal knowledge graphs to organize and retrieve context for each interaction.
Learn about Context EngineeringZep transforms conversations, business data, & user interactions into a living knowledge graph that evolves with every interaction. Relevant and accurate context is automatically assembled into a context block when you need it.
Automatic extraction of entities, relationships, and facts from conversations and business data, reconciling new information with existing data to maintain accuracy.
When your agent needs context, Zep searches the knowledge graph and returns the most relevant information.
Zep delivers structured, LLM-ready context combining user traits, interactions, and business data while being token efficient.
Robbie
2024-09-07 14:27
I only wear Adidas shoes. I love them!
Facts
Robbie
2024-10-14 09:12
My shoes fell apart and I need to return them. I'm super angry! I'll be wearing Nike going forward!
Facts
Your agents remember user preferences, past conversations, and business context across all interactions. No more starting from scratch or losing important details.
Explore Agent MemoryConnect agents to your business data with Graph RAG that understands relationships and context, and automatically handles dynamic data. Your agents access the right information at the right time, in milliseconds.
Discover Graph RAGFACTS and ENTITIES provide relevant context for the current conversation.
# Key facts with their date ranges
# format: FACT (Date range: from - to)
- Emily Painter cannot log in. (2024-11-14 02:13:19+00:00 - present)
- Account Emily0e62 is suspended due to payment failure. (2024-11-14 02:03:58+00:00 - present)
- Payment failed using card ending in 1234. (2024-09-15 00:00:00+00:00 - present)
- Failure reason: Card expired. (2024-09-15 00:00:00+00:00 - present)
# Key entities and their descriptions
# ENTITY_NAME: entity summary
- Emily0e62: User account owned by Emily Painter, currently suspended due to payment failure and login issues.
- Card expired: Reason for the failed payment transaction.
Stop manually crafting prompts. Zep automatically assembles relevant user memory and business context into optimized prompts for reliable agent performance.
See Agent ContextSee how teams are transforming their AI applications with Zep
“Zep just introduced a game-changing way for AI agents to remember and learn. Unlike other systems that only retrieve static documents, Zep uses a temporal knowledge graph to combine conversations and structured business data, keeping track of how things change over time.”
“Zep just introduced a game-changing way for AI agents to remember and learn. Unlike other systems that only retrieve static documents, Zep uses a temporal knowledge graph to combine conversations and structured business data, keeping track of how things change over time.”
Deploy personalized agents in days, not months. Enterprise-grade compliance meets developer-friendly APIs.
Skip building complex infrastructure. Three lines of code to production.
# Add conversation to memory
zep.memory.add(session_id, messages)
# Get relevant context
memory = zep.memory.get(session_id)
context = memory.context
Measurable performance improvements with enterprise compliance.
Zep adapts to your business through custom entity types and relationship models. These models enable precision recall of exactly the required context, so your agents understand your business domain, not just generic conversations.
Store lead preferences, product interests, campaign interactions, and buying signals.
Your sales agents understand prospect history, pricing discussions, and engagement patterns to personalize outreach and close deals faster.
class Lead(EntityModel):
"""Represents a sales lead or prospect."""
company_size = Field(
description="startup, SMB, mid-market, enterprise"
)
budget_range = Field(
description="Budget discussed or indicated"
)
decision_timeline = Field(
description="Expected decision timeframe"
)
Zep is the current state-of-the-art in agent memory, excelling in the LongMemEval benchmark, a challenging evaluation that closely models enterprise use cases.
Read the PaperAgents perform better when provided with the right context at the right time.
Optimized context retrieval delivers the right information without overwhelming LLMs with irrelevant data.
Smart context assembly reduces token usage while maintaining comprehensive understanding.
Zep's open-source temporal knowledge graph library, Graphiti, serves as the core of our capability to swiftly integrate new data streams and provide comprehensive historical context regarding user states.
Join developers and engineering teams using Zep to deploy agents that understand their users and business context.
Start with our free tier
No credit card required • Full API access • Community support
Loading latest articles...