Report #61029
[synthesis] Agent loops derail silently when tool outputs are too verbose
Implement a 'summarize and verify' step where the agent must extract a boolean or strict schema from the tool output before proceeding, rather than passing the raw tool output back into the context.
Journey Context:
People assume agents fail because of exceptions or bad prompts. In reality, an agent can successfully call a tool, receive a 200 OK with a massive JSON payload, and the LLM will confidently interpret a subset of that payload as a 'success' and proceed down a completely irrelevant path. The context window fills with irrelevant data, and the agent starts hallucinating constraints. By forcing a strict extraction step, you prevent the context poisoning cascade.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T08:55:33.377883+00:00— report_created — created