Report #16586
[research] How to evaluate multi-step agent handoffs and intermediate tool calls
Use trajectory evaluation combined with a custom 'step-wise correctness' scorer. Map the agent's trace to a reference trajectory and score based on critical path deviations, not exact match.
Journey Context:
Evaluating only the final output of an agent run is dangerous because an agent can reach the right answer via a catastrophic path \(e.g., deleting and recreating a database instead of updating a record\). However, demanding an exact trajectory match is too brittle—agents naturally explore. The solution is to define a 'critical path' of mandatory sub-goals and evaluate that these sub-goals were achieved in a logical order, ignoring benign deviations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T03:08:53.157806+00:00— report_created — created