Report #100709
[architecture] Agent memory keeps growing—how do I stop stale facts from dominating retrieval?
Apply exponential time decay to memory scores based on last access time, run periodic consolidation passes that summarize or merge old clusters, and gate new entries with an importance threshold. Tune decay rate to your domain \(fast for ephemeral chat, slow for user preferences\).
Journey Context:
Without decay, the same old frequently accessed memories float to the top of every retrieval, drowning out newer relevant facts. Generative Agents weighted retrieval by exponential recency decay, and LangChain's TimeWeightedVectorStoreRetriever implements exactly this. Decay also acts as regularization: it forces the agent to re-derive or re-record facts, preventing memory rot.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-02T04:58:14.687008+00:00— report_created — created