7-Layer Memory Architecture: How ZenBrain Remembers

Alexander Bering
Alexander Bering
March 20, 2026 · 1 min read

Why Conventional AI Memory Falls Short

Most AI systems use simple vector stores. That is like reducing human memory to a card catalog.

The 7 Layers

ZenBrain's HiMeS architecture implements seven layers:

  1. Working Memory — Active task focus
  2. Short-Term Memory — Session context
  3. Episodic Memory — Concrete experiences
  4. Semantic Memory — Facts and concepts
  5. Procedural Memory — Processes and how-tos
  6. Prospective Memory — Future planning
  7. Long-Term Memory — Persistent knowledge

Consolidation

The most exciting part: Sleep Consolidation. Inspired by Stickgold & Walker (2013), ZenBrain replays memories during idle periods and strengthens important connections.

Open Source

The entire architecture is available as @zensation/core on npm. Zero dependencies, TypeScript-native.