Nothing sent yet.Turn 0 of 12 · context 0 of 3,000 tokens · 0 tokens in all
Chapter 2 of 7
The loop, and who says done
In chapter 1 the agent fixed a cracked printer with no written steps. How does it work, turn by turn, and when does it stop?
This chapter: What happens on each turn, and who decides the case is done?
About this chapter
You will learn
- The loop every agent runs: think, act, observe, decide
- Why each next step depends on what the last result said
- Why the model ends the run, by answering without a call, and the host’s budget is only a safety net
Words you’ll meet
- Turn
- One pass of the model: it reads everything so far, then asks for tool calls or gives its answer.
- Loop
- Turn after turn: the host runs each call the model asks for and sends the result back, until the model answers.
- Step budget
- The most turns the host lets one run take. A rule in the host, not something the model decides.
Step 1 of 7
An agent runs a : each the model asks for a call, the host runs it, and the result goes back.
Predict first.