Brain
A Rust-core memory layer for AI agents, with SDKs in TypeScript, Python and Rust. This page reports what we have actually measured, what it was measured against, and — at the bottom — the longer list of things we have not measured at all.
Pre-release. No external users.
Brain is v0.1.0. The wire protocol, storage tables and schema model are still in flux, and until v1.0 ships breaking changes happen in place without back-compatibility shims. Nothing on this page describes a production deployment, because there are none. Every figure below comes from a local evaluation harness running against a single node on loopback, and every one of them is reproducible by running that harness yourself.
LoCoMo, 199 questions, judged by GPT-4o-mini.
LoCoMo (Maharana et al., ACL 2024) tests long-horizon conversational memory. We ran its full 199-question set against one conversation, three separate times, as read-only re-reads of identically ingested data. Accuracy came out at 0.628, 0.648 and 0.673 — a 4.5-point spread on identical inputs. We report the range rather than the best run, because the spread is the honest description of what a single number would hide.
An important qualification: a judged answer is Brain's retrieval plus a GPT-4o-mini synthesiser writing over it. It is not a measurement of the database alone. Our own internal analysis attributes most of the residual error to the synthesiser rather than to retrieval, which means a better answer model would likely move these numbers without Brain changing at all.
Against two published baselines.
The harness carries two cross-comparable published numbers for this benchmark. GPT-4 with the full conversation in context scores 0.58 (Maharana et al., ACL 2024, Table 3). Zep scores 0.5844 when re-scored under the standard five-category denominator. Brain's measured range sits above both — but read the caveat before treating that as a ranking.
We have never run a competitor. Both rows above are published figures, not measurements we made, and they were produced on different hardware under different conditions. Zep's own headline for this benchmark is 0.833; that figure excludes the adversarial question category, which inflates it by roughly 25 points against the standard denominator — the 0.5844 above is the re-scored, like-for-like number. Our run also used one conversation rather than the full ten-conversation set, so it is not a complete LoCoMo result.
The strongest result we have.
When a fact is replaced, the old value must stop being returned without being destroyed. We test this with a purpose-built 40-question fixture covering knowledge updates and temporal reasoning. It passes 40 out of 40 under both the heuristic judge and the GPT-4o-mini judge — 20/20 on knowledge update, 20/20 on temporal. This is the capability the architecture exists for, and it is the one that measures cleanest.
Stated plainly: this is our own fixture, not a public benchmark. A 40-question set we wrote to test the thing we built is weaker evidence than LoCoMo, and a perfect score on it says more about the fixture's difficulty than a 0.65 on LoCoMo does. It is reported because it is real, not because it is decisive.
Three retrievers, one read verb.
RECALL is the sole client read verb, and every request walks one code path. The cue is embedded, then fanned out to three always-wired retrievers — semantic (HNSW over 384-dimension bge-small-en-v1.5 embeddings), lexical (tantivy BM25), and graph (entity-joined traversal). Their ranked lists are merged by Reciprocal Rank Fusion with k = 60, trimmed by a filter chain, and reordered by a bge-reranker-base cross-encoder. The result is shaped into a membership answer — Single, Many or None — over a relevance band, rather than returned as a top-K cut the caller has to sift.
On the write side, four synchronous phases run before the acknowledgement — validate, embed, reserve, persist — and the ack means the memory is durable and queryable: WAL fsynced, row committed, arena slot written, index point live. Four derivation stages then run asynchronously after it: auto-edge, temporal edge, extraction, and hypothetical-question generation. No extractor output exists at the moment ENCODE returns.
One honest caveat on the membership shape: None is effectively never emitted today. Across 199-question runs the system abstained at most once. The relevance band exists and the code path is live, but in practice Brain almost always answers.
p50 and p95 only, on loopback.
On the 419-memory LoCoMo corpus, read latency measured p50 41 ms and p95 53 ms. Two later re-reads of the same data measured p95 at 202 ms and 210 ms — a four-fold spread across runs that differ only in when they were executed. All measurements are single-node, over loopback, at concurrency 8, on corpora between 5 and 419 memories. None of this predicts behaviour on your hardware at your scale.
We have never measured a p99. The harness records p50, p95 and mean. Any p99 figure attributed to Brain is not ours.
This list is longer than the one above.
A research page that only lists wins is marketing. These are the things we do not have numbers for, stated so that nobody has to discover them by trusting us first.
Independent, reproducible benchmarking is in progress. When it lands, this page will be updated with whatever it says — including if it is unflattering.
Run the harness yourself.
Every figure above comes from the open evaluation harness, and the runs are regenerable. If a number here does not survive your own run, that is a bug worth reporting — the figures are only useful if they hold up outside this machine.