🧩

Best Agent Memory Top 20

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

1

Claude Mem

74.9k 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

Embedchain

55.4k 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
3

Mem0

55.4k Stars

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

memoryragpersonalizationagent
4

Context7

55.0k Stars

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

contextmemoryretrievaltypescript
5

MemPalace

52.0k 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
6

Graphify

46.7k 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
7

ChatTTS

39.2k Stars

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

voicepythonagenttools
8

Khoj

34.5k 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
9

Graphiti

25.9k Stars

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

memoryknowledge-graphragagent
10

Kotaemon

25.4k 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
11

OpenViking

23.8k 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
12

Beads

23.5k 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
13

Supermemory

22.5k 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
14

pgvector

21.2k Stars

Open-source vector similarity search extension for PostgreSQL, enabling native vector storage and ANN retrieval in relational databases, a foundational component for building agent memory and RAG systems.

vector-databasepostgresqlsimilarity-searchembeddings
15

MaxKB

20.9k Stars

MaxKB is an open-source knowledge base Q&A and agent building platform powered by LLMs, with vector retrieval, workflow orchestration, and multi-model support out of the box.

knowledge-baseragchatbotagent
16

Cognee

17.2k 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

MemVid

15.4k Stars

MemVid is a long-term memory layer for AI agents that uses video encoding for lightweight single-file storage, replacing complex RAG pipelines with instant retrieval.

memoryragvector-databaseagent
18

Memori

14.3k Stars

Agent-native memory infrastructure that turns agent execution and conversation into structured, persistent state with an LLM-agnostic memory layer, MCP integration, and Python/TypeScript dual SDK support.

memoryagentragframework
19

Rowboat

14.1k Stars

An open-source AI coworker with persistent memory, supporting multi-turn conversations and context retention for knowledge management and collaborative task completion.

agentmemorytypescripttools
20

memU

13.6k Stars

A memory system for 24/7 proactive agents with MCP protocol integration, providing long-term memory management, skill storage, and proactive reasoning capabilities for continuously running AI agents.

memoryagentmcprag

Related Articles