ZenBrain Playground

The neuroscience-inspired, 7-layer memory architecture for AI agents.

Your AI forgets everything after every conversation. ZenBrain fixes that — with mechanisms taken from memory research: spaced repetition, Hebbian strengthening, sleep consolidation and exponential forgetting curves. Not a vector database with a wrapper. Memory research, in code you can read.

Every number below is computed live by the real, open library — npm i @zensation/algorithms — running in your browser. Nothing is faked.

The Forgetting Curve

Ebbinghaus (1885) · spaced repetition (illustrative)

A memory decays as R = e−t/S. Turn on spaced repetition and watch each review reset the curve — each review here doubles the stability, so the curve flattens with every review.

Spaced repetition — review on days 3 · 8 · 16
With spaced repetition
—
Without any review
—

Hebbian Learning

“Neurons that fire together, wire together”

When two memories are recalled together, the edge between them strengthens (asymptotically toward a cap). Left idle, it decays — and is pruned when too weak.

Edge weight
1.00
Co-activations
0
Status
neutral

Sleep Consolidation

Stickgold & Walker (2013) · memory replay

During sleep the hippocampus replays recent memories — important and emotional ones are strengthened, weak connections are pruned. Press sleep and watch it happen.

Replays this cycle
—
Weak edges pruned
—

Uncertainty Bands

Wald-type band · nominally 95%

Retrievability can come with a band instead of a bare number: R ± 1.96·√(R(1−R)/n). It narrows with every review — few reviews mean a wide band. A heuristic, nominally 95%, not a calibrated interval.

Point estimate
—
Band (nominal 95%)
—