cleandataengineering.aiAgent Harness, drawn simply
You are here: Real flows

Agent Harness Tutorial · Real flows

Real flows: one message at a time

The end-to-end map shows every box a message could pass. These pages show the boxes real messages did pass. Rohan (and Asha at the desk) sent each one to the live assistant on Azure on 13 and 14 October 2026; the numbers come from the traces.

Click a card to see that message's path. On each flow page, every box opens the design page for that box.
#FlowRouteNumbers
1aClaim status, naming the claimDirect0 model calls · 1 tool call · 104 ms · $0 · 14 spans
1bClaim status, not naming itAgentic2 model calls · 2,187 tokens in, 340 out · 1 tool call · 7,076 ms · $0.00058 · 38 spans
2Reporting a claim, across two turnsAgenticTurn 1: 2 model calls · 10,536 ms · $0.00050 · Turn 2: 2 model calls · 3,471 ms · $0.00039
3Coming back after a reloadAgenticTurn 1: 8,385 ms · $0.00048 · Turn 2: 3,407 ms · $0.00041
4Policy statusDirect0 model calls · 1 tool call · 643 ms · $0
5Asking about coverRefuse0 model calls · 0 tool calls · 164 ms
6Someone was hurtEscalateTurn 1: 357 ms · Turn 2: 201 ms · Turn 3: 476 ms · 0 model calls in all three
7Payout within the limitAgentic2 model calls · 3,181 ms · $0.00033
8Payout above the limit, approvedAgentic + waitTurn 1: 1 model call · $0.00014 · Turn 2: 208 ms, no model
9Payout above the limit, refusedAgentic + waitTurn 1: 1 model call · $0.00021 · Turn 2: 187 ms, no model
10Sending a documentAgentic2 model calls · 2.95 s on the server, but 58 s for Rohan · $0.00043
11Withdrawing a claimAgenticTurn 1: 3 model calls · 4,201 ms · $0.00093 · Turn 2: 2,210 ms · $0.00030
12Prompt injection by the userBlocked0 model calls · 0 tokens · 250 ms
13Injection hidden in a claim noteAgentic3 model calls · 32,414 ms · $0.00087
14Someone else's claimDirect0 model calls · 476 ms
15Two asks in one messageAgentic3 model calls · 3,381 ms · $0.00077
16Pausing the agentStopped0 model calls · 0 tool calls · 205 ms
17The same message twiceDirect, then replayFirst: 568 ms · second: 140 ms, "already handled"
18The gateway refusing callsGateway onlyGroq's free tier allows 8,000 tokens a minute; one loop turn uses 1,500–2,500, so only 3–5 turns a minute
19A long conversationDirect, then hand-off11 turns · 0 model calls · checkpoint 4,990 chars, far below 32,000

Want every detail? The long version is in the Series: all 19 flows, with spans and payloads.

Look inside