AI Glossary Term
What does “Agentic Loop” mean?
Definition
An iterative cycle where an AI agent observes, plans, acts, and reflects until it completes a goal or hits a stop condition.
How Agentic Loop works
Example
A coding agent runs a test, sees a failure, edits the code, and runs the test again. It repeats until the tests pass or it reaches a step limit and asks for help.
Why it matters
Loops let agents correct themselves. Without stop conditions they can run too long, cost too much, or repeat the same mistake.
Common questions
What ends the loop?
Success criteria, a step or cost limit, or a person's decision.
Agentic loop vs agentic workflow?
The loop is the repeating cycle at the core; a workflow is the wider multi-step process.
What can go wrong?
Getting stuck in repeats, drifting from the goal, or compounding small errors.