Guide, updated Nov 25, 2026
Best memory layers for AI agents
Long-term memory layers so agents remember users and tasks. We list 11 memory and context layers, 5 open source. Summaries come from each vendor's own site and every link was checked on or before Nov 25, 2026.
Shortlist
All 11 at a glance
Alphabetical. Nothing in this guide is a paid placement.
| Tool | What it does | Open source | More |
|---|---|---|---|
| AgentOS | Company knowledge base for agents: connects email, Slack, docs and calls, and answers with the source, in AgentOS or from Claude, ChatGPT and Cursor over MCP. | No | Alternatives |
| Cognee | Open-source agent memory platform built on graph and vector stores. | Yes | Alternatives |
| ContextNest | Versioned markdown context vault for agents, read through a CLI or an MCP server. | Yes | Alternatives |
| Letta | Platform for building stateful agents that learn from experience. | Yes | Alternatives |
| Mem0 | Memory layer that lets agents learn from past interactions. | Yes | Alternatives |
| MemorySync | MemorySync is a memory API for AI applications: your agent writes what it learns about each user, and MemorySync returns the relevant parts later, ranked by meaning and scoped to that user. | No | Alternatives |
| Memtro | Company memory for agents: a shared memory of people, customers, decisions and promises, plus connectors to the company's systems, reached through an OpenAI-compatible API, an Anthropic Messages endpoint and an MCP server. Routes across the model keys you already hold and does not resell tokens. | No | Alternatives |
| SoloPup Memory | MIT-licensed text-memory plugin for DeepSeek Harness. It keeps source-linked preferences and project decisions across sessions, preserves correction history, and can prompt a review after supported successful writes. Core text memory is stable as of 0.26.0. | Yes | Alternatives |
| Supermemory | Memory and continual learning engine for agents. | No | Alternatives |
| Tokenrip | Shared workspace your AI agents work from: files with version history, tables, tasks any agent can pick up, and pinned decisions every agent reads when it loads the workspace. Agents connect from Claude, ChatGPT, Codex, Cursor or any MCP app through a hosted MCP server, a CLI or an HTTP API, each with its own revocable key, and every change is logged with the agent that made it. | No | Alternatives |
| Zep | Context layer that unifies business data, documents, and chats for agents. | No | Alternatives |
How to choose
What to check before you pick
- Memory model: vector search, a knowledge graph, or both, and how memories are updated or forgotten.
- Scope: per user, per agent or per organization memory.
- Data sources: chat history only, or also documents and business data.
- Hosting: managed API or self-hosted open source.
- Integration: SDKs and framework plugins for the stack you already run.
This checklist is general advice. Check each vendor's docs and pricing page for current details.
Listed here? Feature your tool in this comparison
The tools
Each option in one paragraph
AgentOS
tryagentos.netCompany knowledge base for agents: connects email, Slack, docs and calls, and answers with the source, in AgentOS or from Claude, ChatGPT and Cursor over MCP.
In their words: “Your company brain”
Cognee
cognee.aiOpen-source agent memory platform built on graph and vector stores.
In their words: “Cognee - Open-Source Agent Memory Platform”
ContextNest
promptowl.aiVersioned markdown context vault for agents, read through a CLI or an MCP server.
In their words: “ContextNest, The context layer every AI you use is missing”
Letta
letta.comPlatform for building stateful agents that learn from experience.
In their words: “Letta | Machines that learn”
Mem0
mem0.aiMemory layer that lets agents learn from past interactions.
In their words: “Mem0 - AI Memory Layer for your Agents & Apps | Persistent Context”
MemorySync
memorysync.ioMemorySync is a memory API for AI applications: your agent writes what it learns about each user, and MemorySync returns the relevant parts later, ranked by meaning and scoped to that user.
In their words: “MemorySync: infrastructure for AI that remembers”
Memtro
memtro.comCompany memory for agents: a shared memory of people, customers, decisions and promises, plus connectors to the company's systems, reached through an OpenAI-compatible API, an Anthropic Messages endpoint and an MCP server. Routes across the model keys you already hold and does not resell tokens.
In their words: “Company memory and connectors for your AI”
SoloPup Memory
github.comMIT-licensed text-memory plugin for DeepSeek Harness. It keeps source-linked preferences and project decisions across sessions, preserves correction history, and can prompt a review after supported successful writes. Core text memory is stable as of 0.26.0.
In their words: “Source-linked text memory for DeepSeek Harness (DSH).”
Supermemory
supermemory.aiMemory and continual learning engine for agents.
In their words: “supermemory, Memory and continual learning for agents”
Tokenrip
tokenrip.comShared workspace your AI agents work from: files with version history, tables, tasks any agent can pick up, and pinned decisions every agent reads when it loads the workspace. Agents connect from Claude, ChatGPT, Codex, Cursor or any MCP app through a hosted MCP server, a CLI or an HTTP API, each with its own revocable key, and every change is logged with the agent that made it.
In their words: “Tokenrip, the shared workspace your AI agents work from”
Zep
getzep.comContext layer that unifies business data, documents, and chats for agents.
In their words: “Zep | The unified context layer for enterprise data”
Head to head
Compare them side by side
FAQ
Questions
Which memory and context layers does Agent Stack Directory list?
11: AgentOS, Cognee, ContextNest, Letta, Mem0, MemorySync, Memtro, SoloPup Memory, Supermemory, Tokenrip, Zep.
Which of them are open source?
Cognee, ContextNest, Letta, Mem0, SoloPup Memory are marked open source in our data.
How is this list ordered?
Alphabetically. No placement in this guide is paid. Sponsored and featured tools are labeled elsewhere on the site and never reordered here.
More guides:Best cloud browsers for AI agentsBest code sandboxes for AI agentsBest search and web data APIs for AI agentsBest email APIs for AI agentsBest tool integration platforms for AI agentsBest payment tools for AI agentsBest voice agent platformsBest observability and eval tools for AI agentsBest AI agent frameworksBest open-source infrastructure for AI agents