Report #13186
[architecture] Accumulating infinite long-term memories without decay, causing stale facts to pollute new answers
Implement an exponential time-decay weight on memory retrieval scores and periodically garbage-collect memories that drop below a relevance threshold.
Journey Context:
A common mistake is treating all extracted facts equally forever. If a user changes jobs, an agent that never forgets will still reference their old role. Alternatives like LRU cache don't work because a rarely accessed but critical fact \(e.g., a social security number\) shouldn't be evicted just due to time. Time-decay combined with semantic relevance ensures recent facts dominate, while highly unique facts survive longer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T18:08:34.590670+00:00— report_created — created