🧩

Best Agent Memory Top 20

Top 20 most popular open-source Agent Memory projects, ranked by GitHub Stars.

1

Claude Mem

85.2k Stars

A Claude Code plugin that automatically captures coding session context, compresses it with AI, and injects relevant context back into future sessions for persistent memory.

codingmemoryagenttypescript
2

Graphify

74.9k Stars

AI 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.

memorypythonagentcoding
3

MiroFish

67.6k Stars

Multi-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.

multi-agentswarm-intelligenceknowledge-graphmemory
4

Embedchain

59.8k Stars

Embedchain is a universal memory layer for AI agents, enabling quick integration of diverse data sources into LLMs for context-aware AI applications.

memoryragembeddingsagent-tools
5

Mem0

59.8k Stars

Open-source universal memory layer for AI applications.

mem0agent-memorymemory-layerai-app
6

Mem0

59.8k Stars

Mem0 is a long-term memory layer for AI agents, supporting cross-session memory management and personalized context retrieval.

memoryragpersonalizationagent
7

Context7

58.4k Stars

Context7 is Upstash's context-engineering toolkit for agents, helping applications manage long context windows, retrieval injection, and history compression.

contextmemoryretrievaltypescript
8

MemPalace

56.8k Stars

MemPalace 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.

memorylong-term-memorychromadbmcp
9

Headroom

54.7k Stars

Context 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.

token-compressionoptimizationmcpcost-reduction
10

ChatTTS

39.5k Stars

A generative speech model for daily dialogue, providing AI agents with natural and fluent voice synthesis with fine-grained prosody control.

voicepythonagenttools
11

Khoj

35.4k Stars

Khoj 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.

second-brainragself-hostedagent
12

Graphiti

28.2k Stars

Graphiti is a temporal knowledge-graph engine for agent memory, helping systems continuously accumulate long-term context.

memoryknowledge-graphragagent
13

Graphiti

28.2k Stars

Zep's open-source temporal knowledge graph for dynamic agent memory.

graphitizepknowledge-graphtemporal
14

Supermemory

28.0k Stars

An 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.

memoryknowledge-basevector-searchai-infrastructure
15

OpenViking

26.2k Stars

OpenViking 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.

memorycontext-managementagentrag
16

Cognee

26.1k Stars

A 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.

agent-memoryknowledge-graphvector-storereasoning
17

Cognee

26.1k Stars

Open-source library for learnable memory and graph retrieval in LLMs.

cogneeagent-memorygraph-ragknowledge-graph
18

Kotaemon

25.5k Stars

Kotaemon 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.

ragdocument-qapdfchatbot
19

Beads

25.0k Stars

A memory upgrade for coding agents. Provides persistent contextual memory for Claude Code, Codex, and other coding agents to improve long-task consistency.

coding-agentmemorycontextgo
20

AgentMemory

24.4k Stars

A persistent memory system for AI coding agents, designed around real-world benchmarks to preserve context across sessions.

memorycoding-agentpersistent-memorytypescript

Related Articles