AI Agents · Core Loop

The ReAct Loop

Reason → Act → Observe — step the agent and watch its scratchpad grow.

round 0idle
Reason Act Observe
repeat until the agent has the answer
agent.trace