Skip to content
mentoor

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

See where you stand

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?

Choose one answer

Check yourself · 2 of 5

Why use OpenTelemetry GenAI attribute names instead of your own?

Choose one answer

Check yourself · 3 of 5

In a failed multi-agent run, which span should you blame?

Choose one answer

Check yourself · 4 of 5

What does a full stub replay of a failed run test?

Choose one answer

Check yourself · 5 of 5

Why are traces of agent runs a privacy risk?

Choose one answer

Topics

  1. Traces and spans across many agents5 min read · One trace per run with nested spans for each agent, model call and tool call
  2. Instrumenting agents with OpenTelemetry conventions5 min read · GenAI semantic conventions, built-in SDK tracing and backends such as Langfuse or Phoenix
  3. 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
  4. Replaying nondeterministic multi-agent runs5 min read · Recording model and tool results, replaying with stubs and rerunning several times to trust a fix
  5. 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

110 questions · last verified 2026-12