COMPARISONS · AGENT MEMORY COMPARED

Best Graphiti alternatives in 2026

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

The best Graphiti alternatives in 2026 are Mem0 for personalised assistants that remember users, Cognee for graph plus vector memory from your documents, Memvid for portable memory in one file and LangMem for memory inside LangGraph agents. In one line, Graphiti is this: framework for building temporally aware knowledge graphs for AI agents. The right swap depends on how you want to run it and which licence you need.

Key number: Graphiti had 33,291 GitHub stars on 3 Dec 2026, latest release mcp-v1.1.5, 24 Nov 2026.

Stars, licences, languages and releases for 10 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers.

TL;DR The best Graphiti alternatives in 2026 are Mem0 for personalised assistants that remember users, Cognee for graph plus vector memory from your documents, Memvid for portable memory in one file and LangMem for memory inside LangGraph agents.

Try it: filter 10 tools

Graphiti and 9 alternatives, live data

Show only

Sort by

ToolWhat it isBest forRuns asLanguageLatest releaseLicenceStars
GraphitiFramework for building temporally aware knowledge graphs for AI agentsTime-aware knowledge graphs in your own stackLibrary in your processPythonmcp-v1.1.5, 24 Nov 2026Apache-2.033,291
Mem0Memory layer for AI agents that extracts, stores and retrieves user and session memoriesPersonalised assistants that remember usersLibrary in your processPythonts-v3.3.1, 25 Sep 2026Apache-2.070,021
CogneeMemory engine that turns documents into a knowledge graph plus vectors for agentsGraph plus vector memory from your documentsLibrary in your processPythonv1.6.11, 26 Nov 2026Apache-2.033,829
MemvidSingle-file memory layer for AI agents with fast retrievalPortable memory in one fileLibrary in your processRustv2.0.140, 27 May 2026Apache-2.017,450
LangMemLangChain library for agents to extract, manage and recall long-term memoryMemory inside LangGraph agentsLibrary in your processPythonNo GitHub releaseMIT1,806
claude-memClaude Code plugin that captures session context and injects it into future sessionsSession memory inside Claude CodeDatabase extensionTypeScriptv17.2.1, 3 Dec 2026Apache-2.0121,616
HindsightAgent memory system that learns from experience with retain, recall and reflect operationsAgent memory that improves over timeSelf-hosted serverPythonv1.3.1, 2 Dec 2026MIT64,660
OpenVikingContext database for AI agents that organises memory, resources and skills as a file systemHierarchical context for agentsSelf-hosted serverPythonpython-sdk 0.1.22, 2 Dec 2026AGPL-3.043,179
SupermemoryMemory API and app for AI with an MCP serverUniversal memory across AI appsManaged APITypeScriptserver-v0.0.9, 12 Oct 2026MIT32,053
XERJOne local Rust binary that indexes code, docs, logs and data, and serves cited search to agents over MCPAgents searching local files over MCPCommand-line toolRustv1.0.0-rc.105, 23 Nov 2026Apache-2.023,588

Runs in your browser and sends nothing. Tick a box to narrow the list, sort by stars or newest release. Data fetched live on 3 Dec 2026; sources in Evidence below.
PASTE THIS TO YOUR AI AGENT. IT DOES THE REST Read https://xerj.org/llms.txt. I am comparing Graphiti alternatives. Install XERJ, start a local node, run xerj autoindex on my project folder, connect xerj mcp, and show me three searches with file and line citations.

Pick one in ten seconds

What Graphiti does well

Framework for building temporally aware knowledge graphs for AI agents. It suits time-aware knowledge graphs in your own stack. It runs as a library in your process, is written mainly in Python, and its licence is Apache-2.0. Plan for this: needs a graph database such as Neo4j or FalkorDB.

How the Graphiti alternatives differ

The alternatives split by how they run:

Licences at a glance

Most recent releases

claude-mem shipped v17.2.1 on 3 Dec 2026. Hindsight shipped v1.3.1 on 2 Dec 2026. OpenViking shipped python-sdk 0.1.22 on 2 Dec 2026. A recent release is a sign of active upkeep, so check the changelog for the features you rely on.

Where XERJ fits next to Graphiti

XERJ is a new way for AI to search for data: one local Rust binary that indexes code, docs, logs and data with xerj autoindex and returns passages with file and line citations. xerj mcp is a stdio MCP server, and 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. It complements Graphiti when an agent needs answers from files on your machine.

How we checked

Stars, licences, languages and releases for 10 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers. Descriptions summarise each project's own README or documentation. Star counts move daily, so treat them as a snapshot.

Read next

FAQ

What is the best Graphiti alternative in 2026?

It depends on the job: Mem0 fits personalised assistants that remember users, Cognee fits graph plus vector memory from your documents, Memvid fits portable memory in one file, LangMem fits memory inside LangGraph agents, and XERJ fits AI agents searching local files over MCP.

Is Graphiti open source?

Graphiti is published under Apache-2.0 and had 33,291 GitHub stars on 3 Dec 2026.

Which Graphiti alternatives can I self-host?

These run on your own machines: Mem0, Cognee, Memvid, LangMem, claude-mem, Hindsight, OpenViking.

Which languages are the Graphiti alternatives written in?

Python: Mem0, Cognee, LangMem, Hindsight, OpenViking; Rust: Memvid; TypeScript: claude-mem, Supermemory. The primary language is the one GitHub reports for each repository.

Evidence