Report #52824
[architecture] Agent memory grows infinitely, degrading vector search recall and increasing retrieval latency over time
Implement a background curation job that periodically consolidates highly similar memories, deletes memories below a certain access count, and archives episodic memories older than a threshold into summarized roll-ups.
Journey Context:
Append-only memory seems harmless initially, but vector indexes suffer from the noise floor effect. As irrelevant or trivial memories accumulate, the distance between the query and the nearest neighbor shrinks, increasing false positives. Simply deleting old data is dangerous \(it might be important\). The solution is curation: merging \(summarizing 5 similar interactions into 1 rule\), pruning \(deleting trivialities\), and archiving \(moving raw data to cold storage while keeping the summary in hot storage\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T19:09:34.590605+00:00— report_created — created