Best Agent Memory Top 20
Top 20 most popular open-source Agent Memory projects, ranked by GitHub Stars.
Graphify
114.0k StarsAI coding assistant skill that turns any folder of code, docs, papers, images, or videos into a queryable knowledge graph. Works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI, and more.
Claude Mem
93.0k StarsA Claude Code plugin that automatically captures coding session context, compresses it with AI, and injects relevant context back into future sessions for persistent memory.
MiroFish
71.9k StarsMulti-agent swarm intelligence engine that extracts seed information from the real world, constructs a high-fidelity parallel digital world with thousands of agents, and predicts future trajectories through social evolution simulations.
Headroom
68.6k StarsContext compression layer that compresses tool outputs, logs, files, and RAG chunks before they reach the LLM, saving 60-95% of tokens while preserving answer quality. Available as library, proxy, or MCP server.
Embedchain
64.6k StarsEmbedchain is a universal memory layer for AI agents, enabling quick integration of diverse data sources into LLMs for context-aware AI applications.
Mem0
64.6k StarsMem0 is a long-term memory layer for AI agents, supporting cross-session memory management and personalized context retrieval.
Context7
61.5k StarsContext7 is Upstash's context-engineering toolkit for agents, helping applications manage long context windows, retrieval injection, and history compression.
MemPalace
58.8k StarsMemPalace is an open-source AI memory system providing a persistent long-term memory layer for AI agents, with ChromaDB vector storage and MCP protocol integration.
Codebase Memory MCP
41.9k StarsHigh-performance code intelligence MCP server that indexes codebases into a persistent knowledge graph, supporting 66 languages with sub-millisecond queries and 99% fewer tokens.
ChatTTS
39.8k StarsA generative speech model for daily dialogue, providing AI agents with natural and fluent voice synthesis with fine-grained prosody control.
Khoj
37.0k StarsKhoj is a self-hostable AI second brain that answers questions from the web or your docs, builds custom agents, schedules automations, and performs deep research.
OpenViking
35.2k StarsOpenViking is an open-source context database from Volcengine that unifies management of agent memory, resources, and skills through a filesystem paradigm, enabling hierarchical context delivery and self-evolution.
QwenPaw
34.8k StarsPersonal AI assistant from the AgentScope team with an Agent OS architecture, three-layer memory, kernel-level sandboxing, and one instance serving DingTalk, WeChat, Telegram and more.
Graphiti
30.5k StarsGraphiti is a temporal knowledge-graph engine for agent memory, helping systems continuously accumulate long-term context.
Cognee
30.4k StarsA knowledge engine for AI agent memory that builds knowledge graphs and memory layers in 6 lines of code, supporting graph databases, vector stores, and more for knowledge extraction and retrieval.
Supermemory
29.2k StarsAn extremely fast and scalable memory engine for the AI era. Provides a unified Memory API for AI applications with large-scale knowledge storage and efficient retrieval.
AgentMemory
27.9k StarsA persistent memory system for AI coding agents, designed around real-world benchmarks to preserve context across sessions.
Beads
26.8k StarsA memory upgrade for coding agents. Provides persistent contextual memory for Claude Code, Codex, and other coding agents to improve long-task consistency.
Kotaemon
25.7k StarsKotaemon is an open-source RAG-based tool for chatting with your documents, featuring a clean chat interface and support for multiple LLM and embedding model backends.
TencentDB Agent Memory
25.7k StarsTencentDB Agent Memory delivers fully local long-term memory for AI agents via a 4-tier progressive pipeline, with zero external API dependencies, vector search, and embedding storage.
Related Articles
Agent Memory Architecture: Working, Long-term, and Shared Memory Trade-offs
A systematic comparison of the three categories of agent memory -- working, long-term, and shared -- covering storage media, lifecycle, retrieval methods, typical frameworks, and design patterns, fully addressing agent personalization and multi-agent collaboration engineering.
Designing Agent Memory Systems: From Short-Term Context to Persistent Knowledge
A deep dive into the four-layer agent memory architecture, with practical code for vector retrieval and memory compression to help you build scalable long-term memory systems.
Best MCP Servers in 2026: 25 Servers Worth Integrating, From Official to Community
A 2026 review of the 25 Model Context Protocol (MCP) servers most worth integrating, covering GitHub, databases, browsers, filesystem, code search, Google Workspace, Slack, Notion, and more. Includes official SDK vs community implementations and configuration in Claude Code, Cursor, and Cline.