Agent Memory

Give your AI agents persistent memory that grows smarter with every interaction. Build conversational experiences that truly understand and remember your users.

R

Robbie

2024-09-07 14:27

I only wear Adidas shoes. I love them!

Facts

  • Robbie only wears Adidas shoes.
  • Robbie strongly favors Adidas shoes.
R

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

  • Robbie only wears Adidas shoes.
  • Robbie strongly favors Adidas shoes.
  • Robbie's Adidas shoes fell apart.
  • Robbie needs to return their shoes.
  • Robbie is angry about their Adidas shoes falling apart.
  • Robbie intends to wear Nike shoes in the future.
Powered By Temporal Knowledge Graphs

Build Agents That Continuously Learn & Adapt

As users interact with your agent and business, Zep integrates new knowledge, marks outdated facts as invalid, tracks changes, and retains history—enabling agents to reason about evolving user states.

More Than Just Conversational Memory

One User Record from Chat and Business Data

Ensure your agent always has accurate context. Zep fuses chat and business data into a unified Knowledge Graph, accessible through a single API call.

D
Daniel
10:07 AM
I wear a men's size 10. I'm not sure about the foot width.
D
Daniel
10:07 AM
I wear a men's size 10. I'm not sure about the foot width.
J
Jen
10:07 AM
Play a podcast. Maybe about history.
A
In-Car Assistant
10:07 AM
J
Jen
10:07 AM
Yes! I love listening to Throughline!
S
Custom Graph Entity
10:07 AM
text
MediaPreference(
genre='history',
title='Throughline',
publisher='NPR',
app='spotify',
)
Easily Define Custom Graph Ontologies

Customize Zep For Your Business

Improving the precision and relevance of agent memory using domain-specific graph entities you define. Using familiar tools such as Pydantic and Zod makes doing so simple and fast.

Optimized for Performance

Lightning Fast Retrieval

Retrieve relevant context in less than 200ms. Optimized for voice AI and other latency sensitive applications.

<200ms
P95 Retrieval Latency

Add Agent Memory in Minutes

With minimal code changes, enable your agent with rich, relevant context from chat and business data.

example.py
# Add a chat message to the graph
await zep_client.memory.add(session_id, messages=[
    Message(role="Jane", role_type="user", content="I can't log in!")
])
# Add business data to the graph
await zep_client.graph.add(user_id=user_id, type="json", data={"account_status": "suspended"})

# get memory relevant to the current conversation
memory = zep_client.memory.get(session_id="session_id")
print(memory.context)

"""FACTS and ENTITIES represent relevant context to the current conversation.
# These are the most relevant facts and their valid date ranges
# format: FACT (Date range: from - to)

  - Emily is experiencing issues with logging in. (2024-11-14 02:13:19+00:00 - present) 
  - Emily's account has a suspended status due to payment failure. (2024-11-14 02:03:58+00:00 - present) 
...
"""
Zep is the State of the Art in Agent Memory

Research & Results

In testing with LongMemEval, the most comprehensive agent memory benchmark to date, Zep has demonstrated an aggregate accuracy improvement of up to 18.5% over the baseline, with 100% improvements for many individual evaluations. Read the paper on arXiv

100%

Improved Agent Accuracy

Improve your agent's accuracy on complex recall and personalization tasks by up to 100%

98%

Lower Inference Costs

Decrease token usage and costs for long-term recall and personalization

90%

Lower Response Latency

Reduce your agent's response latency for long-term recall and personalization tasks

Trusted by Industry Leaders

See how teams are transforming their AI applications with Zep

Zep is one of the most exciting things I've seen for real-world agent use cases in a long time. Their innovative approach is truly game-changing.
Ken Collins
Ken Collins
VP of Product, Torq and GenAI Expert
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.
Lior Sinclair
Lior Sinclair
Founder/CEO, AlphaSignal
Zep AI was instrumental in enabling the Sidekick's personalized experience through dynamic memory retrieval. Their innovative tech stack is powering groundbreaking projects like ArtPrize 2024, taking personalized AI experiences to the next level.
Mark Losey
Mark Losey
CTO at Flockx
Zep AI empowers AI systems to think and remember like humans. By organizing memories into structured episodes and extracting key insights, it builds smarter, more intuitive AI agents that revolutionize how businesses harness intelligence.
Vijay Morampudi
Vijay Morampudi
Senior Director - AI CoE, Axtria
Zep is one of the most exciting things I've seen for real-world agent use cases in a long time. Their innovative approach is truly game-changing.
Ken Collins
Ken Collins
VP of Product, Torq and GenAI Expert
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.
Lior Sinclair
Lior Sinclair
Founder/CEO, AlphaSignal
Zep AI was instrumental in enabling the Sidekick's personalized experience through dynamic memory retrieval. Their innovative tech stack is powering groundbreaking projects like ArtPrize 2024, taking personalized AI experiences to the next level.
Mark Losey
Mark Losey
CTO at Flockx
Zep AI empowers AI systems to think and remember like humans. By organizing memories into structured episodes and extracting key insights, it builds smarter, more intuitive AI agents that revolutionize how businesses harness intelligence.
Vijay Morampudi
Vijay Morampudi
Senior Director - AI CoE, Axtria

Ready to Deploy Agents with Perfect Memory?

Build conversational experiences that truly understand and remember your users across every interaction.

Start Building
Enterprise-ready
SOC2 Type 2 certified • HIPAA compliant • Flexible deployment options