Engraphy Compare Docs ← Back to site

Engraphy › Compare › Zep

Engraphy vs Zep

Checked 24 August 2026 · Engraphy v0.1.0

The short answer

Zep is the better choice if you genuinely need bi-temporal querying: asking what the store believed at an arbitrary past instant, not just what it believes now. Graphiti gives every edge a validity window, and Engraphy does not have that. Engraphy is the better choice if you want the whole thing on one Postgres instance you already know how to run, with isolation enforced by the database and embeddings that never leave the box.

The operational difference is large. Zep today is either Zep Cloud (managed, credit-based) or standing up Graphiti yourself against Neo4j, FalkorDB or Kuzu. The Zep Community Edition was deprecated. Engraphy is docker compose up and a Postgres database.

At a glance

CapabilityEngraphyZep
DeploymentSelf-hosted only, on Postgres + pgvector. One Compose file.Zep Cloud (managed, credit-based), or run the Graphiti library yourself against a graph database.
Where your data livesYour machine or your cloud. Embeddings in-process, no egress.Zep's cloud, or your own graph database with Graphiti. LLM extraction calls a provider either way.
LicenceBusiness Source License 1.1, converting to Apache-2.0 at the Change Date.Graphiti is Apache-2.0. Zep Cloud is commercial. Zep Community Edition is deprecated.
StoragePostgres 16 + pgvector, one database you probably already operate.A temporal knowledge graph on Neo4j, FalkorDB or Kuzu, plus a vector index.
Duplicate handlingBanded on write before the row exists: merge / merge-link / pending / new.Entity resolution at ingest, driven by an LLM.
When a fact changesRetired and linked by a supersedes edge. History is walkable.Bi-temporal validity windows. Edges carry valid-from and valid-to, so you can query a past state directly.
IsolationPostgres row-level security under a NOBYPASSRLS role.User and session scoping in Zep Cloud; on raw Graphiti, whatever you build.
SchemaTyped nodes and edges with attribute schemas, enforced in Postgres.Custom entity and edge types defined in Python.
RetrievalVector plus Postgres full-text fused with reciprocal rank fusion, plus graph traversal.Hybrid semantic and BM25 search with graph traversal and rerankers.
How agents connectMCP over HTTP with a bearer token.SDK and REST API; a Graphiti MCP server exists.
ComplianceNone claimed. You are the operator, so the posture is yours.Zep Cloud carries SOC 2 Type 2 and HIPAA.

Which one to choose

Choose Zep when

  • You need real bi-temporal queries. This is Zep's sharpest advantage and Engraphy does not match it. Engraphy retires and links superseded facts, which makes history walkable, but it is not the same as querying an arbitrary past instant.
  • You want a managed service with SOC 2 Type 2 and HIPAA behind it. Engraphy has no hosted offering at all.
  • You are already running a Neo4j-class graph database and want to use it.
  • You want Apache-2.0 with no field-of-use restriction, and Graphiti as a library rather than a server.
  • You want a much larger community and a longer track record than a v0.1.0 engine has.

Choose Engraphy when

  • You would rather operate one Postgres than a graph database plus a vector index. Engraphy's whole store is Postgres 16 with pgvector.
  • You want no outbound calls on the write path. Engraphy's embedding model runs in-process; there is no API key.
  • You need isolation the database enforces rather than the application. Row-level security under a NOBYPASSRLS role, per space.
  • You want the borderline duplicate handed back to you rather than resolved by a model.
  • You want a memory shape you declare and Postgres enforces, rather than one the ingest pipeline infers.

Bi-temporal versus supersession: the difference matters

Both systems refuse to overwrite history, but they do it differently, and Zep's version is more powerful.

Graphiti gives each edge a validity window. A fact is not just true or retired; it is true between these two instants, and the graph separately records when the system learned it. That lets you reconstruct the state of the world at an arbitrary past moment.

Engraphy records the new version and keeps the old one linked by a supersedes edge. You can always ask what was true and when, by walking the chain. What you cannot do is issue a single query for “the state of this space as of March”. Full bi-temporal querying is not built. If your problem is auditing a changing world, such as contracts, prices or org charts, that gap is the reason to choose Zep.

The operational bill is very different

Since the Community Edition was deprecated, self-hosting Zep means running Graphiti directly: standing up and operating Neo4j, FalkorDB or Kuzu, handling schema migrations, and keeping a graph database healthy in production. That is a real skill set and a real cost.

Engraphy is a Postgres application. docker compose up -d brings up Postgres and pgvector, runs the migrations, provisions a non-superuser app role, and starts the MCP server. If your team already backs up and monitors a Postgres, Engraphy adds a schema to something you already run rather than a new class of database to learn.

What the benchmark says, and what it does not

Ahead of Mem0, Mem0-graph and Zep on every LoCoMo category under the published evaluation conventions, across two independent runs. Overall, 91.4%, mean of two runs, range 91.0 to 91.8, against Zep's own self-reported 75.14%, the higher of the two Zep figures in circulation. By question type, against Zep as Mem0 measured it: single-hop 93.3% against 76.6%, multi-hop 91.8% against 61.7%, temporal reasoning 92.2% against 49.3%, and open-domain 69.3% (n=140) against 41.4%.

Under Engraphy's own stricter convention, where the system is allowed to say it does not know, the overall figure is 75.4%, mean of two runs, range 74.8 to 76.0: level with Zep's self-reported figure under our stricter convention, ahead of the published Mem0 and Mem0-graph figures. Competitor per-category figures are realigned from the Mem0 paper's Table 2, whose column headers do not name the LoCoMo categories they hold; the methodology below the benchmark bars shows how the alignment was verified, and gives the confidence interval on every figure here.

What the benchmark says

Engraphy91.4%
Zep75.1%
Mem0-graph68.4%
Mem066.9%
LangMem58.1%
OpenAI memory52.9%
A-Mem48.4%

LoCoMo accuracy with the adversarial category excluded, under matched conventions. Ahead of Mem0, Mem0-graph and Zep on every LoCoMo category under the published evaluation conventions, across two independent runs. The Zep bar is Zep's own self-reported 75.14%. Mean of two independent runs on the seven LoCoMo conversations held out from tuning, graded under the conventions vendored from mem0ai/memory-benchmarks at 4b61c5d.

By question type, under matched conventions, against Mem0, Mem0-graph and Zep.

Question typeEngraphyMem0Mem0-graphZep
Excluding adversarial91.4%66.9%68.4%75.1%
Single-hop93.3%72.9%75.7%76.6%
Multi-hop91.8%67.1%65.7%61.7%
Temporal reasoning92.2%55.5%58.1%49.3%
Open-domain (n=140)69.3%51.2%47.2%41.4%

Engraphy measured under the published conventions, mean of two runs over seven conversations; comparators as published by Mem0 (arXiv:2504.19413, Table 2), with the Zep overall taken from Zep's own higher self-reported figure of 75.14%. Category columns realigned, see the report. Open-domain is 140 questions pooled across both runs: like-for-like 69.3%, n=140, 95% interval 61 to 76.

Engraphy: runs locomo-settle-a (3 October 2026) and locomo-settle-b (9 October 2026), two independent runs of the same configuration, each re-ingesting from scratch, engine aa7daa2. 1,486 questions per run over the seven LoCoMo conversations held out from all tuning (conv-41, conv-42, conv-43, conv-44, conv-47, conv-48 and conv-50), 1,151 of them non-adversarial. Reader Claude Opus 4.8, judge Claude Sonnet 5. Competitor figures from Chhikara et al., Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory, arXiv:2504.19413, Table 2; the Zep overall of 75.14% from Zep's own published rerun. Full method in the consolidated report, raw artifacts in results/locomo/locomo-settle-a and results/locomo/locomo-settle-b.

75.4% under Engraphy's own stricter convention, mean of two runs, range 74.8 to 76.0: 1,736 of 2,302, 95% interval 74 to 77. Engraphy's strict convention is harder than the one the published figures use, so this is the conservative figure, not a like-for-like one. Level with Zep's self-reported figure under our stricter convention, ahead of the published Mem0 and Mem0-graph figures. See both conventions.

Methodology, conventions and caveats

Two conventions, both reported

Matched convention reproduces the conventions the published Mem0, Mem0-graph and Zep figures were produced under, vendored verbatim from mem0ai/memory-benchmarks at 4b61c5d: the reader must commit to an answer rather than decline, the judge accepts one item of a multi-item gold answer with 14-day date and 50% duration tolerance, adversarial questions are excluded, and each answer is graded once. This is the like-for-like comparison, and the source of 91.4% (2,104 of 2,302 across both runs).

Strict convention is Engraphy's own default and the harder of the two: the reader may say it does not know, the judge requires every item of the gold answer, each answer is graded best of three, and adversarial questions are included and scored. This is the source of 75.4% (1,736 of 2,302 across both runs).

Engraphy's strict convention, by question type

Question typeEngraphyMem0Mem0-graphZep
Excluding adversarial75.4%66.9%68.4%75.1%
Single-hop83.3%72.9%75.7%76.6%
Multi-hop55.9%67.1%65.7%61.7%
Temporal reasoning76.7%55.5%58.1%49.3%
Open-domain (n=140)54.3%51.2%47.2%41.4%
Adversarial, declines correctly90.3%not reportednot reportednot reported

These put Engraphy's harder convention against figures produced under the permissive one, so they understate Engraphy relative to the like-for-like table. Under this convention multi-hop is behind all three. Ahead on single-hop, temporal reasoning and open-domain even under Engraphy's own stricter convention, where the system is allowed to say it does not know.

Why multi-hop differs between the two

Multi-hop gold answers usually list several items. The matched judge accepts one item and the strict judge requires every item, so the same stored memories and the same retrieved context score a mean of 91.8% under one rule and 55.9% under the other. The gap is a property of the grading rule, not of retrieval.

The category alignment

The Mem0 paper's per-category column headers (arXiv:2504.19413, Table 2) do not name the LoCoMo categories they hold. Of the 24 possible assignments of its four columns to LoCoMo's four non-adversarial categories, exactly one reproduces the paper's own published overall for all five systems it reports, to within 0.01: the paper's "Single-Hop" column holds LoCoMo's multi-hop category, "Multi-Hop" holds open-domain, "Open-Domain" holds single-hop, and "Temporal" holds temporal. Every per-category comparison on this page uses that assignment, applied by code in the benchmark repository rather than by hand.

Confidence intervals

95% intervals across both runs: matched, excluding adversarial, 90 to 92; strict, excluding adversarial, 74 to 77. Open-domain is 140 questions pooled across both runs, so it carries the widest interval: matched 69.3%, interval 61 to 76. Under the published conventions every margin is 16 points or more, and each run's own figure, not only the mean, sits above every competitor figure including Zep's self-reported one with its stated error. The intervals cover sampling error; the range across the two runs covers run-to-run variation. Run-to-run spread is under 1.3 points on both conventions, across two runs that each re-ingested the corpus from scratch.

How the setup differs from the published figures

Sample: 7 of LoCoMo's 10 conversations, the ones held out from tuning. The published figures cover all 10.

Runs: two independent runs, each re-ingesting the corpus from scratch. Mem0's published figure is the mean of 10.

Models: Claude Opus 4.8 reader, Claude Sonnet 5 judge. The published figures use a GPT-4o-mini reader. A reader model is part of any memory system's measured result, and neither side's figure isolates retrieval from reading.

Context budget: Engraphy competes with at most 25 memories in context, where the matched convention permits 200.

The like-for-like figure is raw: the confabulation controls that bounded the earlier three-conversation figure have not been rerun for these runs.

The Zep figure

Mem0 published 65.99% for Zep; Zep self-reports 75.14%. The higher figure is used throughout.

Mem0's 92.5%

Mem0's research page (mem0.ai/research) reports 92.5%. It states no retrieval budget, answerer or judge model, judge prompt or run count, so it is not used as a comparator.

Reproducing every figure

Verify it yourself: the public benchmark repository holds the per-question results for both runs, and every number recomputes from them with python scripts/consolidate.py results/locomo/locomo-settle-a results/locomo/locomo-settle-b. The consolidated report carries the full method and the derivation of the category alignment, and each run's PROVENANCE.md (settle-a, settle-b) records the engine commit, dataset hash, models and prompt hashes.

What Engraphy does not do

Stated plainly, so that nothing here has to be walked back:

Questions people ask

Does Engraphy support bi-temporal queries like Zep?

No. Engraphy retires superseded facts and links them with a supersedes edge, so history is walkable and you can ask what was true and when. Full bi-temporal querying, asking for the state of the store at an arbitrary past instant in one query, is not built. Zep's Graphiti does have validity windows on edges.

Can I still self-host Zep?

The Zep Community Edition was deprecated and its code moved to a legacy folder. Self-hosting today means running the Graphiti library yourself against Neo4j, FalkorDB or Kuzu, and operating that graph database in production. Engraphy self-hosts on Postgres with pgvector.

Which needs less infrastructure, Engraphy or Zep?

Engraphy. Its entire store is Postgres 16 with the pgvector extension, brought up by one docker compose command. Graphiti needs a graph database plus a vector index, and Zep Cloud needs no infrastructure at all but is a managed service you send data to.

Does either one keep my data on my own machine?

Engraphy always does. It is self-hosted only and its embedding model runs in-process, so there is no API key and no egress on the write path. Graphiti can run on your infrastructure but calls an LLM provider for extraction. Zep Cloud is a hosted service.

Is Zep or Engraphy better for compliance?

Zep Cloud carries SOC 2 Type 2 and HIPAA, which Engraphy has no equivalent of because there is no hosted Engraphy. What Engraphy gives you instead is that the data never leaves your infrastructure and tenant isolation is enforced by Postgres row-level security.

Sources

Try it against your own memory

Engraphy is a server you host. Point any MCP client at it. Embeddings run in-process, so there is no API key and no data leaves the box.

Install for VS Code Self-host quickstart Developer docs