How to measure failure in a production AI agent
A benchmark task, an unsuccessful pilot and a failed user transaction have different denominators. A support workflow illustrates a repeatable reliability measure.
A ticket-routing agent can fail by assigning a case to the wrong team, ignoring the stated urgency or taking an action the operator never authorized. Each has a different cost. Before writing a percentage, state which event counts as failure, who judged each case and what happened to cases requiring human review.
Count complete tasks
Suppose a pilot handles 100 eligible tickets. Seventy reach the correct team without rework, 20 are safely escalated under the agreed rules and 10 are misrouted. The autonomous completion rate is 70%. The misrouting rate is 10%. Calling all 30 non-autonomous outcomes unsafe would count 20 intended escalations as errors. Equally, excluding the 20 from the denominator without explanation changes the reported rate.
A useful benchmark shows the same discipline. TheAgentCompany describes a controlled test environment, professional tasks and how completion is assessed. Its results concern the specified tasks and model configurations. A benchmark score cannot be converted directly into the percentage of companies whose production deployments fail. TheAgentCompany paper
For a live pilot, record the version, observation window, number and mix of cases, reviewers and disagreement rules. A later run using the same criteria can show whether the change improved routing or merely reduced the number of cases the agent attempted.