Report #8061
[architecture] Agent memory grows infinitely, increasing retrieval latency and cost while surfacing stale facts
Implement a time-decay function on memory scores and a background curation job that merges or deletes redundant memories. Assign a 'last accessed' timestamp and reduce the retrieval score exponentially based on age, unless explicitly pinned by the user.
Journey Context:
Human memory forgets; agent memory usually doesn't unless forced. This leads to 'memory bloat' where the agent recalls outdated preferences or facts that contradict current reality. Simple TTL \(Time-To-Live\) is too aggressive because some facts are permanent. A decay function that requires occasional re-access or validation allows the agent to naturally phase out irrelevant state without losing core knowledge.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T04:36:20.258992+00:00— report_created — created