Abstract

We present ZenBrain, an open-source memory architecture for AI systems that implements seven distinct memory layers inspired by cognitive neuroscience. Unlike existing approaches that treat AI memory as simple key-value storage, dual-layer retrieval, or LLM-driven reorganization, ZenBrain models the full lifecycle of human memory: encoding, consolidation, retrieval, decay, and active forgetting. The system integrates 12 neuroscience-inspired algorithms including FSRS-based spaced repetition, Hebbian learning dynamics for knowledge graphs, neuroscience-modeled sleep consolidation simulating hippocampal replay, emotional memory modulation, and Bayesian confidence propagation. ZenBrain is deployed in production as part of ZenAI with 9,228 passing tests, and is published as composable npm packages under the @zensation scope.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.

Share

COinS