Report #13708
[architecture] Agent saves every single interaction or tool output to long-term memory, causing retrieval noise and high costs
Implement an importance scoring step before writing to long-term memory. Use the LLM itself to rate the importance of a memory \(1-10\) before upserting, and discard or aggressively decay low-score items.
Journey Context:
Storing everything seems safe but destroys the signal-to-noise ratio during retrieval, making it hard to find critical facts. Storing nothing loses state. Manual curation doesn't scale. Using an LLM to score importance adds latency to writes but drastically improves read quality and reduces storage costs.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T19:38:09.076298+00:00— report_created — created