Direction Search: Agent Memory

93 repos found (incl. topic supplement), 48 high-relevance, 6 sub-categories across 8 keywords + topic supplement

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.

L2 Agent Runtime L3 Dev Framework/SDK L5 Wrapper/Demo
Search Keywords (8)

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

Notable Picks

mem0ai/mem0

L2

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.

Stars48,936 [est., 5000 API limit]
Patternmature (peak 188 days ago)
LanguagePython
Created2024-04-16
EcosystemChrome 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.

vectorize-io/hindsight

L2

Agent Memory That Learns — a memory system that doesn't just store and retrieve, but autonomously learns and evolves from interactions.

Stars2,409 [exact]
30d Growth+1,133 [exact]
7d Growth+544 [exact]
Acceleration2.06x (7d avg / 30d avg) [exact]
Patternsustained + accelerating (83 consecutive growth days)
LanguagePython

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.

topoteretes/cognee

L2

Knowledge Engine for AI Agent Memory in 6 lines of code — a knowledge-graph-based agent memory engine.

Stars13,013 [exact]
30d Growthstable [est., 5000 API limit]
Patternmature (peak 272 days ago)
LanguagePython
Created2023-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.

Competitive Landscape

1. Memory Platform — Universal Memory Layers

RepoStarsApproachGrowth
mem0ai/mem048,936Universal memory layermature
memvid/memvid13,278RAG replacement (Rust)mature
MemoriLabs/Memori12,314SQL-native memory layermature
MemTensor/MemOS6,225Memory OS+125/30d
CaviraOSS/OpenMemory3,532Open memory platform+112/7d
EverMind-AI/EverMemOS2,403Memory OSearly

2. Memory Engine — Standalone Memory Systems

RepoStarsApproachGrowth
topoteretes/cognee13,013Knowledge graphplateau
vectorize-io/hindsight2,409Self-learning+544/7d
kayba-ai/agentic-context-engine1,951Agentic context engineearly
trustgraph-ai/trustgraph1,340Context graph+22/7d
agiresearch/A-mem873Agentic Memory (NeurIPS)research-driven
general-agentic-memory822Deep-research poweredresearch-driven
caspianmoon/memoripy683Python memory librarystable

3. MCP Memory Server — Memory as a Service

RepoStarsApproach
coleam00/mcp-mem0653Mem0 integration, MCP template
AVIDS2/memorix166Cross-agent memory bridge
petabridge/memorizer151Vector-search MCP
pinkpixel-dev/mem0-mcp87Mem0 MCP integration
agentic-tools-mcp80Task + memory MCP
claude-memory-mcp59Persistent Claude memory

4. Database-Native Memory — DB Vendors Entering

RepoStarsBackend
microsoft/kernel-memory2,138Microsoft (.NET ecosystem)
oceanbase/powermem481OceanBase (Alibaba)
elizaOS/agentmemory231ChromaDB / Postgres
redis/agent-memory-server193Redis (official)
neo4j-labs/agent-memory45Neo4j (official Labs)

5. Coding Agent Memory — Dev Workflow Specific

RepoStarsApproach
cass_memory_system267Cross-agent procedural memory
total-recall1125-layer observational memory
claude-code-vector-memory30Claude Code semantic memory
git-context-controller25Git-like memory operations

6. Research / Benchmark — Academic

RepoStarsPaper/Method
agiresearch/A-mem873NeurIPS 2025 A-MEM
MemoryAgentBench244Memory agent benchmark
HaluMem112Memory hallucination evaluation benchmark
epro-memory666-category + L0/L1/L2 tiers
xMemory56Beyond RAG (2026.02 Arxiv)
microsoft/Mnemis46Hierarchical graph dual-route retrieval

Paradigm Analysis

Agent Memory has entered the "Champion + Challengers" era.

mem0 (49K stars) dominates the first generation with absolute market lead, but three forces are challenging simultaneously:

1. Knowledge Graph Camp (cognee 13K) — structured reasoning vs. flat retrieval
2. Active Learning Camp (hindsight 2.4K, accelerating) — memory systems evolving from passive storage to autonomous learning
3. Memory OS Camp (MemOS 6.2K, Memori 12.3K, EverMemOS) — upgrading the memory layer from SDK to operating system

Three generations of evolution over the past 18 months:
1. Conversation History (2024) — simple message lists with window truncation
2. Universal Memory Layer (2025) — the "plug-and-play" route validated by mem0, vector storage + user profiles
3. Cognitive Memory (2026) — knowledge graphs, autonomous learning, multi-tier classification, cross-agent sharing

Key structural signal: database vendors (Redis, Neo4j, OceanBase, Microsoft) are entering collectively, and MCP protocol is turning Memory into a standardized service — memory is evolving from a framework add-on into a standalone infrastructure category.

Threatened: Agent frameworks still using simple vector stores for memory.
Not threatened: The underlying LLM inference layer — no matter how good memory gets, it still needs an LLM to consume it.

Next battlegrounds: cross-agent memory sharing (memorix, cass), memory trustworthiness verification (HaluMem, MemoryAgentBench), Memory OS standardization (who defines the agent's memory interface).

Suggested Deep Dives

RepoSuggestion
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

Filtered Out (45)

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)