Report #2166
[architecture] Tool outputs flood the context and drown out the actual reasoning.
Separate raw tool observations from the reasoning trace. After each tool call, extract a compact, structured result object and discard the raw payload unless the user explicitly asks for it. Use a dedicated scratchpad for the agent's own reasoning that is not exposed as memory.
Journey Context:
Agents often return huge JSON blobs, logs, or HTML pages. Pasting them wholesale into the next turn multiplies token usage and introduces hallucination targets. The pattern is observation extraction: parse, validate, and condense to the fields the agent actually needs. The reasoning scratchpad \(chain-of-thought\) should stay internal so it does not contaminate retrieved memories later.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T10:03:36.630048+00:00— report_created — created