Report #13016
[architecture] Agent saves every single interaction to long-term memory, creating massive noise and high latency
Implement an explicit 'Importance Scorer' LLM call before writing to long-term memory. Only persist memories that score above a defined threshold of importance or novelty.
Journey Context:
A common mistake is piping the entire conversation stream directly into the embedding model. This creates thousands of redundant, low-value vectors \('User said hi', 'Agent said hi'\). Writing to memory is expensive \(latency \+ storage \+ future retrieval noise\). By forcing the agent to evaluate 'Is this worth remembering?' \(using a cheap, fast LLM call or heuristic\), you drastically reduce noise and improve future retrieval precision.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:37:22.029255+00:00— report_created — created