A language model forgets everything between conversations. Agent memory addresses this limitation by storing what an agent learns about each user and retrieving the relevant information in future conversations. Without it, users have to repeat themselves and your agent can't get better from one session to the next. Every agent memory tool does this, but each one is built for a different kind of agent. This guide provides a breakdown of all the major AI agent memory tools and how to choose the right one for your situation.
The most popular AI Agent memory platforms
Redis Agent Memory
Redis Agent Memory is part of Redis Iris, a production-ready context engine for AI agents. Redis Agent Memory is designed for agents that serve many users and need to remember each user while responding consistently across conversations. It keeps an ordered record of each session and the facts about each user that last across sessions. It can extract long-term memories from conversations or store structured knowledge directly from other sources, such as your team’s documents. Scoping and retention controls determine which memories agents can access, share, and retain. Agent Memory works on its own or alongside the other Redis Iris services, which add approved answers, governed access to business data, routing and tracing.
Zep
Zep launched in May 2023 to take chat history storage off developers' hands. Its founders saw every team that built a chat app writing its own code to store, search and enrich conversation history, so they offered that work as a service. Zep now stores memory as a temporal knowledge graph that records when each fact became true and when it stopped being true.
Letta
Letta grew out of MemGPT, a UC Berkeley research project whose paper appeared in October 2023. MemGPT worked around the fixed context window of a language model by letting the agent manage its own memory, moving information in and out of its prompt the way an operating system moves data between memory and disk.The team publicly announced Letta in September 2024 and began renaming the open-source agent framework and its packages from MemGPT to Letta. In Letta’s current MemFS-based architecture, agents can decide what durable information to retain by editing their own Git-backed memory files and background subagents consolidate them.
Mem0
Mem0 was publicly introduced in September 2024 as both an open-source project and a managed service. Its founders built it because language models keep nothing between sessions, so a user's preferences disappear when a conversation ends and developers resend long context in every prompt.Mem0 provides a straightforward API-based memory layer: an application calls add with a conversation or other information, and Mem0 extracts and updates durable memories from that input. The application then calls search to retrieve memories relevant to the current request. That model is enough when your agent mainly needs to recall user facts across sessions.
Supermemory
Supermemory started in 2024 as a consumer app for saving and organizing what people collected across apps, and grew into a memory API for AI applications. It's built for agents whose memory has to come from users' own content: it reads text in images and scanned PDFs, and its hosted connectors sync Google Drive, Gmail, Notion and GitHub.
LangChain
LangChain released the LangMem SDK in February 2025 to help agents learn from experience across conversations. LangMem is a Python library that saves memories in the LangGraph store your app already runs, with no separate service to operate.
How to evaluate AI agent memory platforms
Before comparing tools, decide what your agent needs from memory. Start with what it must remember, whether that is user preferences, changing business facts, past conversations, or the procedures it follows. Then decide who chooses what gets remembered and when: your application, the agent itself through tool calls, or a background extraction process. Decide what should happen when new information contradicts existing information: the memory system can replace the old fact, preserve both facts with dates, or leave the decision to your application.
Next, decide how memory reaches the agent. It can remain in the prompt for every turn, your application can retrieve it before each response, or the agent can search for it when needed. Some tools only recall history, while others turn questions your agent repeatedly answers into reusable, approved answers. Every memory also needs a scope or owner, such as a user, session, agent, project, or team, and your system must enforce who can access it. Finally, decide what forgetting means for your agent: a memory can expire on a schedule, be excluded from default retrieval while remaining stored, or be deleted.
How each platform handles AI agent memory
Redis Agent Memory
Memory model
Redis Agent Memory is designed for agents that need both an ordered record of the current conversation and information that persists across conversations.It provides two tiers. Session memory stores the ordered events of each conversation. Long-term memory stores separate, searchable records under built-in memory types, such as semantic and episodic memory, or custom memory types that you define. A custom memory type turns relevant conversation content into a structured record with fields your team defines, such as a trip preference with a destination and a budget, and your application can filter on those fields. Information can also be captured under the built-in memory types.
Write procedure
How memory is written affects how quickly it becomes available, and Redis Agent Memory separates fast session writes from asynchronous background processing. Your app writes each session event as it happens, and the write is synchronous. In the background, Redis Agent Memory summarizes older events once a session passes a threshold, which keeps a long conversation inside the model's context window. It extracts long-term memories every few minutes and compares candidate memories with existing records to identify duplicates or new information. When a customer tells your billing agent to pay out by bank transfer instead of PayPal, your app can update the stored payout record, and a revision check stops two writers from overwriting each other. Your app can also write long-term memories directly for bulk imports or data that didn't come from a conversation.
Retention controls
Retention matters when conversations and user facts must last for different lengths of time, and Redis Agent Memory configures retention separately for each tier. Session memory and long-term memory have separate store-level time-to-live settings. If an individual long-term memory must disappear sooner than the configured long-term-memory TTL, your application must delete it explicitly.
Memory storage procedure
Control over what gets saved matters most when users share sensitive data, and Redis Agent Memory provides deterministic detectors and an advisory semantic-exclusion prompt for long-term memory. For each custom type, you describe the type, define its fields, and provide extraction instructions.
Built-in and custom pattern detectors can redact matched content or reject an affected long-term-memory record before it is embedded and saved. The original session event is stored separately and is not automatically removed by a long-term-memory detector.
A semantic-exclusion prompt tells automatic extraction what not to retain, but it is advisory rather than a strict guarantee. Use detectors for information that must not enter long-term memory, and use semantic exclusions for information you prefer not to retain.
In a self-managed deployment, ingestion webhooks can let your application accept, reject**,** or transform content before Redis Agent Memory saves it.
Deployment options
Where memory runs determines who operates the infrastructure that holds your users’ data. Redis Agent Memory is available as a managed service on Redis Cloud and as part of a self-managed Redis Iris deployment on Kubernetes.
In either deployment, a memory store is a major data and authorization boundary, and credentials receive explicit grants to stores. Use separate stores when customers require hard tenant isolation; use owners and namespaces for finer-grained organization within a store.
Mem0
Memory model
Mem0 stores facts it extracts from conversations, such as a preferred airline or a dietary restriction, and your agent searches them in later sessions.
Write procedure
Mem0's write path suits apps that can't wait on extraction. Your application calls add with a conversation, and Mem0 extracts memories from it. On Mem0 Platform, add queues extraction and normally returns a pending event; the memories become searchable after that event succeeds. Calls with infer=False follow a different, synchronous path.
Retention controls
Mem0 lets you retire a fact without losing it. Each memory can carry an expiration date that hides it from search without deleting it, so you can keep an outdated fact for review. Delete calls remove memories for good.
Memory storage procedure
Mem0 controls what's saved through instructions. Plain-language custom instructions tell Mem0 what to keep or ignore, such as small talk, with no extraction code to write.
Deployment options
Mem0 runs as a managed Platform or as open source on your own infrastructure.
Zep
Memory model
Zep stores memory as a temporal knowledge graph. Facts are represented as relationships between entities and can carry inferred valid_at and invalid_at timestamps, which support historical and point-in-time retrieval as well as traversal between related entities
Write procedure
Zep's write path matters when memory has to combine conversations with your business records. Your app sends messages and business data, and Zep turns both into facts and relationships in the graph.
Retention controls
Plan retention up front with Zep because, by default, memory remains until a caller, account action, or retention policy removes it. Account administrators can configure whole-graph policies that delete graphs after a period of inactivity and object-level policies that delete matching episodes after their retention period.
Memory storage procedure
In Zep, controlling what's saved means defining the shape of the graph. Custom entity and edge types tell Zep which kinds of things and relationships matter in your domain, such as accounts and the products they own.
Deployment options
Zep runs as Zep Cloud. Its self-hosted option is an enterprise bring-your-own-cloud deployment, where Zep runs in your own cloud infrastructure.
Letta
Memory model
Letta's memory model suits agents whose core facts must always be in view. Letta keeps memory as a git repository of files that the agent owns. Files under system/ sit in the prompt every turn, with no search step.
Write procedure
Letta hands the write decision to the agent. The agent writes its own memory, and background dreaming subagents review recent conversations and consolidate what it learned.
Retention controls
Retention in MemFS is based on explicit review and removal rather than a per-memory TTL. Memory remains until the agent or an authorized application changes or removes it, and memory changes are recorded in Git history for review.
Memory storage procedure
With Letta you steer the agent rather than set rules. You shape what the agent keeps through the memory you give it when you create it and through its dreaming settings.
Deployment options
Letta runs as Letta Cloud, as a self-hosted App Server or as a local process.
Supermemory
Memory model
Supermemory's memory model is built around the user rather than the conversation. Supermemory builds individual memories and a user profile from conversations, files and URLs.
Write procedure
Your app adds content, or a hosted connector syncs it from Google Drive, Gmail, Notion or GitHub, and Supermemory extracts memories from it. It also reads text in images and scanned PDFs.
Retention controls
Supermemory lets you retire a memory in stages. Forgetting a memory hides it and keeps it stored, a forget-after time does the same on a schedule, and deleting a document removes it permanently. Hiding a memory first keeps a record of a fact while your agent stops seeing it.
Memory storage procedure
Supermemory's controls focus on attaching each memory to the right person. Your app can pass context about the user or entity to ground extraction. A search-only mode skips extraction when your agent only needs to search the content.
Deployment options
Check deployment early with Supermemory, because the connectors need the hosted service. Supermemory is a managed service, with dedicated deployments for enterprise customers. A local server runs on one machine without the connectors.
LangMem
Memory model
LangMem's memory model is as flexible as the schemas you write. LangMem saves memories as documents in a LangGraph store, as free text or shaped by schemas you define.
Write procedure
LangMem lets you choose who writes memory. A background memory manager extracts memories from conversations, or the agent writes them itself through memory tools.
Retention controls
In LangMem, lifetimes and deletion depend on the LangGraph store you choose.
Memory storage procedure
In LangMem, control over what's saved comes from your schemas. They define the memories the manager extracts and the fields each one holds.
Deployment options
LangMem is a Python library that runs inside your LangGraph app. There's no separate memory service to operate, and your team runs the store that holds the memories.
Redis Agent Memory is the default for production agents that serve many users
Redis Agent Memory is one service in Redis Iris, and those services work together or on their own. A team can start with memory and add Agent Playbooks, Context Gateway and Lens when it needs them. Used together, they help your agent remember the right things, answer the right way and show what it did at every step. Lens traces every Agent Memory call in each turn with no extra code. Agent Playbooks reads resolved conversations to propose answers, and Context Gateway serves your business data on the same platform.
Your agents also get better over time. When you connect a memory store to a playbook, Redis Iris suggests new FAQs from conversations your agents resolved. After a reviewer publishes one, every agent that reads that playbook can return it without a model call, including agents that never saw the original conversation.
A namespace hierarchy keeps personal and shared memory side by side. Your agent can recall a user's own memories and the team's shared ones in one search. Your app groups memories into personal namespaces for one user and shared namespaces for what a team needs, such as its travel policy, and can nest namespaces into a hierarchy. Your application decides who can read and write each shared namespace.
MemoryETL lets your agents start from your existing resources, such as runbooks, policies and product docs. It turns each text or Markdown document into long-term memories, and each memory links back to the document it came from. An agent can answer from your procedures before its first conversation.
Summary Views turn a user's long-term memories into one compact profile that your agent reads in place of every matching memory. As a user builds up memories over months of conversations, your agent still sends the model one short summary instead of every matching memory, so prompts stay small for each of your users. Iris can refresh the summary as new memories arrive, so the profile stays current without your app rebuilding it.
The best use cases for each AI agent memory platform
Find the row that describes your agent. If several rows apply, the one that's hardest to change after launch should lead your decision.
Benchmark AI agent memory platforms before committing to production
Don't take our word for it, or any vendor's. A feature comparison shows what each tool can do, but only your own tests show whether it makes your agent better, so test and benchmark each platform on your own workload before you decide. Build test cases that span sessions, such as recalling a preference or a changed fact from an earlier conversation, and run them against each memory layer on your shortlist. Then test each platform’s supported expiration, forgetting, and deletion workflows, and verify what remains retrievable through both default and administrative queries.












