Skip to content
App category

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.

9 apps available Sorted by repository health

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.

Showing 9 apps
TypeScript 48%MIT

supermemory

31,679

AI Development · AI Memory · Note Taking

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

App
Built with
  • TypeScript 48%
  • MDX 32%
  • Python 16%
Updated todayView details
TypeScript 66%Apache 2.0

claude-mem

118,698

AI Agents · AI Development · AI Memory

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.

App
Built with
  • TypeScript 66%
  • JavaScript 29%
Updated todayView details
Python 94%MIT

MemPalace

60,644

AI Agents · AI Development · AI Memory

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

App
Built with
  • Python 94%
Updated yesterdayView details
Python 61%AGPL 3.0

OpenViking

42,545

AI Development · AI Memory · Databases

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

App
Built with
  • Python 61%
  • TypeScript 18%
  • Rust 10%
Updated todayView details
TypeScript 82%Apache 2.0

agentmemory

30,504

AI Agents · AI Memory · Mcp

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.

App
Built with
  • TypeScript 82%
Updated 3 days agoView details
Python 96%Apache 2.0

knowhere

4,077

AI Development · AI Memory · Developer Tools

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

App
Built with
  • Python 96%
Updated todayView details
Go 94%MIT

NornicDB

933

AI Development · AI Memory · Databases

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

App
Built with
  • Go 94%
Updated todayView details
TypeScript 80%MIT

Hippo

794

AI Agents · AI Memory

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.

App
Built with
  • TypeScript 80%
  • JavaScript 12%
Updated yesterdayView details
Rust 79%MIT

mnemo

238

AI Agents · AI Development · AI Memory

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.

App
Built with
  • Rust 79%
  • Python 16%
Updated 5 months agoView details

Join founders building with open source

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

Subscribe on SubstackJoin 750+ subscribers