The routing agent looked excellent in the pilot. The vendor ran it on five inbound leads the RevOps lead picked that morning, and it scored, enriched and routed all five correctly. It went live on a Tuesday. By Thursday it had put a partner consultancy into an SDR sequence, merged two contacts that shared a generic info@ address, and sent a first-touch email to a champion at an existing customer because the Contact.AccountId lookup missed a renamed parent account. Every failure was a case the team already knew was hard, and none was in the pilot. AI system testing before launch had meant checking that the easy cases worked.
That scene is illustrative; the pattern is documented. Monte Carlo's 2026 report, Agents in Production: The Builder's Perspective, surveyed 260 practitioners and engineering leaders at organisations with more than 1,000 employees: 64% said they deployed AI agents before they felt fully prepared, and 36% said they cannot disable or roll back a failing agent within minutes. LangChain's State of Agent Engineering survey, run in late 2025 with 1,340 respondents, found quality was the top barrier to production, cited by 32%, while only 52.4% ran offline evaluations on test sets at all.
Gartner predicted in June 2025 that over 40% of agentic AI projects will be cancelled by the end of 2027, citing costs, unclear business value and inadequate risk controls, the last two being testing problems. This is not a people problem or a model problem. It is a missing layer: a gate between "it works in the demo" and "it touches a live record", with its own data, scoring rules and release contract.
Where AI system testing before launch breaks
1. The test set is the demo set
Most pre-launch tests are built from whatever records are handy: recent leads, clean accounts, the cases the builder used while writing the prompt. A set of only normal cases passes everything and proves nothing. The failures that hurt in production come from malformed records, duplicate identities, a customer who is also a partner, and records where a wrong action is public. If those cases are not in the set by design, they are not in it at all.
2. The builder writes the answer key
When the team that built the system also decides what the right answer was, the test measures agreement with the builder's own assumptions. The labels that matter are your team's: what your best SDR manager would have done with this lead. Anthropic's January 2026 guidance on agent evals puts the bar plainly: a good task is one where two domain experts would independently reach the same pass/fail verdict. An unreviewed builder label does not meet that bar.
3. One run is treated as a result
Language models are not deterministic, even with "deterministic" settings. Atil and colleagues at Penn State and Comcast ran five models ten times each at temperature 0 with a fixed seed across eight tasks, and found accuracy varied by up to 15% across runs on some tasks. A single passing run on a case is a sample, not a verdict.
4. An average score hides the unsafe action
A system that gets 19 of 20 cases right scores 95%. If the twentieth case was emailing a contact at a customer account, or deleting a record, the score is irrelevant. Aggregate accuracy treats every error as equal. A misrouted lead costs a day; a message to the wrong person in a live renewal costs the relationship.
5. Passing means full autonomy
Many launches have two states: off and on. Once the test passes, the system gets write access to Lead, Contact and the sequencer at once, with no written boundary and no single control to stop it. In Monte Carlo's survey, 63% of builders who deployed quickly later found an agent reaching data or systems they did not know it could reach.
Reference architecture
VANDFORT calls this layer the proof gate. Each of its five parts passes a defined artefact to the next.
Components: about 20 cases pulled from your own history, in four classes. Ten normal cases like the ones you see every week; four weird ones (malformed records, duplicate identities, a customer who is also a partner); three ambiguous ones where two experienced people would disagree; and three high-risk ones where being wrong is expensive or public.
Contract to labelling: each case as a frozen snapshot of the source records (object IDs, field values at the time, related activity), with its class. Live records are never used.
Components: a labelling sheet where the people who own the outcome record the expected action for each case (route to owner, suppress, qualify, escalate), the fields that matter and any unacceptable action. Ambiguous cases are labelled "escalate" by definition, because confidence is the wrong response to ambiguity.
Contract to the harness: case ID, expected action, expected inputs, forbidden actions and the labeller's name. Labels are locked before the system runs.
Components: a runner that feeds each snapshot to the system with read-only access, captures every decision with its inputs and reasoning, then repeats the full set. Downstream tools (the CRM, such as Salesforce or HubSpot, and the sequencing tool) are stubbed or read-only, so nothing can reach a customer.
Contract to scoring: two decision records per case, each with the action proposed, the fields read, the reasoning text and a tag for what made the decision: RULES where no model was called, AI where a model judged, HUMAN where the case was escalated.
Components: every decision is checked three ways. Right data pulled: did it read the records that matter? Matches your judgment: did it reach the labelled action? Safe to act: would the action be acceptable live? Any uncaught unsafe action blocks release on its own, whatever the overall score. The pass mark is 85%.
Contract to release: a Test Report with a verdict and reasoning for every case, including each row where the system disagreed with the label, and an overall pass or fail.
Components: a MAY / MAY NOT list signed before go-live (for a lead system: may score and route an inbound record; may not send to a contact at a customer account, delete or merge a record, or act on an ambiguous case). An autonomy ladder from Watch (runs on live data, takes no action, logs what it would have done) to Approval (proposes, a person approves) to Conditional (acts alone inside the signed boundary). An evidence log of every live decision, and one halt control the client can use alone.
Contract back to selection: moving an item from MAY NOT to MAY requires a new Test Report, not a settings change.
-- illustrative example, made-up case and outcome
case: A-07 class: ambiguous
snapshot: Lead "Northfield Advisory", domain matches a Partner account
label: expected = ESCALATE (owner: partner manager) | forbidden = SEQUENCE
labelled_by: SDR manager, locked before run 1
run_1: QUALIFY (tag AI)
run_2: ESCALATE (tag HUMAN)
checks: run_1 data no, judgment no, safe yes | run_2 all yes
case_pass: NO -- runs disagree; counts as a fail and goes in the report
gate: score >= 85% AND unsafe_actions == 0 -> ship to Watch
Build sequence
Write the decision down before choosing cases
Name the single decision the system will make (route this lead, flag this renewal), the fields it reads and the actions it could take. If it cannot be described in two sentences, it is not scoped tightly enough to test.
Pull the 20 cases from history, by class
Query the last few months of records and pick ten normal, four weird, three ambiguous and three high-risk cases. Ask the people closest to the work for the weird and ambiguous ones; they remember the duplicates and the renamed accounts. Snapshot each case so the inputs cannot change between runs.
Have your team label every case and lock the labels
The owner of the outcome records the expected action and anything forbidden. Where two labellers disagree, the expected action is escalate. Lock the sheet with names and a date before the system sees a single case.
Run the full set twice on read-only access
Run all 20 cases, then run them all again. Log every decision with its inputs, reasoning and tag. A strict reading, suggested here as a starting point, is that a case passes only when both runs pass all three checks.
Score, read the disagreements and decide
Apply the three checks to every decision, count unsafe actions separately and compare the score with the 85% mark. Then read every row where the system and the label disagree: sometimes the label is the thing that was wrong. The score and reasoning go to the client as a document, pass or fail.
Sign the scope and climb the ladder
If it passes, sign the MAY / MAY NOT list, connect the halt control and start at Watch on live data. Move to Approval when its would-be decisions keep matching what your team did, and to Conditional only inside the signed boundary. If the numbers slip, freedom narrows again.
Build vs. buy: trade-offs
Three common ways to test a revenue system before go-live differ in who chooses the cases, who owns the answer key and what happens on a fail. Eval tooling changes quickly, so check current vendor documentation (as of October 2026).
| Approach | Fit | Cost of ownership | Failure risk |
|---|---|---|---|
| Vendor pilot or proof of concept on live data | Off-the-shelf tools with narrow, well-understood actions | Low up front; the vendor runs it | Cases are whatever arrives during the pilot, so hard ones may never appear; scoring is the vendor's; live records are touched |
| An eval platform run by your own team (LangSmith, Braintrust and similar tools are examples) | Teams with an engineer who owns the agent and can maintain datasets, graders and regression runs | Licence plus ongoing engineering time to curate cases and write graders | Strong for repeat runs and regression; risk is a dataset drifting toward normal cases and graders checking format, not judgment |
| A proof gate built with your team on your own history (golden dataset, client labels, run twice, veto, signed scope) | Revenue systems that write to the CRM or contact customers, where one wrong action is expensive | A few days of your team's time to choose and label cases, plus the harness and report | Can fail and block launch, which is the point; needs a named owner to re-run the gate whenever scope widens |
The approaches combine well: an eval platform is a good place to keep the golden dataset and re-run it after every change, but the cases and labels have to come from your team. For how to decide which decisions stay with a person in the first place, see human-in-the-loop design for revenue agents.
Running it in production
The gate does not end at go-live. Re-run the golden dataset after every prompt, model or field change, and add each production failure as a new case. The instrumentation in why AI agents fail silently is the live half of the same system.
One halt control stops the system on any rung of the ladder, and the client can use it without calling anyone. The MAY NOT list stays binding in production, and widening scope needs a new Test Report. These are the same guardrails described in governance for autonomous GTM agents, applied before launch rather than after an incident.
Before this system touched a live record, it ran twice against 20 of our own past cases, including the ones we know are hard, labelled by our own people. It had to agree with our judgment on at least 85% and make no unsafe move. Here is the report, including where it disagreed with us, and the switch that stops it.
Where this fits in the system
The proof gate is how every one of the ten systems on the VANDFORT systems map gets to go-live, one system at a time. The method is laid out on the proof page: about twenty cases from your own history, chosen and labelled by you, run twice so the result is repeatable, with an 85% pass mark. Below it, or on any uncaught unsafe action, the system does not ship, and you get the score as a document whichever way it goes.
The worked example in this guide is a lead system, because that is where the gate is easiest to picture: Speed-to-Lead runs against your last twenty leads before it touches a live one, and runs on read-only access to your systems of record until you widen it. The same structure applies to a renewal flag or a stale-deal alert; only the cases and labels change.
Frequently asked questions
How do you test an AI agent before deploying it?
Run it against a fixed set of past cases with known right answers before it touches live data. Include weird, ambiguous and high-risk cases on purpose, and have the people who own the outcome label the expected action. Run the set more than once, score each decision on data, judgment and safety, and block launch on any unsafe action regardless of the overall score.
How many test cases do you need to evaluate an AI agent?
Fewer than most teams expect, if they are the right cases. Anthropic's 2026 guidance says 20 to 50 simple tasks drawn from real failures is a great start. A set of about 20 works for a single, well-scoped revenue decision when it deliberately mixes normal, weird, ambiguous and high-risk cases.
Why test an AI system twice on the same cases?
Because model outputs vary between runs, even at temperature 0. A 2025 study by Atil and colleagues found accuracy varying by up to 15% across repeated runs on some tasks. Running the full set twice shows whether a pass is repeatable or luck, and cases where the runs disagree are the most worth reading.
What accuracy should an AI system have before go-live?
It depends on the cost of an error, so set the bar before testing, not after. VANDFORT uses an 85% pass mark on about 20 labelled cases, with one rule that overrides the score: any uncaught unsafe action blocks release. A high average with one unsafe action is a fail, because revenue errors are not equal in cost.
What happens if an AI system fails its pre-launch test?
It does not go live. The useful output is the report: which cases failed, on which check, and where the system disagreed with your labels. Some failures are fixable, then re-tested on the same cases. Sometimes it shows the decision needs a person.
Sources: Monte Carlo, Agents in Production: The Builder's Perspective (April 2026; 260 practitioners and engineering leaders at organisations with 1,000+ employees). LangChain, State of Agent Engineering (survey November 18 to December 2, 2025; 1,340 respondents). Gartner, Gartner Predicts Over 40% of Agentic AI Projects Will Be Canceled by End of 2027 (June 2025). Atil et al., Non-Determinism of "Deterministic" LLM Settings (Penn State and Comcast AI Technologies, arXiv, revised April 2025). Anthropic, Demystifying evals for AI agents (January 2026). VANDFORT, Proof and Speed-to-Lead pages (accessed October 2026).




