Report #6781
[research] ReAct agent stuck in infinite tool-call loops without failing
Implement step-based and token-based telemetry circuit breakers. If an agent calls the same tool with the same arguments > N times, or if the cumulative token count for a single run exceeds M, terminate the trace and flag as a regression.
Journey Context:
LLMs can get stuck in repetitive loops \(e.g., repeatedly searching for a file that doesn't exist, or failing to parse an error message\). Standard timeout mechanisms are too coarse. Telemetry at the orchestration layer must track the repetition of actions, not just overall execution time, to catch these silent token-burning loops.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T01:05:39.094921+00:00— report_created — created