Memory management remains a fundamental challenge for autonomous AI systems. Existing approaches employ operating system metaphors (MemGPT), flat storage with LLM-driven management (Mem0), or note-taking paradigms (A-MEM), but none incorporate principles from cognitive neuroscience—despite memory science offering over a century of empirically validated models. We present ZenBrain, a multi-layer memory architecture for AI agents that integrates twelve established neuroscience models into a unified system. ZenBrain implements seven distinct memory layers—working, short-term, episodic, semantic, procedural, core, and cross-context—orchestrated by twelve algorithms including Hebbian learning dynamics for knowledge graph co-activation (Hebb, 1949), Ebbinghaus forgetting curves with FSRS spaced repetition scheduling (Ebbinghaus, 1885), sleep-time memory consolidation in three phases (SWS/REM/SHY, Stickgold & Walker, 2013), Bayesian confidence propagation with 95% confidence intervals, and emotional valence tagging (McGaugh, 2004). We evaluate ZenBrain across seven experiments on three retrieval benchmarks—LoCoMo (1,986 QA pairs), MemoryAgentBench (5 memory capability dimensions), and MemoryArena (cross-session dependencies)—plus controlled retention, consolidation, and algorithm-level experiments: Multi-layer routing outperforms flat storage by 21.6% in F1 on LoCoMo (p = 0.005), with the largest gains on temporal queries (+176%), and by 19.5% on MemoryArena's cross-session dependencies (p = 0.015, +53.5% on dependency chains) 3-phase sleep consolidation (SWS/REM/SHY) achieves a 37% stability improvement (p = 0.005, Cohen's d = 9.17) with 47.4% storage reduction through synaptic homeostasis Hebbian knowledge graph dynamics produce retrieval precision@5 of 0.955 from raw co-activation patterns (vs. 0.200 uniform, p = 0.005) Bayesian confidence propagation separates true from false facts with AUC improvement from 0.533 to 0.797 (p = 0.009) ZenBrain is open-source, production-deployed in ZenAI, and distributed as composable npm packages (@zensation/algorithms, @zensation/core) with 9,500+ automated tests and zero production dependencies.
Building similarity graph...
Analyzing shared references across papers
Loading...
Alexander Bering
Zen-Noh (Japan)
Building similarity graph...
Analyzing shared references across papers
Loading...
Alexander Bering (Sat,) studied this question.
www.synapsesocial.com/papers/69d34e739c07852e0af980d3 — DOI: https://doi.org/10.5281/zenodo.19413933