Mem0 alternatives: open-source agent memory
A side-by-side look using each project's own description and public GitHub data. We don't benchmark them; read each repo before choosing.
- mem0: The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
- ECC: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
- claude-mem: Persistent Context Across Sessions for Every Agent โ Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
- ruflo: ๐ The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
- codebase-memory-mcp: Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
- CowAgent: Open-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
- cognee: Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free
- haystack: Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and
- letta: Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
- dolt: Dolt โ Git for Data
| Tool | What it does (from its repo) | GitHub stars | Language | License | Last push |
|---|---|---|---|---|---|
| ECC affaan-m/ECC | The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. | 309,356 | JavaScript | MIT | 2026-11-23 |
| claude-mem thedotmack/claude-mem | Persistent Context Across Sessions for Every Agent โ Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More | 119,239 | TypeScript | Apache-2.0 | 2026-11-23 |
| ruflo ruvnet/ruflo | ๐ The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated | 82,314 | TypeScript | MIT | 2026-11-23 |
| mem0 mem0ai/mem0 | The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production. | 69,373 | Python | Apache-2.0 | 2026-11-23 |
| codebase-memory-mcp DeusData/codebase-memory-mcp | Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection. | 49,071 | C | MIT | 2026-11-21 |
| CowAgent zhayujie/CowAgent | Open-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install. | 48,049 | Python | MIT | 2026-11-23 |
| cognee topoteretes/cognee | Cognee is the open-source AI memory platform for agents. Give your AI agents persistent long-term memory with small models for free | 33,511 | Python | Apache-2.0 | 2026-11-23 |
| haystack deepset-ai/haystack | Open-source AI orchestration framework for building context-engineered, production-ready LLM applications. Design modular pipelines and agent workflows with explicit control over retrieval, routing, memory, and generation. Built for scalable agents, RAG, multimodal applications, semantic search, and | 27,083 | Python | Apache-2.0 | 2026-11-23 |
| letta letta-ai/letta | Platform for stateful agents: AI with advanced memory that can learn and self-improve over time. | 25,520 | โ | Apache-2.0 | 2026-10-18 |
| dolt dolthub/dolt | Dolt โ Git for Data | 24,967 | Go | Apache-2.0 | 2026-11-23 |
Stars, language, license and last-push date come from the GitHub API, checked 2026-11-23. Ranked by stars, which measures popularity, not quality. Descriptions are the projects' own.
See also: all Quaydex guides. Maintainer of a tool here? Claim or feature your listing.