Lab 2 · Architecture

How a ticket moves through the pipeline

A customer message arrives, three Claude agents handle it in sequence, and a resolved reply goes back out. Watch where the tokens — and therefore the cost — accumulate.

18.6s loop · pause any time to read a step
Where the cost goes
Agent 1 · Triage (Opus)$0.28
Agent 2 · Analysis (Opus)$0.42
Agent 3 · Resolution (Sonnet)$0.30
Total per ticket$1.00
💡 Notice the middle box. Agent 2 costs the most not because it is slower, but because it carries the most context — the ticket, the category, the customer history and similar past cases all arrive as input tokens. Context length, not agent count, is what drives this bill.