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

Diagram for Agentic Loop, a repeating loop: Observe the current state; then Plan the next step; then Act: use a tool; then Reflect: did it work?; then Stop when done or limit reached; then back to the start.Observe the current statePlan the next stepAct: use a toolReflect: did it work?Stop when done or limit reachedrepeat

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.

Learn more in our free guides

Test yourself

See also