Getting Your First Agent Live

Measuring What Matters: KPIs That Prove Your Agent Works Before It Scales

Abstract illustration: Measuring What Matters: KPIs That Prove Your Agent Works Before It Scales

What you get from this article

By the end, you will have a four-part measurement framework: a pre-deployment baseline, a labelled test set of 200 to 500 representative cases, task-level quality metrics, and one downstream business metric your agent is accountable for moving. You will also know how to set written thresholds that tell your team when to pause a rollout, and how real deployments used measurement to justify scale.

This is aimed at engineering and ops leaders who already have one agent live and are deciding whether to expand it.

Why measurement comes before scale, not after

Scaling an agent that is not yet proven does not accelerate value. It accelerates whatever the agent is already doing, including its failure modes. Companies that establish baseline metrics and governance frameworks before deployment reach positive ROI 2.4 times faster than those that do not, according to a May 2026 analysis of enterprise AI agent deployments. The same data shows that 40 percent of agentic AI projects are forecast to be cancelled by 2027, with unclear ROI cited as the leading cause.

The teams that avoid cancellation tend to have one thing in common: a number that tells them whether the agent is doing its job before they commit to expanding it.

The four-part framework

Part 1: Pre-deployment baseline

Before your agent handles any production traffic, record what the process looks like without it. For a support agent, that means average handle time, first-contact resolution rate, and repeat contact volume per ticket category. For an order processing agent, it means response time and error rate on manual decisions.

You cannot demonstrate improvement without a before. The baseline also gives you the denominator for every quality metric you will track later.

Document the baseline in writing, with dates. Memory of “how it used to work” degrades quickly once the agent is live.

Part 2: A labelled test set of 200 to 500 cases

The test set is a fixed, human-labelled collection of representative inputs and their correct outputs. It is not a live traffic sample. It does not change unless the task definition changes.

Select cases that span the real distribution of your task: common cases, edge cases, and the five to ten percent of inputs that historically caused the most errors or escalations. Label each case with the outcome a competent human would produce. This set becomes your regression harness. Every time you change a prompt, swap a model, or update a tool, you run the agent against it and compare the score.

Between 200 and 500 cases is enough to detect a meaningful quality shift. Below 200, sampling variance makes small regressions invisible.

For guidance on how evaluation fits into a broader agent evaluation practice, the GRFA learn section covers the mechanics in more detail.

Part 3: Task-level quality metrics

Quality metrics measure whether the agent completed the task correctly, not whether it completed it quickly. The right metrics depend on the task type, but the structure is the same: a rate, a threshold, and a consequence.

Common task-level metrics include:

  • Completion rate: the percentage of inputs the agent resolves without human escalation
  • Accuracy rate: the percentage of completions that match the labelled correct output, measured against your test set
  • Escalation appropriateness rate: of the cases the agent escalated, the percentage that genuinely required human handling

Each metric needs a written threshold. Klarna’s AI assistant, which handled 2.3 million conversations in its first month and automated 67 percent of customer service chats, also reported a 25 percent drop in repeat inquiries, a task-level signal that the agent was resolving issues rather than deflecting them. That kind of downstream signal only becomes visible if you are already tracking repeat contact volume as a named metric.

Danfoss set a 95 percent accuracy threshold for its AI order processing agent before scaling it. The agent now handles 80 percent of transactional purchase order decisions with response times dropping from 42 hours to near real-time and $15 million in annual savings. The accuracy threshold was the gate, not a post-hoc observation.

Part 4: One downstream business metric

A downstream business metric is the number your stakeholders actually care about. It is not an agent metric. It is a business outcome the agent is supposed to move.

The downstream metric for a support agent might be repeat contact volume. For a routing agent like the one Verizon uses to predict call reasons, deployed across 170 million annual customer calls with 80 percent accuracy in predicting call reason, the downstream metric was customer retention. For an internal productivity agent, as with Telus where 57,000 employees save an average of 40 minutes per AI interaction, the downstream metric was monthly hours recovered.

Picking the right downstream metric requires one constraint: it must be something your business already measures. Do not create a new metric for the agent. If the agent is doing its job, it should move a number that already exists in a dashboard someone checks.

Setting written thresholds and rollout gates

A written threshold turns a metric into a decision. Without it, teams negotiate in real time whether a drop in accuracy is “acceptable,” which means the team with the most confidence in the room wins, not the team with the most data.

The diagram below shows a threshold-based rollout decision structure.

flowchart TD
    A[Deploy to pilot cohort] --> B{Run labelled test set}
    B --> C{Accuracy >= threshold?}
    C -- No --> D[Pause rollout]
    D --> E[Diagnose failing cases]
    E --> F{Fix identified?}
    F -- Yes --> G[Apply fix and retest]
    F -- No --> H[Roll back]
    G --> B
    C -- Yes --> I{Downstream metric moving?}
    I -- No --> J[Investigate lag or attribution gap]
    I -- Yes --> K[Expand to next cohort]

Set three types of thresholds before you go live: a minimum quality floor below which you pause immediately, a target range you expect to hit within 30 days of full deployment, and a ceiling on escalation rate above which you investigate even if accuracy looks healthy.

Write these down in a shared document before the first cohort goes live. The act of writing them forces the team to agree on what “working” means.

For a fuller treatment of how thresholds fit into a governance structure, the GRFA guide on runtime governance versus pre-deployment review covers how to sequence the two.

How measurement connects to safe expansion

The four parts work together. The baseline tells you where you started. The test set tells you whether quality held across changes. The task metrics tell you whether the agent is completing work correctly. The downstream metric tells you whether that work is moving the business.

flowchart TD
    A[Pre-deployment baseline] --> B[Labelled test set 200-500 cases]
    B --> C[Task-level quality metrics]
    C --> D[Written thresholds]
    D --> E{All thresholds met?}
    E -- Yes --> F[Downstream metric confirmed moving]
    F --> G[Approve expansion]
    E -- No --> H[Pause and diagnose]

Tooling that surfaces these signals in one place helps. Platforms like Prefactor are built to connect agent-level quality metrics to downstream business outcomes in a single view, which reduces the manual work of correlating signals across systems. Whatever tooling you use, the measurement structure should exist independently of it, documented and owned by a named person.

For more on the infrastructure that supports this kind of monitoring, the GRFA guides on agent observability and how to implement agent observability go deeper on the instrumentation side. The AI governance framework article covers how measurement feeds into broader governance policy, and evaluating AI agents walks through the mechanics of test set construction in detail.

If your agent handles customer interactions, the AI agents for customer service learn page covers how these metrics apply to that specific task type.

Where to start

If you have one agent live and no written thresholds, start there before anything else. Define the downstream metric, write the three threshold levels, and build the labelled test set in parallel. Take the agent readiness assessment to identify which part of the framework has the largest gap before you begin expanding.

Matt Doughty Matt Doughty CEO & Co-Founder, Prefactor

Founder of Prefactor, writing on the operational reality of getting AI agents into production — identity, governance, evaluation, and the plumbing assistants never needed.

Frequently asked questions

How large does my labelled test set need to be before I can trust the results?

Between 200 and 500 cases is the practical minimum for most task types. Below 200, the sample is too small to detect a 5 to 10 percentage point quality shift with statistical confidence. Above 500, the marginal benefit shrinks unless your task distribution is unusually long-tailed.

What counts as a downstream business metric for an agent that handles internal requests rather than customer-facing ones?

Pick a metric the business already tracks and that the agent's output feeds directly. For an internal IT support agent, that might be mean time to resolution on tickets the agent touches. For a procurement agent like the one Danfoss deployed, it was response time on purchase orders, which dropped from 42 hours to near real-time.

When should I pause a rollout rather than roll back entirely?

Pause when a single metric crosses its written threshold but the root cause is not yet clear. A pause gives you time to sample failing cases and diagnose whether the issue is a prompt regression, a data distribution shift, or a downstream system change. Roll back only when the failure mode is confirmed and a fix requires redeployment.

How often should I rerun the labelled test set once the agent is in production?

At every model update, every significant prompt change, and on a fixed schedule of at least once per month regardless of changes. Task distributions drift over time, and a test set that passed in month one can start masking real quality gaps by month four if you do not rerun it.

Stay ahead of the curve

No spam. Unsubscribe anytime. A resource by Prefactor.

Almost there — check your inbox to confirm your subscription.