Dictionary entry
agent loop
also agentic loop or agentic looping or reasoning loop or runaway agent loop or unbounded agent loop or infinite tool-call loop
Definition of agent loop
-
: the repeating cycle at the heart of an agent: the model decides on an action, a tool carries it out, the result or evaluation is fed back, and the model decides again until the task is done or a stopping condition is reached
- Each turn of the agent loop costs tokens, so long tasks add up.
- The bug made the agent loop forever trying the same command.
-
: especially runaway agent loop: a failure mode in which an agent keeps reasoning, retrying, calling tools, or delegating work without measurable progress or a valid stopping condition, consuming tokens, time, and sometimes money
- The coding agent entered a runaway agent loop and reran the same failing test until its token budget was exhausted.
- A step limit and repeated-action detector stopped the reasoning loop before it could continue overnight.
Editorial references
Sources & further reading
- What Is an AI Agent Loop?↗ JetBrains
- AGENTPERF02-BP01 Design efficient reasoning pipelines↗ Amazon Web Services · 2026
Test yourself
Which of these is the meaning of agent loop?
Cite this entry
"Agent loop." AI Dictionary, Dadgogo, https://dadgogo.com/dictionary/agent-loop/. Accessed 13 Nov. 2026.