# Open-source alternatives for AI agent memory

> Long-term memory layers for AI assistants and agents that you host yourself.

## Paid products
- [Open-source alternatives to Mem0 Platform](https://repoquarry.dev/alternatives/mem0-platform.md): Paid hosted memory layer for AI assistants and agents, with graph memory (entity linking) on the Pro plan and above. Pricing: Free Hobby tier (10,000 add and 1,000 retrieval requests a month); Starter $19/month, Pro $249/month, Enterprise custom.

## Top ranked projects
1. [Claude-Mem](https://repoquarry.dev/projects/claude-mem.md): Memory plugin for Claude Code and other coding agents that captures tool use, summarises sessions and injects context into new sessions. Commercial use: Confirmed.
2. [Hindsight](https://repoquarry.dev/projects/hindsight.md): Self-hostable agent memory server that extracts facts, entities and relationships from conversations and recalls them for AI agents. Commercial use: Confirmed.
3. [Mem0 (open source)](https://repoquarry.dev/projects/mem0.md): Open-source memory layer for AI assistants and agents, as a Python/Node library or a self-hosted server with dashboard. Commercial use: Confirmed.
4. [Basic Memory](https://repoquarry.dev/projects/basic-memory.md): Local-first MCP memory server that stores what you and your AI write as linked Markdown files with full-text and semantic search. Commercial use: Partial.
---
Source: RepoQuarry (https://repoquarry.dev/categories/agent-memory). Data licence: CC BY 4.0. Quotes are from project documentation and belong to their authors.
