Self-hosted alternatives to MemMachine
200 self-hosted apps like MemMachine, closest match first.
Top picks
- G
GrayMatter
LaunchGrayMatter gives AI agents persistent memory. It ships as a single binary of about 10 MB that you install without Docker, a database server, config files or a cloud account. It works as a general-purpose MCP server with Claude Code, Cursor,
Self-hosted
- M
Mnemory
LaunchA self-hosted, secure, feature-rich memory system for AI agents and assistants. Provides intelligent fact extraction and deduplication, with an artifact store for detailed content.
Self-hosted
- S

Statewave
LaunchStatewave is an open source memory runtime for AI agents. Instead of retrieving chunks at query time, it records raw events as immutable episodes, compiles them into typed semantic and episodic memories with provenance, and returns ranked,
Self-hosted
- D

Deepmem
LaunchDeepMem is a Mem0-compatible memory-as-a-service: 10× cheaper, 2× faster, sub-50ms p95 latency. Generous free tier, no card. Swap your endpoint URL and switch in 5 minutes.
Self-hosted
- B

Basic Memory
LaunchOne knowledge base for you, your AI tools, and your team. Your chats, docs, decisions, and research, connected in a living knowledge graph. Plain Markdown you control. Open source, MCP-native, works with every AI.
Self-hosted
- M
Memory OS
LaunchA 7-layer memory operating system for Hermes Agent — persistent memory with Qdrant, structured facts, fabric recall, auto-curated wiki, and surgical context injection. Runs locally, any LLM provider.
Self-hosted
More like MemMachine
About MemMachine
MemMachine
An open source AI memory layer
MemMachine is an open-source memory layer for AI agents. It lets an agent learn from past sessions, store and recall data and preferences, and keep a long-term profile of each user, so its responses can be personal and aware of context. The site says the memory persists across multiple sessions, agents and large language models, which turns a chatbot into a more personalised assistant. Developers can start from the docs, browse examples, read the blog or join the Discord community. The project's source code is on GitHub. The homepage shows testimonials from teams building with the memory layer. It is aimed at developers who need agents that remember users over time.
- Price
- Open source
- Category
- AI
- Website
- memmachine.ai



