Report #16009
[architecture] Agent saves useless information to long-term memory
Ask the LLM to assign an 'importance score' \(1-10\) to each observation before saving it to memory. Only persist memories above a certain threshold, or use the score to weight retrieval and decay.
Journey Context:
If an agent saves every system message, UI state, or mundane greeting, the memory store becomes polluted with low-signal noise, degrading retrieval quality \(the 'needle in a haystack of needles' problem\). By explicitly scoring importance at ingestion time, the agent filters out the noise and ensures high-signal data dominates the retrieval results later.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T01:40:25.672449+00:00— report_created — created