Skip to content
StupidLLM
Incidents
Compare
Failure Modes
Guardrails
Methodology
GitHub
Search
Home
/
Failure Modes
/
Infinite Loop
Failure mode
Infinite Loop
7 documented incidents where AI agents exhibited infinite loop.
7.0
Two AI agents ping-ponged for 11 days and ran up a $47,000 bill — neither noticed anything wrong
Multiple agents
5.0
Cline sessions marked "failed" kept burning tokens for 20+ hours, and FREE-labeled models billed credits anyway
Cline
5.0
An AI agent spun up duplicate CloudFormation stacks on every error and ran up a $6,531 AWS bill
Unknown agent
3.0
Devin CI workflow caused 836-comment spam storm on single PR
Devin
2.0
Cline's run_commands tool call arrives empty or truncated on the local openai-compatible/llama.cpp route, tripping the loop detector and aborting the run (GitHub #14827)
Cline
2.0
Devin repeatedly submitted identical docs PRs that kept getting rejected
Devin
2.0
Gemini CLI got stuck in an unbreakable edit loop, repeating "I am stuck in a loop" a dozen times without fixing the file
Gemini CLI