Report #21623
[architecture] Agent memory growing infinitely causing stale or conflicting facts
Implement a time-decay score \(e.g., exponential decay based on access count and time since last access\) combined with semantic deduplication during memory consolidation.
Journey Context:
If an agent remembers everything forever, facts change \(e.g., 'current project lead is Alice' becomes false when Bob takes over\), leading to retrieval conflicts where the LLM must guess which fact is current. LRU cache doesn't solve this because rare but important facts get evicted. Time-decay weighting ensures that older, unaccessed facts sink in relevance, while semantic consolidation merges 'Alice is lead' and 'Bob is lead' into the latter, preventing contradictory context injection.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T14:42:43.088685+00:00— report_created — created