Persistent memory infrastructure for AI agents. Identity, knowledge graph, and search.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Ori Memory.
ori_wakeSession boot: bounded briefing, plus onboarding on a fresh vault
ori_updateWrite to identity, goals, methodology, daily, or reminders
ori_update_decisionRecord the user's answer to an update notice
memory_sqlRead-only SQL over the index β anything the ranking tools cannot express
ori_healthFull diagnostics
ori_addCapture to inbox
Open-source persistent memory infrastructure for AI agents.
Ori implements human cognition as mathematical models on a knowledge graph. Activation decay from ACT-R. Spreading activation along wiki-link edges. Hebbian co-occurrence from retrieval patterns. Reinforcement learning on retrieval itself. Recursive graph traversal with sub-question decomposition. The system learns what matters, forgets what doesn't, and optimizes its own retrieval pipeline.
Persistent memory across sessions, clients, and machines. Zero-infrastructure retrieval that matches and in several cases strongly outperforms incumbents on benchmarks β and you own every byte of your data. Markdown on disk. Wiki-links as graph edges. Git as version control. No database lock-in, no cloud dependency, no vendor capture.
v0.7.0 Β· npm Β· Paper Β· Apache-2.0
Ori is three surfaces over one index. The markdown is the truth; the index is derived. The learned half β Q-values, LinUCB arms, retrieval history β is not, so export it before deleting anything (see When to rebuild).
CLI
MCP server β ori serve, registered in a client config. This is how an
agent uses it.
Library β recall is the same wired entry the CLI and the MCP
ori_recall tool both go through, so the programmatic path and the agent
path cannot drift.
searchComposite is also exported for callers that have already assembled
vectors, graph metrics and a config; recall does that assembly for you.
The export surface is deliberately small and is a semver contract; the rest of
src/core is internal. Versions before 0.7.1 shipped no main and no
exports, so a bare import threw and the library path did not exist β but the
CLI and MCP paths always worked, and existing users were unaffected.
ori-memory/cli resolves to the CLI entry, for callers that need to locate
the binary and spawn it rather than link against it. require.resolve on it
is the intended use; importing it runs the CLI.
deeplethe/lethe, bench/forgeteval/,
MIT. No API key, no network, no LLM judge. The scorer is a ~20-line
deterministic substring check in GeneratedCase.run(): it calls
recall_texts(query, k=10) itself, joins the top 10, and tests
must_contain / must_not_contain. Generation is random.Random(42) over
templates. The optional LLM hook is llm=None by default and was not used.
| family | Ori | what it requires |
|---|---|---|
| supersession | 200 / 200 | replace a fact, old value must not surface |
| decay | 200 / 200 | release(query) β soft-evict on demand |
| amnesia | 198 / 200 | evict one subject, keep the bystanders |
| purge | 182 / 200 | hard-delete, verbatim secret must be gone |
| drift | 198 / 200 | two supersessions in sequence, only the last survives |
| overall | 978 / 1000 (97.8%) | 1,000 generated cases, seed 42 |
Not fitted to the suite: unseen seeds give 97.2% (seed 7) and 98.0% (seed 123). The fixes were structural bugs in the matcher, not case-specific patches.
Quote these against a 35% floor, not against zero. The oracle is
must_contain AND must_not_contain over the top 10, and when
must_contain is empty β every decay case and 150 of 200 purge cases,
350 of 1,000 β a system that returns nothing passes vacuously. A null
adapter that accepts writes and never returns anything scores 350/1000 =
35%, including 100% on the whole decay family. On the 650 cases that
actually discriminate, Ori is 628/650 = 96.6% and its purge drops from
91% to 64%, which is its real weak spot. The published LangMem 99.5 /
Lethe 99.3 / Mem0 88.8 are full-suite and carry the same floor.
See docs/falsification/forgeteval-validity.md.
| System | template | adversarial |
|---|---|---|
| LangMem | 99.5 | β |
| Lethe v1 | 99.3 | 63.4 |
| Ori Mnemos | 97.8 | 65.7 |
| Mem0 | 88.8 | 68.3 |
| MemPalace | 0 | β |
Ori scored 0/1000 on this benchmark earlier the same day. Not a low
score β a structural zero. ForgetEval's adapter protocol has three optional
operations, supersede, release and purge, and Ori had none of them:
zero source hits across src/. Every case was N/A. The ACT-R decay and
Ebbinghaus curves Ori already had are ranking-time priors, and no benchmark
measures those; ForgetEval's "decay" family means an explicit release(query)
call. src/core/forget.ts is 305 lines and closed the whole gap in a day,
which is the most informative number on this page.
That table is not a ranking, and "third" would be a bad way to read it.
ForgetEval's code lives inside deeplethe/lethe β the benchmark and its
top-scoring system are the same org, in a repo with 14 stars. The template
column has four entries, one of which (MemPalace) scores 0 by construction
because it exposes no deletion primitive at all. Two of the rest saturate.
On the adversarial layer Ori is 5th of 14 configurations and lands inside
the 63β68% band the paper's own McNemar test calls noise (ΟΒ²=0.125,
p=0.724); the paper's words are "the bench reads the trade-off, not a
winner." The one comparison that is statistically real is Ori vs Lethe on
template, z=2.81, p=0.005 β Lethe is genuinely ahead.
Who is missing matters more than who placed. Supermemory (30.6k stars,
$2.6M seed) ships POST /v4/memories/forget-matching β natural-language
forgetting with dryRun, threshold, maxForget and an audit handle β
plus versioned PATCH supersession. That is a better-specified control
plane than anything scored here, and it maps onto the adapter protocol
almost verbatim. It has never been benchmarked. Neither have Hindsight
(24.0k), Cognee (30.8k, excluded for API incompatibility), MemOS (11.5k) or
Honcho (7.3k).
So the honest claim is not that Ori forgets better than the field. It is that Ori forgets offline, with no API key, and that the field has no idea how well it forgets:
Fifteen agent-memory systems were checked. Zero publish a forgetting benchmark for their own system. Five such benchmarks exist β ForgetEval, Memora/FAMA, MemoryAgentBench-SF, StateMemBench, MemLeak β and vendors cite none of them. Every forgetting number in existence was produced by a rival or an outsider.
Read the adversarial column with one more caveat. 253 of its 385 cases
were admitted only if the vendor's own system passed them, annotated in
adversarial.py as "Oracle-validated (Lethe / Lethe+LLM passes the case)".
The authors' own blind 77-case external subset drops the whole field from
the 63β68% band to 28β33%, which says the in-house suite is materially
easier. A benchmark whose admission filter is "the measurer's system solves
it" cannot rank the measurer.
Reproduce:
Four minutes, 1,000 cases, $0.00. The adapter talks NDJSON to a resident Node process because the harness makes ~10 calls per case and a CLI subprocess per call would spend hours on interpreter startup.
Head-to-head against Mem0. Both systems indexed the same documents and answered the same questions in the same run.
| Metric | Ori Mnemos | Mem0 1.0.6 | Ξ |
|---|---|---|---|
| Recall@5 | 0.87 | 0.29 | 3.0Γ |
| MRR | 0.91 | 0.42 | 2.2Γ |
| Retrieval F1 | 0.51 | 0.26 | 2.0Γ |
| Answer proxy | 0.73 | 0.34 | 2.1Γ |
| Infrastructure | Markdown + SQLite | Redis + Qdrant + cloud | β |
n = 50, single run, no seed averaging, topK = 5. Mem0 at 1.0.6 (March 2026);
2.x is not yet re-run, so read this as a point-in-time comparison, not a current
one. Raw output: bench/results/, reproduce with
bench/hotpotqa-eval.ts and
bench/mem0-hotpotqa.py.
These are not HotpotQA's official metrics and must not be compared to the
HotpotQA leaderboard. The official scorer, hotpot_evaluate_v1.py, reports
answer EM/F1 under its own normalize_answer, plus supporting-fact F1 over
(title, sentence_id) pairs, plus joint EM/F1. The table above is a
title-level retrieval metric defined in bench/hotpotqa-eval.ts, and
"answer proxy" is not a HotpotQA metric at all β it is token recall of the
gold answer against retrieved text. The comparison is valid in one direction
only: Ori and Mem0 went through the same harness on the same questions,
so the ratio between the two columns means something. The absolute numbers
do not transfer anywhere.
At n = 50 the Wilson 95% intervals are Ori [0.75, 0.94] and Mem0
[0.18, 0.43] on Recall@5. They do not overlap, so the gap is real, but the
two-decimal precision in the table is not: read 0.87 as "high 0.80s".
Latency is not reported here. The evaluation harness does not record it, so any number would be recalled rather than measured. What is measured is that Ori answers from markdown plus a local SQLite index with no API key and no network.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ori-memory-2)<a href="https://allmcps.com/mcp/ori-memory-2"><img src="https://allmcps.com/api/badge/ori-memory-2?style=directory" alt="Ori Memory on AllMCPs" /></a>