Skip to content

Week 1: The internals of coding agents

In the first session, you build and verify a minimal agent loop. Then you inspect system instructions, tool definitions, observations (tool results) and how the loop stops. In the second session, you run your own coding agent once and record its requests with a small local recorder. You count the requests, the system text and the tools. You also keep what you observed separate from what you infer.

The loop code for this week is stored in the Week 2 folder, not in this one. You need two folders from Week 2:

Do not edit the starter in place. Copy it to a draft folder and finish it there. Its checks pass only after you complete it. The studio has its own status-label task and its own check, separate from the loop.

Use the safety practices in Tools and model access. A1 is due this week.