Memory Decay

BizXEngine automatically deprioritizes stale memories. The decay model ensures long-running agents don’t drown in outdated context.

Decay model

Decay is applied as a multiplier (0.05–1.0) on the composite retrieval score. The multiplier depends on memory type, importance, and age.

ConditionDecay multiplier
Expired temporal (past expires_at)0.05 (near-invisible)
Importance ≥ 9, any agemax(0.9, 1 − age/1000)
Importance ≥ 7max(0.75, 1 − age/500)
All othersmax(0.3, 1 − age/180)

Set importance: 9 or 10 for facts that should never fade — contract terms, user preferences, critical configs.