← Chapter 0. Your first agent in 15 minutes
Your first agent, as the trace sees it
Swipe to change step
Step 1 of 7. Your code sends one request: a model name, a max_tokens limit, the messages and one tool description. The trace logs it as row 1. Your code (the agent loop). Model (simulated in your browser). get_weather (a function you wrote). Show the user (the final answer). arrow from Your code to Model, labelled request. a request moving along request.
Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.