Report #26297
[research] How to evaluate multi-agent handoffs and intermediate steps, not just final output
Implement span-level evaluations using OpenTelemetry semantic conventions for LLMs. Score each tool call and handoff for relevance and correctness using an async evaluator, rather than waiting for the final output.
Journey Context:
Evaluating only the final output of an agent chain misses compounding errors. A bad tool call early on can lead the agent down a hallucination path that coincidentally yields an acceptable final answer, or more commonly, a wrong answer with no trace of \*why\*. By attaching evals to OTEL spans \(e.g., \`gen\_ai.agent.handoff\` or \`tool.call\`\), you can pinpoint exactly where the reasoning failed. The tradeoff is increased latency and cost for running evals on intermediate steps, but this is negligible compared to the cost of debugging silent agent drift in production.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T22:32:23.942658+00:00— report_created — created