#3232nd of 41 in Memory
memmachine
Long-term memory server for AI agents with episodic and profile memory
Run it:RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 3.1k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- Python
2,623 on 26 Apr 20263,092 on 22 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
MemMachine stores and retrieves agent memory across sessions through a REST API, Python and TypeScript SDKs, and an MCP server. It keeps episodic memory in a Neo4j graph database and user profile facts in SQL, alongside short-term working memory. Integrations are listed for LangChain, LangGraph, CrewAI, LlamaIndex, AWS Strands, n8n, Dify and FastGPT.
Who it is for: Developers adding persistent cross-session memory to LLM agents
Strengths
- Separate working, episodic (graph) and profile (SQL) memory types
- Python SDK, REST API, TypeScript SDK and stdio/HTTP MCP server
- Integrations for LangChain, LangGraph, CrewAI, LlamaIndex, n8n, Dify, FastGPT
- Works with OpenAI, Anthropic, Bedrock, Ollama and other LLM providers
Weaknesses
- Requires running a separate server plus Neo4j and SQL storage
- Quick Start snippet has a typo: duplicated 'import import'
- README gives no benchmarks or memory retrieval accuracy numbers
- Managed platform exists, so some convenience pushes toward the hosted service
What it needs
- Docker + Compose
- Needs Neo4j, SQL database
- Models: OpenAI, Anthropic, Bedrock, Ollama
- port 8080
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- [Bug]: Context window exceeded error not triggering retry logic during episodic summarization (original error message missing in ExternalServiceAPIError) ↗ (opens in a new tab)3 reactions · closed 23 Mar 2026Fixed by Handle context window size when creating summary in short term memory ↗ (opens in a new tab)
- [Bug]: Security Audit CI fails — uv audit does not recognize --format flag ↗ (opens in a new tab)1 reactions · closed 19 May 2026Fixed by Update Security Audit workflow to use setup-uv v8 and uv JSON output flag ↗ (opens in a new tab)
- [Bug]: Type Errors in Lint Workflow Prevent CI from Passing ↗ (opens in a new tab)1 reactions · closed 13 Mar 2026Fixed by Fix ty check type errors and ruff format violation ↗ (opens in a new tab)
- [Bug]: Background semantic ingestion crashes/restarts when semantic storage references missing episode_ids ↗ (opens in a new tab)1 reactions · closed 3 Mar 2026Fixed by [GH-1102] Fix dangling episode_ids ↗ (opens in a new tab)
- [Bug]: Image build appears successful but resulting image is unusable when NLTK downloads fail ↗ (opens in a new tab)1 reactions · closed 26 Dec 2025Fixed by Ensure docker build fails if NLTK download fails ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Memory
See all 41| Rank | Project | Score |
|---|---|---|
| #30 | nautilus-compassLocal long-term memory and drift detection for MCP clients | 60 out of 100 |
| #31 | tradememory-protocolLocal trade memory and pre-order policy brake for AI trading agents | 59 out of 100 |
| #33 | voicememMemory engine for voice agents that retrieves while the user is still speaking | 58 out of 100 |
| #34 | memoriLong-term memory layer for LLM agents, with Python and TypeScript SDKs | 57 out of 100 |
| #35 | memvidSingle-file memory store for AI agents, with search built in | 55 out of 100 |