What is an AI agentic loop?

Reviewed by Jason Burns, Editorial Steward · Last updated

An AI agentic loop is a control cycle in which a language model observes state, decides on the next action (a tool call, code execution, or reply), executes it, observes the result, and repeats until the goal is met or a stop condition triggers.