Lesson 1: Let the model choose the next step, and measure it
25 min read·13 Oct 2026
Module 8 · Lesson 1 · About 55 minutes · Needs: Module 6 Lesson 2 (the five tools,safe_execute, the tool loop); Module 5 Lesson 1 (the refund ruledecide)
The situation
It is Monday 20 July 2026, week 8. The five tools from Module 6 work, and Maya wants the money tickets handled end to end: read the invoice, apply the refund rule, queue a refund for her approval, draft the reply.
Tomasz asks: "Does this need an agent, or can code walk the same path?" You will build both for Ana Duarte's T-1001, the 288 USD duplicate charge on INV-2026-004512, read the agent's trace, and count what each design costs.