COMPARISONS · AGENT MEMORY

Cognee alternatives in 2026: agent memory tools compared with Cognee

AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-12-03 · UPDATED · 2026-12-03
SHORT ANSWER · UPDATED 2026-12-03

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.

TOOL · FILTER

Find the Cognee alternative that fits

I need

Sort by

ToolWhat it isBest forLatest releaseLicenceStars
CogneeOpen source AI memory platform that turns documents, code and conversations into a knowledge graph agents can searchEntities and links across documents, code and chatsv1.6.11, 26 Nov 2026Apache-2.033,824
Mem0Memory layer for AI agents, as a library, a self-hosted server or a cloud platform with a hosted MCP serverFacts extracted from chats, with a cloud optionts-v3.3.1, 25 Sep 2026Apache-2.069,999
GraphitiOpen source Python framework for building and querying temporal context graphsFacts that change over timemcp-v1.1.5, 24 Nov 2026Apache-2.033,282
ZepZep Cloud, the managed context layer, reachable through MCP or the Zep SDKsA managed service for agent contextzep-ingest-v0.4.1, 17 Nov 2026Cloud product; repo Apache-2.05,033
LettaPlatform for stateful agents with memory that learns and self-improves over timeThe whole agent, not only a store0.16.8, 14 May 2026Apache-2.025,635
HindsightAgent memory that learns, with an MCP server and Hindsight Cloud as the hosted optionMemory that improves from usev1.3.1, 2 Dec 2026MIT64,614
OpenVikingContext database for AI agents that unifies memory, knowledge RAG and skills in one filesystemMemory, knowledge and skills in one placepython-sdk 0.1.22, 2 Dec 2026AGPL-3.043,178
HonchoMemory library for stateful agents that reasons in the background, managed or self-hostedRepresentations of users and agentsv3.7.0, 1 Dec 2026AGPL-3.08,383
supermemoryMemory and context engine and app, with plugins and an MCP server for coding agentsPersistent memory across AI assistantsserver-v0.0.9, 12 Oct 2026MIT32,046
MemvidMemory layer for AI agents in a serverless single-file formatA portable, single-file memoryv2.0.140, 27 May 2026Apache-2.017,449
XERJLocal search engine for AI agents with a memory API, over CLI and MCPPlain searchable memory next to your filesv1.0.0-rc.105, 23 Nov 2026Apache-2.023,537

Stars, licences and descriptions from the public GitHub API on 3 Dec 2026; latest GitHub releases from the releases API the same day. Release tags are shown as published, so some are for one SDK or component of a project. The Zep row shows the getzep/zep repository. Tick boxes to keep only the tools that do all of them; sort by stars, newest release or name.
PASTE THIS TO YOUR AI AGENT. IT DOES THE REST 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

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

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