MemOS alternatives are other memory systems that give an AI agent facts to remember across sessions. Four strong picks are Mem0, Cognee, Graphiti and Hindsight. MemOS is a “Memory Operating System” that stores memory as a graph, supports knowledge-base “cubes,” and runs as a Docker stack with Neo4j and Qdrant. The usual reasons to look for an alternative are that the Docker stack is more than you want to run, or that you want a memory service that is easier to call from any framework.
Facts below come from each project’s README, read on 28 November 2026, and from the GitHub API for license, stars and last push. For the head-to-head with Hindsight, see MemOS vs Hindsight.
Alternatives at a glance
| Tool | What it is | License | What it needs to run | Install | Published benchmark (who ran it) |
|---|---|---|---|---|---|
| MemOS (for reference) | Memory Operating System: graph memory, knowledge-base cubes, plugins | Apache 2.0 | Docker stack: MemOS API, Neo4j, Qdrant. Or uvicorn with an env file | Docker compose, or the docs | LoCoMo 88.83, LongMemEval 89.20 (MemTensor, through OmniMemEval) |
| Mem0 | Memory layer for user and agent facts | Apache 2.0 | Library with a vector store and LLM key; or self-hosted server with docker compose | pip install mem0ai | LoCoMo 92.5, LongMemEval 94.4 on its managed Platform (Mem0) |
| Cognee | Knowledge graph memory: remember, recall, improve, forget | Apache 2.0 | pip or Docker; text memory can run on local models with no LLM key | pip install cognee | BEAM 100K 0.79 on a 0-1 scale (Cognee) |
| Graphiti | Temporal knowledge graph framework | Apache 2.0 | Neo4j 5.26, FalkorDB 1.1.2 or Amazon Neptune; OpenAI key by default | pip install graphiti-core | None in its README |
| Hindsight | Memory server: retain, recall, reflect | MIT, full server included | PostgreSQL with pgvector, or embedded pg0; Docker or pip | docker run (see its README) | LongMemEval 94.6, BEAM 1M 73.9 (Vectorize) |
Every benchmark here is the project’s own run, with its own settings. None is an independent audit, so use the numbers to shortlist, then test on your own data. The agent memory leaderboard lists how each number was measured.
Mem0
Mem0 is the closest thing to a plug-in memory layer. You add messages, and it extracts facts with an LLM and stores them per user, session or agent. Its README lists three ways to run it: the mem0ai library (pip install mem0ai), a self-hosted server started with docker compose in its server/ folder, or the managed Mem0 Platform. The library is Apache 2.0.
Its README reports LoCoMo 92.5 and LongMemEval 94.4 for the managed Platform. It also says the open-source SDK gets “directionally similar gains but not identical numbers.”
- Pick Mem0 if you want a memory API you call from your own code, and you do not need a knowledge graph of documents.
- Look elsewhere if you need a graph of entities and relations that you run yourself. The Mem0 README read for this page does not describe one.
Cognee
Cognee builds a knowledge graph and a vector index from documents, code and conversations, which is the closest match to MemOS’s graph-first design. Its four calls are remember, recall, improve and forget. It is Apache 2.0, and its README says text ingestion and retrieval work with no LLM key, using local models.
The README also says that using Postgres as a graph store is a demo feature. Its BEAM 100K score of 0.79 is on a 0 to 1 scale, so it cannot be compared directly with scores on a 0 to 100 scale.
- Pick Cognee if your memory is mostly documents, code and company knowledge, and you want a graph.
- Look elsewhere if you need a production-ready graph store with no demo caveats.
More in Cognee alternatives.
Graphiti
Graphiti is a temporal knowledge graph framework under Apache 2.0. Each fact is an edge with a validity window. When information changes, the old fact is marked invalid rather than deleted, so you can query what was true on a past date. That is a clear difference from MemOS’s graph, which the README describes as “inspectable and editable by design.”
You bring the graph database. The README lists Neo4j 5.26, FalkorDB 1.1.2 and Amazon Neptune, and it says “Graphiti defaults to using OpenAI for LLM inference and embedding.” It works best with models that support structured output.
- Pick Graphiti if you need strict validity windows on facts and can run a graph database.
- Look elsewhere if you want one service rather than a framework, or if you do not need a graph.
For Graphiti next to Zep, see Zep alternatives.
Hindsight
Hindsight is an MIT-licensed memory server. retain extracts facts, entities and time with an LLM. recall runs four searches in parallel (semantic, keyword, graph and time range) and reranks the results. reflect reasons over the stored memories to answer a question. Storage is PostgreSQL with pgvector, or an embedded pg0, so it needs no graph database and no separate vector database.
It ships integrations for LangGraph, CrewAI, LlamaIndex, Pydantic AI and the OpenAI Agents SDK, plus plugins for coding agents. Because it is a server, several agents can share one memory. Its published scores are LongMemEval S 94.6, LoCoMo 92 and BEAM 1M 73.9, all run by Vectorize, which makes Hindsight. Its README says collaborators at Virginia Tech and The Washington Post reproduced its results. That is a reproduction by collaborators, not an independent audit.
- Pick Hindsight if you want a single memory service on PostgreSQL, shared by agents in several frameworks, with
reflectand open-source self-hosting. - Look elsewhere if you need a knowledge graph of your own documents, since Hindsight is a memory server, not a document RAG platform.
Limits to check first:
- You run a server, or pay for Hindsight Cloud.
- Every
retaincalls an LLM, so writes cost model calls. - Recall returns more context by default. Set
max_tokenslower if the prompt must stay small.
Which one to pick
| If you need | Pick |
|---|---|
| A memory library you call from your code, with an optional self-hosted server | Mem0 |
| A knowledge graph over documents, code and conversations | Cognee |
| Facts with validity windows, on a graph database you run | Graphiti |
A memory server on PostgreSQL, shared by many agents, with reflect | Hindsight |
| Graph memory with knowledge-base cubes and a Docker stack, in one project | MemOS |
Checked on 28 November 2026
- MemOS: README (Apache 2.0; about 12,500 stars, last push 2026-11-27).
- Mem0: README (Apache 2.0; about 69,600 stars, last push 2026-11-27).
- Cognee: README (Apache 2.0; about 33,700 stars, last push 2026-11-28).
- Graphiti: README (Apache 2.0; about 33,200 stars, last push 2026-11-27).
- Hindsight: README and benchmarks site, as summarised in our Hindsight notes from October 2026.