Persistent memory for coding agents that captures session activity, compresses it with AI, and injects relevant context into future sessions.
Agents & MCP
Long-term memory for AI agents: 72 open-source projects (2026)
Memory layers that let agents remember past sessions, decisions and preferences instead of starting from zero each time.
- Project
- 72
- This week
- +13.9K
- Updated
- 3 hours ago
How to choose
Decide first what job you need done: carrying context between coding sessions, adding user memory to your own app, or tracking facts that change over time. For coding agents, thedotmack/claude-mem captures sessions and injects compressed context into later ones. For apps, mem0ai/mem0 stores and retrieves user, session and agent context across conversations. If facts change, getzep/graphiti builds temporal knowledge graphs that track those changes.
- claude-memBest for developers who want a coding agent to remember past sessions: it captures session activity, compresses it, and injects relevant context into later sessions.
- mem0Best for teams adding a memory layer to their own AI app: it stores and retrieves user, session and agent context across conversations.
- graphitiBest for developers who need to track how facts change over time: this Python framework builds temporal knowledge graphs used as agent memory and context.
Top projects compared
| Project | Stars | This week | License | Updated |
|---|---|---|---|---|
| 114.4K | +6.8K | Apache-2.0 | 5 hours ago | |
| 68.6K | +407 | Apache-2.0 | yesterday | |
| 60.5K | +262 | MIT | 16 hours ago | |
| 59.7K | +2.8K | MIT | 7 hours ago | |
| 41.7K | +500 | AGPL-3.0 | 3 hours ago | |
| 33.1K | +166 | Apache-2.0 | 11 hours ago |
All projects
A memory layer for AI agents and apps that stores and retrieves user, session, and agent context across conversations.
Local-first AI memory system that stores conversation history verbatim and retrieves it with semantic search, exposed as an MCP server and CLI.
Agent memory system that stores, recalls and reflects on memories so AI agents learn over time instead of only replaying chat history.
An open-source context database for AI agents that stores knowledge, memory and skills in one viking:// filesystem that can be browsed and edited.
Open-source AI memory platform that turns documents, code and conversations into a self-hosted knowledge graph for AI agents.
Python framework for building temporal knowledge graphs that track how facts change over time, used as memory and context for AI agents.
A self-hosted memory layer for AI agents that stores explicit facts with sources and shares one brain across agents, MCP clients and the CLI.
Memory and context engine for AI apps and assistants, offering a single API for persistent memory, RAG, user profiles and connectors.
A team-level memory hub for AI Agents that turns chats, docs, and code into shared, governed memory assets usable across agent frameworks.
Persistent memory for AI coding agents that captures sessions automatically and injects relevant context into later sessions across Claude Code, Cursor, Codex and other MCP clients.
Agent-native memory infrastructure that turns LLM agent conversations and execution into persistent, structured memory for Python and TypeScript apps.
Single-file memory layer for AI agents, storing embeddings, search indexes and metadata in one .mv2 file instead of a server-based RAG pipeline.
Long-term memory for AI coding agents that carries project context and handoffs across Claude Code, Codex, Cursor and other agent CLIs.
A lightweight memory system that gives coding agents and desktop AI hosts a shared, cross-session memory stored as a wiki.
A local-first, Markdown-native long-term memory layer for AI agents, storing memories as editable files with SQLite and LanceDB indexes.
Memory operating system for LLMs and AI agents that stores, retrieves, and manages long-term memory as an editable graph.
Memory infrastructure for stateful AI agents that reasons over conversations to model users, agents and groups over time.
Persistent memory for AI coding agents: a single Go binary with SQLite full-text search, exposed via MCP, HTTP API, CLI and TUI.
An Obsidian vault template that gives AI coding agents like Claude Code persistent memory across sessions.
Persistent memory for Claude Code, Codex and other AI agents, stored as plain markdown in an Obsidian vault.
Local-first, self-hosted persistent memory engine for LLM apps and agents, with SQLite storage, temporal recall, and MCP integration.
Long-term memory plugin for OpenClaw agents that stores preferences and decisions in LanceDB and recalls them in later sessions.
Long-term memory runtime for AI agents that stores memories as plain Markdown, ranks recall locally, and shares one store across Claude Code, Codex CLI and other shell-capable agents.
A stateful agent harness for building AI agents with persistent memory, identity, and skills that learn over time, usable from a CLI, browser, or chat apps.
A local-first Markdown memory workspace that lets AI agents store, search, and consolidate long-term knowledge as editable files.
An open-source long-term memory layer for AI agents that stores and recalls information across sessions via a Python SDK, REST API, and MCP server.
A persistent semantic memory layer for AI coding agents, storing memories as Markdown files indexed in Milvus for cross-agent recall.
A local, self-hosted memory hub that gives multiple AI agents such as Claude Code, Codex and OpenClaw one shared, persistent memory of you.
Self-hosted persistent memory service for AI agents, exposed via REST API and MCP so frameworks and assistants like Claude can store and retrieve shared context.
FAQ
- How are these projects chosen?
- Every project on Repolode passes a quality screening before it is listed: it must be usable today, solve a concrete problem, be more than a thin wrapper and still be maintained. This page groups the listed projects by topic and ranks them by GitHub stars.
- Which project here is the most popular?
- thedotmack/claude-mem, with 114.4K GitHub stars. Check each project's license and last commit before choosing.