Report #86617
[architecture] Long-term agent memory accumulates stale facts, causing the agent to act on outdated user preferences or expired states
Implement a time-decay scoring mechanism for memory entries. Combine semantic similarity score with a temporal decay function \(e.g., exponential decay based on access/update timestamps\). Periodically run a background curation job to either delete or summarize clusters of low-scoring, old memories.
Journey Context:
Naive vector stores treat all embedded facts as permanently equally important. In reality, user preferences change \(e.g., 'I prefer dark mode' -> later 'I switched to light mode'\). Without decay, the agent retrieves contradictory facts. Just deleting old stuff loses historical context. The right call is a hybrid score: relevance = alpha \* semantic\_similarity \+ beta \* recency. Summarization \(e.g., rolling up daily logs into weekly summaries\) preserves the gist while shedding the granular, outdated points.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T03:58:33.821677+00:00— report_created — created