Glossary · Beta-Bernoulli Utility

Beta-Bernoulli Utility.

Score memories by whether they helped.

The short answer

Each memory node carries a Beta(α, β) posterior over its usefulness; observed turn feedback updates it, and the mean û=α/(α+β) weights retrieval and packing.

Read the full answer

Nodes that actually helped get served more; unused ones fade even before decay. This closes the learning loop that flat files and additive memories lack: storage is not value, demonstrated help is.

Beta-Bernoulli Utility, working

Every memory has a half-life.

A tried approach fades in 23 days, a decision holds for 347, a synthesis lasts 693: the shipped decay rates.

Experience field · live
Day240

● strong○ fading◌ nearly gone· forgotten● just re-read● kept by use

One mark per memory node. Copper is a fresh re-read, which resets that node's clock.anvaya-mind-rs/crates/mind-types/src/config.rs

In Anvaya

How we implement it.

Beta-Bernoulli UtilityAnvaya's Feedback service records TurnFeedback per served node; Gravitas multiplies outcome × decay × links × (0.5+0.5·û) at retrieval.

Questions

Asked about Beta-Bernoulli Utility.

What counts as positive feedback?

The served node appearing in successful tool calls, accepted edits, or passing tests downstream, recorded automatically per turn.

Why Beta-Bernoulli specifically?

Conjugate, online, interpretable: α/β count helps vs misses, the mean is a calibrated probability, uncertainty shrinks with evidence.

Does utility override recency?

They multiply: a high-utility old node can outrank a fresh unproven one, exactly the senior-engineer behavior you want.

Run agents that fit on your laptop.

23.4 MB median own-process memory, measured across 1030 runs (994 verified) and fourteen harnesses. One command installs the harness and the Mind together. Nothing leaves your machine on the Ollama path.

Developer beta. macOS on Apple Silicon and Linux on x86_64 or arm64. Memory figure: --no-mind, macOS/ARM, n=3 per cell. Pre-1.0, pricing not set.