PrepCity

Agent observability: tracing every model and tool call

Open the lab

By the last page, this is the design you will have built.

Lesson · 11 pages · about 9 min

Agent observability: tracing every model and tool call

One customer message can set off many model calls, tool calls and a handoff. A trace records them all as nested spans on one timeline. See how to find the slow step, a retry loop and the cost of a run, and how to keep customers’ personal data out of your traces.

Words you’ll learn

  • Handoff
  • Tool call
  • Service
  • Trace
  • Span
  • OTel Collector
  • API
  • PII masking
  • Redaction
  • Head sampling

Page by page