← Agentic AI Foundations & Architectures
Agent Loop
The agent loop is the repeating cycle an agent runs: it reads the current context, decides on the next action (often a tool call or a message), executes that action, and feeds the observation back into context. The loop continues until a stopping condition is met, such as reaching the goal, exhausting a step budget, or hitting a guardrail.