Scan your whole stack
Latest version: v0.3.3
ZenBrain Memory was last scanned on 23 Nov 2026 at version 0.3.3. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.3.3 LATEST | 23 Nov 2026 | No rules fired |
| 0.3.2 | 21 Nov 2026 | No rules fired |
| 0.3.1 | 31 Oct 2026 | No rules fired |
| 0.3.0 | 17 Oct 2026 | Not shown |
| 0.2.2 | 16 Oct 2026 | Not shown |
Findings for v0.3.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.3.3; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
npm install @zensation/algorithms # the library, Node 22 or newer
claude mcp add --scope user zenbrain -e ZENBRAIN_DB=~/.zenbrain/memory.db -- npx -y @zensation/mcp # memory for Claude Code
Versions at a glance (checked 4 November 2026)
| Repository release | v0.7.0, 22 November 2026. |
| Packages | @zensation/algorithms 0.6.2 · @zensation/core 0.7.0 · @zensation/mcp 0.3.3 · Claude Code plugin 0.1.4 (manifest) |
| Research records | Software: Zenodo 10.5281/zenodo.24426158 (v0.6.3; all versions under 10.5281/zenodo.22260018) · Paper: version 9, Zenodo 10.5281/zenodo.23832288 and arXiv:2604.23878v4 |
Three ways in
@zensation/mcp 0.3.1. A note stored in one
session comes back in the next when the question shares words with it, as the top semantic result with a score above 0;
recall is lexical until you add an embedding provider. Checked on 4 November 2026 at the protocol level: two server
processes, one memory file, Node 22.23.3.@misc{bering2026zenbrain,
title = {ZenBrain: A Neuroscience-Inspired 7-Layer Memory Architecture for Autonomous AI Systems},
author = {Bering, Alexander},
year = {2026},
eprint = {2604.23878},
archivePrefix = {arXiv},
primaryClass = {cs.AI},
doi = {10.5281/zenodo.19353663},
url = {https://arxiv.org/abs/2604.23878}
}
Feedback, replications, and counter-results are explicitly welcome — please open an issue or reach out via research@zensation.ai.
Your AI forgets everything after every conversation. ZenBrain gives it a memory that lasts across sessions, split into layers the way human memory is, and ships the mechanisms memory research describes (spaced repetition, emotional tagging, Hebbian strengthening, forgetting curves, sleep replay) as tested functions. Which of them run on their own and which you call yourself is in one table.
Architecture vs. this package. ZenBrain's architecture is seven memory layers, a MemoryCoordinator and nine foundational algorithms, plus six Predictive Memory Architecture (PMA) components (paper, version 9). The six PMA components are proprietary: they run in our own private production system and are not in these packages, which contain the hooks they plug into. This open-source package ships the algorithm library: 10 core algorithms + 10 advanced research modules (20 modules), zero-dependency.
What was measured. On LongMemEval-500 (500 questions), the measured ZenBrain arm is a Python port of a scoring class from our test harness, not the seven-layer system and not an import of these packages. Input tokens are counted in the answer step only; building the memory is not counted. Source: paper version 9, Zenodo 10.5281/zenodo.23832288 (31 October 2026) and arXiv:2604.23878v4.
In that setup, three of nine head-to-head comparisons hold against Letta, Mem0 and A-Mem — all three against A-Mem; the remaining six, against Letta and Mem0, show no significant difference. Three competitors x three LLM judges, Bonferroni-corrected (alpha = 0.05/18) and version-matched. That arm reaches 91.3% of the binary-judge accuracy of a full-context comparison arm (whose answer model reads the whole history) with 1/109.7 of its input tokens in the answer step (47.7% vs. 52.2%).
Agreement between LLM judges is not the same as independent confirmation: the paper counts three repetitions of one model as one rater. Our separate package voteworth measures how often two voters of a judge or voter panel pick the same answer when both break from the plurality, and corrects the vote for voters that do, naming the panel shape where it cannot.
Works out of the box without an embedding provider — lexical ranking, nothing extra
to install. nomic-embed-text can be added as the embedding provider; it was the embedder of the
measured run. The figures above were not measured with this package: per the correction notice,
the measured arm is a Python port of a test-harness class, not an import of the packages.
The paper prints where ZenBrain loses as well: on LoCoMo, substring-based aggregate F1 favours lexical retrieval (BM25) by metric design, and we do not contest that. The advantage is most pronounced in the judge-graded comparisons and on cross-session reasoning.
The mechanism comparison further down re-runs from this repository in under a minute —
bash scripts/compare-mechanisms.sh, no API keys; it needs git, Node and network access to clone the three
compared repositories at the pinned commits. It prints a positive
and a negative control before the result, so the instrument can be checked before its output
is trusted. The mechanism ablation behind paper Tables 7–9 also runs from here: cd backend && npm run experiments, and CI compares every point estimate with the published ones. The method and the effect
sizes behind the LongMemEval numbers above are in the paper; this repository ships no runner for those.
The archived packages below run the significance tests and effect sizes in full, and the mechanism ablation
behind paper Tables 7–9.
The raw material behind the numbers above is deposited on Zenodo, open access and citable. Both links are concept DOIs and resolve to the latest version, the same convention this README uses for the paper archive; each description was measured against the version named after it.
verify-against-reference.mjs, which diffs a fresh run against
that reference and exits non-zero on drift. npm install && npm run experiments; the run itself
needs no API keys and no network, and finishes in under a minute on a laptop. Two of the paper's
other ablation tables need data this package does not carry: Table 11 the LoCoMo corpus, Table 13
a different pipeline. The package says so itself.SHA256SUMS.txt covering every file in the package, and the analysis scripts. Three of those
scripts are stdlib-only and self-checking — the full-context comparison behind the 91.3% figure, the
judge-agreement figures, and the real-pipeline flag-ablation table: each prints every re-derived
value next to the reference it has to match, and exits non-zero on mismatch. The significance
tests behind the nine head-to-head comparisons against Letta, Mem0 and A-Mem sit in a separate
script that needs numpy and scipy; it recomputes all eighteen pairwise tests and rewrites the
deposited significance JSON byte-identically, so what catches a mismatch there is the checksum,
not an exit code.Both packages name what they do not cover. Replications and counter-results are welcome: research@zensation.ai.
ZenBrain's architecture takes its mechanisms from human memory research: nine foundational algorithms, which are in this library, and six Predictive Memory Architecture components, which are not public. In the paper's comparison table, none of the eight compared systems has more than two of the nine features. The table below records which of five of these mechanisms appear in the public source of three widely used memory systems, at pinned versions, on a fixed date.
| Mechanism | ZenBrain | Mem0 | Letta | Zep |
|---|---|---|---|---|
| FSRS-style spaced repetition | yes | — | — | — |
| Hebbian learning | yes | — | — | — |
| Ebbinghaus forgetting curves | yes | — | — | — |
| Sleep consolidation | yes | — | — | — |
| Emotional tagging | yes | — | — | — |
| Zero runtime dependencies | yes | — | — | n/a |
How this was measured, 27 August 2026. Full-text search over the public source of mem0ai/mem0 at tag ts-v3.1.7 (npm mem0ai 3.1.7, PyPI mem0ai 2.0.19), letta-ai/letta-code at tag v0.31.2 (npm @letta-ai/letta-code 0.31.2) and getzep/zep at commit 7de18df, its last before that date, lockfiles excluded. getzep/zep holds examples and integrations for the hosted Zep Cloud, whose own source is not public: a dash in the Zep column covers that repository only, and there is no library to count dependencies of. A dash means the term does not occur in that snapshot — not that the system cannot do something comparable under another name. One case we know of: Letta Code revises memory in the background and calls it "dreaming" (sleep-time compute), which the term search for sleep consolidation does not match. In ZenBrain the mechanisms in this table are library functions; which of them the coordinator runs is in this table. Dependency counts are declared direct dependencies: @zensation/core resolves to two packages, both our own; mem0ai declares four, @letta-ai/letta-code eighteen. Re-run the whole check — the five mechanism rows and the dependency counts, at these pins — with scripts/compare-mechanisms.sh (--latest runs it against today's default branches instead); it prints its own positive and negative controls so you can see the instrument works before you trust the result.
Human memory does not work like a key-value store. The brain keeps specialised systems for different kinds of memory, forgets actively, modulates by emotion and retrieves by context. ZenBrain brings those mechanisms to AI agents, as a memory system with seven layers and as a library of the algorithms behind them.
On top of the 10 core algorithms above, @zensation/algorithms ships 10 advanced algorithms grounded in recent neuroscience and ML research. Each is exposed as its own sub-path (@zensation/algorithms/<name>) and remains zero-dependency:
fsrs-vmPFC — Prediction-Error coupled FSRShebbian-two-factor — Two-Factor synaptic consolidationsleep-simulation-selection — RL-based replay selectionspectral-health — Fiedler-value KG health monitorib-budget — Information-Bottleneck retention budgetdopamine-routing · hopfield-stm · personalized-pagerank · surprise-gradient-memory · temporal-multi-routeSee CHANGELOG.md for details.
@zensation/core is a memory system: the MemoryCoordinator stores, recalls, consolidates and
forgets. @zensation/algorithms is a library of twenty modules of tested functions, and the
coordinator calls only a few of them. Several mechanisms named in this README live in the library
alone; you wire them into your own system where you want them.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.