Tracing and debugging multi-agent runs
For engineers
Traces that follow work across agents, finding the agent that really caused a failure, and replaying runs without leaking data
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
In a trace of a multi-agent run, what does a span's parent link tell you?
Check yourself · 2 of 5
Why use OpenTelemetry GenAI attribute names instead of your own?
Check yourself · 3 of 5
In a failed multi-agent run, which span should you blame?
Check yourself · 4 of 5
What does a full stub replay of a failed run test?
Check yourself · 5 of 5
Why are traces of agent runs a privacy risk?
Topics
- Traces and spans across many agents5 min read · One trace per run with nested spans for each agent, model call and tool call
- Instrumenting agents with OpenTelemetry conventions5 min read · GenAI semantic conventions, built-in SDK tracing and backends such as Langfuse or Phoenix
- Finding the agent that caused a failure5 min read · Walking a trace back to the first wrong step instead of blaming the agent that reported the error
- Replaying nondeterministic multi-agent runs5 min read · Recording model and tool results, replaying with stubs and rerunning several times to trust a fix
- Keeping secrets and personal data out of traces5 min read · Prompts and tool output carry personal data and keys: redaction, sampling and retention rules for traces
Start here
- OpenTelemetry semantic conventions for MCP (GenAI repository) (opens in a new tab)ToolFree
The agreed attribute names for model calls, token counts and agent spans.
- AI agent observability (OpenTelemetry blog) (opens in a new tab)ArticleFree
Why agents need tracing and how the community is standardising it.
- Tracing (OpenAI Agents SDK docs) (opens in a new tab)DocsFree
Built-in traces, spans, handoffs and how to switch off sensitive data capture.
Helps to know first
110 questions · last verified 2026-12