Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

docs: refresh the competitor comparison with 2026-10-13 research

AkitaOnRails80a35c63469d
diff --git a/README.md b/README.md
index cffacd47..508145cf 100644
--- a/README.md
+++ b/README.md
@@ -161,12 +161,12 @@ carries over from each tool and what you gain:
| Coming from… | What's similar | What you gain |
|---|---|---|
-| **Mem0 / fact extractors** (LangMem) | Automatic per-turn capture | Memory compiles into readable **pages** you own and edit, not opaque fact rows; retrieval fuses FTS + entity + graph (+ optional vectors), not vector-only |
+| **Mem0 / fact extractors** (LangMem) | Automatic per-turn capture | Memory compiles into readable **pages** you own and edit, not opaque fact rows; retrieval fuses FTS + entity + graph (+ local vectors) with no cloud API key |
| **Zep / Graphiti** (temporal KG) | Temporal reasoning, typed relations | Bi-temporal-lite (`as_of`, version-filtered search) and typed edges without standing up a graph database, in one binary |
-| **mcp-memory-service** (closest sibling) | SQLite + local embeddings, hook capture, typed edges, honest numbers, and, on 2.4, per-tier decay curves, extractive compression, DBSCAN cold-cluster dedup, access reinforcement, and contradiction flagging | Human-editable markdown **pages** instead of fact-rows, cross-agent claim-once handoffs, and the same aging machinery done **zero-LLM by default, reversibly** (supersede-not-delete + `restore-page`), and **off by default** |
-| **basic-memory** (file-first sibling) | Markdown-on-disk as the source of truth | Automatic lifecycle capture and a derived FTS/entity/graph index on top, cross-agent handoffs, and multi-user sharing built in |
+| **mcp-memory-service** (fact rows, SQLite) | SQLite + local embeddings, hook capture, typed edges, honest numbers, and, on 2.4, per-tier decay curves, extractive compression, DBSCAN cold-cluster dedup, access reinforcement, and contradiction flagging | Human-editable markdown **pages** instead of fact-rows, cross-agent claim-once handoffs, and the same aging machinery done **zero-LLM by default, reversibly** (supersede-not-delete + `restore-page`), and **off by default** |
+| **basic-memory** (file-first markdown) | Markdown-on-disk as the source of truth | Automatic lifecycle capture and a derived FTS/entity/graph index on top, cross-agent handoffs, and multi-user sharing built in |
| **Claude Code built-in memory** | "Remember my project" convenience, zero setup | Synced across machines and agents, searchable, team-capable, and captures tool lifecycle, unlike a per-laptop `MEMORY.md` |
-| **Hindsight / OpenViking** (hosted, LLM-required) | Living pages / document memory with a background consolidation loop, plus, on 2.4, belief-strength confidence plus an opt-in LLM "dream" rewrite of cold clusters | A self-contained binary that runs zero-LLM by default and keeps memory in files you own; per-project team sharing instead of strict per-bank isolation; the dream/belief features are **opt-in, off by default, and never delete a source** (vs a mandatory LLM loop) |
+| **Hindsight / OpenViking** (LLM or VLM in the loop) | Living pages / document memory with a background consolidation loop, plus, on 2.4, belief-strength confidence plus an opt-in LLM "dream" rewrite of cold clusters | A self-contained binary that runs zero-LLM by default and keeps memory in markdown files that are the source of truth, not a mirror; claim-once handoffs; the dream/belief features are **opt-in, off by default, and never delete a source** (vs a mandatory LLM loop) |
| **Supermemory / LiquidLM** (hosted memory API) | A managed second brain with automatic ingestion | Git-versioned markdown you own, no required API spend, offline operation, and per-project team sharing; ai-memory remembers *this repo*, not a general vault |
Across all of these, ai-memory gives you files you own (git-backed markdown),
diff --git a/docs/benchmarks/README.md b/docs/benchmarks/README.md
index eaa9989a..89587827 100644
--- a/docs/benchmarks/README.md
+++ b/docs/benchmarks/README.md
@@ -89,7 +89,14 @@ baseline-vs-baseline determinism check is clean (all accuracy/token deltas `0.00
different index and document construction. Our grep engine reproduces
agentmemory's grep adapter on all 470 questions, so the question set and
metric match, but no ranking between the two systems is claimed. The decomposition report has the
- details.
+ details. agentmemory's 2026-10-09 baseline adds 84.68% strict
+ recall-all@5 and 452/470 any-hit, which its authors say supports no
+ competitive claim. MemPalace publishes 96.6% R@5 raw and 98.4% on 450
+ held-out questions, also retrieval-only and from a different harness.
+ Mem0, Zep, Hindsight and EverOS publish end-to-end QA accuracy, where an
+ LLM answers from retrieved context and an LLM judges the answer; those are
+ a different metric from `hit@5`. [comparison.md](../comparison.md) lists
+ each setup.
- **Regression gate.** Roadmap items 2-6 re-run this benchmark; a change
that lowers a slice materially is a regression to fix, not a note to
publish.
diff --git a/docs/comparison.md b/docs/comparison.md
index 23d0c14f..b95f8929 100644
--- a/docs/comparison.md
+++ b/docs/comparison.md
@@ -8,107 +8,133 @@ analysis behind it is in [`research-2026-landscape.md`](research-2026-landscape.
and the per-project research docs; the numbers are from
[`benchmarks/`](benchmarks/README.md), reproducible from the in-repo harness.
+
## The short version
-Most memory tools optimize one of: extracting atomic **facts** per turn
-(Mem0, LangMem), a temporal **knowledge graph** (Zep/Graphiti), an
-agent-editable **memory OS** (Letta, MemOS), or a hosted **context database**
-(OpenViking). ai-memory instead keeps **a git-backed markdown
-wiki as the source of truth, with a derived index for retrieval**, captured
-automatically from lifecycle hooks and shared across agents and machines.
+Most memory tools optimize one of: extracting atomic **facts** (Mem0,
+LangMem), a temporal **knowledge graph** (Zep/Graphiti, Cognee), an
+agent-editable **memory OS** (Letta, MemOS), a **context database**
+(OpenViking), or **hook capture for coding agents** (claude-mem, MemPalace,
+agentmemory, and the coding plugins of most of the above). ai-memory keeps
+**a git-backed markdown wiki as the source of truth, with a derived index
+for retrieval**, captured automatically from lifecycle hooks and shared
+across agents and machines.
-What sets it apart:
+Coding-agent memory is now the most-starred part of this field, and two
+choices that used to set ai-memory apart are now common: several tools keep
+memory as git-backed or editable markdown (Letta, Supermemory's memoryrepo,
+OpenViking, EverOS), and hook capture is standard in the coding plugins.
+What still sets ai-memory apart:
-- **Cross-agent and cross-machine by construction.** One server; 20+ harnesses
+- **Zero-LLM by default.** Capture, FTS5 + entity + graph retrieval, local
+ embeddings, and rule-based summaries all work with **no API key**. An LLM is
+ opt-in for richer consolidation; nothing requires one.
+- **Git-versioned markdown is the source of truth, not a mirror.** The wiki
+ is plain markdown + YAML frontmatter, a native
+ [Open Knowledge Format](okf.md) (OKF v0.2) bundle. You can `grep` it, open
+ it in Obsidian, edit it by hand, or `rsync` it. The SQLite index is derived
+ and rebuildable.
+- **Claim-once handoffs and typed cross-project messaging.** Quit one agent,
+ open another in the same repo, and you get a handoff that is owned and
+ claimed exactly once. Projects can message each
+ other through a typed queue ([agent messaging](agent-messaging.md)).
+- **Per-project multi-user auth on one self-hosted binary.** An auth ladder
+ (root → DB-user tokens → OIDC), per-person attribution, an audit log, and
+ the invariant that **pages are shared per project while handoffs stay
+ owned**. Bundled SQLite and vendored libgit2 mean no external services; it
+ runs on a laptop, a homelab box, or a LAN server, with no paid tier.
+- **Capture under the harness you already use.** One server; 20+ harnesses
(Claude Code, Codex, Cursor, Gemini, OpenCode, Kimi, …) feed and read the
- same memory. Quit one agent, open another in the same repo, and you get a
- handoff. Handoffs are a typed protocol (owned, claimed exactly once) instead
- of a note file. Replication between servers is not automatic; in 2.7
+ same memory. Replication between servers is not automatic; in 2.7
(unreleased) the `ai-memory-wikisync` companion adds two-way,
conflict-aware sync between a server's wiki and a git repository.
-- **Zero-LLM default.** Capture, FTS5 + entity + graph retrieval, local
- embeddings, and rule-based summaries all work with **no API key**. An LLM is
- opt-in for richer consolidation; nothing requires one.
-- **Files are the truth.** The wiki is plain markdown + YAML frontmatter, a
- native [Open Knowledge Format](okf.md) (OKF v0.2) bundle. You can `grep` it, open it
- in Obsidian, edit it by hand, or `rsync` it. The SQLite index is derived and
- rebuildable. Nothing is trapped in a vector store or binary blob.
-- **Multi-user without a paid tier.** It has an auth ladder (root → DB-user tokens →
- OIDC), per-person attribution, an audit log, and the invariant that **pages are
- shared per project while handoffs stay owned**, so team use is built in.
-- **One self-contained binary.** Bundled SQLite, vendored libgit2; no external
- services to stand up. It runs on a laptop, a homelab box, or a LAN server.
-It also publishes numbers, produced by the in-repo harness with full
+It also publishes retrieval numbers, produced by the in-repo harness with full
provenance and measured end to end through the shipped capture pipeline:
-**LongMemEval-S hit@5 about 0.82** with the default local embeddings (0.823 and
-0.815 in the two published full-set runs) and 0.666 zero-LLM in 2.6. The
-observation stream in 2.7 (unreleased, on by default) raises zero-LLM to
-**0.951** and local embeddings to **0.936** on all 470 questions, measured on
-one build with the stream off and on.
-With capture skipped and each raw session indexed whole (component mode,
-ranking only), zero-LLM FTS scores 0.972; the
+LongMemEval-S hit@5 **0.666** zero-LLM and **0.815** with the default local
+embeddings in the published 2.6 line. The observation stream in 2.7
+(unreleased, on by default) raises zero-LLM to **0.951** and local embeddings
+to **0.936** on all 470 questions, measured on one build with the stream off
+and on. With capture skipped and each raw session indexed whole (component
+mode, ranking only), zero-LLM FTS scores 0.972; the
[decomposition report](benchmarks/longmemeval-s-decomposition-2026-10-12.md)
-explains the difference. For context on the same dataset, mcp-memory-service
-reports 0.804 R@5, and agentmemory publishes 95.2% `recall_any@5` from a
-component harness (whole raw sessions, BM25 plus vectors, reranker disabled).
-Pipeline and component numbers are not like-for-like, so this page claims no
-ranking between them. See
-[where we're behind](#where-were-behind-or-different-by-choice).
+explains the difference.
+
+Other tools publish numbers of different kinds. MemPalace's 96.6% R@5 (raw)
+and 98.4% (450 held-out questions) are retrieval-only, the closest in kind
+to our hit@5, though from a different harness. agentmemory publishes 95.2%
+`recall_any@5` from a component harness (whole raw sessions, reranker
+disabled), and mcp-memory-service 0.804 R@5. Mem0, Zep, Hindsight and EverOS
+publish end-to-end QA accuracy, where an LLM reads the retrieved context and
+an LLM judges the answer, with their own reader and judge models and context
+budgets. None of these is like-for-like with ours or with each other, so this
+page claims no ranking; the table under
+[where we're behind](#where-were-behind-or-different-by-choice) lists each
+setup.
## By camp
| Approach | Representatives | Strength | Trade-off vs ai-memory |
|---|---|---|---|
-| Fact extractors | Mem0, LangMem | Cheap per-turn personalization | Atomic facts lose relational/causal context (see [TriMem](research-2026-landscape.md#4-research-developments-worth-knowing)); LLM-per-turn; not file-first |
-| Hosted memory API (hybrid) | **Supermemory**, **LiquidLM** | Chunk-RAG + LLM temporal fact-graph + per-user profiles in one query; managed connectors (Drive/Notion/GitHub), multimodal, metadata/tag query filters | Cloud-first (best features + extraction are paid/hosted); LLM-required quality path; an opaque store is the source of truth (not file-first, nothing to `grep`/diff). Supermemory's MIT self-host binary drops the connectors + extraction models; LiquidLM is closed-source and cloud-only (no self-host at all) |
+| Coding-agent hook capture | **claude-mem**, **MemPalace**, agentmemory | Lifecycle hooks tuned for Claude Code and Codex; large user bases; claude-mem shows past observations for a file when the agent reads it and answers native memory-folder reads from its store; MemPalace has a team server and temporal graph | claude-mem runs an LLM "observer" over every observation (SQLite FTS5 + Chroma) and has a paid cloud tier; agentmemory keeps state in iii-engine's KV store (file-backed or Redis) with a one-way Obsidian export; ai-memory adds claim-once handoffs and typed cross-project messaging |
+| Fact extractors | Mem0, LangMem | Cheap personalization; Mem0 retrieval fuses semantic + BM25 + entity matches, and it ships native coding plugins for seven agents with repo, subdirectory and per-user scopes | Atomic facts lose relational/causal context (see [TriMem](research-2026-landscape.md#4-research-developments-worth-knowing)); LLM extraction; not file-first; Mem0's coding plugins need a Mem0 cloud API key and send telemetry under the account email |
+| Hosted memory API (hybrid) | **Supermemory**, **LiquidLM** | Chunk-RAG + LLM temporal fact-graph + per-user profiles in one query; managed connectors (Drive/Notion/GitHub), multimodal, metadata/tag query filters; Supermemory's Claude Code and Codex plugins capture through lifecycle hooks and inject matches on every prompt | Cloud-first (best features + extraction are paid/hosted); LLM-required quality path; the default store is opaque. Supermemory's self-host server binary is not open source (free within a lite licence), lacks its MCP server, and has telemetry on by default; LiquidLM is closed-source and cloud-only |
| User-modeling / theory-of-mind | **Honcho** (Plastic Labs) | Reasoning-derived model of what each "peer" knows/believes over time; personalizes around the *human* the agent serves | Different problem: it remembers the *user*, ai-memory remembers the *project*. Opaque Postgres, LLM-required (Deriver/Dreamer), multi-service stack; adjacent (shares MCP/plugin delivery) but not a coding-memory migration target. ai-memory borrowed the *conveniences*, not the engine: an opt-in dialectic **answer** over its own hits and a **reasoning** tier now ship (both off by default, LLM-required) |
-| Temporal knowledge graph | Zep/Graphiti, Cognee | Bi-temporal "what was true vs believed when" | Needs a graph DB; heavier to self-host. ai-memory ships **bi-temporal-lite** on SQLite ([`temporal.md`](temporal.md)) + typed edges ([`typed-edges.md`](typed-edges.md)) for the useful part |
-| Memory OS / self-editing | Letta, MemOS, MIRIX | Agent curates its own tiered memory | Token-expensive self-editing; Letta itself now concedes file-first ("Is a Filesystem All You Need?") |
-| Hosted context database | **OpenViking** (ByteDance) | Progressive L0/L1/L2 loading; directory-scoped retrieval; broad integrations | LLM-**required** (VLM + embeddings); opaque swappable storage; AGPLv3 core + SaaS/enterprise weight |
-| Paper-backed pages | **Hindsight** (Vectorize) | "Mental models" = living markdown pages an agent boots from; belief-strength consolidation; a preprint | Postgres/pgvector-primary, LLM-required; strict per-bank isolation (no team-sharing within a project). ai-memory now ships belief-strength `confidence` + an opt-in LLM "dream" rewrite, both zero-LLM-default-preserving, off by default, and R2-gated before default-on |
-| Closest sibling (fact-row twin) | doobidoo/mcp-memory-service | SQLite(+vec), local ONNX, hook capture, typed edges, honest numbers | What ai-memory would be if it chose fact-rows over wiki **pages** |
+| Temporal knowledge graph | Zep/Graphiti, Cognee | Bi-temporal "what was true vs believed when"; Cognee adds data connectors (Drive, Gmail, Slack), a repo code-graph indexer, and a Claude Code plugin listed in Anthropic's plugin directory | Graphiti needs a graph database (Neo4j, FalkorDB, or the embedded FalkorDBLite); Cognee 1.6 runs on embedded SQLite + LanceDB + Kuzu files and can start without an LLM key. In both, memory lives in database files, not git-versioned markdown. ai-memory ships **bi-temporal-lite** on SQLite ([`temporal.md`](temporal.md)) + typed edges ([`typed-edges.md`](typed-edges.md)) for the useful part |
+| Memory OS / self-editing | Letta (now Letta Code), MemOS, MIRIX | Agent curates its own tiered memory; Letta's memory is a git repo of markdown files with a `MEMORY.md` index, written by "dreaming" subagents through git worktrees | Token-expensive self-editing; Letta's V1 server is retired and its memory lives inside its own harness (Letta Code, Letta Cloud by default), not under the harness you already use |
+| Context database | **OpenViking** (ByteDance) | Progressive L0/L1/L2 loading; global recall + rerank with subtree filters; editable markdown memories; plugins for seven coding agents; a v0.5 gateway proxy that injects recall and keeps prompt caches valid | Needs a VLM (Ollama works); embeddings are local by default; AGPLv3 self-hostable server; its `ov-kanban` task handoff has no claim-once guard |
+| Paper-backed pages | **Hindsight** (Vectorize) | "Mental models" = living markdown pages an agent boots from; belief-strength consolidation; a preprint; a coding-agent package that hooks 16+ agents, ingests git history, and shares one bank per repo; reranker on by default | Postgres/pgvector-primary; needs an LLM (local via Ollama/llama.cpp, or a Claude/ChatGPT/Copilot subscription); markdown is a one-way mirror of the database. ai-memory ships belief-strength `confidence` + an opt-in LLM "dream" rewrite, both zero-LLM-default-preserving, off by default, and gated on a recall eval before default-on |
+| Fact-row store with hook capture | doobidoo/mcp-memory-service | SQLite(+vec), local ONNX, hook capture, typed edges, published numbers | Stores fact rows where ai-memory stores wiki **pages** |
| Platform-native | Claude Code auto-memory | Zero setup, on by default | Machine-local, **no sync**, single-agent, repo-scoped, no tool-lifecycle capture, no team |
| **File-first wiki (ai-memory)** | ai-memory, basic-memory, OKF | Human-editable markdown truth + derived index; cross-agent; zero-LLM default; multi-user | No local reranker yet; LLM-optional means no VLM fact-extraction sophistication |
-| File-first wiki (LLM-leaning) | **memU**, **EverOS** | Markdown source of truth + derived vector/SQLite(+LanceDB) indexes; offline consolidation; skill distillation from session history | LLM-required for the core capture/distill flow (no zero-LLM default); Python multi-service + a hosted-cloud option, vs one self-contained zero-LLM binary; memU patches host instruction files rather than exposing a git-diffable wiki |
+| File-first wiki (LLM-leaning) | **memU**, **EverOS** | Markdown source of truth + derived vector/SQLite(+LanceDB) indexes; offline consolidation; skill distillation from session history; EverOS ships an MCP server and published benchmarks; memU auto-detects unknown agents | LLM-required for the core capture/distill flow (no zero-LLM default); Python stacks + a hosted-cloud option, vs one self-contained zero-LLM binary; memU has no MCP server and patches host instruction files rather than exposing a git-diffable wiki |
| Self-hosted coding-agent store | **Engram** | Single Go binary, SQLite+FTS5, MCP stdio, project-scoped, `mem_session_summary` handoffs, git-sync across machines | Structured rows the agent saves through MCP tools (SQLite is the truth, git-syncs compressed chunks), not a hand-editable git-markdown wiki captured automatically from lifecycle hooks |
| Governed multi-agent / fleet memory | **Caura** | Shared fleet memory: agent/team/org visibility scopes, four trust tiers, audit log, PII flagging, contradiction/supersession, auto knowledge graph | Fleet-governance-first on Postgres+pgvector (LLM extraction), hosted option; ai-memory optimizes one project's git-backed wiki with `pages shared, batons owned`, not org-scale fleet governance |
-| Shared memory server (proxy fan-in) | **TencentDB Agent Memory** | One proxy in front of many harnesses distills chats/docs/code into Chat Memory / Skill / Wiki / CodeGraph assets | Proxy base-URL interception, not MCP or OS lifecycle hooks; despite the name it needs no Tencent DB product (SQLite by default); a Node three-service stack vs one file-first binary |
+| Shared memory server (proxy fan-in) | **TencentDB Agent Memory** | One proxy in front of many harnesses distills chats/docs/code into Chat Memory / Skill / Wiki / CodeGraph assets; v2 adds per-asset access control (private / team / restricted / agent) | Proxy base-URL interception, not MCP or OS lifecycle hooks; the v2 hub needs an LLM; despite the name it needs no Tencent DB product (SQLite by default); a Node three-service stack vs one file-first binary |
## Maturity and maintenance
-This is a crowded, fast-moving field, and **every tool
-compared here is actively maintained** (as of 2026-09-18, all had commits within
-the last ~10 days, and none was stale or archived; the five new-entrant rows below
-were verified 2026-09-22, and the agentmemory row was re-checked 2026-10-10).
-Raw GitHub popularity, though,
-tracks funding and app-developer reach more than coding-agent fitness. The
-star leaders are the app-personalization and hosted-context players (a different
-buyer), while the tools closest to ai-memory's file-first, self-hosted,
-coding-continuity niche are smaller by design.
+This is a crowded, fast-moving field, and nearly every tool compared here is
+actively maintained. As of 2026-10-13, the tools re-checked that day had
+commits in October, with two exceptions: Letta's original server is retired
+(its work continues in Letta Code), and memvid has had no commits since
+2026-07-14. Coding-agent memory now sits at the top of the star chart:
+claude-mem leads, MemPalace is third, and most of the app-memory leaders
+(Mem0, Hindsight, OpenViking, Supermemory, Cognee) ship coding-agent plugins.
| Project | Stars (~) | Latest release | Maintenance |
|---|---|---|---|
-| Mem0 | 65.6k | 2026-09-18 | active |
-| OpenViking | 38.0k | 2026-09-14 | active |
-| Zep/Graphiti | 31.0k | 2026-09-08 | active |
-| Cognee | 30.8k | 2026-09-15 | active |
-| Supermemory | 30.1k | 2026-08-17 | active |
-| agentmemory | 29.3k | v0.9.30 (2026-10-06) | active |
-| TencentDB Agent Memory | 27.2k | v2.0.1 (2026-08-25) | active |
-| Letta | 24.8k | 2026-05-14 | active (releases lag code) |
-| Hindsight | 23.9k | 2026-09-14 | active |
-| memU | 14.4k | v1.5.1 (2026-03-23) | active (releases lag code) |
-| EverOS | 13.1k | v1.3.1 (2026-09-08) | active |
-| Honcho | 7.2k | tag v3.2.0 | active |
-| Engram | 6.8k | v2.0.0 (2026-09-18) | active |
-| basic-memory | 4.0k | 2026-08-25 | active |
-| mcp-memory-service | 2.0k | 2026-09-14 | active |
-| LangMem | 1.7k | PyPI-only | active |
-| Caura | 0.5k | backend-v3.17.2 (2026-09-19) | active |
-| LiquidLM | closed-source | `@liquidlm/cli` 0.1.5 (2026-09-17) | active (young, solo) |
+| claude-mem | 100.3k | v13.37.0 (2026-10-13) | active |
+| Mem0 | 67.1k | core v2.2.1 (2026-09-25) | active |
+| MemPalace | 59.5k | v3.10.0 | active |
+| Hindsight | 49.1k | v1.0.0 (2026-10-13) | active |
+| OpenViking | 39.8k | v0.5.0 (2026-10-09) | active |
+| Cognee | 32.2k | v1.6.3 (2026-10-07) | active |
+| Zep/Graphiti | 31.7k | v0.30.2 (2026-09-08) | active |
+| Supermemory | 31.2k | server-v0.0.9 (2026-10-12) | active |
+| agentmemory | 29.4k | v0.9.30 (2026-10-06) | active |
+| TencentDB Agent Memory | 28.6k | v2.0.2 (2026-10-09) | active |
+| Letta (V1 server) | 25.1k | 0.16.8, frozen | retired (archived 2026-08-16) |
+| Letta Code | 3.6k | v0.34.13 (2026-10-13) | active |
+| Memori | 17.1k | not re-read | not re-read |
+| memvid | 16.6k | not re-read | no commits since 2026-07-14 |
+| memU | 14.5k | PyPI `memu-cli` 0.11.0b3 (2026-08-21) | active |
+| EverOS | 13.4k | v1.4.1 (2026-09-24) | active |
+| MemOS | 11.8k | v2.0.34 | not re-read |
+| Honcho | 7.2k | tag v3.2.0 | active (as of 2026-09-18) |
+| Engram | 6.8k | v2.0.0 (2026-09-18) | active (as of 2026-09-22) |
+| basic-memory | 4.0k | 2026-08-25 | active (as of 2026-09-18) |
+| mcp-memory-service | 2.0k | 2026-09-14 | active (as of 2026-09-18) |
+| LangMem | 1.7k | PyPI-only | active (as of 2026-09-18) |
+| Caura | 0.5k | backend-v3.17.2 (2026-09-19) | active (as of 2026-09-22) |
+| LiquidLM | closed-source | `@liquidlm/cli` 0.1.5 (2026-09-17) | active (young, solo; as of 2026-09-22) |
-Full figures, sources, and per-tool caveats: [`research-2026-landscape.md`](research-2026-landscape.md#popularity-and-maintenance-signal-as-of-2026-09-18).
+Adjacent tools, not memory systems: codebase-memory-mcp (~46.5k, a code
+graph), qmd (~30.4k, markdown search), context-mode (~27.9k, survives
+compaction with a hook-fed per-project SQLite FTS5 store) and beads (~27.8k,
+an issue tracker with `bd remember`).
+
+Full figures, sources, and per-tool caveats: [`research-2026-landscape.md`](research-2026-landscape.md#popularity-and-maintenance-signal-as-of-2026-10-13).
## How the field validates the approach
@@ -118,18 +144,23 @@ design choices independently:
- **Google standardized file-first.** The [Open Knowledge Format](okf.md) (June
2026), markdown + YAML frontmatter with one concept per file and no runtime, is
the interop layer for agent memory. ai-memory's wiki is a native OKF bundle.
-- **Letta conceded the filesystem.** The leader of the "memory OS" camp
- published that agents post-trained for file search rival specialized memory
- systems. That is the file-as-truth + derived-index split ai-memory uses.
-- **Hindsight's paper supports pages over facts.** A funded competitor on the
- *opposite* (Postgres, LLM-required) substrate makes its top tier "mental
+- **Letta moved its memory into git-backed markdown.** Since February 2026
+ ("context repositories") every Letta agent's memory is a git repository of
+ markdown files with YAML frontmatter and a `MEMORY.md` index, with no vector
+ index by default. That is ai-memory's substrate, inside Letta's own harness.
+- **Hindsight's paper supports pages over facts.** A competitor on a
+ different substrate (Postgres, LLM in the loop) makes its top tier "mental
models": living markdown pages a background process rewrites and the agent
boots from. That is ai-memory's `wiki/` + [auto-improve loop](auto-improvement-loop.md)
under another name, backed by arXiv:2512.12818.
- **OpenViking uses document memory + a consolidation loop.** ByteDance's
- entrant stores document/directory-scoped memory (not atomic facts) with a
- background extract/merge pass and a "compile" step into wikis. That is the same
- shape as ai-memory's consolidation, from an LLM-required starting point.
+ entrant stores document/directory-scoped memory as editable markdown (not
+ atomic facts) with a background extract/merge pass and a "compile" step into
+ wikis. That is the same shape as ai-memory's consolidation, from a
+ VLM-required starting point.
+- **Hook capture became standard.** claude-mem, MemPalace, Mem0, Supermemory,
+ Hindsight, OpenViking and Cognee all capture coding sessions through
+ harness lifecycle hooks now.
- **The literature backs it.** TriMem (arXiv:2605.19952) argues document/page/
narrative hierarchies beat atomic-fact stores; the Storage→Reflection→
Experience survey (arXiv:2605.06716) names cross-trajectory abstraction as
@@ -178,7 +209,7 @@ ai-memory's own zero-LLM, file-first terms (design of record:
Two of these, belief-strength folded into ranking and the dream pass, change
behavior only where a provider is configured and the operator opts in,
-and both are **off by default and gated on a recall eval (R2) before they may
+and both are **off by default and gated on a recall eval before they may
default on**. No eval has shown a gain yet (the zero-LLM benchmark corpus
has no consolidation evidence for belief-strength to act on), so ai-memory
claims *parity of mechanism, not a measured quality win*: the code ships,
@@ -188,15 +219,81 @@ operator turns it on.
## Coming from another tool?
+Each entry lists what you gain by moving and what you give up. Where a tool
+ships something ai-memory does not, it is named.
+
+- **From claude-mem:** you keep automatic hook capture and progressive
+ search. You gain zero-LLM capture (claude-mem runs an LLM "observer" over
+ every observation), git-versioned markdown as the source of truth instead
+ of SQLite + Chroma, the same memory under 20+ harnesses, claim-once
+ handoffs, cross-project messaging, and per-project multi-user auth without
+ a paid cloud tier. You give up its to-do tools, the bridge that answers
+ Claude Code's and Codex's native memory-folder reads from its store, and
+ the past observations it shows when the agent opens a file.
+- **From MemPalace:** you keep hook capture for Claude Code, Codex and Cursor
+ and a shared server. You gain git-versioned markdown pages as the source
+ of truth, claim-once handoffs, typed cross-project messaging, and the auth
+ ladder. You give up its temporal graph. Its 96.6% / 98.4% R@5 and our hit@5
+ are both retrieval-only, but from different harnesses, so neither number
+ ranks the tools.
+- **From agentmemory:** you keep automatic hook capture for coding agents
+ and keyless operation by default. You gain markdown in git as the
+ source of truth (agentmemory keeps its state in iii-engine's KV store,
+ file-backed or Redis, with a one-way Obsidian export), session summaries and
+ handoffs without an LLM key (agentmemory's summarize step does nothing
+ without one), one process instead of a Node worker plus the iii-engine
+ binary, workspace/project isolation with adversarial tests, per-user auth
+ with DB tokens and OIDC, claim-once handoffs and cross-project messaging,
+ guarded backup/restore/purge, and no runtime dependency under the Elastic
+ License (iii-engine's engine is ELv2). You give up editing and forgetting
+ memories in a browser (the 2.7 web UI adds page history with diffs, a
+ session timeline, a recall trace and a health panel, but stays read-only by
+ design), the iii console's OpenTelemetry traces (ai-memory 2.7 has
+ per-stream timings in `explain=true` and a root-only Prometheus
+ `/admin/metrics` instead), the coordination tools (leases, actions,
+ routines, signals, sentinels), mesh sync (the nearest equivalent is the
+ git-based `ai-memory-wikisync` companion), image memory, the two-way Claude
+ `MEMORY.md` bridge, PaaS deploy templates, an npm package (ai-memory 2.7
+ installs natively on Linux and macOS in two commands, `install.sh` and then
+ `ai-memory setup`, but has no `npx` route, and Windows gets no service
+ step), and the opt-in local cross-encoder reranker. The benchmark numbers are not
+ like-for-like (component vs pipeline, see above). To move your data, the
+ `ai-memory-importer` companion (2.7) reads agentmemory's Obsidian vault
+ (`agentmemory-vault`) or its `ExportData` JSON (`agentmemory-export`), and
+ `ai-memory doctor` flags agentmemory MCP entries and rules-file guideline
+ blocks left behind; see
+ [Coming from agentmemory](cookbook.md#coming-from-agentmemory).
- **From Mem0 / a fact extractor:** you keep automatic capture, but memory
compiles into readable **pages** you can open and edit, not opaque fact rows.
- Retrieval fuses FTS + entity + graph + vectors instead of vector-only.
+ Both fuse lexical and semantic retrieval (Mem0 combines semantic, BM25 and
+ entity matches; ai-memory fuses FTS + entity + graph + local vectors). You
+ gain capture and retrieval with no cloud API key and no telemetry (Mem0's
+ coding plugins need a Mem0 cloud key and report under the account email),
+ plus handoffs and cross-project messaging. You give up Mem0's native
+ plugins for seven coding agents, its failed-command-to-fix capture with a
+ `problems_and_fixes` category, its subdirectory search scope, and its
+ cloud-only user profiles.
- **From Zep/Graphiti:** you get bi-temporal-lite (`as_of`, version-filtered
- search) and typed edges in one binary, without standing up a graph database.
+ search) and typed edges in one binary, without standing up a graph
+ database. You give up true world-time validity, graph queries, custom
+ entity/edge types, and hosted Zep's Context MCP server with per-user OIDC
+ sign-in and a write kill switch.
+- **From Cognee:** you gain git-versioned markdown as the source of truth
+ (Cognee keeps memory in SQLite + LanceDB + Kuzu files), the same memory
+ under 20+ harnesses, claim-once handoffs, cross-project messaging, and
+ per-project multi-user auth. You give up its data connectors (Drive, Gmail,
+ Slack), the repo code-graph indexer and statusline in its Claude Code
+ plugin, and a listing in Anthropic's official plugin directory.
+- **From Letta / Letta Code:** both keep memory as git-versioned markdown
+ files. The difference is where memory lives: Letta argues memory belongs
+ inside the harness and ships its own (Letta Code, with Letta Cloud as the
+ default backend), while ai-memory sits under the harness you already use,
+ zero-LLM by default and self-hosted. You give up Letta's "dreaming"
+ subagents and an agent that edits its own memory.
- **From Claude Code's built-in memory:** the same "remember my project"
convenience, but synced across machines and agents, searchable, usable by a
team, and capturing tool lifecycle, where the built-in memory is a per-laptop `MEMORY.md`.
-- **From mcp-memory-service:** a very close sibling. The switch is fact-rows →
+- **From mcp-memory-service:** the switch is fact-rows →
wiki pages (human-editable markdown truth) and cross-agent handoffs as a
first-class protocol. Cross-project [agent messaging](agent-messaging.md) is
new ground neither had as a typed queue. On aging you keep what you relied on:
@@ -207,31 +304,43 @@ operator turns it on.
**off by default** so an upgrade evicts nothing.
- **From Supermemory / LiquidLM (a hosted memory API):** you trade a cloud
vault and a managed multimodal RAG service for a self-contained binary whose
- memory lives in git-versioned markdown you own, works zero-LLM by default, and
- captures your coding sessions automatically through lifecycle hooks instead of
- explicit uploads. You give up (for now) their multimodal ingestion
- (video/audio/PDF/Office), a polished consumer web app + grounded chat, and
- managed hosting; you gain data ownership, no required API spend, offline
- operation, per-project team sharing, and (opt-in on the 2.4 line) a
- pin-before-search contract and a bounded related-pages graph walk over the link
- neighbours ai-memory already computes. The jobs differ: they build a general
- "second brain," while ai-memory remembers *this repo*.
-- **From Hindsight / OpenViking:** you trade a hosted, LLM-required service for
- a self-contained binary that runs zero-LLM by default and keeps memory in
- files you own. The consolidation shape you came for is here on 2.4: a
+ memory lives in git-versioned markdown you own and works zero-LLM by
+ default. Supermemory's Claude Code, Codex and OpenCode plugins also capture
+ through lifecycle hooks now, sharing one container per repository; its
+ isolation is a tag, and its self-hosted server binary is not open source.
+ You give up (for now) their multimodal ingestion (video/audio/PDF/Office), a
+ polished consumer web app + grounded chat, managed hosting, and
+ Supermemory's recall injected on every prompt; you gain data ownership, no
+ required API spend, offline operation, claim-once handoffs, per-project
+ team sharing, and (opt-in on the 2.4 line) a pin-before-search contract and
+ a bounded related-pages graph walk over the link neighbours ai-memory
+ already computes. The jobs differ: they build a general "second brain,"
+ while ai-memory remembers *this repo*.
+- **From Hindsight:** you trade a Postgres-primary service that needs an LLM
+ (local or by subscription) for a self-contained binary that runs zero-LLM
+ by default and keeps memory in markdown files that are the source of truth,
+ not a mirror. The consolidation shape is here on 2.4: a
belief-strength `confidence` over evidence and an idle-scheduled,
cancel-on-activity, surprisal-first LLM "dream" rewrite of cold clusters.
Both are **opt-in layers that never delete a source** (the pre-merge versions
stay reachable), **off by default and gated on a recall eval before
- default-on**, and sit over a zero-LLM core instead of forming a mandatory loop. OpenViking's
- L0/L1/L2 progressive tiers map onto ai-memory's extractive tier-down
- (abstract + summary + keep-tokens). You give up (for now) their VLM-driven
- extraction depth and their published headline accuracy numbers; you gain no
- vendor lock-in, no required API spend, and per-project team sharing rather
- than strict per-bank isolation.
-- **From Engram (self-hosted coding-agent store):** the closest operational
- sibling among the newcomers: a single self-hosted binary, SQLite+FTS5, MCP,
- project scope, and session-summary handoffs. The switch is Engram's
+ default-on**, and sit over a zero-LLM core instead of forming a mandatory
+ loop. Both tools share memory across agents in one repository (Hindsight
+ through one bank per repo with user/team/company scopes inside it). You
+ give up its git-history ingestion, its 16+ agent hook installer, a reranker
+ on by default, image and file ingestion, and its published end-to-end QA
+ numbers.
+- **From OpenViking:** you trade a self-hostable AGPL server that needs a VLM
+ for a zero-LLM binary under a permissive licence. OpenViking's L0/L1/L2
+ progressive tiers map onto ai-memory's extractive tier-down (abstract +
+ summary + keep-tokens). You gain claim-once handoffs (its `ov-kanban`
+ skill passes tasks as markdown files without a claim guard) and per-project
+ multi-user auth; you give up its VLM-driven extraction depth, its
+ ACLs and user groups, and the v0.5 gateway proxy that injects recall into
+ any Anthropic- or OpenAI-compatible client.
+- **From Engram (self-hosted coding-agent store):** a single self-hosted
+ binary, SQLite+FTS5, MCP, project scope, and session-summary handoffs. The
+ switch is Engram's
agent-saved structured rows (the agent calls `mem_*` MCP tools; SQLite is the
truth, git-syncing compressed chunks) → ai-memory's automatic lifecycle-hook
capture compiled into a hand-editable git-markdown **wiki**, plus typed
@@ -241,12 +350,14 @@ operator turns it on.
- **From memU / EverOS (file-first, LLM-leaning):** you keep markdown as the
source of truth, but ai-memory's core capture, retrieval, and summaries run
**zero-LLM by default** rather than requiring a provider for the capture/
- distill flow, and ship as one binary instead of a Python multi-service stack.
+ distill flow, and ship as one binary instead of a Python stack.
memU's skill-distillation and EverOS's offline consolidation map onto
ai-memory's [experience pass](experience.md) + auto-improve loop; EverOS's
SQLite+LanceDB derived indexes map onto ai-memory's derived SQLite/FTS5(+local
- embeddings). You give up (for now) memU's turnkey skill-distillation packaging
- and hosted cloud, and EverOS's LanceDB vector tier.
+ embeddings). You give up (for now) memU's turnkey skill-distillation
+ packaging, its `memu-agent detect` for unknown agents, and its hosted cloud,
+ and EverOS's ANN vector index, optional Milvus backend and published
+ end-to-end benchmark.
- **From Caura (governed multi-agent fleet memory):** a different buyer. Caura
optimizes org-scale fleet governance (agent/team/org visibility scopes, four
trust tiers, an audit log, PII flagging) on Postgres+pgvector with LLM
@@ -257,70 +368,79 @@ operator turns it on.
file-first, zero-LLM, single-binary project memory, use ai-memory. (Caura's
trust-tier governance is a real capability we do not match; see
[`competitive-parity.md`](competitive-parity.md).)
-- **From agentmemory:** the closest sibling in intent: automatic hook capture
- for coding agents, keyless by default. You gain markdown in git as the
- source of truth (agentmemory keeps its state in iii-engine's KV store,
- file-backed or Redis, with a one-way Obsidian export), session summaries and
- handoffs without an LLM key (agentmemory's summarize step does nothing
- without one), one process instead of a Node worker plus the iii-engine
- binary, workspace/project isolation with adversarial tests, per-user auth
- with DB tokens and OIDC, claim-once handoffs and cross-project messaging,
- guarded backup/restore/purge, and no runtime dependency under the Elastic
- License (iii-engine's engine is ELv2). You give up editing and forgetting
- memories in a browser (the 2.7 web UI adds page history with diffs, a
- session timeline, a recall trace and a health panel, but stays read-only by
- design), the iii console's OpenTelemetry traces (ai-memory 2.7 has
- per-stream timings in `explain=true` and a root-only Prometheus
- `/admin/metrics` instead), the coordination tools (leases, actions,
- routines, signals, sentinels), mesh sync (the nearest equivalent is the
- git-based `ai-memory-wikisync` companion), image memory, the two-way Claude
- `MEMORY.md` bridge, PaaS deploy templates, an npm package (ai-memory 2.7
- installs natively on Linux and macOS in two commands, `install.sh` and then
- `ai-memory setup`, but has no `npx` route, and Windows gets no service
- step), and the opt-in local cross-encoder reranker. The benchmark numbers are not
- like-for-like (component vs pipeline, see above). To move your data, the
- `ai-memory-importer` companion (2.7) reads agentmemory's Obsidian vault
- (`agentmemory-vault`) or its `ExportData` JSON (`agentmemory-export`), and
- `ai-memory doctor` flags agentmemory MCP entries and rules-file guideline
- blocks left behind; see
- [Coming from agentmemory](cookbook.md#coming-from-agentmemory).
- **From TencentDB Agent Memory (proxy fan-in server):** you trade a Node
three-service proxy that intercepts each harness's API base URL (distilling
Chat Memory / Skill / Wiki / CodeGraph assets) for a file-first binary that
captures through OS lifecycle hooks and stores git-versioned markdown you own.
Despite the name, TencentDB Agent Memory needs no Tencent database (SQLite by
- default). You give up its zero-code proxy integration and its CodeGraph code
- index (an adjacent, codebase-intelligence feature ai-memory does not do); you
- gain hook capture, a git-markdown wiki, typed handoffs, and zero-LLM operation.
+ default). You give up its zero-code proxy integration, the v2 hub's
+ per-asset access control, and its CodeGraph code index (an adjacent,
+ codebase-intelligence feature ai-memory does not do); you gain hook
+ capture, a git-markdown wiki, typed handoffs, and zero-LLM operation.
## Where we're behind, or different by choice
+- **Distribution through plugin directories.** Cognee's Claude Code plugin is
+ listed in Anthropic's official plugin directory, and Mem0, Supermemory and
+ OpenViking ship native plugins per agent. ai-memory
+ installs with `install.sh` and `ai-memory setup` (2.7) or `install-hooks`,
+ not from a plugin marketplace.
+- **An installer that detects and wires every agent.** `ai-memory setup`
+ (2.7) wires MCP, hooks and Agent Skills for each detected agent on Linux and
+ macOS. Hindsight's coding-agent package covers 16+ agents, and memU's
+ `memu-agent detect` finds unknown agents' transcripts. Windows has no
+ service step yet.
+- **No end-to-end QA number.** We publish retrieval hit@5; Mem0, Zep,
+ Hindsight and EverOS publish end-to-end QA accuracy with a reader and a
+ judge model. Our opt-in `answer=true` synthesis (2.4) has only an early,
+ small-sample QA result (see
+ [`benchmarks/retrieval-ab-r2.md`](benchmarks/retrieval-ab-r2.md)), so it is
+ not a headline claim.
+- **No git-history ingestion.** Hindsight ingests a repository's git history
+ on first run. ai-memory's `backfill` replays native agent transcripts, not
+ commits.
+- **Recall is injected at session start, not on every prompt.** Supermemory's
+ plugins search and inject on every prompt, and OpenViking's gateway injects
+ recall into each request. ai-memory's hooks inject the session brief at
+ session start (on the first prompt for harnesses without a start hook);
+ later recall is an agent tool call.
+- **No "show what was recalled" view in the agent.** The 2.7 web UI has a
+ recall trace with per-stream ranks, but the agent session has no compact
+ card showing the user which memories were injected.
- **Retrieval through capture, and no local reranker.** Through the shipped
- pipeline, LongMemEval-S hit@5 is about 0.82 with local embeddings and 0.666
+ pipeline, LongMemEval-S hit@5 is 0.815 with local embeddings and 0.666
zero-LLM (2.6); the 2.7 observation stream raises them to 0.936 and 0.951. Ranking
the same raw sessions whole scores 0.972 zero-LLM. The
[decomposition](benchmarks/longmemeval-s-decomposition-2026-10-12.md) traced
the gap to capture, and within capture not to the 2 KB privacy cap (pages holding exactly the captured text
score 0.968) but the zero-LLM session page, which indexed only short turn
- titles. agentmemory's published 95.2% is a component number with its
- reranker disabled, so it is not like-for-like with ours. The only
- reranker is LLM-as-judge, so the zero-LLM default path has none; the opt-in
- `answer=true` dialectic synthesis (2.4) is likewise LLM-required, off by
- default, and its end-to-end QA-accuracy result is early and small-sample (see
- [`benchmarks/retrieval-ab-r2.md`](benchmarks/retrieval-ab-r2.md)), so we do
- not make it a headline claim.
+ titles. The only reranker is LLM-as-judge, so the zero-LLM default path has
+ none, while Hindsight turns one on by default and agentmemory and
+ basic-memory ship local ones.
- **Belief-strength and the dream pass ship, but off, with no proven win yet.**
The 2.4 memory-aging set includes the two pieces that could move retrieval
*quality*, folding belief-strength `confidence` into ranking authority and
the LLM "dream" rewrite of cold clusters, but both are **off by default and
- gated on a recall eval (R2) that has not shown a gain yet**. We claim parity of
+ gated on a recall eval that has not shown a gain yet**. We claim parity of
*mechanism* with Hindsight/mcp-memory-service here, not a measured recall or
- QA improvement. Until R2 shows a positive delta the accurate statement is
+ QA improvement. Until the eval shows a positive delta the accurate statement is
"shipped, opt-in, unproven," and the default path is unchanged.
-- **Headline benchmark comparability.** Hindsight quotes 91.4% *accuracy* and
- OpenViking quotes LoCoMo lifts. Those are different datasets/metrics than our hit@5,
- and both are self-reported/preprint. We publish a reproducible harness and a
- single stated metric instead of a bigger number.
+- **Headline benchmark comparability.** Published numbers in this field
+ measure different things:
+
+ | Tool | Number | Kind | Setup |
+ |---|---|---|---|
+ | ai-memory 2.7 (unreleased) | LongMemEval-S hit@5 0.951 FTS / 0.936 local (2.6: 0.666 / 0.815) | Retrieval through capture | In-repo harness, all 470 questions; component mode FTS 0.972 |
+ | MemPalace | 96.6% R@5 raw, 98.4% held-out (450 q) | Retrieval only | Different harness |
+ | agentmemory | 95.2% `recall_any@5`; 2026-10-09 baseline 96.2% any-hit, 84.68% strict recall-all@5 | Retrieval, component | Whole raw sessions, reranker disabled; the authors say the baseline supports no competitive claim |
+ | Mem0 | LongMemEval 94.4, LoCoMo 92.5, BEAM 64.1 (1M) / 48.6 (10M) | End-to-end QA, LLM-judged | Managed platform, top-200 budget; harness defaults to gpt-4o reader and judge; headline models not stated |
+ | Zep | LongMemEval 90.2%, LoCoMo 94.7% | End-to-end QA, LLM-judged | gpt-5.4 reader and judge, cross-encoder rerank, ~5K context tokens; no public harness |
+ | Hindsight | LongMemEval-S 94.6%, LoCoMo 92.0%, BEAM-10M 64.1% | End-to-end QA, LLM-judged | AMB harness, Gemini reader and judge (model unverified), ~43.6K context tokens per question |
+ | EverOS | LongMemEval-S 94.00, LoCoMo 94.42 | End-to-end, LLM in the loop | Judge unverified; its website says 83.00% |
+ | Supermemory | 95% Recall@15 (README), 97% "Recall@20" (research page) | Mixed | The 97% repeats in an LLM-judge table |
+
+ None of these is like-for-like, and all but ours are self-reported. We
+ publish a reproducible harness and a single stated metric.
- **No VLM fact extraction.** Because the default path is zero-LLM, ai-memory
does not do the LLM-per-turn atomic extraction the fact-extractor and
LLM-required systems build on. Consolidation is opt-in and page-shaped.
diff --git a/docs/competitive-parity.md b/docs/competitive-parity.md
index 868aa5c6..ad557004 100644
--- a/docs/competitive-parity.md
+++ b/docs/competitive-parity.md
@@ -1,6 +1,7 @@
# Competitive parity & migration-worthiness
-A self-critical internal audit, September 2026. Sibling to the public
+A self-critical internal audit, September 2026, refreshed 2026-10-13 with
+the research and gap decisions below. Companion to the public
[`comparison.md`](comparison.md) (the fair pitch) and
[`research-2026-landscape.md`](research-2026-landscape.md) (what each competitor
does + what to borrow). This doc asks the question the pitch
@@ -33,7 +34,9 @@ None of the competitors below has more than one or two of these; none has all.
embeddings, and rule-based summaries all work with no API key (invariant #13).
- **Files are the source of truth.** A git-backed markdown wiki, committed every
consolidation pass, so you can `grep`/diff/Obsidian/rsync it. The DB is a rebuildable
- index. (Letta's own "Is a Filesystem All You Need?" concession validates this.)
+ index. Git-backed markdown is now common (Letta's context repositories,
+ Supermemory's memoryrepo, EverOS), so what still counts is markdown as the
+ *source of truth* under a zero-LLM default.
- **One self-contained binary**: bundled SQLite, vendored libgit2, no sidecar,
no external DB, no graph server.
- **Cross-harness lifecycle capture** across 20+ harnesses through a typed
@@ -42,38 +45,56 @@ None of the competitors below has more than one or two of these; none has all.
"both agents read the same files."
- **Multi-user shared-within-project** ("pages shared, batons owned", invariant
#16), self-hosted, with no paid tier.
-- **Honest, reproducible benchmarks**: LongMemEval-S hit@5 about 0.82 local and
- 0.666 zero-LLM through the shipped pipeline, 0.951 zero-LLM and 0.936 local with the 2.7
+- **Reproducible retrieval benchmarks**: LongMemEval-S hit@5 0.815 local and
+ 0.666 zero-LLM through the shipped 2.6 pipeline, 0.951 zero-LLM and 0.936 local with the 2.7
observation stream, and a published pipeline-vs-component decomposition
- ([`benchmarks/`](benchmarks/README.md)).
+ ([`benchmarks/`](benchmarks/README.md)). Others publish numbers too (Mem0,
+ Zep, Hindsight, EverOS, MemPalace, agentmemory), mostly end-to-end QA with
+ their own reader and judge models. The edge is reproducibility; we claim no
+ ranking.
## Migration verdicts, by competitor
+Refreshed 2026-10-13. Coding-agent memory is now the most-starred part of the
+field, and several app-memory products (Mem0, Supermemory, Hindsight,
+OpenViking, Cognee) ship coding-agent plugins, so they appear here as
+coding-agent competitors as well as in their original camps.
+
| From | Migrate to ai-memory? | You gain | You give up |
|---|---|---|---|
-| **mcp-memory-service** (fact-row twin) | **Yes** if you liked hook capture + typed edges + honest numbers | Files-as-truth (not opaque fact rows), handoffs, cross-project messaging, `as_of` temporal, a marginally better + reproducible number, and (new on 2.4) its aging set at parity done zero-LLM/reversible/off-by-default (per-tier decay curves, extractive compression, DBSCAN cold-cluster dedup, access boosts, 0.4–0.75-band contradiction flagging) | Cloud/multi-backend replication (Cloudflare/Milvus), graph viz. (Belief-strength + clustering consolidation are no longer a give-up: ai-memory now ships both, clustering as a zero-LLM default-off pass, belief-strength off/R2-gated) |
-| **basic-memory** (file-first sibling) | **Yes** for multi-harness coding continuity; **no** for a personal Obsidian KB with live team co-edit | Ambient capture (no `write_note` ceremony), full lifecycle, handoffs/messaging, git-versioned truth, published numbers | Local zero-cost reranking, real-time collaborative editing, Postgres backend, `build_context` graph-walk, hosted mobile/web UX |
-| **agentmemory** (ideological sibling) | **Yes** for operability + data ownership | Self-contained binary (no `iii-engine` sidecar, no ELv2 runtime), files-as-truth, SQL indexes committed in-txn, zero-LLM summaries and handoffs, typed claim-once handoffs, a multi-user auth ladder (DB tokens, OIDC), native Windows without a manual sidecar download (ours is still "Experimental"), and a 2.7 importer for its vault and `ExportData`. Both now default to auth on for new installs (theirs since 0.9.30, ours in 2.7, unreleased) | Browser edit/forget (the 2.7 web UI adds page history/diff, a session timeline, a recall trace and a health panel, but stays read-only by design), the iii console's OTEL traces (we ship explain timings + Prometheus `/admin/metrics` in 2.7), a P2P mesh-sync primitive (`ai-memory-wikisync` is our git-based answer), the opt-in local cross-encoder reranker, an npm/`npx` install (ours is a two-command native install on Linux and macOS in 2.7, no npm package), ~31 more tools (54, all visible by default; mostly speculative). Benchmarks are not like-for-like: their 95.2% LongMemEval-S is a component measurement with the reranker disabled, ours is end-to-end |
-| **Claude Code built-in memory** | **Yes** for teams / multi-machine / multi-harness; **not obviously** for a solo dev on one machine in Claude only | Cross-machine, cross-harness, team sharing, tool-lifecycle capture, real search | Zero setup: it's already on with no server to run (our one honest structural disadvantage for the solo case; 2.7's `install.sh` + `ai-memory setup` cut ours to two commands on Linux and macOS, but there is still a server) |
-| **Hindsight** (pages-over-facts) | **Yes** for self-hosted/offline/team; **no** if you need their published accuracy + are fine with an LLM-required cloud | Zero-LLM, files you own, one binary, in-project team sharing (vs strict per-bank isolation), and (new on 2.4) a belief-strength `confidence` + an opt-in "dream" rewrite that borrow their model but never delete a source and keep the zero-LLM default | Their published headline accuracy, VLM/LLM extraction depth, and belief-strength that *actually moves ranking by default* (ours ships but is off/R2-gated until an eval proves it) |
-| **Zep/Graphiti** (temporal KG) | **Yes** for self-hosting coders avoiding Neo4j+LLM (Community Edition is discontinued); **no** for enterprise graph-query/world-time | One binary on SQLite, zero-LLM, files, coding-harness native, a supported self-host | True bi-temporal (world vs observed time), Cypher/BFS graph queries, custom entity/edge types, `minRating` |
-| **Mem0** | **Mostly no: different buyer** (app end-user personalization). Yes only if you (mis)used it as coding-session memory | Zero-LLM, per-repo, cross-harness, editable pages, no API spend | Mem0's SDK/integration ecosystem + managed cloud personalization |
-| **Letta / MemOS** | **No** if you're building your agent *on* Letta; **yes** if you only wanted your existing coding agent to remember | Additive memory under your existing harness, zero-LLM, no runtime adoption | The ADE + agent-framework machinery (which you don't need unless building on Letta) |
+| **claude-mem** (hook capture, LLM observer) | **Yes** for zero-LLM, multi-harness or team use; **not obviously** for a solo Claude Code user happy with it | Zero-LLM capture (it compresses every observation with an LLM), git-markdown truth instead of SQLite FTS5 + Chroma, claim-once handoffs, cross-project messaging, per-project multi-user auth without a paid cloud tier | Its to-do tools, three-step progressive search, the bridge that answers Claude Code's and Codex's native memory-folder reads from its store, and past observations surfaced when the agent reads a file |
+| **MemPalace** (hook capture, team server) | **Partly**: overlapping goals, different substrate | Git-markdown truth, claim-once handoffs, typed cross-project messaging, the auth ladder | Its temporal graph and team server as shipped. Its 96.6% / 98.4% R@5 is retrieval-only like our hit@5, but on a different harness, so neither number ranks the tools |
+| **mcp-memory-service** (fact rows + hook capture) | **Yes** if you liked hook capture + typed edges + published numbers | Files-as-truth (not opaque fact rows), handoffs, cross-project messaging, `as_of` temporal, a reproducible number, and (new on 2.4) its aging set at parity done zero-LLM/reversible/off-by-default (per-tier decay curves, extractive compression, DBSCAN cold-cluster dedup, access boosts, 0.4–0.75-band contradiction flagging) | Cloud/multi-backend replication (Cloudflare/Milvus), graph viz. (Belief-strength + clustering consolidation are no longer a give-up: ai-memory now ships both, clustering as a zero-LLM default-off pass, belief-strength off and eval-gated) |
+| **basic-memory** (file-first markdown) | **Yes** for multi-harness coding continuity; **no** for a personal Obsidian KB with live team co-edit | Ambient capture (no `write_note` ceremony), full lifecycle, handoffs/messaging, git-versioned truth, published numbers | Local zero-cost reranking, real-time collaborative editing, Postgres backend, `build_context` graph-walk, hosted mobile/web UX |
+| **agentmemory** (hook capture, KV store) | **Yes** for operability + data ownership | Self-contained binary (no `iii-engine` sidecar, no ELv2 runtime), files-as-truth, SQL indexes committed in-txn, zero-LLM summaries and handoffs, typed claim-once handoffs, a multi-user auth ladder (DB tokens, OIDC), native Windows without a manual sidecar download (ours is still "Experimental"), and a 2.7 importer for its vault and `ExportData`. Both now default to auth on for new installs (theirs since 0.9.30, ours in 2.7, unreleased) | Browser edit/forget (the 2.7 web UI adds page history/diff, a session timeline, a recall trace and a health panel, but stays read-only by design), the iii console's OTEL traces (we ship explain timings + Prometheus `/admin/metrics` in 2.7), a P2P mesh-sync primitive (`ai-memory-wikisync` is our git-based answer), the opt-in local cross-encoder reranker, an npm/`npx` install (ours is a two-command native install on Linux and macOS in 2.7, no npm package), ~31 more tools (54, all visible by default; mostly speculative). Benchmarks are not like-for-like: their 95.2% LongMemEval-S is a component measurement with the reranker disabled (their 2026-10-09 baseline adds 84.68% strict recall-all@5, which they say supports no competitive claim), ours is end-to-end |
+| **Claude Code built-in memory** | **Yes** for teams / multi-machine / multi-harness; **not obviously** for a solo dev on one machine in Claude only | Cross-machine, cross-harness, team sharing, tool-lifecycle capture, real search | Zero setup: it's already on with no server to run (our one structural disadvantage for the solo case; 2.7's `install.sh` + `ai-memory setup` cut ours to two commands on Linux and macOS, but there is still a server) |
+| **Hindsight** (pages-over-facts; coding-agent package) | **Yes** for zero-LLM, files-as-truth, or claim-once handoffs; **no** if you want its end-to-end QA numbers, git-history ingestion, or 16+ agent installer | Zero-LLM default (Hindsight needs an LLM, local or by subscription), markdown files as the source of truth (its markdown is a one-way mirror of Postgres), one binary, claim-once handoffs, cross-project messaging, and (new on 2.4) a belief-strength `confidence` + an opt-in "dream" rewrite that borrow their model but never delete a source and keep the zero-LLM default | Its published end-to-end QA accuracy, git-history ingestion, hooks for 16+ coding agents with one shared bank per repo, a reranker on by default, image/file ingestion, user/team/company scopes inside a bank, and belief-strength that *actually moves ranking by default* (ours ships but is off and eval-gated) |
+| **Mem0** (fact extractor; coding plugins) | **Yes** for coding memory without a cloud key; **no** for app end-user personalization | Zero-LLM, no cloud API key, no telemetry, editable pages, git truth, claim-once handoffs, cross-project messaging | Native plugins for seven coding agents from one runtime, failed-command-to-fix capture with categories, a subdirectory search scope, shared team plus personal memory, cloud user profiles, and its SDK/integration ecosystem |
+| **Supermemory** (hosted memory API; coding plugins) | **Yes** for data ownership and an open-source self-host; **no** for a managed multimodal second brain | Git-markdown truth, an open-source self-hosted server (its server binary is not open source), claim-once handoffs, scoped project identity (its isolation is a tag), zero-LLM default | Recall injected on every prompt, connectors and multimodal ingestion, managed hosting, memoryrepo's stale-write signal |
+| **OpenViking** (context database; coding plugins) | **Partly**: different weight class | Zero-LLM binary (it needs a VLM), MIT licence vs AGPL, claim-once handoffs (its `ov-kanban` has no claim guard), per-project multi-user auth | Its gateway proxy that injects recall and keeps prompt caches valid, plugins for seven agents, ACLs and user groups, L0/L1/L2 loading as a first-class read path |
+| **Cognee** (graph memory; Claude Code plugin) | **Yes** for multi-harness coding continuity; **no** if you need graph queries or data connectors | Git-markdown truth, 20+ harnesses vs one plugin, handoffs/messaging, multi-user auth | Its listing in Anthropic's plugin directory, the repo code-graph indexer, a statusline, Drive/Gmail/Slack connectors, temporal search windows |
+| **Zep/Graphiti** (temporal KG) | **Yes** for self-hosting coders avoiding a graph DB + LLM (Community Edition is discontinued); **no** for enterprise graph-query/world-time | One binary on SQLite, zero-LLM, files, coding-harness native, a supported self-host | True bi-temporal (world vs observed time), Cypher/BFS graph queries, custom entity/edge types, `minRating`, hosted Zep's Context MCP with per-user OIDC and a write kill switch |
+| **Letta / Letta Code / MemOS** | **No** if you're building your agent *on* Letta or want Letta Code as your harness; **yes** if you only wanted your existing coding agent to remember | Memory under your existing harness (Letta argues memory belongs inside the harness and ships its own), zero-LLM, self-hosted (Letta Code defaults to Letta Cloud) | Letta's "dreaming" subagents, agent self-edited memory, and a `/doctor`-style memory audit with brief token cost. Both keep git-backed markdown, so the substrate is no longer a difference |
| **Honcho** (Plastic Labs) | **No: different problem.** It models the *human* (theory-of-mind peer representations); we remember the *project* | If you (mis)used it for coding continuity: file-first git truth, zero-LLM, single-binary self-host, per-project scoping, no mandatory LLM egress | Its user-psychology reasoning engine (Deriver/Dreamer/Dialectic), published user-recall benchmarks, managed cloud, none of which a coding-memory user needs |
| **LiquidLM** (solo-built hosted memory API, Supermemory camp) | **Weak: different job.** It's a cloud "second brain" with multimodal RAG; we're automatic, file-first coding memory | Data ownership (markdown+git, no opaque cloud), zero-LLM default, single-binary self-host, automatic hook capture, per-project team sharing, no API/subscription spend | Its multimodal ingestion (video/audio/PDF/Office), polished web app + grounded chat, managed hosting, GitHub-sync connector, and out-of-the-box rerank |
-| **Engram** (self-hosted coding-agent store, issue #810) | **Yes**, the closest newcomer to our lane | Files-as-truth git-markdown wiki (vs SQLite-as-truth + git-synced compressed chunks), **automatic lifecycle-hook capture** (vs agent-driven `mem_*` MCP saves), typed claim-once handoffs + cross-project messaging, multi-user page sharing, published numbers | Engram's zero-config Go binary is equally lean; you give up its managed Cloud replication add-on. A near-tie on posture; the switch is about capture model + wiki-vs-rows, not moat depth |
-| **EverOS** (file-first sibling, issue #810) | **Yes** for zero-LLM/single-binary/team; **no** if you want its LanceDB vector tier or user-track modeling | Zero-LLM default (EverOS's minimal tier still needs an LLM for the core flow), one self-contained binary (vs a Python stack), cross-harness lifecycle capture, typed handoffs/messaging, published numbers | EverOS's LanceDB vector index, its first-class user `episodes/profile` track, and its packaged offline "memory evolution" UX |
-| **memU** (LLM-wiki + skill distillation, issue #810) | **Partly**: same file-first instinct, different default | Zero-LLM capture/retrieval by default (memU's distill flow is LLM-required), one binary (vs Python + sidecars patching host instruction files), MCP + hooks, git-versioned truth | memU's turnkey **skill-distillation-into-Markdown** packaging and its hosted cloud (memu.so). Our nearest equivalent is the opt-in experience/auto-improve pass, not a one-command skill distiller |
-| **Caura** (governed fleet memory, issue #810) | **No: different buyer** (org-scale multi-agent governance) | If you (mis)used it for one project: file-first git truth, zero-LLM, single-binary self-host, per-project scoping, no LLM egress | Its **fleet-governance layer** (org/team/agent visibility scopes and **four cross-fleet trust tiers**), which ai-memory does **not** match (see honest gaps); plus its managed platform and self-reported LoCoMo/LongMemEval numbers |
-| **TencentDB Agent Memory** (proxy fan-in server, issue #810) | **Mostly no: different capture model** | Hook/MCP capture into a file-first wiki you own (vs a base-URL proxy intercepting traffic), zero-LLM default, one binary vs a Node three-service stack, typed handoffs | Its zero-code proxy integration and its **CodeGraph** codebase index (adjacent code-intelligence we don't do). Note: needs no Tencent DB (SQLite default); the name misleads |
-| **Mem0/Zep for apps; OpenViking, Supermemory, LiquidLM, Honcho, Caura** | different buyer (app/user personalization, hosted context DB / RAG-as-a-service, user-modeling, org-scale fleet governance), **not migration targets** | — | — |
+| **Engram** (self-hosted coding-agent store, issue #810) | **Yes**, same lane | Files-as-truth git-markdown wiki (vs SQLite-as-truth + git-synced compressed chunks), **automatic lifecycle-hook capture** (vs agent-driven `mem_*` MCP saves), typed claim-once handoffs + cross-project messaging, multi-user page sharing, published numbers | Engram's zero-config Go binary is equally lean; you give up its managed Cloud replication add-on. A near-tie on posture; the switch is about capture model + wiki-vs-rows, not moat depth |
+| **EverOS** (file-first, LLM-leaning, issue #810) | **Yes** for zero-LLM/single-binary/team; **no** if you want its vector tier, user-track modeling, or end-to-end QA numbers | Zero-LLM default (EverOS's minimal tier still needs an LLM for the core flow), one self-contained binary (vs a Python stack), cross-harness lifecycle capture, typed handoffs/messaging | EverOS's ANN vector index and optional Milvus backend, its published end-to-end benchmarks (LoCoMo 94.42, LongMemEval-S 94.00, with exact models recorded per result file), its first-class user `episodes/profile` track, and its packaged offline "memory evolution" UX |
+| **memU** (LLM-wiki + skill distillation, issue #810) | **Partly**: same file-first instinct, different default | Zero-LLM capture/retrieval by default (memU's distill flow is LLM-required), one binary (vs Python + sidecars patching host instruction files), MCP + hooks, git-versioned truth | memU's turnkey **skill-distillation-into-Markdown** packaging, `memu-agent detect` for unknown agents, and its hosted cloud (memu.so). Our nearest equivalent is the opt-in experience/auto-improve pass, not a one-command skill distiller |
+| **Caura** (governed fleet memory, issue #810) | **No: different buyer** (org-scale multi-agent governance) | If you (mis)used it for one project: file-first git truth, zero-LLM, single-binary self-host, per-project scoping, no LLM egress | Its **fleet-governance layer** (org/team/agent visibility scopes and **four cross-fleet trust tiers**), which ai-memory does **not** match (see the gaps below); plus its managed platform and self-reported LoCoMo/LongMemEval numbers |
+| **TencentDB Agent Memory** (proxy fan-in server, issue #810) | **Mostly no: different capture model** | Hook/MCP capture into a file-first wiki you own (vs a base-URL proxy intercepting traffic), zero-LLM default (its v2 hub needs an LLM), one binary vs a Node three-service stack, typed handoffs | Its zero-code proxy integration, the v2 hub's per-asset access control, and its **CodeGraph** codebase index (adjacent code-intelligence we don't do). Note: needs no Tencent DB (SQLite default); the name misleads |
+| **Mem0/Zep app SDKs; Supermemory/OpenViking hosted products; LiquidLM, Honcho, Caura** | different buyer (app/user personalization, hosted context DB / RAG-as-a-service, user-modeling, org-scale fleet governance), **not migration targets** for those products; their coding plugins are covered above | — | — |
Net: for a **self-hosted, multi-harness, team, zero-LLM, data-ownership**
-coding-memory use case, ai-memory does the basics and adds a moat none of them
-fully have, so migration is justified. The premise does *not* hold for app/user personalization (Mem0/Supermemory/LiquidLM), user-modeling /
+coding-memory use case, ai-memory does the basics and adds things none of them
+fully have, so migration is justified. The gap has narrowed: hook capture and
+git-backed markdown are now common, and several tools ship things we do not
+(plugin-directory distribution, git-history ingestion, recall on every
+prompt, end-to-end QA numbers). The premise does *not* hold for app/user
+personalization (Mem0/Supermemory/LiquidLM), user-modeling /
theory-of-mind (Honcho), enterprise graph queries (Zep Cloud), agent-building
-runtimes (Letta), or a solo dev happy with Claude's built-in. Those are
-different buyers, and we should say so rather than overclaim.
+runtimes (Letta), or a solo dev happy with Claude's built-in or with a
+single-harness plugin. Those are different buyers, and we should say so
+rather than overclaim.
## Did we copy without improving? — the borrowed-ideas audit
@@ -85,7 +106,7 @@ remaining risk is that borrowed ideas sit **dormant** until the eval harness (R2
| Borrowed idea | From | Verdict | Detail |
|---|---|---|---|
| Local embeddings (all-MiniLM-L6-v2) | mcp-memory-service | **BETTER** | Pure-Rust candle (no ONNX/C++ per target), checksum-pinned, default-on with background backfill |
-| Hook capture | mcp-memory-service | **BETTER** | 20+ harnesses + typed sanitizer boundary + backpressure vs Claude-Code-centric |
+| Hook capture | mcp-memory-service | **BETTER than the source; parity with the 2026-10 field** | 20+ harnesses + typed sanitizer boundary + backpressure vs Claude-Code-centric. The field has caught up on breadth (Hindsight hooks 16+ agents; Mem0 and OpenViking ship seven plugins each), so the remaining edge is the sanitizer boundary and zero-LLM capture, not harness count |
| Versioned supersession | agentmemory | **BETTER** | A concurrent divergent write supersedes but the loser stays reachable (invariant #16); theirs flips `isLatest` |
| Retention-as-formula (decay) | agentmemory | **BETTER** | Real SQL decay math vs in-memory O(N²) Jaccard capped at 1000 rows; 2.4 adds opt-in per-tier half-life curves (identity default) |
| Per-tier retention curves (365/180/90/30) | mcp-memory-service | **SHIPPED (parity), better default** | `[decay.half_life_days]` per tier (2.4, #807); their shape, but the omitted-key default is byte-identical to the old single-λ, so no upgrade mass-evicts |
@@ -126,8 +147,9 @@ implemented without a separate decision.** Ordered by leverage.
weighting is not built.
2. **A zero-LLM / local reranker (candle cross-encoder).** Our only reranker is
LLM-as-judge, so the zero-LLM default path has *no* reranking, while
- basic-memory ships a local one and agentmemory ships one opt-in (off by
- default, and disabled in its published LongMemEval-S run). The
+ basic-memory ships a local one, agentmemory ships one opt-in (off by
+ default, and disabled in its published LongMemEval-S run), Hindsight turns
+ one on by default, and OpenViking and Zep rerank in their pipelines. The
decomposition narrowed the case: FTS already ranks whole raw sessions at
0.972 hit@5, so a reranker's headroom on hit@5 is small; what is left is
hit@1 (0.885 on whole sessions) and recall on multi-evidence questions.
@@ -214,7 +236,20 @@ implemented without a separate decision.** Ordered by leverage.
`issues-agentmemory.md` now carry a dated-snapshot header (54 tools, all
visible by default; 138 REST endpoints, per their README as of 2026-10-10).
Their 95.2% is a component measurement and our 0.82 a pipeline one, so
- neither pairing is like-for-like.
+ neither pairing is like-for-like. The 2026-10-13 refresh corrected another
+ set across `comparison.md`, `research-2026-landscape.md`, this file and
+ `README.md`: Mem0 is not vector-only (semantic + BM25 + entity fusion since
+ April 2026) and its latest core release is v2.2.1, not a plugin tag;
+ OpenViking is a self-hostable AGPL server with local embeddings and
+ editable markdown memories, and TrieHI recursion is gone; Cognee runs on
+ embedded files without an LLM key; Graphiti has ~31.7K stars, not "20K+";
+ Supermemory's plugins use lifecycle hooks and its self-host server binary
+ is not open source; Letta's V1 server is retired and its memory is git
+ markdown (the ADE references are stale); Hindsight's headline is 94.6%,
+ its banks carry user/team/company scopes, and its LLM can be local;
+ EverOS publishes benchmarks and an MCP server and was listed twice (as
+ EverMemOS); memU's releases ship on PyPI; and the "smaller, less
+ VC-amplified niche" positioning no longer holds.
8. **Fleet-scale trust governance: a real gap vs Caura (issue #810).** Our
multi-user story is per-project (`pages shared, batons owned`, invariant #16)
with a root→DB-user→OIDC auth ladder and an audit log, and it is deliberately
@@ -226,12 +261,119 @@ implemented without a separate decision.** Ordered by leverage.
"we already do multi-user": we do project multi-user, and we do not do fleet
governance.
+## Gap decisions (2026-10)
+
+Capabilities seen across the field in the 2026-10 research, each with our
+decision. The table is keyed by capability, not by tool. Verdicts:
+**SHIPPED (2.7)**, **ADOPT** (planned), **MEASURE-FIRST** (build only when a
+number or real demand exists), **DECLINE** (conflicts with goals or
+invariants), **ALREADY** (we have it and should say so).
+
+| Capability seen in the field | Verdict | Why |
+|---|---|---|
+| Retrieval recall through capture (several tools rank whole raw sessions) | SHIPPED (2.7) | The 2026-10-12 decomposition showed our zero-LLM session page indexed only 80-character turn titles; the observation stream recovered it (FTS hit@5 0.662 → 0.951, local 0.796 → 0.936, all 470). Chasing another tool's headline number is declined: those numbers measure different things |
+| Local zero-LLM cross-encoder reranker | MEASURE-FIRST | Fits the zero-LLM invariant (a local model, not an LLM). Bar before building: hit@5 at least +0.03 on both FTS and local paths over the shipped ranking, p95 at most +100 ms on the reference host and measured on a low-end ARM host; default-on only if the keyless path gains. Measured headroom is small after the stream (component-mode FTS 0.972 vs pipeline 0.951) |
+| Editable browser viewer (edit / forget / bulk forget) | DECLINE | The web UI is read-only by design (`frontend-api.md` §10); wiki mutations go only through `Wiki::write_page`/`apply_batch`; agents already edit and forget via MCP (`memory_write_page` with `expected_page_id`, `memory_delete_page`) and the CLI |
+| Viewer read side: version diff, session timeline/replay, recall trace, health | SHIPPED (2.7) | Page history with server-side diffs, a paged session timeline, a recall trace with per-stream ranks, a root-only health panel |
+| OTEL traces / metrics | SHIPPED (2.7) as explain timings + content-free Prometheus `/admin/metrics`; OTLP export MEASURE-FIRST (demand-gated) | If built: off by default, no subscriber layer when off, OTLP over http/protobuf on the existing reqwest/rustls, exporter modules filtered out of the subscriber (invariant 15), a span-field allowlist (durations, counts, UUIDs only), ratio sampling, and `cargo deny` must pass |
+| Auth on by default | SHIPPED (2.7) for new installs; requiring auth on existing loopback installs DECLINED for 2.x | Flipping existing installs would break every env-less hook and MCP config, a major change under our semver. Existing installs opt in with `ai-memory auth enable` |
+| One-command installer / onboarding | SHIPPED (2.7) for Linux and macOS (`install.sh` + `ai-memory setup`); the agent-driven install doc is folded in | No npm package; no Windows service step |
+| Many-language README | DECLINE | Translations go stale on every release, and stale docs are defects under our quality bar |
+| Large speculative tool surfaces (leases, task graphs, routines, sentinels, sketches, crystals, facets; 50+ tools visible by default) | DECLINE | No evidence of real use; each tool adds prompt-surface cost; we keep 23 tools and have run leases where needed |
+| Signals between agents | ALREADY | Typed cross-project messaging with exactly-once pop |
+| Mesh / P2P sync | ALREADY (2.7) via `ai-memory-wikisync` | Two-way, conflict-aware git sync over the file truth using `expected_page_id` compare-and-swap |
+| Durable capture inbox / offline spool | ALREADY | Hook spool, `ai-memory-relay`, `ai-memory recover`, 202/429 backpressure |
+| Larger capture caps | Keep ours (2 KB / 16 KiB) | Privacy boundary (invariant 6); the decomposition showed the caps were not the cause (pages holding exactly the captured text scored 0.968) |
+| PaaS deploy templates (Fly, Railway, Render, Coolify) | DECLINE for now (a demand-gated docs recipe at most) | Non-loopback already refuses to run without auth; a hosted path is not our product |
+| Redis or other external store backends | DECLINE | Invariants 2 and 3 (single-writer SQLite; indexes in the same transaction) and markdown as truth |
+| Harness long tail (Droid, Warp, Cline, Kilo, Goose, Qwen Code, Aider, …) | SHIPPED (2.7) as MCP recipes for seven more clients; hooks only where the harness has a lifecycle API (Droid accepted, #1240) | Any MCP client reaches us over HTTP |
+| Image / vision memory | DECLINE | Off-mission; the sanitizer boundary is text-only |
+| Bidirectional bridge with a harness's own `MEMORY.md` | DECLINE (bidirectional); one-way import ADOPT | Two sources of truth contradict our routing rule against harness-local stores |
+| Obsidian vault export | ALREADY | The wiki is already markdown in git; open `<data_dir>/wiki/<ws>/<project>` as a vault |
+| Importing old transcripts | ALREADY | `backfill` replays native transcripts through `/hook`, sanitized, on by default |
+| Commit ↔ session linking | MEASURE-FIRST (demand) | Managed runs already record git checkpoints |
+| Project profile resource | ALREADY | `memory_briefing` plus the cross-project profile |
+| Migration importers from other tools | SHIPPED (2.7) for one tool's vault/export plus a `doctor` check for its leftovers; others on demand | Importers live in the `ai-memory-importer` companion, never in core |
+| Benchmark rigor | ADOPT | Publish pipeline and component numbers separately, keep run receipts, add strict recall-all@5 beside hit@5, report models and versions per result file; claim no cross-tool ranking without a shared harness |
+
+### Step up, borrow, ignore
+
+From the 2026-10-13 research. Each line names the tools that ship the
+capability. Items marked *verify first* depend on our own current behavior,
+which should be checked before any work is scoped.
+
+**Step up** (gaps a coding-agent user notices):
+
+1. **Plugin-directory listing and one-command marketplace installs** for
+ Claude Code and Codex (Cognee is listed in Anthropic's plugin directory;
+ Mem0, Supermemory and OpenViking ship native plugins).
+2. **An installer that detects and wires every installed agent** (Hindsight
+ covers 16+ agents; memU's `memu-agent detect` finds unknown ones).
+ *Verify first*: how much of this `ai-memory setup` already covers.
+3. **One reproducible end-to-end QA number** beside hit@5, with reader,
+ judge, context tokens and latency stated, and more benchmarks than
+ LongMemEval (Mem0, Zep, Hindsight and EverOS publish QA numbers; Hindsight's
+ AMB harness is open, so an adapter is worth considering). Most numbers
+ published in the field are QA numbers.
+4. **Git-history ingestion on first run**, zero-LLM and sanitized
+ (Hindsight), so a new repository starts with its commit history as context.
+5. **Answer harness-native memory reads from our store** (claude-mem's bridge
+ for Claude Code and Codex memory folders). Careful: this touches trust
+ and routing, and the gap decisions above decline a bidirectional bridge.
+
+A client-side hook spool (agentmemory, claude-mem) is not a gap: the native
+`ai-memory hook` commands and the shell hooks (`hooks/_lib.sh`) both spool an
+undelivered event for a later drain.
+
+**Borrow** (small, fits the design):
+
+- Failed-command-to-fix capture (Mem0): the pairs coding agents most often
+ need again.
+- A subdirectory search filter (Mem0 `dir`, OpenViking subtree filters):
+ narrows monorepo recall.
+- Show the user which memories were injected: makes recall auditable in the
+ session as well as in `/web`.
+- A "Claude CLI" provider so consolidation can use the user's subscription
+ (Cognee's plugin uses `claude -p`; Hindsight accepts subscriptions): an
+ LLM path with no API key.
+- A statusline indicator (Cognee): shows capture is alive.
+- An opt-in local cross-encoder reranker (Hindsight, basic-memory,
+ agentmemory), gated on the recall-eval bar in the table above.
+- Per-step model routing (Graphiti's `LLMRuntime`): cheaper consolidation.
+- A read-only MCP mode per connection (OpenViking gateway, hosted Zep):
+ safer shared servers.
+- Opt-in recall on every prompt (Supermemory, OpenViking gateway).
+ *Verify first*: our hooks inject the brief at session start only.
+- Strict recall-all@5 and archived run receipts (agentmemory): keeps our
+ numbers honest.
+- A memory audit that includes the token cost of the session brief (Letta
+ Code's `/doctor`-style check).
+- A generated per-project index page (Letta's `MEMORY.md` index).
+- A stale-write signal that returns the current version (Supermemory
+ memoryrepo); evaluate against invariant #16, where a divergent write
+ supersedes and is never rejected silently.
+- A held-out question set (MemPalace's 450 held-out questions): guards
+ against tuning on the test set.
+- Exact models and versions per result file (EverOS).
+- Past observations for a file when the agent reads it (claude-mem).
+
+**Ignore** (off-mission or conflicts with an invariant): user profiles,
+data connectors, graph/ontology queries, kanban boards, proxy capture,
+mounted filesystems, harness-owned self-editing memory, multimodal memory,
+hosted clouds, ANN indexes, temporal graphs, and to-do tools. Per-asset ACLs
+(TencentDB v2, OpenViking) are also out of scope but recorded as a real gap
+next to Caura's trust tiers.
+
## Bottom line
- **The moat is real and verified:** zero-LLM default, files-as-truth, one binary,
cross-harness capture, claim-once handoffs + messaging, and multi-user
shared-within-project. On operability, data ownership, and cross-agent/team
- continuity, ai-memory is ahead of every overlapping competitor.
+ continuity, ai-memory is ahead of the overlapping tools reviewed here.
+ Several of them now lead on distribution (plugin directories, per-agent
+ plugins), onboarding (detect-and-wire installers, git-history ingestion)
+ and published end-to-end QA numbers; the gap decisions above say which of
+ those we take on.
- **The borrowed conveniences now ship (opt-in), and so does the aging set.**
The 2.4 line landed the five competitor-specific closes above (related-walk,
dialectic answer, reasoning tier, pin-before-search, and the show-superseded
diff --git a/docs/research-2026-landscape.md b/docs/research-2026-landscape.md
index 4472566b..2f02f0d8 100644
--- a/docs/research-2026-landscape.md
+++ b/docs/research-2026-landscape.md
@@ -8,6 +8,14 @@
> are made here, and none of the recommendations below imply drastic
> change. Sources at the end; every load-bearing claim was checked against
> a live page in September 2026, not remembered.
+>
+> **Refreshed 2026-10-13.** The popularity table, the camp table and the
+> entries for Mem0, OpenViking, Zep/Graphiti, Cognee, Supermemory,
+> agentmemory, TencentDB Agent Memory, Letta, Hindsight, memU and EverOS were
+> re-read against primary sources (repositories, release metadata from the
+> GitHub API, vendor research pages) on that date. Claude-mem, MemPalace,
+> Memori, MemOS and memvid were added. Corrections are made in place;
+> [the 2026-10-13 refresh](#refresh-2026-10-13-what-changed) in §3 summarizes what moved.
## 1. The headline: our architectural bet got standardized
@@ -29,11 +37,12 @@ change.
The second validation came from an unexpected direction: **Letta**
(formerly MemGPT) published "Is a Filesystem All You Need?" arguing that
agents post-trained for iterative file search perform well against
-specialized memory systems (74.0% on LOCOMO with plain files). Whatever
-one thinks of the framing, the leaders of the "memory OS" camp conceding
-ground to file-first memory supports the substrate we chose: files as
-source of truth and derived indexes for retrieval, *both* halves
-rather than either alone.
+specialized memory systems (74.0% on LOCOMO with plain files). Letta has
+since gone further. Since February 2026 ("context repositories") every
+Letta agent's memory is a git repository of Markdown files with YAML
+frontmatter and a `MEMORY.md` index, with no vector index by default. That
+is the same substrate we chose, so it is no longer a concession. (Updated
+2026-10-13; see the Letta entry under [the 2026-10-13 refresh](#refresh-2026-10-13-what-changed).)
## 2. How the original research subjects evolved
@@ -54,7 +63,16 @@ on by default with a generated secret and added a durable capture inbox
with an offline hook spool. (Corrected 2026-10-10: this entry used to give
the benchmark as 635 requests / 888K tokens / 35 hours with hybrid R@5 =
0.967. Those workload figures could not be found in agentmemory's
-repository, and 0.967 is now the grep baseline.)
+repository, and 0.967 is now the grep baseline.) The 2026-10-09 baseline,
+on the cleaned LongMemEval-S set (470 answerable questions), reports BM25 at
+84.68% strict recall-all@5, 91.72% fractional recall@5 and 452/470 (96.2%)
+any-hit; the authors state it supports no competitive claim, and its
+harness differs from ours. As of 2026-10-13 there is no release after
+v0.9.30; fixes for a cross-project leak in smart search (found by its own
+test suite, fixed 2026-10-10) and for session summaries cut at turn 1 are on
+`main`, unreleased. Practices worth noting: a client-side spool for hook
+events, archived run receipts, a strict recall-all@5 metric, and a release
+gate that installs the packaged artifacts and runs capture and recovery.
**basic-memory** is alive, with the same positioning (structured markdown both
humans and LLMs edit; local files). No architectural surprises. Its
@@ -62,9 +80,21 @@ niche overlaps most with OKF, which may absorb its differentiation.
**cognee** has moved into content-led growth ("best memory
framework" listicles on its own blog rank for every comparison query)
-and now advertises 14 retrieval modes and the broadest integration
-matrix. Technically still the triple-store (relational + vector + graph)
-ECL pipeline the May report described; still heavy for a homelab.
+and advertises a broad integration matrix (an earlier "14 retrieval modes"
+note here could not be re-verified on 2026-10-13). Technically still the
+triple-store (relational + vector + graph) ECL pipeline the May report
+described, but no longer heavy to stand up: v1.6.0 runs without an LLM key
+on embedded SQLite + LanceDB + Kuzu files, records the embedding model per
+dataset, and adds a `cognee-mcp` package. v1.6.1 added Google Drive/Gmail
+sync, v1.6.2 Slack sync and chunk sizing to the embedding model's limit,
+v1.6.3 temporal search windows and ranking. It now has a Claude Code plugin
+(`cognee-integrations`, v1.6.6): a local server on `localhost:8011` by
+default or Cognee Cloud, `claude -p` on the user's Claude subscription when
+no key is set, a statusline, and a repo code-graph indexer. Per its 1.6.6
+changelog the plugin is listed in Anthropic's official plugin directory. Its
+BEAM report scores 0.79 on 20 questions from one conversation and 0.67 at
+10M, tuned and scored on the same questions, with gpt-5 for ingestion,
+answering and judging.
**mempalace** is the cautionary tale of the year. It reached ~47K stars within two
weeks of its April 2026 launch on the strength of a claimed 96.6% R@5 on
@@ -75,7 +105,13 @@ default setup with the palace architecture inactive**. The spatial
metaphor (wings/rooms/closets/drawers) added nothing measurable.
Lessons: (a) benchmark claims are now audited by the community, quickly
and publicly; (b) metaphor-driven architecture is not retrieval
-architecture; (c) stars measure virality, not substance.
+architecture; (c) stars measure virality, not substance. Update 2026-10-13:
+MemPalace is at v3.10.0 and ~59.5K stars, and its README now splits the
+numbers: 96.6% R@5 on the raw setup and 98.4% on a held-out set of 450
+questions. Those are retrieval-only numbers, the closest in kind to our
+`hit@5`, though from a different harness. It now ships hooks for Claude
+Code, Codex and Cursor, a team server, and a temporal graph, which puts it in
+the coding-agent hook-capture camp below.
## 3. The 2026 landscape beyond the original subjects
@@ -83,20 +119,21 @@ The market has consolidated into recognizable camps:
| Camp | Representatives | Core idea |
|---|---|---|
-| Temporal knowledge graphs | **Zep/Graphiti** (20K+ stars, 25K weekly PyPI installs), Cognee | Facts as bi-temporal graph edges: *when true in the world* vs *when observed*, superseded rather than deleted |
-| Memory OS / self-editing | **Letta**, MemOS, EverMemOS, MIRIX | The agent edits its own tiered memory via tools; "sleep-time compute" does consolidation off the hot path |
-| Fact extractors | **Mem0**, LangMem | LLM extracts atomic facts per turn; lightweight personalization |
+| Coding-agent hook capture | **claude-mem**, **MemPalace**, agentmemory; coding plugins from Mem0, Supermemory, Hindsight, OpenViking, Cognee | Lifecycle hooks in the coding harness capture sessions and inject context at start (some on every prompt); the most-starred part of the field as of 2026-10 (see the refresh below) |
+| Temporal knowledge graphs | **Zep/Graphiti** (~31.7K stars as of 2026-10-13), Cognee | Facts as bi-temporal graph edges: *when true in the world* vs *when observed*, superseded rather than deleted |
+| Memory OS / self-editing | **Letta** (now Letta Code), MemOS, MIRIX | The agent edits its own tiered memory via tools; "sleep-time compute" does consolidation off the hot path. Letta's memory is now a git repo of markdown files (see the refresh below) |
+| Fact extractors | **Mem0**, LangMem | LLM extracts atomic facts; lightweight personalization. Mem0 now fuses semantic + BM25 + entity retrieval and ships coding-agent plugins |
| Hosted memory API (hybrid) | **Supermemory**, **LiquidLM** | Chunk-RAG + LLM temporal fact-graph + per-user profiles, answered in one query; managed connectors + multimodal; cloud-first (see below) |
| User-modeling / theory-of-mind | **Honcho** (Plastic Labs) | Memory as a *reasoning* problem: derive what each "peer" knows/believes about another over time; model the human, not the project (see below) |
-| **File-first wiki memory** | **us**, basic-memory, OKF, Letta's filesystem result, mempalace (nominally) | Markdown source of truth, derived indexes, human-editable |
-| File-first wiki (LLM-leaning) | **memU**, **EverOS** | Markdown source of truth + derived vector/SQLite(+LanceDB) indexes, but LLM-required for the capture/distill flow; skill-distillation and offline consolidation (see below) |
-| Self-hosted coding-agent store | **Engram** | Single Go binary, SQLite+FTS5, MCP, project scope, session-summary handoffs; a structured-row sibling captured via agent MCP calls, not lifecycle hooks (see below) |
+| **File-first wiki memory** | **us**, basic-memory, OKF, Letta's context repositories, Supermemory's memoryrepo | Markdown source of truth, derived indexes, human-editable |
+| File-first wiki (LLM-leaning) | **memU**, **EverOS** (formerly listed separately here as EverMemOS) | Markdown source of truth + derived vector/SQLite(+LanceDB) indexes, but LLM-required for the capture/distill flow; skill-distillation and offline consolidation (see below) |
+| Self-hosted coding-agent store | **Engram** | Single Go binary, SQLite+FTS5, MCP, project scope, session-summary handoffs; a structured-row store captured via agent MCP calls, not lifecycle hooks (see below) |
| Governed multi-agent / fleet memory | **Caura** | Shared fleet memory with visibility scopes, trust tiers, audit, governance on Postgres+pgvector; org-scale, not project-scale (see below) |
| Shared memory server (proxy fan-in) | **TencentDB Agent Memory** | One proxy in front of many harnesses distilling Chat Memory / Skill / Wiki / CodeGraph; proxy interception, not MCP/hooks (see below) |
-| Code intelligence | **DeusData/codebase-memory-mcp** (~42K stars) | Index the *codebase* (162 languages, tree-sitter → SQLite graph, static C binary) rather than the *session*. Adjacent, not competing: it remembers what the code is, not what you did (see `research-codebase-memory-mcp.md`) |
+| Code intelligence | **DeusData/codebase-memory-mcp** (~46.5K stars as of 2026-10-13) | Index the *codebase* (162 languages, tree-sitter → SQLite graph, static C binary) rather than the *session*. Adjacent, not competing: it remembers what the code is, not what you did (see `research-codebase-memory-mcp.md`) |
| Agent-harness OS | **ECC** (~247K stars), plus the skills/agents-pack ecosystem | Install a whole plan→test→implement→review→**remember**→improve loop into the agent; memory is one thin pillar ("optimize the context window, persist everything else"), deliberately kept as *context, not policy*. Adjacent, not competing (see `research-ecc.md`) |
-**Closest architectural sibling: `doobidoo/mcp-memory-service`** (1.9K
+**Fact-row store with hook capture: `doobidoo/mcp-memory-service`** (1.9K
stars, 3.2K commits, active through August 2026). It is what we would be
if we had chosen fact-rows over wiki pages: SQLite(+vec) storage, local
ONNX embeddings (all-MiniLM-L6-v2, no provider dependency), hook-driven
@@ -136,12 +173,12 @@ to *expect* persistent memory, which makes the cross-machine,
cross-agent, multi-user version (what v1.39.0 hardened) the durable
value. Native memory is the funnel, not the competitor.
-**Best-funded new entrant: `vectorize-io/hindsight`** (~23.5K stars,
-MIT, a company behind it, a preprint paper arXiv:2512.12818, and a
-LongMemEval claim of 91.4%). It is the most serious competitor in this
-series, and it is useful because it *agrees with our core
+**Paper-backed pages: `vectorize-io/hindsight`** (~23.5K stars in
+September, ~49.1K on 2026-10-13; MIT, a company behind it, a preprint paper
+arXiv:2512.12818, and a LongMemEval claim of 91.4% at the time, 94.6% on its
+own harness as of 2026-10). It is useful because it *agrees with our core
bet from the opposite substrate*: Hindsight is Postgres/pgvector-primary
-and LLM-required, yet its top memory tier is **"mental models": living
+and needs an LLM (local models work; see the update below), yet its top memory tier is **"mental models": living
markdown pages of settled knowledge that a background process
continuously rewrites as the bank learns**, which an agent "boots" from
instead of rediscovering context each session. That is our `wiki/` +
@@ -151,9 +188,10 @@ this whole research series. Two more things to carry forward: its
consolidation is **belief-strength, not binary supersession** (evidence-
backed observations with quotes + a proof count; new evidence
strengthens/weakens/extends rather than replaces), a richer model than
-ours; and its **"bank" = strict per-(user|agent|project) isolation, no
-cross-bank leakage** is the deliberate *opposite* of our shared-within-a-
-project invariant (#16), and the natural prior art for issue #708
+ours; and its **"bank" = per-(user|agent|project) isolation, no
+cross-bank leakage**, which as of 2026-10 also carries user/team/company
+scopes *inside* one bank, so teams can share within a bank. It was the
+natural prior art for issue #708
(per-project authorization) and #709 (project identity), where the design
should layer a bank-like boundary *above* sharing rather than replacing
it. Read skeptically where it earns it: the "independently reproduced"
@@ -180,13 +218,31 @@ winning over evidence. Honest caveat: no R2 delta has shown a gain yet, so this
parity of *mechanism*, not a measured accuracy win. Full analysis in
[`research-hindsight.md`](research-hindsight.md).
-**Biggest-backed new entrant: `volcengine/OpenViking`** (~37.5K stars,
-ByteDance/Volcano-Engine, AGPLv3 core + Apache-2.0 CLI/examples, three
+*Update 2026-10-13 (v1.0.0, released that day).* A `hindsight-coding-agents`
+package installs hooks in 16+ coding agents and ingests the repository's
+git history; every agent in a repo shares one bank
+(`coding-agent::{gitProject}`), with entries tagged by agent.
+`hindsight fs mount` gives a one-way markdown mirror of the knowledge pages
+held in the database. A reranker is on by default, there is image and file
+ingestion and secret/PII redaction, and the LLM can be local (Ollama,
+llama.cpp) or come from a Claude, ChatGPT or Copilot subscription, so
+"LLM-required cloud" no longer describes it. The headline is now
+LongMemEval-S 94.6% (was 91.4%) on its own AMB harness
+(github.com/vectorize-io/agent-memory-benchmark): Gemini answers and judges
+(the exact model is unverified; the harness defaults to
+gemini-2.5-flash-lite), with about 43.6K context tokens per question. It also
+reports LoCoMo 92.0% and BEAM-10M 64.1%. Its own coding benchmark shows no
+gain from memory (vanilla 0.98-1.0, the same with Hindsight).
+
+**Context database: `volcengine/OpenViking`** (~37.5K stars in September,
+~39.8K on 2026-10-13; ByteDance/Volcano-Engine, AGPLv3 core + Apache-2.0 CLI/examples, three
papers incl. **VikingMem** at VLDB 2026, arXiv:2605.29640). Positioned as a
-"self-evolving context database" that unifies memory + RAG + skills. It is
-LLM-**required** (a VLM for extraction/compilation plus an embedding model)
-over a vector store fronted by a `viking://` virtual filesystem, so it sits
-in the opposite corner from our zero-LLM, file-first default. Like
+"self-evolving context database" that unifies memory + RAG + skills. It needs a
+VLM for extraction/compilation (Ollama works) over a vector store fronted
+by a `viking://` virtual filesystem, so it sits in a different corner from
+our zero-LLM default. (Corrected 2026-10-13: embeddings are now local and
+keyless by default, per its 2026-10-03 blog; the core is a self-hostable
+AGPL server; and its memories are markdown you can inspect and edit.) Like
Hindsight, it validates our substrate from there: memory is
document/directory-scoped, not atomic facts, and a background pass
(*commit session → extract → compare candidates for create/merge/skip*, and
@@ -202,24 +258,44 @@ tier-down** (A2, [`design-memory-aging.md`](design-memory-aging.md)) now
persists exactly this shape for cold episodic pages: an L0 abstract, an L1
summary, and an L2 keep-token set, with the full prose one supersession-
restore away. Second, **directory-scoped
-retrieval** (a "TrieHI" prefix-tree vector index that narrows a query to a
-path subtree before ranking), a cheaper cousin of our per-project scoping,
-one level down at the `_rules/` / `norms/` path prefix. Read the numbers
+retrieval**: in September this was a "TrieHI" prefix-tree recursion; v0.4.23
+replaced the recursion with one global recall, one rerank pass and subtree
+filters, which is still a cheaper cousin of our per-project scoping, one
+level down at the `_rules/` / `norms/` path prefix. Read the numbers
with the same skepticism the rest of this report earns: the LoCoMo lifts
(24->82%, 33->83%, 57->80%) are **in-house** (Volcengine) against
agent-native/stateless and simple-RAG baselines, not against other memory
systems, and the papers are VLDB-2026/submitted, not yet peer-reviewed.
-What to avoid is unchanged from the camp it belongs to: LLM-required
-capture, an opaque swappable-storage story, AGPLv3 on the core, and the
+What to avoid: VLM-required capture, AGPLv3 on the core, and the
SaaS/enterprise-licensing weight that pulls against a single self-contained
-binary. Per the research-doc convention, OpenViking has no standalone
-deep-dive; this section is its record.
+binary.
+
+*Update 2026-10-13.* v0.5.0 (2026-10-09) adds a Gateway (#5625): a proxy on
+port 1935 that speaks the Anthropic Messages, OpenAI Chat Completions and
+Responses APIs, injects recalled memory, replays requests byte for byte so
+prompt caches stay valid, compacts at 90% of context, and runs MCP tools
+server-side, read-only by default. It ships plugins for Claude Code, Codex,
+Cursor, TRAE, OpenCode, Kimi and pi, plus an `ov-kanban` skill that hands
+tasks between agents as markdown files (with no claim-once guard). Working
+Memory is off by default, and the plugin commits every message to the
+archive (#5459). v0.4.23 also added BM25 (#5456), removed hotness weighting
+(#5454), added event time-decay (#5214) and unified capture sanitizing across
+plugins (#5359); v0.4.22 added ACLs and user groups, per-account models and
+vector DB, a Kimi Code plugin and OpenCode v2 support. No new benchmark has
+appeared since the 2026-05-29 blog (v0.3.22), and its LoCoMo lifts are
+measured only against each agent's built-in memory. Per the research-doc
+convention, OpenViking has no standalone deep-dive; this section is its
+record.
-**Well-funded generalist: `supermemoryai/supermemory`** (~30K stars, MIT
-repo, ~$2.6-3M seed from Susa/Browder/SF1.vc plus angels incl. Jeff Dean,
+**Hosted memory API: `supermemoryai/supermemory`** (~30K stars in
+September, ~31.2K on 2026-10-13; MIT repo, ~$2.6-3M seed from Susa/Browder/SF1.vc plus angels incl. Jeff Dean,
Cloudflare's CTO, and Logan Kilpatrick; founder Dhravya Shah). Positioned as
"context infrastructure for AI agents": a **hosted memory API** (the paid
-`api.supermemory.ai`) with an MIT self-hostable local binary as the on-ramp.
+`api.supermemory.ai`) with a self-hostable server binary as the on-ramp.
+(Corrected 2026-10-13: the repository is MIT, but its self-hosting docs say
+"the server binary is not open source"; it is built from non-public code,
+is "free within its lite license limit", lacks the hosted MCP server, and
+has telemetry on by default.)
This is the entrant our own docs most **mislabeled**: it is *not* a Mem0-style
atomic fact extractor. It is a **hybrid**: every ingested item is
chunked+embedded for RAG **and** run through an LLM "dreaming" pass that
@@ -237,17 +313,28 @@ metadata + `containerTag` query filters, plus a first-class user profile. But
every one of those is **cloud-only and LLM-required**; the self-hosted binary
(embedded graph store, local `bge-base` embeddings, offline) explicitly "lacks
connectors and the proprietary extraction models." It sits opposite us on every
-axis we chose: an **opaque graph is the source of truth** (no git, no markdown,
-nothing to `grep` or diff), the quality path is **LLM-required** (no zero-LLM
+axis we chose: by default an **opaque graph is the source of truth** (no git,
+no markdown, nothing to `grep` or diff; the separate memoryrepo project below
+is the exception), the quality path is **LLM-required** (no zero-LLM
default), and the best features **pull toward the paid Cloudflare cloud**. It is
also not really in our lane: it is a general **memory-API for apps and user
-personalization** whose coding-agent plugins (Claude Code, Cursor, Codex,
-OpenCode) capture by **turn-batch polling**, not OS lifecycle hooks, with no
-cross-harness handoff, multi-user page-sharing, or per-project 3-tuple isolation
-model. Those coding-agent-continuity primitives are exactly what we build and it
-does not. Read the numbers with the standard skepticism: "95% LongMemEval_s at
+personalization**. Its coding-agent plugins now capture through lifecycle
+hooks (corrected 2026-10-13; an earlier note here said turn-batch polling):
+the Claude Code and Codex plugins use SessionStart, UserPromptSubmit (which
+searches and injects matches itself), PreToolUse and Stop, and Claude Code,
+Codex and OpenCode share one memory container per repository, keyed on the
+normalized git remote. There is still no handoff protocol, and isolation is
+a tag rather than a scoped identity. A separate memoryrepo project keeps
+git-backed markdown memory and rejects a stale write by returning the
+current version. Read the numbers with the standard skepticism: "95% LongMemEval_s at
Recall@15 with aggregation, ~720 tokens, sub-300ms p50, first on LoCoMo" are all
-**vendor self-reported**, though their **MemoryBench** harness and the
+**vendor self-reported**, and they do not agree with each other: the README
+says 95% Recall@15, the research page says 97% "Recall@20 with aggregation"
+while gpt-4o judges the answers and the same 97% appears in its LLM-judge
+table (it reads like a judged answer score labelled as recall), "#1 on LoCoMo
+and ConvoMem" comes without numbers, and the smfs file-mount token claim is
+3x fewer tokens on 110 questions in the README but -36% (Claude) and -83%
+(Codex) on a 20-task run at smfs.ai. Their **MemoryBench** harness and the
accuracy / latency / context-tokens "MemScore" triple are open and worth
borrowing (see R8). Per the research-doc convention, Supermemory has no
standalone deep-dive; this section is its record.
@@ -293,9 +380,9 @@ than from a name search, a failure mode that has burned this series before.
None displaces the camp taxonomy; they slot into it, and two are close enough to
be honest migration conversations.
-**Closest new sibling: `Gentleman-Programming/engram`** (~6.8K stars, MIT, single
-Go binary, commit 2026-09-22, release v2.0.0). Engram is the newcomer nearest our
-own lane: persistent memory for AI coding agents over **SQLite + FTS5** in a
+**Self-hosted coding-agent store: `Gentleman-Programming/engram`** (~6.8K stars, MIT, single
+Go binary, commit 2026-09-22, release v2.0.0). Engram works in our lane:
+persistent memory for AI coding agents over **SQLite + FTS5** in a
zero-dependency stateless Go executable (`~/.engram/engram.db`), an MCP **stdio**
server confirmed against Claude Code, Codex, OpenCode, Gemini CLI, Cursor,
Windsurf and more, project-scoped, with **session-summary handoffs**
@@ -306,15 +393,14 @@ choices that define our substrate: capture is **agent-driven** (the agent calls
`mem_*` MCP tools under an "operating contract," not OS lifecycle hooks that
capture automatically), and **SQLite is the source of truth** (git-syncs
compressed chunks, not a hand-editable git-markdown wiki you can `grep`/diff).
-It is a fact-row/structured-store sibling in the mold of mcp-memory-service, but
-Go and MCP-capture rather than hook-capture, which makes it the "closest self-hosted
-coding-agent store" newcomer. **No retrieval benchmark is published.** Per the
+It is a structured store in the mold of mcp-memory-service, written in Go
+and captured through MCP calls rather than hooks. **No retrieval benchmark is published.** Per the
research-doc convention, Engram has no standalone deep-dive; this section is its
record.
-**Local-first file-first sibling: `EverMind-AI/EverOS`** (~13.1K stars,
-Apache-2.0, Python 3.12+, commit 2026-09-09, release v1.3.1). Architecturally the
-closest of the five to our bet: a **local-first memory runtime** with **canonical
+**Local-first, file-first: `EverMind-AI/EverOS`** (~13.1K stars,
+Apache-2.0, Python 3.12+, commit 2026-09-09, release v1.3.1). Architecturally
+it is a **local-first memory runtime** with **canonical
Markdown as the source of truth** ("readable, editable, diffable, and
Git-versioned") over derived **SQLite + LanceDB** indexes, direct file edits
cascading through watchers. That is the same files-as-truth + derived-index split we
@@ -325,13 +411,22 @@ which is our consolidation/auto-improve loop under other names. It validates the
but from the LLM-leaning corner: the minimal tier still **requires an LLM for the
core flow** (embedding/reranking optional, OpenRouter the default; a zero-LLM
demo exists but is not the operating default), it is a Python stack rather than a
-single binary, and MCP support is not stated in the README. **No retrieval
-benchmark is published.** Per the research-doc convention, EverOS has no
-standalone deep-dive; this section is its record.
+single binary. *Update 2026-10-13 (v1.4.1, ~13.4K stars):* native Windows
+support, an ANN vector index and an optional Milvus backend. An official
+`everos-mcp` server (EverMind-AI/EverOS-MCP) was documented on 2026-10-12,
+so the earlier "MCP support is not stated" no longer holds. Benchmarks are
+now published: `benchmarks/README.md` (2026-09-08) reports LoCoMo 94.42 and
+LongMemEval-S 94.00, end to end with an LLM in the retrieval loop, and
+records the exact models and versions per result file; the judge model is
+unverified, and the website still says 83.00% on LongMemEval, which does
+not match. Per the research-doc convention, EverOS has no standalone
+deep-dive; this section is its record.
**LLM-wiki with skill distillation: `NevaMind-AI/memU`** (~14.4K stars,
-Apache-2.0, Python, commit 2026-09-21; last tagged release v1.5.1 from 2026-03-23,
-so releases lag active code). Positioned as a **shared LLM wiki across sessions,
+Apache-2.0, Python, commit 2026-09-21). (Corrected 2026-10-13: an earlier
+note here said releases lag the code. The product ships on PyPI as
+`memu-cli`, 0.10.0 on 2026-08-05 and 0.11.0b3 on 2026-08-21; the GitHub
+v1.5.1 release is the retired `memu-py` package.) Positioned as a **shared LLM wiki across sessions,
agents and devices** whose signature is **automatic skill distillation**
(converting agent session history into reusable **Markdown** workflows), plus
scheduled memorization and standing retrieval-instruction injection into host
@@ -343,7 +438,10 @@ agent does the judgment/synthesis (the MemoryService itself makes no LLM calls,
the *product* still depends on a provider), there is **no MCP** (it ships as
sidecar binaries that patch host instruction files, with adapters for
Cursor/Claude Code/Codex/OpenClaw/Hermes/WorkBuddy), and a managed cloud exists at
-memu.so. **No named benchmark** (no LoCoMo/LongMemEval figure) is in the README.
+memu.so. Adapters exist for Cola and pi, and a generic `memu-agent detect`
+finds unknown agents' transcripts and instruction files. **No named
+benchmark** (no LoCoMo/LongMemEval figure) is in the README, and there is
+still no MCP server as of 2026-10-13.
Its skill-distillation-into-Markdown is the idea worth noting against our
experience pass. Per the research-doc convention, memU has no standalone
deep-dive; this section is its record.
@@ -371,8 +469,9 @@ a different buyer, not a coding-continuity migration target. Per the research-do
convention, Caura has no standalone deep-dive; this section is its record.
**Proxy fan-in memory server (misleading name): `TencentCloud/TencentDB-Agent-
-Memory`** (~27.2K stars, MIT, Node/TypeScript, commit 2026-09-22, release
-v2.0.1). Despite the "TencentDB" name it **requires no Tencent database product**:
+Memory`** (~27.2K stars in September, ~28.6K on 2026-10-13; MIT,
+Node/TypeScript, release v2.0.1 then, stable v2.0.2 on 2026-10-09 and
+v2.0.3-beta.1 on 2026-10-13). Despite the "TencentDB" name it **requires no Tencent database product**:
storage is **SQLite by default** (an experimental, off-by-default MongoDB
backend exists), so the name-search trap here would be to file it as a managed
cloud DB feature; it is not. It is a **team-level memory hub** that distills
@@ -385,8 +484,16 @@ hooks**. Documented harness support spans Claude Code, Codex, DeepSeek Harness,
CodeBuddy, WorkBuddy, Hermes and OpenClaw. Its benchmark claim is **self-reported
PersonaMem** (48% without memory → 76% with it, "+59% relative"). Its **CodeGraph**
is a codebase-intelligence feature adjacent to, not overlapping, our session
-memory. Per the research-doc convention, TencentDB Agent Memory has no standalone
-deep-dive; this section is its record.
+memory. *Update 2026-10-13:* there are two product lines. `main` (v1) is an
+OpenClaw/Hermes plugin (not the proxy), with self-reported agent-task
+results rather than memory-retrieval ones: WideSearch 33→50%, SWE-bench
+58.4→64.2% (50 tasks per session), AA-LCR 44→47.5%, plus token cuts. The v2
+team hub on the default branch needs an LLM and has per-asset access control
+(private / team / restricted / agent visibility, admin and member roles);
+v2.0.2 imports external tasks, private repositories and wikis, and
+v2.0.3-beta adds per-turn on-demand skill selection and session recording,
+both off by default. Per the research-doc convention, TencentDB Agent Memory
+has no standalone deep-dive; this section is its record.
**Adjacent, not head-to-head: `plastic-labs/honcho`** (~7K stars, AGPL-3.0
core + managed cloud, **$5.35M pre-seed** led by Variant/White Star/Betaworks).
@@ -438,51 +545,169 @@ transcripts, not *coding-project* recall, a different task we are not competing
on. Per the research-doc convention, Honcho has no standalone deep-dive; this
section is its record.
-### Popularity and maintenance signal (as of 2026-09-18)
-
-None of the tracked competitors is stale or abandoned: every repo below had a
-commit within the last ~10 days and grades **ACTIVE**. Star counts are GitHub's
-raw figures (approximate; the biggest few were sanity-checked against prior
-research). This is a healthy, crowded, fast-moving field: "we picked a dead
-space" is not a claim we can make, and none of these can be dismissed as
-unmaintained. (The five issue-#810 new-entrant rows, TencentDB Agent Memory,
-memU, EverOS, Engram and Caura, were verified against the GitHub metadata endpoint
-on 2026-09-22, and the agentmemory row was re-checked on 2026-10-10.)
-
-| Project | Stars (~) | Last commit | Latest release | Status |
-|---|---|---|---|---|
-| Mem0 | 65.6k | 2026-09-18 | openclaw-v1.2.0 (2026-09-18) | ACTIVE |
-| OpenViking | 38.0k | 2026-09-18 | v0.4.20 (2026-09-14) | ACTIVE |
-| Zep/Graphiti | 31.0k | 2026-09-17 | v0.30.2 (2026-09-08) | ACTIVE |
-| Cognee | 30.8k | 2026-09-18 | v1.5.4rc1 (2026-09-15) | ACTIVE |
-| Supermemory | 30.1k | 2026-09-18 | server-v0.0.8 (2026-08-17) | ACTIVE |
-| agentmemory | 29.3k | 2026-10-10 | v0.9.30 (2026-10-06) | ACTIVE |
-| TencentDB Agent Memory | 27.2k | 2026-09-22 | v2.0.1 (2026-08-25) | ACTIVE |
-| Letta | 24.8k | 2026-09-10 | 0.16.8 (2026-05-14) | ACTIVE (releases lag code) |
-| Hindsight | 23.9k | 2026-09-18 | v0.10.0 (2026-09-14) | ACTIVE |
-| memU | 14.4k | 2026-09-21 | v1.5.1 (2026-03-23) | ACTIVE (releases lag code) |
-| EverOS | 13.1k | 2026-09-09 | v1.3.1 (2026-09-08) | ACTIVE |
-| Honcho | 7.2k | 2026-09-18 | tag v3.2.0 (no GH release) | ACTIVE |
-| Engram | 6.8k | 2026-09-22 | v2.0.0 (2026-09-18) | ACTIVE |
-| basic-memory | 4.0k | 2026-09-16 | v0.23.2 (2026-08-25) | ACTIVE |
-| mcp-memory-service | 2.0k | 2026-09-18 | v11.12.0 (2026-09-14) | ACTIVE |
-| LangMem | 1.7k | 2026-09-09 | none (PyPI-versioned) | ACTIVE |
-| Caura | 0.5k | 2026-09-22 | backend-v3.17.2 (2026-09-19) | ACTIVE |
-| LiquidLM | n/a (closed) | n/a (engine closed) | `@liquidlm/cli` 0.1.5 (2026-09-17) | ACTIVE (young, pre-1.0, solo) |
-
-Raw stars track **funding and app-developer reach**, not
-coding-agent fitness. The leaders (Mem0, OpenViking, the KG/cloud entrants) are
-the app-personalization and hosted-context players, a different buyer from ours
-(see §5 and [`competitive-parity.md`](competitive-parity.md)). Our true
-architectural siblings sit lower on the star curve (basic-memory ~4.0k,
-mcp-memory-service ~2.0k) precisely because the self-hosted, file-first,
-coding-continuity niche is smaller and less VC-amplified. That is the segment we
-lead, not the whole chart. Two mild flags: Letta ships commits actively but its
-last *tagged* release is from May 2026 (formal releases lag the code), and
-LangMem/Honcho publish no GitHub *releases* (PyPI/tag-only versioning); and
-LiquidLM is **closed-source**, so it has no repo signal at all; its only public,
-open artifact is the MIT npm client `@liquidlm/cli` (v0.1.5, 2026-09-17), which is
-what dates it as active but young.
+### Refresh, 2026-10-13: what changed
+
+Two readings from this pass change how the field should be described.
+
+First, coding-agent memory is now the most-starred part of the field.
+claude-mem (~100.3K stars) and MemPalace (~59.5K) capture coding sessions
+through harness hooks, and Mem0, Supermemory, Hindsight, OpenViking and
+Cognee all ship coding-agent plugins next to their app-memory products. The
+earlier reading in this report, that the self-hosted coding-continuity
+segment is small and less funded, no longer holds.
+
+Second, the substrate choices that used to set us apart are now common.
+Letta keeps each agent's memory as a git repository of markdown files,
+Supermemory's memoryrepo is git-backed markdown, OpenViking's memories are
+editable markdown, EverOS keeps canonical markdown, and Hindsight mirrors its
+knowledge pages to markdown. Lifecycle-hook capture is standard across the
+plugins named above. Neither git-backed markdown nor hook capture
+differentiates on its own any more. What still does, as far as this pass
+found: a zero-LLM default, git-versioned markdown as the source of truth
+(not a mirror), claim-once handoffs and typed cross-project messaging,
+per-project multi-user auth on one self-hosted binary, and capture under
+whichever harness the user already runs.
+
+**Published numbers, with their setups.** None of these is like-for-like
+with another or with ours, and no ranking is claimed.
+
+| Tool | Number | Kind | Setup caveats |
+|---|---|---|---|
+| ai-memory 2.7 (unreleased) | LongMemEval-S hit@5 0.951 zero-LLM FTS, 0.936 local embeddings (all 470) | Retrieval through the shipped capture pipeline | 2.6 published 0.666 / 0.815; component mode (raw sessions indexed whole) FTS 0.972 |
+| MemPalace | 96.6% R@5 raw, 98.4% on 450 held-out questions | Retrieval only | Closest in kind to our hit@5; different harness |
+| agentmemory | 95.2% `recall_any@5`; 2026-10-09 baseline 452/470 (96.2%) any-hit, 84.68% strict recall-all@5 | Retrieval, component (whole raw sessions) | Reranker disabled; the authors say the baseline supports no competitive claim |
+| mcp-memory-service | 80.4% R@5 turn-level, 86.0% session-level | Retrieval | Not re-read on 2026-10-13 |
+| Mem0 | LoCoMo 92.5, LongMemEval 94.4, BEAM 64.1 (1M) / 48.6 (10M) | End-to-end LLM-judged QA | Managed platform at a top-200 budget; the open harness defaults to gpt-4o as answerer and judge at top-k 200; the headline run's models are not stated |
+| Zep | LoCoMo 94.7% (1,540 q), LongMemEval 90.2% (500 q) | End-to-end LLM-judged QA | gpt-5.4 reader and judge, cross-encoder reranking, ~5K context tokens; no harness repo; LongMemEval variant unverified; single-call "auto search" 86.5% LoCoMo |
+| Hindsight | LongMemEval-S 94.6%, LoCoMo 92.0%, BEAM-10M 64.1% | End-to-end LLM-judged QA | AMB harness; Gemini answers and judges (model unverified); ~43.6K context tokens per question |
+| EverOS | LoCoMo 94.42, LongMemEval-S 94.00 | End-to-end, LLM in the retrieval loop | Judge model unverified; its website says 83.00% LongMemEval |
+| MemOS | LoCoMo 88.83, LongMemEval 89.20 | Own harness | Not further verified |
+| Memori | LoCoMo 87% | Paper (arXiv:2603.19935) | Not further verified |
+| Supermemory | 95% Recall@15 (README); 97% "Recall@20 with aggregation" (research page) | Mixed | gpt-4o judges answers and the 97% repeats in the LLM-judge table; "#1 on LoCoMo and ConvoMem" without numbers |
+| Cognee | BEAM 0.79 (20 questions, one conversation), 0.67 at 10M | End-to-end LLM-judged QA | Tuned and scored on the same questions; gpt-5 for ingestion, answering and judging |
+| memvid | +35% LoCoMo (relative) | Relative claim | Unverified |
+
+**claude-mem (`thedotmack/claude-mem`, ~100.3K stars, Apache-2.0, v13.37.0
+on 2026-10-13).** Five lifecycle hooks feed SQLite FTS5 plus Chroma, and an
+LLM "observer" compresses every observation, so capture is LLM-driven. A
+paid cloud tier (CMEM Pro) exists, and the README endorses a cryptocurrency
+token. Recent work: non-blocking hooks that write to a spool, to-do tools, a
+three-step progressive search, a bridge that intercepts reads of Claude
+Code's and Codex's native memory folders and answers them from its own
+store, and surfacing past observations for a file when the agent reads it.
+No benchmarks are published.
+
+**MemPalace (v3.10.0, ~59.5K stars).** See §2 for the benchmark history.
+It now ships hooks for Claude Code, Codex and Cursor, a team server and a
+temporal graph, and its README publishes retrieval-only numbers (96.6% R@5
+raw, 98.4% on 450 held-out questions).
+
+**Mem0 (~67.1K stars, core v2.2.1 on 2026-09-25).** Native coding-agent
+plugins for Claude Code, Codex, Cursor, Kimi, Antigravity, OpenCode and pi
+live in `integrations/`, generated from one shared runtime (#7203,
+2026-09-08) with a conformance suite; the Claude Code plugin reached 0.3.0
+on 2026-08-31. The hooks cover SessionStart, UserPromptSubmit, PostToolUse,
+PostToolUseFailure, SubagentStart/Stop, Stop, PreCompact and SessionEnd.
+Capture is local with no model call; a background worker batches every 5
+exchanges or 5 minutes idle. Repository identity is a hash of the git
+remote; search scopes are `repo`, `dir` (a subdirectory) and `mine`, with an
+optional `--category` such as `problems_and_fixes`, and failed commands are
+captured with their fixes. It keeps shared team project memory plus personal
+memory per user. The plugins need a Mem0 cloud API key (`api.mem0.ai` by
+default; a `MEM0_API_URL` override calls the cloud v3 endpoints, and
+compatibility with a self-hosted server is unverified), and telemetry is sent
+under the account email. User Profiles (v2.2.0, #7340) are cloud-only. Since
+April 2026 retrieval is a single-pass add-only extraction plus semantic +
+BM25 + entity fusion (the OSS package needs the `[nlp]` extra), so the old
+"vector-only" description is wrong.
+
+**Zep / Graphiti (~31.7K stars, v0.30.2 on 2026-09-08).** v0.30.0 sends
+Neo4j queries to the configured database and reframes the README as a
+temporal knowledge graph framework (#1801); v0.30.2 uses a driver per
+request and isolates concurrent groups (#1699). Unreleased on `main`
+(bumped to 0.31.0): #1964 from Zep's internal fork (combined extraction per
+episode in bulk, date rules for facts, stricter contradiction rules), #1778
+`LLMRuntime` per-prompt model routing, and an MCP server on MCP SDK 2.x
+(#1921). FalkorDBLite is an embedded option; Kuzu support is deprecated
+because upstream is unmaintained. Hosted Zep has a Context MCP server with
+per-user OIDC sign-in, read-only connections set by an admin, and a write
+kill switch; its plugin says it is "not positioned for Claude Code, Codex".
+
+**Letta (`letta-ai/letta` ~25.1K stars; `letta-ai/letta-code` ~3.6K).** The
+V1 server is retired: commit #3430 (2026-08-16) archived it at 0.16.8, and
+the README points to Letta Code, a coding agent whose default backend is
+Letta Cloud (v0.34.13 on 2026-10-13). Since February 2026 ("context
+repositories") every agent's memory is a git repository of Markdown files
+with YAML frontmatter and a `MEMORY.md` index; "dreaming" subagents write in
+parallel through git worktrees, with no vector index by default. Its essay
+"Why Memory Isn't a Plugin" (2026-04-03) argues memory belongs inside the
+harness. The `claude-subconscious` plugin (~2.9K stars) is a demo that needs
+a Letta key and keeps one memory across all projects by default. Letta Code
+also has a `/doctor`-style memory audit that includes the token cost of the
+session brief. The ADE references in older notes describe the retired line.
+
+**Memori (~17.1K stars)** sits in the app-memory camp; its paper
+(arXiv:2603.19935) reports LoCoMo 87%. **MemOS (~11.8K stars, v2.0.34)**
+belongs to the memory-OS camp and reports LoCoMo 88.83 and LongMemEval
+89.20 on its own harness. **memvid (~16.6K stars)** has had no commits since
+2026-07-14 and publishes only relative claims (+35% LoCoMo), unverified.
+
+**Adjacent tools, not memory systems:** codebase-memory-mcp (~46.5K, a code
+graph), qmd (~30.4K, markdown search), context-mode (~27.9K, survives
+compaction with a per-project SQLite FTS5 store fed by hooks) and beads
+(~27.8K, an issue tracker with `bd remember`).
+
+### Popularity and maintenance signal (as of 2026-10-13)
+
+Star counts, releases and last commits come from the GitHub API on
+2026-10-13; the "Sept" column is the 2026-09-18 figure where this report
+tracked it. Rows marked *not re-read* keep their September figures. Of the
+rows re-read with a commit date, all but memvid and the retired Letta server
+had commits in October 2026; Letta's original server is retired in favour of
+Letta Code.
+
+| Project | Stars (~) | Sept | Last commit | Latest release | Status |
+|---|---|---|---|---|---|
+| claude-mem | 100.3k | not tracked | 2026-10-13 | v13.37.0 (2026-10-13) | ACTIVE |
+| Mem0 | 67.1k | 65.6k | 2026-10-12 | core v2.2.1 (2026-09-25) | ACTIVE |
+| MemPalace | 59.5k | not tracked | not re-read (active) | v3.10.0 | ACTIVE |
+| Hindsight | 49.1k | 23.9k | 2026-10-13 | v1.0.0 (2026-10-13) | ACTIVE |
+| OpenViking | 39.8k | 38.0k | 2026-10-13 | v0.5.0 (2026-10-09) | ACTIVE |
+| Cognee | 32.2k | 30.8k | 2026-10-08 | v1.6.3 (2026-10-07) | ACTIVE |
+| Zep/Graphiti | 31.7k | 31.0k | 2026-10-09 | v0.30.2 (2026-09-08); `main` at 0.31.0, unreleased | ACTIVE |
+| Supermemory | 31.2k | 30.1k | 2026-10-13 | server-v0.0.9 (2026-10-12) | ACTIVE |
+| agentmemory | 29.4k | 29.3k | 2026-10-13 | v0.9.30 (2026-10-06) | ACTIVE |
+| TencentDB Agent Memory | 28.6k | 27.2k | 2026-10-13 | v2.0.2 (2026-10-09); v2.0.3-beta.1 (2026-10-13) | ACTIVE |
+| Letta (V1 server) | 25.1k | 24.8k | 2026-09-10 (docs only) | 0.16.8, frozen | RETIRED (archived 2026-08-16) |
+| Letta Code | 3.6k | not tracked | release 2026-10-13 | v0.34.13 (2026-10-13) | ACTIVE |
+| Memori | 17.1k | not tracked | not re-read | not re-read | not re-read |
+| memvid | 16.6k | not tracked | 2026-07-14 | not re-read | QUIET (no commits since 2026-07-14) |
+| memU | 14.5k | 14.4k | 2026-10-13 | PyPI `memu-cli` 0.10.0 (2026-08-05), 0.11.0b3 (2026-08-21) | ACTIVE |
+| EverOS | 13.4k | 13.1k | not re-read | v1.4.1 (2026-09-24) | ACTIVE |
+| MemOS | 11.8k | not tracked | not re-read | v2.0.34 | not re-read |
+| Honcho | 7.2k | 7.2k | 2026-09-18 | tag v3.2.0 (no GH release) | not re-read |
+| Engram | 6.8k | 6.8k | 2026-09-22 | v2.0.0 (2026-09-18) | not re-read |
+| basic-memory | 4.0k | 4.0k | 2026-09-16 | v0.23.2 (2026-08-25) | not re-read |
+| mcp-memory-service | 2.0k | 2.0k | 2026-09-18 | v11.12.0 (2026-09-14) | not re-read |
+| LangMem | 1.7k | 1.7k | 2026-09-09 | none (PyPI-versioned) | not re-read |
+| Caura | 0.5k | 0.5k | 2026-09-22 | backend-v3.17.2 (2026-09-19) | not re-read |
+| LiquidLM | n/a (closed) | n/a | n/a (engine closed) | `@liquidlm/cli` 0.1.5 (2026-09-17) | not re-read |
+
+Adjacent, not memory systems (not ranked above): codebase-memory-mcp ~46.5k,
+qmd ~30.4k, context-mode ~27.9k, beads ~27.8k.
+
+Raw stars still measure reach more than fitness for coding continuity, but
+the top of the chart is now coding-agent memory: claude-mem leads, MemPalace
+is third, and most of the app-memory leaders (Mem0, Hindsight, OpenViking,
+Supermemory, Cognee) now ship coding-agent plugins (see
+[`competitive-parity.md`](competitive-parity.md)). Flags: Letta's original
+server is retired and its work continues in Letta Code; memU ships through
+PyPI rather than GitHub releases (an earlier "releases lag code" reading here
+was a misread); memvid has had no commits since 2026-07-14;
+LangMem and Honcho publish no GitHub *releases* (PyPI/tag-only versioning);
+and LiquidLM is **closed-source**, so it has no repo signal at all; its only
+public, open artifact is the MIT npm client `@liquidlm/cli` (v0.1.5,
+2026-09-17).
## 4. Research developments worth knowing
@@ -517,7 +742,7 @@ what dates it as active but young.
rather than overwrites. Our pages already supersede; our `links` and
`entities` rows do not carry validity intervals.
- Also active, lower relevance for us: MIRIX (multi-agent memory
- specialization), MemOS/EverMemOS (scheduling memory like an OS),
+ specialization), MemOS (scheduling memory like an OS),
A-TMA (state-aware memory failure taxonomy), sleep-time compute
(Letta: consolidate between sessions, not during). We already do the last
by shape (session-end consolidation jobs,
@@ -557,7 +782,8 @@ colleague over long horizons" is our pitch. Harness in-repo,
runnable on demand like `writer_throughput`, numbers in docs with the
run command, and never a marketing claim without the harness. Hindsight
(`research-hindsight.md`) sharpens this further: a funded competitor now
-ships a *paper* with per-category LongMemEval sub-scores (91.4%), so the
+ships a *paper* with per-category LongMemEval sub-scores (91.4% then, 94.6%
+on its own harness as of 2026-10), so the
bar is no longer "publish a number" but "publish a harness and a metric
someone else can re-run". Fix the split and the metric (theirs is
accuracy, agentmemory/mcp-memory-service quote R@5; pick one and state
@@ -620,7 +846,8 @@ summary + L2 keep-token shape for cold episodic pages
([`design-memory-aging.md`](design-memory-aging.md)); the remaining R7 work
is the *tiered on-start brief* that leads with abstracts, still a design
doc before code. Directory-scoped retrieval
-(OpenViking's TrieHI) is the lower-priority half: a path-prefix filter
+(OpenViking's subtree filters, which replaced its TrieHI recursion in
+v0.4.23) is the lower-priority half: a path-prefix filter
on `memory_query` within a project, worth noting but not scheduling
until R7's tiering lands.
@@ -646,7 +873,7 @@ connectors ever land they belong in the companion importer as opt-in, outside
the trusted boundary, so the file-first / zero-LLM model is preserved (the same
line drawn for multimodal/PDF import: OCR/transcribe to markdown pages, never an
opaque store). On the other two axes: **security, nothing
-to borrow** (Supermemory is weaker on every axis we chose: opaque store,
+to borrow** (Supermemory is weaker on every axis we chose: an opaque default store,
cloud-first, LLM-required, `containerTag` isolation vs our 3-tuple + invariant
#16, so this pass is confirmation of our posture, not a source of borrowings;
the only security-relevant note is defensive: any future importer connector must
@@ -659,7 +886,8 @@ worth doing because it de-risks measuring anything else; f16 is evaluate-only;
the rest is hold-or-reject. No implementation is scheduled here.
**Deliberately not recommended:** joining the memory-OS camp (agent
-self-editing its memory is token-expensive, and Letta itself is hedging);
+self-editing its memory is token-expensive, and Letta's own successor now
+keeps memory as git-backed markdown files);
adopting a graph database (bi-temporal-lite on SQLite covers the useful
part); spatial/metaphor architectures (mempalace); publishing any
benchmark number before R2 exists; chasing agentmemory's tool-count
@@ -736,11 +964,13 @@ benchmark number before R2 exists; chasing agentmemory's tool-count
of truth + SQLite/LanceDB indexes, user/agent tracks, Knowledge Wiki, offline
consolidation, minimal-tier LLM-required, OpenRouter default; Apache-2.0) and
the metadata endpoint (~13.1K stars, commit 2026-09-09, release v1.3.1). No
- benchmark published. Analyzed inline in §3 per the no-standalone-doc convention.
+ benchmark was published as of 2026-09-22 (see the 2026-10-13 sources
+ below). Analyzed inline in §3 per the no-standalone-doc convention.
- memU (issue #810): github.com/NevaMind-AI/memU (README: shared LLM wiki,
Markdown skill distillation, SQLite/Postgres+pgvector, host-instruction-file
sidecars, no MCP; LICENSE.txt = Apache-2.0) and the metadata endpoint (~14.4K
- stars, commit 2026-09-21, release v1.5.1 2026-03-23 so releases lag); managed
+ stars, commit 2026-09-21, GitHub release v1.5.1 2026-03-23, which is the
+ retired `memu-py`; the product ships on PyPI as `memu-cli`); managed
cloud at memu.so. No named benchmark. Analyzed inline in §3 per the
no-standalone-doc convention.
- Caura (issue #810): github.com/caura-ai/caura (README: governed multi-agent
@@ -766,7 +996,7 @@ benchmark number before R2 exists; chasing agentmemory's tool-count
<project>/memory layout).
- Papers: arXiv:2605.19952 (TriMem), arXiv:2605.06716 (Storage→
Experience survey), arXiv:2605.12493 (LongMemEval-V2), MIRIX
- (Semantic Scholar), MemOS/EverMemOS listings.
+ (Semantic Scholar), MemOS listings.
- Landscape comparisons: cognee.ai, vectorize.io, atlan.com,
particula.tech, mnemoverse.com 2026 roundups (read as marketing;
cross-checked against the projects' own repos where load-bearing).
@@ -778,3 +1008,50 @@ benchmark number before R2 exists; chasing agentmemory's tool-count
[`design-hindsight-borrowings.md`](design-hindsight-borrowings.md) §3
(belief-strength). Migration verdicts:
[`competitive-parity.md`](competitive-parity.md).
+- 2026-10-13 refresh (stars, releases and last commits from the GitHub API
+ that day):
+ - claude-mem: github.com/thedotmack/claude-mem (README, Apache-2.0,
+ v13.37.0).
+ - MemPalace: github.com/MemPalace/mempalace (README benchmark split,
+ v3.10.0).
+ - Mem0: github.com/mem0ai/mem0/tree/main/integrations/claude-code-plugin
+ and the rest of `integrations/` (#7203 shared runtime, #7340 User
+ Profiles); mem0.ai/research; github.com/mem0ai/memory-benchmarks
+ (harness defaults).
+ - OpenViking: github.com/volcengine/OpenViking release notes v0.4.22,
+ v0.4.23 and v0.5.0 (#5625 Gateway, #5459, #5450, #5454, #5456, #5214,
+ #5359); blog.openviking.ai posts of 2026-05-29 (benchmarks, v0.3.22) and
+ 2026-10-03 (local keyless embeddings).
+ - Zep/Graphiti: github.com/getzep/graphiti release notes v0.30.0 and
+ v0.30.2 (#1801, #1699) and unreleased `main` (#1964, #1778, #1921);
+ getzep.com/research (modified 2026-09-29);
+ help.getzep.com/memory-mcp-server; github.com/getzep/zep-context-plugin.
+ - Cognee: github.com/topoteretes/cognee release notes v1.6.0 to v1.6.3;
+ github.com/topoteretes/cognee-integrations/tree/main/integrations/claude-code
+ (v1.6.6 changelog, plugin directory listing);
+ `cognee/eval_framework/beam/REPORT.md`.
+ - Supermemory: github.com/supermemoryai/supermemory
+ `apps/docs/self-hosting/overview.mdx` (server binary not open source,
+ lite licence, telemetry), the Claude Code and Codex plugin hooks, the
+ README and research page benchmark claims, smfs.ai.
+ - agentmemory: `docs/benchmarks/2026-10-09-evaluation-baseline.md` and
+ the commit history to 2026-10-13.
+ - TencentDB Agent Memory: github.com/TencentCloud/TencentDB-Agent-Memory
+ (`main` v1 README with agent-task results; v2 default branch; release
+ notes v2.0.2 and v2.0.3-beta.1).
+ - Letta: github.com/letta-ai/letta (commit #3430, 2026-08-16, README
+ pointer); github.com/letta-ai/letta-code (v0.34.13); Letta's material on
+ context repositories (February 2026) and its post "Why Memory Isn't a
+ Plugin" (2026-04-03); the `claude-subconscious` plugin repository.
+ - Hindsight: github.com/vectorize-io/hindsight (v1.0.0 release notes,
+ `hindsight-coding-agents`, `hindsight fs mount`);
+ github.com/vectorize-io/agent-memory-benchmark (AMB harness defaults).
+ - memU: PyPI `memu-cli` release history (0.10.0, 0.11.0b3);
+ github.com/NevaMind-AI/memU README (adapters, `memu-agent detect`).
+ - EverOS: github.com/EverMind-AI/EverOS (v1.4.1 release notes,
+ `benchmarks/README.md` dated 2026-09-08); github.com/EverMind-AI/EverOS-MCP.
+ - Memori: arXiv:2603.19935 (LoCoMo 87%). MemOS: README (v2.0.34;
+ LoCoMo 88.83, LongMemEval 89.20). memvid: GitHub metadata (last commit
+ 2026-07-14).
+ - Adjacent tools: GitHub metadata for codebase-memory-mcp, qmd,
+ context-mode and beads.