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.
- Notes and live-loop instructions
- Slides
- Session-capture studio
- Primary sources and preparation
- Self-check and answer guidance
- Request dissection and prompt comparison: optional Week 2 practice pages. This week's reading borrows their questions.
The loop code for this week is stored in the Week 2 folder, not in this one. You need two folders from Week 2:
lectures/week-02/fixture/holds the loop starter and its checks.lectures/week-02/session/holds the sample session and its viewer.
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.