A precision test environment examining a component under different operating conditions
← All insights

Agent evaluation and operations

An Agent Evaluation Should End in a Release Decision

Build a repeatable evaluation set around business outcomes, permitted actions and recovery, then use it to decide what an agent may do.Field note

Point of view

A successful agent demonstration shows one path. A release decision needs evidence about the paths that matter when the system is wrong, interrupted or asked to exceed its authority.

Start with a bounded business workflow, specify acceptable outcomes and forbidden actions, and make the evaluation a repeatable gate for changes to the model, instructions, tools or data.

Agent release evidence

Combine outcome checks, action traces and expert judgment.

Use the model to connect the decisions, controls and evidence described below.
Release decision
  1. 01
    Task casesNormal, ambiguous and unsafe requests
  2. 02
    State checksWhat actually changed
  3. 03
    Action tracesTools, permissions and approvals
  4. 04
    Expert reviewMeaning and grader calibration
  5. 05
    RegressionKnown behavior across versions

Define the cases

Test the boundary as well as completion.

For a hypothetical service-desk agent, distinguish reading an incident, proposing a resolution and executing a change. Give each action a permission boundary. A correct diagnosis does not authorize a production restart, and a polite answer does not prove the requested ticket was actually updated.

Construct cases from the intended workflow: a routine issue, missing context, conflicting records, an unavailable tool, a duplicate request and an instruction embedded in retrieved material that tries to redirect the agent. Include tasks that should be declined or escalated. Keep a held-out set that is not used to tune prompts.

Specify the expected final state and prohibited side effects for each case. Use isolated test accounts, synthetic records and resettable fixtures. A test environment should let reviewers inspect what happened without creating real customer changes.

Evaluate the run

Inspect the state behind the answer.

Use deterministic checks for facts that can be verified directly: which record changed, whether a restricted tool was called and whether required approval preceded execution. For explanation quality or ambiguous outcomes, use a written rubric and expert review. Model-based grading needs calibration against examples people have judged.

Anthropic's evaluation guidance describes combining code-based, model-based and human graders. Apply that idea according to the task: a fluent completion message should not outweigh a failed state check, while a harmless variation in wording should not automatically fail a correctly completed workflow.

Run cases repeatedly where nondeterminism affects the outcome. Record tool failures, human interventions, latency and cost alongside completion. Inspect transcripts for unexpected behavior, but restrict and redact logs so evaluation does not become a new store of sensitive content.

Make the decision

Let evidence determine authority.

Set acceptance thresholds by consequence before running the suite. A forbidden write or permission bypass should block release even if the average completion score is high. A lower-risk explanation problem might instead lead to a narrower launch scope and a defined correction plan.

Version the model, prompts, tool definitions, permission configuration, source snapshot, fixtures and graders together. Compare the candidate with the current baseline and rerun known failure cases. A model update or retrieval change can alter behavior even when application code stays the same.

After approval, use a controlled rollout with stop conditions, escalation coverage and a tested rollback. Feed appropriately handled production failures back into regression cases. The suite informs an accountable owner's decision; a high score does not grant the agent authority beyond its approved workflow.

Design principles

Keep the operating logic visible.

  1. 01Check final state and side effects, not just the answer.
  2. 02Include refusal, permission and recovery cases.
  3. 03Calibrate graders and preserve a held-out evaluation set.
  4. 04Version the evidence and gate authority by consequence.

What changes Monday

Turn the perspective into a focused next move.

  1. 01

    Write the workflow's allowed actions, forbidden actions and escalation conditions.

  2. 02

    Create a small evaluation set with normal, failure and adversarial cases.

  3. 03

    Add state checks and human-reviewed examples before relying on model grading.

  4. 04

    Agree release blockers, a rollout owner and rollback evidence before expanding access.

Research and context

Sources and further reading.

The recommendations and examples above are our interpretation. These sources provide the supporting context.

An evaluation earns its place in delivery when it changes a release decision, limits authority or exposes a failure worth correcting.

Discuss this perspective