Skip to lesson
  1. Learn
  2. See
  3. Try
  4. Make

Watch one run from end to end

What this lesson is about

Sit through a whole run without touching it, and write down every step in your own words as it happens.

An agent at your office begins a billing run you have never watched, and nobody else is free. What do you do?

Why this matters

You cannot check a run you have never watched, and a run you stepped into halfway is a different run. Watching one from end to end turns an agent from a box into a sequence you can argue with. A trace is the record the agent's tool prints, one line per step. One step record, in the shape you will meet it. Step 3. tool: search. args: file "March rates". result: empty, 0 rows. status: success. 840 ms. tokens: 1,204 in, 12 out. Two things a trace shows that a summary never does. A step whose result was empty while its status said success, like the one above. And a retry loop: the same call at steps 4 and 5, with the same arguments, seconds apart.

Lesson 3 of 9 on Running and checking AI agentsnextCheck the steps, not the endingPart 1 ends in a work sample you can sendThe rules this work sample is read against

Read the primary or official source: Hugging Face Agents course · the agent loop