Long-term memory layers for AI agents — vector stores, episodic recall, semantic compression, and persistent context across sessions.
Of the 30 agent memory tools here, the best one to start with is mem0 (rated SAFE by our security scan, ★ 67.6k). The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Agent Memory Tools are AI-powered software designed to help developers and teams tackle agent memory-related tasks more efficiently. These tools are typically published as open-source projects on GitHub and can be integrated into existing workflows via MCP (Model Context Protocol), Claude Skills, or standalone agent frameworks. On Agent Skills Hub, we index 30 quality-scored Agent Memory Tools across languages including Python, Go, JavaScript.
In 2026, the AI agent ecosystem is maturing rapidly. Agent Memory Tools can significantly boost development efficiency by automating repetitive tasks, reducing human error, and providing intelligent suggestions. The top 3 tools — mem0, letta, mcp-memory-service — have earned an average of 4,034 GitHub stars, reflecting strong community validation. 26 of the listed tools come with clear open-source licenses, ensuring freedom to use and modify.
When choosing among Agent Memory Tools, consider these factors: 1) Community activity — GitHub stars and recent commit frequency indicate reliability; 2) Integration method — check if it supports MCP, Claude, or your preferred agent framework; 3) Language compatibility — the most common language in this list is Python; 4) Quality score — Agent Skills Hub's composite score evaluates code quality, documentation completeness, and maintenance activity. Our recommendation: start with mem0 — it ranks highest in both star count and quality score.
The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
pip install mem0ai
Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
npm install @letta-ai/letta-client
Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude. REST API + knowledge graph + autonomous consolidation.
pip install mcp-memory-service
Coding agent skill for Tensorlake. Routes Claude Code, OpenAI Codex, and other AI agents to live Tensorlake docs for sandboxes, orchestration, and SDK usage.
npx skills add tensorlakeai/tensorlake-skills
A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents. Say goodbye to Vector RAG and amnesia. Empower your AI with persistent, graph-like structured memory across any model, session, or tool. Drop-in replacement for OpenClaw.
git clone https://github.com/Dataojitori/nocturne_memory.git
LLM-supervised persistent memory for AI agents — graph-based recall, cross-session knowledge, single binary. Works with DeepSeek Harness, Claude Code, OpenClaw, and any agent runtime.
brew install mnemon-dev/tap/mnemon
Structural memory for AI coding agents. Bi-temporal graph, MCP-native, zero LLM calls. Cursor · Claude Code · Codex · DeepSeek Harness · Hermes · VS Code · Windsurf.
Self-hosted 24/7 personal AI agent that runs on your own machine — memory, schedules, tools and credentials stay local. Single Go binary with MCP.
Open-source cognitive coprocessor with active memory for AI agents — persistent recall, semantic search, overnight dreaming, verified facts, encrypted USB sync. MCP server; works with Claude, ChatGPT, and any local LLM. Built by one maker and his agents.
git clone https://github.com/GuyMannDude/mnemo-cortex.git
Xmem is a India's First open source multi-modal, multi-agentic long‑term memory layer for AI agents.
npx create-xmem@latest
The memory your AI should have had from the start. Automatic capture, automatic recall, 100% local. One SQLite file, zero cloud. Works with Claude Code, Claude CLI, Cursor, Codex CLI, Gemini CLI.
pip install truememory
AI-powered second brain for Claude Code that builds itself. Extract knowledge from every session—past and present—into auto-organized Markdown. Local-first, queryable, learns your patterns.
claude plugin install remember@remember-md
MCP server with persistent memory + FTS5 search for Claude Code conversation history. Index your ~/.claude/projects/, expose 10 MCP tools, browse via web UI. MIT-licensed.
npm install -g @kunwarshah/claudex [https://www.npmjs.com/package/@kunwarshah/claudex]
Noema long-term memory plugin for DSH: durable, inspectable agent memory with recall tools and a settings page.
Human-like memory for AI agents — semantic, episodic & procedural. Experience-driven procedures that learn from failures. Free API, Python & JS SDKs, LangChain, CrewAI & OpenClaw integrations.
pip install mengram-ai # or: npm install mengram-ai
Stop re-teaching your agent. Make your agent's memory work like a brain. Hippo is long-term memory for coding agents. It's a critical layer for your AI harness that connects across your different tools (Cursor, Claude Code, Codex). It keeps your proprietary data completely local, and it actually learns over time.
npm install -g hippo-memory && hippo init --scan ~
Persistent long-term memory for Claude Code via MCP — captures coding decisions, bugfixes, and context across sessions. Hybrid FTS5 + TF-IDF search with episode batching. Single SQLite DB, no external services. Alternative to claude-mem with 600x lower cost.
/plugin marketplace add sdsrss/claude-mem-lite
Memory layer for AI agents — SDKs, CLI and MCP server for Membase
pip install unibaseio-membase # hosted · Python 3.10+ · needs MEMBASE_API_KEY
One portable memory layer for every AI agent: local-first, Markdown-native, user-owned, and self-evolving across apps, tools, and workflows.
TeleMem is a high-performance drop-in replacement for Mem0, featuring semantic deduplication, long-term dialogue memory, and multimodal video reasoning.
pip install telemem # core (text memory)
Local-first 3-in-1 AI memory layer & MCP server for Claude Code, Codex, Grok, Gemini, VS Code and Cursor. Fuses session history, codebase indexing & concept graphs in SQLite. Enables zero-cloud, privacy-first context & instant recall, supports multi-agent swarms.
npx degit Lyellr88/marm-memory/skills
Self-hosted AI agent memory — MCP memory server with durable recall for agents
git clone https://github.com/mtrnix/metronix-memory.git
The memory layer for production AI agents. Python + JS SDKs, 24 framework integrations, MCP server.
Outcome-based persistent memory MCP server for Claude Code and OpenCode. Good advice promoted, bad advice demoted. pip install roampal.
✨ mem0 MCP Server: A memory system using mem0 for AI applications with model context protocl (MCP) integration. Enables long-term memory for AI agents as a drop-in MCP server.
npx -y @smithery/cli install @pinkpixel-dev/mem0-mcp-server --client claude
Local-first AI memory you can see, edit, and override — portable across Claude Code, Codex, Cursor, Windsurf, and other MCP coding tools.
pip install piia-engram && engram setup
TencentDB Agent Memory delivers fully local long-term memory for AI Agents via a 4-tier progressive pipeline, with zero external API dependencies.
A cyber brain for your AI. It never forgets a detail, remembers exactly what you said, and learns how you work over time. Free, local, works with Cursor, Claude Code, Codex, OpenClaw, Hermes and more. MIT.
git clone https://github.com/CodeAbra/iai-personal-memory-engine.git
Agentic AI memory with Ebbinghaus forgetting curve decay. +16pp better recall than Mem0 on LoCoMo.
pip install yourmemory
Three-tier memory control plane for DeepSeek Harness: persistent runtime context, searchable project documents, pluggable long-term memory, smart routing, supervised agent workflows, WebUI, and headless tools.
| Tool | Stars | Score |
|---|---|---|
| mem0 | ★ 67.6k | 77 |
| letta | ★ 25.2k | 87 |
| mcp-memory-service | ★ 2.0k | 71 |
| tensorlake-skills | ★ 174 | 73 |
| nocturne_memory | ★ 1.4k | 72 |
| mnemon | ★ 640 | 68 |
| memtrace-public | ★ 504 | 65 |
| Agenvoy | ★ 458 | 63 |
| mnemo-cortex | ★ 158 | 64 |
| XMem | ★ 234 | 52 |
| TrueMemory | ★ 378 | 63 |
| remember | ★ 58 | 61 |
| claudex | ★ 97 | 63 |
| dsh-noema | ★ 129 | 72 |
| mengram | ★ 195 | 66 |
| hippo-memory | ★ 784 | 67 |
| claude-mem-lite | ★ 67 | 66 |
| membase | ★ 55 | 63 |
| EverOS | ★ 13.6k | 74 |
| telemem | ★ 494 | 65 |
The top agent memory tools in 2026 are mem0, letta, mcp-memory-service. Agent Skills Hub ranks 30 options by GitHub stars, quality score (6 dimensions including completeness, examples, and agent readiness), and recent activity. The list is rebuilt every 8 hours from live GitHub data.
mem0 (67.6k stars) is the most adopted choice for general agent memory workflows, written in Python. letta (25.2k stars) is a strong alternative. Pick by your existing stack: match the language and runtime your team already uses to minimize integration cost. If unsure, start with mem0 — it has the deepest community and the most examples online.
Avoid pre-built agent memory tools when (1) your use case requires deep customization that the tool's plugin system doesn't support, (2) you have strict compliance requirements that ban third-party dependencies, (3) the tool's maintenance is inactive (last commit >6 months ago), or (4) your data volume is small enough that a 50-line custom script is cheaper than learning the tool. For most production workflows above 100 requests/day, the time savings from a maintained tool outweigh the customization loss.
Agent Memory focuses specifically on long-term memory layers for ai agents — vector stores, episodic recall, semantic compression, and persistent context across sessions. Knowledge Base & RAG is a related but distinct category — see https://agentskillshub.top/best/knowledge-base/ for those tools. The two often appear in the same agent pipeline but solve different problems: choose agent memory when your primary goal is the specific task, and knowledge base & rag when the workflow is broader.
For most teams, yes. mem0 has 67.6k stars worth of community testing, handles edge cases you haven't thought of, and ships with documentation. Build your own only when (1) your requirements are deeply non-standard, (2) you have a security/compliance reason to avoid OSS dependencies, or (3) the maintenance burden is small enough (<200 lines of code) that you'll save time long-term. The break-even point is usually around 2-3 weeks of dev time saved.
Most agent memory tools listed are open source under permissive licenses (MIT, Apache 2.0). A handful offer paid managed/cloud versions on top of free self-hosted core. Always check the LICENSE file on each tool's GitHub repository before commercial use — some use AGPL or non-commercial restrictions that may not fit your deployment model.
Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 42 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.
The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.
Sources & who's responsible: