Advanced AI Agents #agent-loop #ReAct #trajectory #agentic

Agent Loop & ReAct Pattern

5 exercises — master the execution model of every autonomous AI agent: the think → act → observe loop, the ReAct pattern, trajectories, and stopping conditions.

0 / 5 completed
Agent loop vocabulary quick reference
  • Agent loop — the repeating cycle: Think → Act → Observe
  • Agent step — one iteration of the loop (one think+act+observe)
  • ReAct pattern — Reason + Act: agent writes a Thought before each Action
  • Scratchpad — the visible Thought step in a ReAct agent (chain-of-thought)
  • Trajectory — the complete record of all steps in a single agent run
  • Run — one complete execution from start to final output
  • Stopping condition — the rule that terminates the loop (max_steps, token_budget, task_complete)
  • Stuck loop — when an agent iterates without making progress toward its goal
1 / 5

In AI systems engineering, what is the "agent loop" (also called the agentic loop or run loop)?