Report #82109
[synthesis] Agent loops indefinitely generating thoughts without invoking any tools
Implement a strict 'thought-to-action' ratio limit and a timeout on consecutive Thought blocks without an Action block, forcing an interruption prompt.
Journey Context:
In ReAct-style agents, the LLM sometimes gets stuck in 'analysis paralysis'. It thinks, then thinks about its thought, then revises, never reaching a threshold of confidence to act. Because no error is thrown \(the LLM is still generating valid text\), standard timeout mechanisms based on tool failures don't trigger. The agent just drains context and budget. The fix requires a structural parser that counts consecutive thought blocks and force-interrupts with a prompt like 'You must now choose an action based on your current knowledge.'
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T20:25:05.309275+00:00— report_created — created