Report #13010
[architecture] Agent memory grows infinitely until it degrades performance; how should I implement memory decay and curation?
Implement a scoring function combining Recency, Frequency, and Importance \(RFI\) to calculate a memory's retention score, and actively discard or archive memories falling below a threshold.
Journey Context:
Storing every interaction leads to retrieval noise and ballooning storage costs. Agents need a forgetting mechanism akin to human memory. Just using vector similarity is insufficient because a rare but highly important fact might be forgotten, while a frequent but trivial fact persists. The RFI score \(inspired by the Spacing Effect\) allows the agent to forget trivial daily logs but remember critical user preferences.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:37:20.797847+00:00— report_created — created