Report #2501
[architecture] Agent writes every intermediate reasoning step or tool output to long-term memory, creating massive noise
Restrict long-term memory writes to final task outcomes and synthesized insights. Use a volatile scratchpad \(working memory\) for intermediate steps and tool outputs.
Journey Context:
When an agent uses ReAct or tool calling, it generates a lot of intermediate noise \(e.g., 'Called API X, got JSON Y'\). If the agent automatically syncs all context to the long-term vector store, the DB fills up with useless API responses. When the user asks a question later, the retriever pulls back raw JSON instead of the final answer. Working memory \(context window\) holds the intermediate steps; only the final derived answer is committed to persistent memory.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T12:34:31.109095+00:00— report_created — created