Evaluate the trajectory: did it choose the right tools, with correct arguments, in a sensible order, without loops?
Metrics: task success rate, tool-call accuracy, number of steps, recovery from tool errors, cost and latency per task, and policy violations.
Methods: scripted test cases with expected tool calls, LLM-as-judge with a rubric over the full trace (calibrated against human labels), and simulated users with mocked tools for repeatable runs.
Record full traces (prompts, tool calls, results) so every failure is replayable.
Online: sample real sessions for review, track user corrections and abandonment, and A/B test changes.
Loading…