Cognee alternatives in 2026: agent memory tools compared with Cognee
What are the best Cognee alternatives in 2026? For facts extracted from chats, Mem0. For facts that change over time, Graphiti or Zep. For the whole stateful agent, Letta. For memory that learns from use, Hindsight. For memory, knowledge and skills in one context database, OpenViking. For user representations, Honcho. For memory across coding assistants, supermemory. For plain searchable memory on your machine, XERJ.
Key number: Cognee has 33,824 GitHub stars, is Apache-2.0, and its latest release is v1.6.11, 26 Nov 2026. Mem0 has 69,999 stars and Hindsight has 64,614.
Stars, licences and descriptions from the public GitHub API on 3 Dec 2026; latest releases from the GitHub releases API the same day. MCP support from each project's README or docs on the same day. Mem0's hosted MCP server from docs.mem0.ai.
TL;DR Cognee is an Apache 2.0 open source AI memory platform that turns documents, code and conversations into a knowledge graph your agents can search, and it runs locally. People compare alternatives when they want facts pulled out of chats, facts that track change over time, a full agent runtime, or memory kept as plain searchable text. Use the filter below to keep only the tools that match what you need.
Find the Cognee alternative that fits
Sort by
| Tool | What it is | Best for | Latest release | Licence | Stars |
|---|---|---|---|---|---|
| Cognee | Open source AI memory platform that turns documents, code and conversations into a knowledge graph agents can search | Entities and links across documents, code and chats | v1.6.11, 26 Nov 2026 | Apache-2.0 | 33,824 |
| Mem0 | Memory layer for AI agents, as a library, a self-hosted server or a cloud platform with a hosted MCP server | Facts extracted from chats, with a cloud option | ts-v3.3.1, 25 Sep 2026 | Apache-2.0 | 69,999 |
| Graphiti | Open source Python framework for building and querying temporal context graphs | Facts that change over time | mcp-v1.1.5, 24 Nov 2026 | Apache-2.0 | 33,282 |
| Zep | Zep Cloud, the managed context layer, reachable through MCP or the Zep SDKs | A managed service for agent context | zep-ingest-v0.4.1, 17 Nov 2026 | Cloud product; repo Apache-2.0 | 5,033 |
| Letta | Platform for stateful agents with memory that learns and self-improves over time | The whole agent, not only a store | 0.16.8, 14 May 2026 | Apache-2.0 | 25,635 |
| Hindsight | Agent memory that learns, with an MCP server and Hindsight Cloud as the hosted option | Memory that improves from use | v1.3.1, 2 Dec 2026 | MIT | 64,614 |
| OpenViking | Context database for AI agents that unifies memory, knowledge RAG and skills in one filesystem | Memory, knowledge and skills in one place | python-sdk 0.1.22, 2 Dec 2026 | AGPL-3.0 | 43,178 |
| Honcho | Memory library for stateful agents that reasons in the background, managed or self-hosted | Representations of users and agents | v3.7.0, 1 Dec 2026 | AGPL-3.0 | 8,383 |
| supermemory | Memory and context engine and app, with plugins and an MCP server for coding agents | Persistent memory across AI assistants | server-v0.0.9, 12 Oct 2026 | MIT | 32,046 |
| Memvid | Memory layer for AI agents in a serverless single-file format | A portable, single-file memory | v2.0.140, 27 May 2026 | Apache-2.0 | 17,449 |
| XERJ | Local search engine for AI agents with a memory API, over CLI and MCP | Plain searchable memory next to your files | v1.0.0-rc.105, 23 Nov 2026 | Apache-2.0 | 23,537 |
Read https://xerj.org/compare/cognee-alternatives-2026.md. Ask me what my agent needs to remember, whether memory must stay on my machine, whether facts change over time, and whether I need an MCP server, then tell me which Cognee alternative fits and how to set it up.
Pick one in ten seconds
- Facts extracted from chats, with a cloud option: Mem0.
- Facts that change over time: Graphiti (self-hosted) or Zep (managed).
- The whole stateful agent in one platform: Letta.
- Memory that improves from use: Hindsight.
- Memory, knowledge and skills in one context database: OpenViking.
- Representations of users and agents: Honcho.
- One memory across coding assistants: supermemory.
- A portable single-file memory: Memvid.
- Plain searchable memory next to your files, on your machine: XERJ.
Why people look for a Cognee alternative
Cognee builds a graph of entities and relationships from documents, code and conversations, and it runs locally. Teams look at other tools when they want a cloud option, a design built around change over time, a full agent runtime, or memory that is just searchable text. For more framework comparisons see Mem0 alternatives 2026 and Letta alternatives 2026.
Cognee vs Mem0
Both are Apache 2.0. Cognee has 33,824 stars, a latest release of v1.6.11, 26 Nov 2026 and an MCP server in its repository. Mem0 has 69,999 stars and ships as a library, a self-hosted server and a cloud platform; its docs describe a hosted MCP server at https://mcp.mem0.ai/mcp. Choose Cognee when you want a knowledge graph over your own documents. Choose Mem0 when you want facts extracted from conversations, with a managed option.
Cognee vs Graphiti and Zep
Graphiti is an Apache 2.0 Python framework for temporal context graphs, 33,282 stars, self-hosted. Zep is the managed context layer behind it, reachable through MCP or the Zep SDKs. Choose them when facts change and you must know what was true when. Cognee fits when the main job is turning a pile of documents into a graph.
Cognee vs Hindsight, OpenViking and Honcho
Hindsight (MIT, 64,614 stars, latest release v1.3.1, 2 Dec 2026) describes itself as agent memory that learns, with an MCP server. OpenViking (AGPL-3.0, 43,178 stars) unifies memory, knowledge and skills in one context database. Honcho (AGPL-3.0, 8,383 stars) reasons in the background about users and agents and can be managed or self-hosted. See OpenViking alternatives 2026 and Honcho alternatives 2026.
Cognee vs Letta, supermemory and Memvid
Letta (Apache-2.0, 25,635 stars) is a platform for stateful agents, so you run your agent inside it. supermemory (MIT, 32,046 stars) gives coding assistants shared memory through plugins and an MCP server. Memvid (Apache-2.0, 17,449 stars) keeps memory in a single portable file.
XERJ: a new way for AI to search for data
XERJ stores what the agent writes as plain text and finds it with search, in one local binary with no generative fact-extraction step. It is Apache 2.0 and its latest release is v1.0.0-rc.105, 23 Nov 2026. xerj mcp --http serves Streamable HTTP at http://127.0.0.1:9330/mcp, read-only unless you pass --allow-writes. A non-loopback bind needs XERJ_MCP_TOKEN. The flag is --http. The memory API is POST /_memory/{namespace} with _recall. Pick XERJ when memory and files should share one local index. See Cognee vs Mem0 vs Zep vs Letta for the design differences and the AI agent memory benchmark for measured recall.
Read next
- Cognee vs Mem0 vs Zep vs Letta
- Mem0 alternatives 2026
- Letta alternatives 2026
- OpenViking alternatives 2026
- Honcho alternatives 2026
- Agentic memory
FAQ
What is the best Cognee alternative in 2026?
It depends on the job. Mem0 fits facts extracted from chats. Graphiti or Zep fit facts that change over time. Letta fits a full stateful agent. Hindsight fits memory that learns. OpenViking fits one context database for memory, knowledge and skills. XERJ fits plain searchable memory on your machine.
Is Cognee open source?
Yes. topoteretes/cognee is Apache-2.0, with 33,824 GitHub stars on 3 Dec 2026. Its latest GitHub release is v1.6.11, 26 Nov 2026. Its README says it runs locally.
Cognee vs Mem0: which should I pick?
Pick Cognee when you want a knowledge graph built from your documents, code and chats. Pick Mem0 when you want facts extracted from conversations and a managed cloud option. Both are Apache 2.0.
What is a free alternative to Cognee?
Mem0, Graphiti, Letta, Hindsight, supermemory, Memvid and XERJ are open source under Apache 2.0 or MIT and free to self-host. OpenViking and Honcho are AGPL-3.0.
How was this page checked?
Stars, licences and descriptions came from the public GitHub API on 3 Dec 2026. Latest releases came from the GitHub releases API the same day. MCP support was read from each project's README or documentation.
Evidence
- topoteretes/cognee: 33,824 stars, Apache-2.0, v1.6.11, 26 Nov 2026.
- mem0ai/mem0: 69,999 stars, Apache-2.0, ts-v3.3.1, 25 Sep 2026. Mem0 MCP docs: hosted server at https://mcp.mem0.ai/mcp.
- getzep/graphiti: 33,282 stars, Apache-2.0, mcp-v1.1.5, 24 Nov 2026. getzep/zep: 5,033 stars, Apache-2.0.
- letta-ai/letta: 25,635 stars, Apache-2.0, 0.16.8, 14 May 2026.
- vectorize-io/hindsight: 64,614 stars, MIT, v1.3.1, 2 Dec 2026.
- volcengine/OpenViking: 43,178 stars, AGPL-3.0, python-sdk 0.1.22, 2 Dec 2026.
- plastic-labs/honcho: 8,383 stars, AGPL-3.0, v3.7.0, 1 Dec 2026.
- supermemoryai/supermemory: 32,046 stars, MIT, server-v0.0.9, 12 Oct 2026. memvid/memvid: 17,449 stars, Apache-2.0, v2.0.140, 27 May 2026.
- xerj-org/xerj: 23,537 stars, Apache-2.0, v1.0.0-rc.105, 23 Nov 2026.