Report #12622
[architecture] Agent saves every single LLM thought or trivial tool output to long-term memory
Apply a 'memory worthiness' filter. Only persist information to long-term memory if it represents a new, durable fact about the world, a user preference, or a learned correction. Discard conversational pleasantries and transient state.
Journey Context:
Agents equipped with a save\_memory tool often overuse it, treating long-term memory like a log file. This leads to write amplification: the vector database fills up with junk \('User said hello', 'Tool returned 200 OK'\). Over time, this junk dilutes the embedding space, making retrieval of actual high-signal facts nearly impossible. The tradeoff is that aggressive filtering might occasionally miss a subtle user preference, but the alternative is a degraded, unusable memory system over time.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T16:37:01.443493+00:00— report_created — created