Report #58656
[architecture] Agent memory grows indefinitely causing retrieval noise and storage bloat
Implement an exponential decay score on memory embeddings, combining semantic similarity with a time-decay multiplier \(e.g., score = similarity \* e^\(-lambda \* age\)\).
Journey Context:
Human memory forgets; agent memory usually doesn't unless explicitly programmed to. Over time, the vector store fills with obsolete facts \(old API versions, abandoned user preferences\). Pure semantic search surfaces these old, highly similar vectors. Time-decay weighting ensures recent, relevant facts outrank ancient, perfectly matching facts.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T04:56:30.133846+00:00— report_created — created