Skip to content

Evaluating AI agents in the wild

Anshu

1 min read

An agent path moving through evaluated tasks and checkpoints

Offline tests are necessary. Production evidence shows whether an agent can handle ambiguity, interruptions, and change.

An agent can pass every curated task and still fail in production. Real environments contain stale permissions, ambiguous requests, slow tools, partial data, and users who change their minds halfway through a workflow.

The goal of production evaluation is not to replace offline benchmarks. It is to close the gap between a controlled task and a changing system.

Define success at the workflow level

Tool-call accuracy is easy to measure but often too narrow. Users care whether the workflow reached a useful outcome with acceptable effort and risk.

Define a small set of terminal states: completed, completed with correction, escalated appropriately, abandoned, and harmful failure. These states create a shared language for product, research, and operations teams.

Instrument the moments that matter

Capture the agent’s selected goal, tool requests, permission failures, retries, user corrections, and final state. Avoid collecting hidden reasoning text as a substitute for observable behavior. The strongest signals are actions and outcomes.

User corrections deserve special attention. A correction may look like engagement while actually indicating that the agent misunderstood a key constraint.

Use progressive exposure

Release new behavior through stages:

  • replay against historical tasks;
  • shadow mode with no external side effects;
  • internal users and low-risk workflows;
  • a small production cohort with strict limits;
  • broader rollout after predefined gates pass.

Good evaluation includes a safe exit

Measure whether the agent recognizes uncertainty and escalates well. Refusing or asking for clarification can be the highest-quality outcome.

Review slices, not only totals

Aggregate success can improve while one important cohort regresses. Slice results by workflow, tool, language, task complexity, and permission level. Investigate large changes even when the global metric looks stable.

Production evaluation works best as a loop. Failures become new offline cases; offline improvements return through progressive exposure; monitoring confirms whether the change transferred to reality.

The agent is never evaluated in isolation. It is evaluated as part of a workflow made of models, tools, interfaces, policies, and people. The measurement system should reflect that whole.

  • #evaluation
  • #agents
  • #production

Keep reading