Agent Memory has a clear champion — mem0 (49K stars) dominates the first generation, but "second-gen memory" technologies (self-learning, knowledge graphs, Memory OS) are challenging from three dimensions simultaneously. Six tracks, three generations running in parallel.
agent memory agent memory layer llm memory long term memory llm conversation memory agent context management agent state persistence memory retrieval agent
+ Topic supplement: topic:memory+agent topic:memory+llm
Universal Memory Layer for AI Agents — provides a unified memory layer for AI agents with personalization, multi-user support, and cross-session long-term memory.
| Stars | 48,936 [est., 5000 API limit] |
| Pattern | mature (peak 188 days ago) |
| Language | Python |
| Created | 2024-04-16 |
| Ecosystem | Chrome extension (657★), MCP Server (653★), multi-platform integrations |
Why it matters — The undisputed champion of the Agent Memory space — 49K stars, nearly 4x the runner-up cognee (13K). mem0 validated a key hypothesis: developers want a "plug-and-play memory layer" rather than building complex RAG pipelines themselves. It has a complete ecosystem (Chrome extension, MCP integration, enterprise tier). But growth has entered maturity, suggesting the first-generation market is saturated.
Paradigm signal — mem0's success proves that the first-generation demand for Agent Memory is "simple, usable, universal memory layer." But this also means mem0's moat is "early adoption + ecosystem" rather than technical depth. If second-gen projects prove significant advantages in technical dimensions (self-learning, knowledge graphs), paradigm displacement is possible — that's the bet cognee and hindsight are making.
Agent Memory That Learns — a memory system that doesn't just store and retrieve, but autonomously learns and evolves from interactions.
| Stars | 2,409 [exact] |
| 30d Growth | +1,133 [exact] |
| 7d Growth | +544 [exact] |
| Acceleration | 2.06x (7d avg / 30d avg) [exact] |
| Pattern | sustained + accelerating (83 consecutive growth days) |
| Language | Python |
Why it matters — The fastest-growing second-gen memory project. Unlike mem0's passive storage/retrieval, hindsight lets the memory system actively distill knowledge from interactions. This is a paradigm leap from "database" to "cognitive engine." With mem0 already owning the general memory market, hindsight's opportunity lies in proving that "actively learning memory" delivers measurably better agent performance.
Paradigm signal — Agent Memory is splitting into two routes: passive memory (storage/retrieval optimization, mem0) and active memory (autonomous learning, hindsight). If the active memory route proves out, the memory layer will upgrade from "retrieval infrastructure" to "cognitive infrastructure" — becoming the agent's second engine.
Knowledge Engine for AI Agent Memory in 6 lines of code — a knowledge-graph-based agent memory engine.
| Stars | 13,013 [exact] |
| 30d Growth | stable [est., 5000 API limit] |
| Pattern | mature (peak 272 days ago) |
| Language | Python |
| Created | 2023-08-16 |
Why it matters — The knowledge graph approach leader, #2 by stars (13K). Unlike mem0's flat storage, cognee structures memory into a reasoned knowledge network. The "6 lines of code" DX is well-executed. Growth has plateaued, suggesting the knowledge graph route is technically validated but hasn't yet challenged mem0's market position.
Paradigm signal — cognee validated a hypothesis: agent memory shouldn't be flat vectors but structured knowledge graphs. If graphs are the right answer, pure vector-retrieval approaches (including mem0's basic tier) may get outclassed. But knowledge graph complexity is also its weakness — whoever solves the "plug-and-play + graph depth" tension first, wins.
| Repo | Stars | Approach | Growth |
|---|---|---|---|
| mem0ai/mem0 | 48,936 | Universal memory layer | mature |
| memvid/memvid | 13,278 | RAG replacement (Rust) | mature |
| MemoriLabs/Memori | 12,314 | SQL-native memory layer | mature |
| MemTensor/MemOS | 6,225 | Memory OS | +125/30d |
| CaviraOSS/OpenMemory | 3,532 | Open memory platform | +112/7d |
| EverMind-AI/EverMemOS | 2,403 | Memory OS | early |
| Repo | Stars | Approach | Growth |
|---|---|---|---|
| topoteretes/cognee | 13,013 | Knowledge graph | plateau |
| vectorize-io/hindsight | 2,409 | Self-learning | +544/7d |
| kayba-ai/agentic-context-engine | 1,951 | Agentic context engine | early |
| trustgraph-ai/trustgraph | 1,340 | Context graph | +22/7d |
| agiresearch/A-mem | 873 | Agentic Memory (NeurIPS) | research-driven |
| general-agentic-memory | 822 | Deep-research powered | research-driven |
| caspianmoon/memoripy | 683 | Python memory library | stable |
| Repo | Stars | Approach |
|---|---|---|
| coleam00/mcp-mem0 | 653 | Mem0 integration, MCP template |
| AVIDS2/memorix | 166 | Cross-agent memory bridge |
| petabridge/memorizer | 151 | Vector-search MCP |
| pinkpixel-dev/mem0-mcp | 87 | Mem0 MCP integration |
| agentic-tools-mcp | 80 | Task + memory MCP |
| claude-memory-mcp | 59 | Persistent Claude memory |
| Repo | Stars | Backend |
|---|---|---|
| microsoft/kernel-memory | 2,138 | Microsoft (.NET ecosystem) |
| oceanbase/powermem | 481 | OceanBase (Alibaba) |
| elizaOS/agentmemory | 231 | ChromaDB / Postgres |
| redis/agent-memory-server | 193 | Redis (official) |
| neo4j-labs/agent-memory | 45 | Neo4j (official Labs) |
| Repo | Stars | Approach |
|---|---|---|
| cass_memory_system | 267 | Cross-agent procedural memory |
| total-recall | 112 | 5-layer observational memory |
| claude-code-vector-memory | 30 | Claude Code semantic memory |
| git-context-controller | 25 | Git-like memory operations |
| Repo | Stars | Paper/Method |
|---|---|---|
| agiresearch/A-mem | 873 | NeurIPS 2025 A-MEM |
| MemoryAgentBench | 244 | Memory agent benchmark |
| HaluMem | 112 | Memory hallucination evaluation benchmark |
| epro-memory | 66 | 6-category + L0/L1/L2 tiers |
| xMemory | 56 | Beyond RAG (2026.02 Arxiv) |
| microsoft/Mnemis | 46 | Hierarchical graph dual-route retrieval |
| Repo | Suggestion |
|---|---|
| mem0ai/mem0 | Mode 4 deep analysis — undisputed champion (49K stars), examine contributor structure, enterprise adoption, moat |
| mem0 vs cognee | Mode 4 comparison — universal memory layer vs knowledge graph, technical depth and market performance |
| vectorize-io/hindsight | Mode 4 deep analysis — fastest growing second-gen project, examine technical approach and potential to displace mem0 |
| memvid/memvid | Mode 3 signal watch — 13K stars, Rust implementation, "replace RAG" positioning worth monitoring |
Paper List / Awesome List (8) — academic resource aggregation
Agent-Memory-Paper-List (1.4K), agentic-memory (ALucek, 514), Awesome-AI-Memory (454), LLM_Agent_Memory_Survey (476), Awesome-Agent-Memory x2 (262/76), Awesome-GraphMemory (170), Awesome-Efficient-Agents (192)
Tutorial / Demo / Guide (6) — educational content
optimize-ai-agent-memory (257), agent-memory-guide (33), conversation-memory-streamlit (52), Langchain-Interview-Preparation (32), oxbshw/Handbook (495), agentic-memory (lhl, 26)
Not Memory-Focused (13) — caught by topic search or memory is just a feature
wgcloud (5.1K, cloud monitoring), MineContext (5K, context mining), OpenViking (4.9K, vector DB), MemMachine (4.6K), cipher (3.6K, cryptography), EvoAgentX (2.6K, general agent), fastapi-template (2K), RPG-ZeroRepo (541), doc-to-lora (472), Swarm (376), AlphaAvatar (562), chat2graph (398), Athena (418)
Other Filtered (18) — low stars, overlapping function, or non-core
Gemini_Discordbot (98), Agentic-Desktop-Pet (223), fullstack-langgraph (85), Huaman-Agent-Memory (94), JoySafeter (162), Aeiva (159), memov (158), Squirrel (92), vibe (91), timem (76), yams (365), automem (647), memlayer (261), telemem (441), LightMem (659), memsearch (777), bosquet (366), honcho (402)