Reason and act
Think one step, act, look at the result, think again. Simple and flexible, good when the path is unknown.
Every agent runs the same loop: it observes where things stand, thinks about the next step, acts with a tool, then checks the result. It goes round until a stop rule fires. Pick a mission below to see three common loop patterns, and one loop that would run forever without its stop rules.
Each mission shows a different loop pattern.
What it can use, and what ends the loop
One pass = observe, think, act, check
The agent’s working memory for this mission
Think one step, act, look at the result, think again. Simple and flexible, good when the path is unknown.
Write the whole plan up front, then work through it. Cheaper and easier to follow, and it re-plans when the numbers say it is off track.
A second agent, the Critic, reviews each draft against clear checks. Quality goes up with every pass, until the checks pass.
Without them, a loop retries a broken service all night. With them, it stops, keeps the trace, and hands over to a person.