Categories / AI Memory

Open Source AI Memory Apps

Self-hostable AI memory layers that give agents and LLM apps persistent context across sessions. Compare open source options by repo health and license.

10 apps available

Apps in AI Memory

TypeScript
54%
MIT

supermemory

AI Development · AI Memory · Note Taking

29,672

The state-of-the-art memory and context engine for AI agents — ranked #1 on all three major AI memory benchmarks.

View details
88
Repo Health
82
Technical
68
Dependency
Built with
TypeScript 54%
MDX 31%
Python 13%
Updated 1 weeks ago
TypeScript
53%
Apache 2.0

claude-mem

AI Agents · AI Development · AI Memory

93,892

Give your AI coding agents persistent memory — claude-mem captures everything that happens during sessions, compresses it with AI, and surfaces the right context in every future session automatically.

View details
85
Repo Health
82
Technical
77
Dependency
Built with
TypeScript 53%
JavaScript 45%
Updated 1 weeks ago
Python
95%
MIT

MemPalace

AI Agents · AI Development · AI Memory

59,058

Local-first AI memory with verbatim storage, pluggable backends, and 96.6% retrieval recall on LongMemEval — no API key required.

View details
85
Repo Health
84
Technical
71
Dependency
Built with
Python 95%
Updated 1 weeks ago
Python
74%
AGPL 3.0

OpenViking

AI Development · AI Memory · Databases

37,271

An open-source context database that gives AI agents a unified filesystem for memory, resources, and skills with hierarchical tiered retrieval.

View details
85
Repo Health
75
Technical
65
Dependency
Built with
Python 74%
Rust 13%
Updated 1 weeks ago
Python
85%
Apache 2.0

knowhere

AI Development · AI Memory · Developer Tools

3,298

Transform messy, unstructured documents into persistent, navigable memory that AI agents can actually use.

View details
83
Repo Health
75
Technical
69
Dependency
Built with
Python 85%
HTML 14%
Updated 1 weeks ago
Go
92%
MIT

NornicDB

AI Development · AI Memory · Databases

874

A single graph+vector+temporal database for AI workloads — Neo4j-compatible, sub-millisecond hybrid search, and built-in memory decay.

View details
80
Repo Health
82
Technical
72
Dependency
Built with
Go 92%
Updated 1 weeks ago
TypeScript
82%
Apache 2.0

agentmemory

AI Agents · AI Memory

28,442

Persistent memory for AI coding agents — built on the iii engine, it works across Claude Code, GitHub Copilot CLI, Cursor, Gemini CLI, Codex CLI, and any MCP client, so agents stop needing everything re-explained every session.

View details
76
Repo Health
69
Technical
77
Dependency
Built with
TypeScript 82%
Updated 1 weeks ago
TypeScript
78%
MIT

Hippo

AI Agents · AI Memory

743

A biologically-inspired memory layer for AI coding agents — memories decay by default and strengthen through use, modeled on the hippocampus, with zero runtime dependencies and a SQLite backbone.

View details
76
Repo Health
71
Technical
78
Dependency
Built with
TypeScript 78%
Updated 1 weeks ago
TypeScript
99%
Other

byterover-cli

AI Agents · AI Code Assistants · AI Memory

4,956

A portable memory layer for AI coding agents — curate structured project knowledge into a version-controlled context tree that syncs across tools, machines, and teammates.

View details
52
Repo Health
83
Technical
70
Dependency
Built with
TypeScript 99%
Updated 2 months ago
Rust
79%
MIT

mnemo

AI Agents · AI Development · AI Memory

236

A local-first AI memory sidecar that extracts entities, builds a persistent knowledge graph, and injects ranked context into any LLM pipeline — no cloud required.

View details
28
Repo Health
78
Technical
75
Dependency
Built with
Rust 79%
Python 16%
Updated 3 months ago

About AI Memory

AI Memory tools give AI agents and LLM applications a place to keep what they learn. A language model starts every session with an empty context window. A memory layer stores facts, preferences, decisions and past conversations, then retrieves the relevant pieces when the agent needs them. Without one, every session begins by re-explaining the project.

Apps in this category take a few different approaches. Memory layers sit beside any agent through an API or an MCP server, extract facts from conversations and inject ranked context back into prompts. Context databases organize memory, documents and skills into a structure an agent can browse, with tiered retrieval to keep token usage down. A third group targets AI coding agents specifically, capturing what happened in each session so Claude Code, Cursor or Codex pick up where they left off. Storage ranges from a single SQLite file to graph and vector databases with built-in memory decay.

When choosing, look at where the data lives (local-first or a hosted service), how memories are retrieved (vector search, a knowledge graph, or both), whether it connects to your agent through MCP or an SDK, and how it handles information that goes stale. Self-hosting a memory layer keeps conversation history and project knowledge on infrastructure you control, which matters when that history includes source code, customer data or internal decisions.

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers