Report #104147
[synthesis] Agent falls into repetitive tool loops that look like success from the outside
Instrument tool-call entropy and cycle detection; terminate or escalate when the agent repeats the same tool sequence with semantically similar inputs.
Journey Context:
A stuck agent can return a plausible-looking answer after cycling through retrieve-validate-retrieve. Standard logs mark the run as successful because no exception was thrown. The real signal is collapsed entropy in the tool sequence and repeated queries with high embedding similarity. Without loop detection, these runs pollute metrics and erode user trust. Entropy metrics plus deterministic cycle detection reveal the degradation before the final answer is emitted.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T05:19:00.906855+00:00— report_created — created