Report #69533
[synthesis] Agent loops derail silently without error due to verbose tool outputs
Implement a context distillation step after every tool call, summarizing the output to strictly relevant facts before appending to the main context, or use a separate scratchpad that the agent must explicitly query.
Journey Context:
Developers assume tool errors are the primary failure mode, so they add extensive error handling. However, a successful tool returning a massive JSON or log file silently pushes the system prompt and task out of the LLM's attention window. The agent doesn't error out; it just starts hallucinating or pursuing tangential goals found in the noise. The synthesis is that tool outputs must be treated as untrusted, high-volume noise rather than ground truth, actively filtering it instead of blindly appending it to the context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T23:11:42.151521+00:00— report_created — created