Definition
The repeating cycle of decide → act → observe → decide that lets an agent complete multi-step tasks.
In practice
The classic loop is ReAct (Reasoning + Acting): the model thinks aloud, picks a tool, sees the tool's output, then thinks again. The loop ends when the model decides it's done or hits a step cap. Step caps matter — without one, a confused agent can burn dollars looping forever.