Every agent looks good in a demo. The demo uses the three examples its builder knows by heart. Production brings the fourth example, the badly scanned invoice, the request written in two languages and the customer who pastes instructions into a support ticket. Evaluation is how you find out what happens then — before your customers do.

Start with an evaluation set from real work

Collect a few hundred historical cases the agent would have handled, with the outcome a skilled person reached. Include the routine cases, the known edge cases and the ones that went wrong. Remove or mask personal data you do not need. This set is the agent's exam, and it is re-run every time the model, the instructions or the tools change.

Measure what matters to the business

MetricWhat it tells you
Task successShare of cases where the final outcome matches the expected one
Escalation qualityDoes the agent hand over the cases it should — and only those?
Harmful actionsActions that would have been wrong and hard to undo; the target is zero
Cost and time per caseModel and tool cost, and latency, compared with today's manual baseline

Use automated grading, but calibrate it

Exact-match checks work for structured outputs such as a classification or an amount. For free text, a second model can grade answers against a rubric — but only after you have checked that its grades agree with your experts on a sample. An uncalibrated grader just gives you confident numbers.

Test the attacks, not just the answers

  • Prompt injection: instructions hidden in emails, documents or web pages the agent reads
  • Tool misuse: can the agent be talked into calling a tool it should not, or with the wrong parameters?
  • Data leakage: does it reveal information from one case or customer in another?
  • Graceful failure: when a system is down or data is missing, does it stop and escalate?

Keep evaluating in production

Sample live cases for human review every week, track how often people override the agent, and add every new failure to the evaluation set. That loop is what lets you move an agent safely from assist mode to supervised autonomy — and gives auditors the evidence they will ask for.

The bottom line

Evaluation is not a one-off test before launch; it is part of operating an agent. Veloptin builds the evaluation set, the metrics and the monitoring alongside every agent we deliver.