Skip to main content
๐ŸŽค Luca Berton is speaking at Red Hat Summit & KubeCon EU 2026!Learn more โ†’

An agent loop as a trace tree

Lesson in Observe and Debug AI Agents with OpenTelemetry ยท 6 min

The learner implements an agent loop as a trace tree, recording parent spans for the agent run and child spans for model and tool calls. They learn how to handle tool execution in threads, record tool failures, and view the resulting trace in Jaeger.

Sign in to continue

Sign in to access this lesson