Stop 2 · Watch it run, in slow motion
Each press advances the real run by one step. The button label says what that step does.
Three rounds: list, read, answer. Learn this shape first.
Everything starts with an empty array
The panel on the right is an X-ray: it shows the real data that will be sent to the , not an interface built for people. Right now the is empty — nothing has happened yet. The at the top is the job description for the model (who it is, which tools it may use, which rules to follow). In code it is a separate parameter, sent along with every request. Remember this picture: everything that follows is just appending elements to this array.
Beginner question: Why does the array matter so much?
The API keeps no state between calls: every request is handled as if it were the first. What people call the conversation, the context, or the memory is literally this array. You keep the full history yourself and hand the whole thing over every time. Once you understand this, an agent is no longer mysterious.
The highlighted lines are the ones running in this step. All five runs use the same loop skeleton: apart from the fuse added in the run that will not stop, the differences are all outside it. At the next stop you write it yourself.