Open Source Mem0 Alternatives

Mem0 adds persistent memory to AI agents through a hosted API. Open source memory layers give your agents the same cross-session recall, fully self-hosted.

6 alternatives available

Mem0 is a memory layer for AI applications and agents: instead of re-sending full conversation history on every call, it extracts, compresses, and stores the relevant facts from an interaction, then retrieves only what’s relevant for the next one. Its add/retrieve workflow is designed as a near drop-in addition to an existing LLM pipeline, using a hierarchical distillation process that condenses raw chat history into compact, queryable memories.

Mem0 offers both a hosted cloud API and an open-source core, with the hosted platform adding enterprise governance — SOC 2 and HIPAA compliance, audit logging, and deployment options including private cloud and air-gapped environments. Teams that want the memory-layer pattern without the hosted platform’s governance layer and pricing often build directly on the open-source project or on comparable self-hosted memory tools.

What Mem0 Offers

01

Memory compression engine

condenses raw conversation history into compact, retrievable memory objects

02

Add/retrieve API

a minimal-integration workflow for storing and recalling agent memory

03

Multi-signal retrieval

combines multiple signals to surface the most relevant memories for a given query

04

Enterprise governance

SOC 2 and HIPAA-compliant deployment options with full audit logging

05

Portable deployment

runs on Kubernetes, private cloud, or air-gapped infrastructure

06

Cross-session persistence

memories persist across conversations and even across different agents

07

Open-source core

the underlying memory engine is available to self-host

Common Use Cases

01

Long-running support agents

a customer support agent recalls a user's history across multiple separate conversations

02

Personalized AI assistants

an assistant remembers user preferences without re-asking every session

03

Token cost reduction

a team replaces full chat-history replay with compact memory retrieval to cut LLM costs

04

Regulated-industry deployments

a healthcare or fintech team needs auditable, compliant memory storage for agent interactions

Open Source Alternatives

TypeScript
58%
Apache 2.0

claude-mem

AI Agents · AI Development · AI Memory

99,033

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
86
Repo Health
82
Technical
77
Dependency
Built with
TypeScript 58%
JavaScript 31%
Updated 5 days ago
Python
95%
MIT

MemPalace

AI Agents · AI Development · AI Memory

59,486

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

View details
86
Repo Health
84
Technical
73
Dependency
Built with
Python 95%
Updated 5 days ago
TypeScript
83%
Apache 2.0

agentmemory

AI Agents · AI Memory · Mcp

29,268

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
83
Repo Health
69
Technical
77
Dependency
Built with
TypeScript 83%
HTML 10%
Updated 5 days 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
50
Repo Health
83
Technical
70
Dependency
Built with
TypeScript 99%
Updated 3 months ago
TypeScript
83%
MIT

Hippo

AI Agents · AI Memory

775

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
77
Repo Health
71
Technical
78
Dependency
Built with
TypeScript 83%
JavaScript 11%
Updated 4 days ago
Rust
79%
MIT

mnemo

AI Agents · AI Development · AI Memory

237

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
27
Repo Health
78
Technical
75
Dependency
Built with
Rust 79%
Python 16%
Updated 4 months ago

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