Graphiti vs Memlo: which to use for agent memory

Last updated

Graphiti is an open-source Python framework, from Zep, for building temporal knowledge graphs: it turns text into entities and facts, tracks when each fact was true, and runs on a graph database you host, such as Neo4j or FalkorDB. Memlo is a hosted memory server for the agents you already use: Claude Code, Codex, claude.ai, ChatGPT and other MCP apps share memories that agents save on purpose, each with its own version history. Pick Graphiti to build graph memory into your own agent or app and host it yourself. Pick Memlo to give your own agents and your team one shared memory with nothing to run.

At a glance

Facts about Graphiti come from its own repository and documentation, read on October 31, 2026. Links are in Sources at the end.

GraphitiMemlo
What it isAn open-source framework for building and querying temporal knowledge graphsA hosted MCP memory server for your agents
Built forDevelopers building agents and apps in PythonPeople and teams who want their agents to share one memory
How you use itA Python library (Python 3.10 or later); a reference MCP serverA hosted MCP server; nothing to install
How memories are madeA model extracts entities and facts from each "episode" of text you addThe agent saves a memory with a tool when something is worth keeping
Changing factsBi-temporal: old facts are invalidated, not deleted, so you can ask what was true at a point in timeEvery change to a memory is a version; old versions can be read and restored
What you runA graph database (Neo4j, FalkorDB or Amazon Neptune) and an LLM provider key, by default OpenAINothing
HostingSelf-hosted only; Zep is the hosted product built on itHosted only, in the United States
Which agent wrote each changeEvery entity and relationship traces back to the episodes that produced it; no per-change author documentedEvery version records the person and the connected app or agent that wrote it; memory_history lists them
Restore an earlier versionNot documented; past facts stay queryable by timeYes: restore_memory brings back any version, as a new version
Share with a personNot part of the libraryA space or a single page, by email as a Viewer or an Editor, with a link, or with a team
LicenseApache 2.0Not open source
PriceFree and open source; you pay for your database and model callsFree during the invitation-only beta
Can you start todayYesBy invitation; join the waitlist

How Graphiti works

You add "episodes" (messages, documents or JSON) to Graphiti. A language model reads each one and pulls out entities and the relationships between them, and Graphiti stores them in a graph with their time ranges. In its own words, it offers "explicit bi-temporal tracking with automatic fact invalidation": when a fact changes, "old facts are invalidated — not deleted," so you can ask what is true now or what was true at an earlier time. Search combines the graph with text and vector search.

Graphiti needs a graph database (Neo4j, FalkorDB or Amazon Neptune; Kuzu support is deprecated) and a model provider. It defaults to OpenAI for both extraction and embeddings, and its README says it depends on models that reliably return structured (JSON) output.

Graphiti has an MCP server, but its README calls it a "reference implementation" and says not to use it in production: "The server has no authentication, no authorization, and no prompt-injection protection." It runs on your computer with FalkorDB or Neo4j, over HTTP or stdio.

How Memlo works

Memlo is an MCP server at https://memlo.ai/mcp. You add it to each agent and sign in once, with no API key. Agents get tools to save, search, read, change and retire memories.

Where Graphiti is the better choice

Where Memlo is the better choice

What Memlo doesn't do yet

Frequently asked questions

Is Graphiti open source?

Yes. Graphiti is under the Apache 2.0 license. You run it yourself with your own graph database and model provider.

What is the difference between Graphiti and Zep?

Graphiti is the open-source framework. Zep's documentation calls it "the open-source framework for building temporal knowledge graphs — Context Graphs — that power Zep." Zep is the hosted, managed product. See Zep vs Memlo.

Does Graphiti have an MCP server?

Yes, in its repository. Its README says it is a reference implementation, not for production, with no authentication or authorization. It needs FalkorDB or Neo4j and a model API key.

What is a knowledge graph memory MCP server?

An MCP server that stores memory as entities and the relationships between them. Graphiti's MCP server is one. The MCP project's own reference "Memory" server is a simpler one: "a basic implementation of persistent memory using a local knowledge graph," kept in a file on your computer. Memlo also builds a graph of the people, projects and tools your memories mention, with a page for each.

Is there a Graphiti alternative for Claude Code and Codex?

Memlo is one if you want hosted memory for those agents rather than a framework: Claude Code, Codex and chat apps connect to the same server. See also Cognee vs Memlo and Mem0 vs Memlo.

Sources

Checked on October 31, 2026:

Try Memlo

Memlo is invitation only for now. Join the waitlist and we'll email you when your invitation is ready.

Join the waitlist