| What it is | Helps agents learn and adapt from their interactions over time | The memory layer for AI agents | Build stateful agents with memory that can learn and improve over time | The enterprise context layer for reliable agents |
| Kind | Open source | Open core | Open core | SaaS |
| Trust | 0.52 | 0.62 | 0.61 | 0.83 |
| Stars | 1791 | — | — | — |
| Last commit | 2026-11-16 | — | — | — |
| Licence | MIT | Apache-2.0 | Apache-2.0 | proprietary |
| Pricing | Free and open source | Free tier | Free tier, from $20/month | Free tier, from $125/month |
| Free tier | Yes | Yes | Yes | Yes |
| Self-hostable | Yes | Yes | Yes | Yes |
| Ways to run it | — | - Mem0 Platform: Free (limits above); Custom: contact sales
- Mem0 Open Source (self-hosted, Apache-2.0): free
You arrange: an LLM provider (OpenAI's gpt-5-mini by default, or a local model through Ollama), an embedding model, a vector store such as Qdrant or pgvector
| - Letta Cloud: Free (3 stateful agents, bring your own keys); Pro $20/month with $20 of credits; Teams Pro $20/seat/month; Enterprise custom
- Letta Code (self-hosted) (self-hosted, Apache-2.0): free
You arrange: model provider API keys or a local model server (Ollama, LM Studio, llama.cpp), Node.js 22.19+, an always-on machine for the App Server, backups of agent state
| - Zep Cloud: Free (10,000 credits/month); Flex $125/month; Flex Plus $375/month; Enterprise custom
- Zep BYOC (self-hosted, proprietary): price not published
You arrange: an Enterprise agreement with Zep, your own cloud account and VPC
|
| SOC 2 | — | Yes | — | Yes |
| HIPAA | — | Yes | — | Yes |
| SSO | — | Yes | Yes | Yes |
| API | No | Yes | Yes | Yes |
| Plugins | — | — | — | — |
| MCP server | No | Yes | Yes | Yes |
| Company | LangChain | Mem0 YC; Series A, 2025 | Letta venture-backed | Zep venture-backed |
| Features | - core memory API for any storage system
- memory management and search tools for agents
- background memory manager
- prompt optimisation from conversations and feedback
- native LangGraph long-term memory store integration
| - LLM extraction of facts, preferences and decisions from conversations (single-pass, add-only since v3)
- infer=False stores messages as given, without the LLM extraction step
- memories scoped by user_id, agent_id and run_id, with AND/OR/NOT metadata filters
- retrieval that fuses semantic, BM25 keyword and entity matching
- 18 LLM providers, 11 embedders and 25 vector stores in the open source version, including Ollama, Qdrant and pgvector
- self-hosted REST server and dashboard with API keys and an audit log (Docker Compose)
- hosted Platform: graph memory, memory decay, temporal reasoning and Dream background consolidation
- Platform webhooks, memory export, batch updates and feedback on retrieved memories
- All 12 features
| - memory blocks and MemFS, a git-versioned memory filesystem the agent reads, writes and reorganises
- sync an agent's memory to your own GitHub repository
- background reflection ("dreaming", formerly sleep-time compute) with /sleeptime, /dream and /reflect
- skill learning, global, project and agent-scoped skills, and skills installed from GitHub
- subagents and agents calling other agents
- schedules and crons, including schedules agents set themselves
- messaging channels: Slack, Telegram, Discord, WhatsApp, Signal and custom channels
- hooks, permission modes and secrets kept out of the model's context
- All 14 features
| - Context Graphs: entities, facts with validity windows and source episodes, built by an LLM pipeline
- user graphs and shared Context Graphs, with threads and thread summaries
- custom entity and edge types (ontology) and custom extraction instructions
- zep-ingest bulk ingestion for Slack, documents, email, JSON/CSV and fact triples, plus a Batch API
- Context MCP Server with sign-in through Google Workspace or an enterprise identity provider
- policy-based access control (ABAC) for API keys and user groups
- Agent Skills: versioned procedures compiled from verified agent runs
- webhooks, API logs and the zepctl CLI
- All 10 features
|
| Limitations | | - Doesn't extract memories without an LLM: Mem0 requires one (OpenAI's gpt-5-mini by default) for each add, unless you store raw messages with infer=False
| - Doesn't import or export AgentFile (.af) agents any more: Letta Code removed
/export, --import and --from-af
| - Doesn't offer a free self-hosted edition: Zep Community Edition is deprecated and no longer supported
- Doesn't build its context graph without LLM calls: each ingestion step (extracting, dating, resolving and summarizing facts) uses a language model
|