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.

Open Source Alternatives

JavaScript
55%
Apache 2.0
85

claude-mem

AI Agents · AI Development

85,868

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

claude-mem

Apache 2.0
7,428
Forks
10 months
Age
Built with
JavaScript55%
TypeScript43%
Updated today
Python
93%
MIT
83

MemPalace

AI Agents · AI Development

56,956

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

View details

MemPalace

MIT
7,357
Forks
3 months
Age
Built with
Python93%
Updated yesterday
TypeScript
83%
Apache 2.0
80

agentmemory

AI Agents

24,564

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

agentmemory

Apache 2.0
2,022
Forks
4 months
Age
Built with
TypeScript83%
Updated 6 days ago
TypeScript
99%
Other
81

byterover-cli

AI Agents · AI Code Assistants

4,902

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

byterover-cli

Other
452
Forks
1 year
Age
Built with
TypeScript99%
Updated 1 weeks ago
TypeScript
68%
MIT
75

Hippo

AI Agents

708

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

Hippo

MIT
37
Forks
4 months
Age
Built with
TypeScript68%
JavaScript13%
HTML10%
Updated yesterday
Rust
79%
MIT
37

mnemo

AI Agents · AI Development

226

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

mnemo

MIT
9
Forks
1 month
Age
Built with
Rust79%
Python16%
Updated 1 months ago

Join founders buildingwith open source

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

Subscribe on Substack

No spam. Unsubscribe anytime.

Join 750+ subscribers
No spam. Unsubscribe anytime.

Search