Debugging an agent trace

Lesson 17 of 28 · Tracing and observability · 2 min Get the course to watch

When an agent gives a bad answer, the last step is rarely the cause. The model usually did a reasonable job with what it was given. So the method is to walk the trace from the top and find the first step where something was wrong.

The rest of this lesson

  • An example
  • Read it step by step
  • Why this matters
  • Ask three questions per step
  • Common places failures hide
  • Make the failure permanent
  • The idea to keep

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with Evals, Observability and Guardrails for LLM Systems.