Report #2901
[architecture] Agent memory growing indefinitely causing retrieval degradation
Implement a memory decay score combining recency, frequency, and importance \(RFI\). Periodically run a curation background task to evict or archive memories falling below an RFI threshold, and consolidate episodic memories into semantic summaries.
Journey Context:
Infinite memory accumulation leads to 'memory bloat' where the vector space becomes saturated, increasing false positives in similarity search and storage costs. Agents need a forgetting mechanism analogous to human memory. The RFI scoring allows the system to naturally age out trivial interactions while retaining critical facts. The tradeoff is the complexity of tuning decay weights and the risk of prematurely forgetting a rare but crucial fact, which is mitigated by rolling up episodic details into semantic summaries before deletion.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T14:35:03.998104+00:00— report_created — created