Requirements, Proof of Concept and Pilot to Production

Decide what proof you need before you build, then earn each increase in users, data and autonomy.

BeginnerIntermediateExpert · 12 min read · Last updated:

In short

Write requirements that include behavior, limits and evidence. A proof of concept answers whether it can work. A pilot asks whether it helps real users safely. Production needs ownership, support, monitoring and rollback. Agree pass, fail and stop rules in advance and judge them with enough cases.

What you will learn: a requirements template, scoping a proof of concept, success criteria and sample size, pilot design, production readiness, staged rollout, stop rules and handover.
Prerequisites: Agent Testing: Unit to End-to-End and Business Case, Build vs Buy and Vendor Evaluation.

Versions used

The example runs in November 2026 with Python 3.13 and only the standard library. It applies a standard statistical interval to invented counts. It is teaching material; ask a qualified statistician for high-stakes decisions.

Beginner Stages and requirements

Four stages, four questions

ProofCan it work?
PilotDoes it help?
LimitedCan we run it?
ScaleDoes it hold?
Each arrow is a decision with named evidence, and returning to an earlier stage is allowed.

The section overview names the gates Discover, Prove, Pilot, Produce and Scale. This page starts at Prove, and its limited production stage corresponds to Produce.

Requirements template

SectionWrite down
ProblemWho, how often, current cost and baseline
Users and contextSkills, devices, languages, accessibility needs
ScopeIncluded tasks, excluded tasks and what happens to them
BehaviorExample inputs with acceptable and unacceptable results
AutonomyAutomatic actions, approvals and prohibited actions
Data and toolsSources, permissions, owners and retention
Quality barsTargets by task type, severity levels and zero-tolerance cases
Non-functionalLatency, availability, cost ceiling, audit
FailureFallback, handoff and recovery
OwnershipProduct, operations, risk acceptance and support
Decision rulesEvidence to continue, change or stop

Examples matter more than adjectives. "Accurate" is not testable; "the total matches the ledger to the cent, or the case is routed to a person" is.

Scope a proof of concept

  • Pick the riskiest assumption, not the easiest demonstration.
  • Use real, permitted examples including difficult ones.
  • Stub or sandbox actions with effects.
  • Fix a short time box and budget.
  • Compare with a simpler approach.
  • End with a written result, including what did not work.

Code from this stage is usually disposable. Say so at the start, so a prototype does not slide into production unnoticed.

Intermediate Success criteria and pilots

Good success criteria

TypeExample
QualityAt least 90 percent correct on the agreed case mix
SafetyNo unauthorized action in any case
User valueMedian handling time falls against the baseline, including review
CostCost per verified outcome below an agreed ceiling
OperabilityFailures detected and recovered in a rehearsal
AcceptanceUsers can explain limits and choose to keep using it

How many cases are enough?

A high rate from a small sample is uncertain. An interval shows the range of true rates compatible with the result, under assumptions that cases are independent and representative.

Judging a pilot result

The program computes a 95 percent Wilson score interval and applies a target of 90 percent. Any serious error stops the process regardless of the average.

"""Is a pilot result strong enough? Use an interval, not only the average."""
from math import sqrt


def wilson(successes, n, z=1.96):
    p = successes / n
    center = p + z * z / (2 * n)
    spread = z * sqrt(p * (1 - p) / n + z * z / (4 * n * n))
    return (center - spread) / (1 + z * z / n), (center + spread) / (1 + z * z / n)


def decide(successes, n, target, serious_errors):
    low, high = wilson(successes, n)
    if serious_errors:
        return low, high, "stop: investigate serious error"
    if low >= target:
        return low, high, "pass"
    if high < target:
        return low, high, "fail"
    return low, high, "not yet proven: collect more cases"


print("target 0.90")
print("cases  correct  rate   95% interval   decision")
for successes, n, serious in [(47, 50, 0), (188, 200, 0), (470, 500, 0),
                              (40, 50, 0), (495, 500, 1)]:
    low, high, verdict = decide(successes, n, 0.90, serious)
    print(f"{n:5}  {successes:7}  {successes / n:.2f}  "
          f"{low:.3f} to {high:.3f}  {verdict}")

Output:

target 0.90
cases  correct  rate   95% interval   decision
   50       47  0.94  0.838 to 0.979  not yet proven: collect more cases
  200      188  0.94  0.898 to 0.965  not yet proven: collect more cases
  500      470  0.94  0.916 to 0.958  pass
   50       40  0.80  0.670 to 0.888  fail
  500      495  0.99  0.977 to 0.996  stop: investigate serious error

Forty-seven of fifty looks comfortably above target, yet the lower bound is near 84 percent. The same observed rate passes only with several hundred cases. The last row has 99 percent correct and still stops, because severity is judged separately. Repeatedly testing until a pass appears weakens the method, so fix the sample plan in advance. Zero observed serious errors also does not prove the rate is zero.

Design the pilot

DecisionGuidance
ParticipantsInclude typical and skeptical users, not only enthusiasts
CasesCover normal variation and known hard types
ModeStart with suggestions or shadow runs before actions
ComparisonBaseline or control group
ReviewWho checks outputs, and how disagreements are settled
SupportHow users report problems and get help
DurationBeyond novelty and across relevant business cycles
Stop switchTested before the first user

Shadow mode runs the agent beside the current process without letting it act. It shows disagreement safely, but users cannot react to it, so it does not replace a pilot.

Expert Production readiness and rollout

Production readiness review

AreaEvidence
OwnershipNamed product and on-call owners
EvaluationRegression set in the release pipeline
SecurityThreat model, least privilege and tests
DataApproved sources, retention and deletion
ObservabilityTraces, outcome metrics and alerts
ReliabilityTimeouts, limits, fallbacks and recovery rehearsal
ReleaseVersioning, staged rollout and rollback
PeopleTraining, handoff capacity and user guidance
ObligationsRequired reviews and records completed

See releases and rollback, recovery, threat modeling and release gates.

Roll out in steps

  1. Internal or low-risk users with full review.
  2. A small share of real traffic.
  3. More users with unchanged autonomy.
  4. Wider autonomy for one task type at a time.
  5. New domains with their own evaluation.

Change one dimension at a time where possible: users, data, tasks or autonomy. Then a problem is easier to locate.

Stop and step-back rules

TriggerResponse
Unauthorized action or data exposureDisable the capability and start incident handling
Quality below floor for an agreed windowReturn to approval mode
Cost above ceilingApply limits and review routing
Review queue beyond capacityPause expansion
Model or dependency changeRe-run evaluation before wider use

Name who may trigger each response without further approval.

Why pilots stall

CauseEarly remedy
No operational ownerName one before starting
Data access promised, not grantedConfirm in the proof stage
Demo cases onlySample real work
Security review at the endInvolve from the design
Value never measuredRecord the baseline
No budget to operateInclude running cost in the first proposal

Pilot failures and return on investment examines these patterns further.

Handover to operations

Provide an architecture description, dependency list, runbooks, alert meanings, evaluation instructions, known limitations, escalation contacts and the history of decisions. Let the operating team run a failure drill while builders are still available. A system only its creators can repair is not yet in production, whatever its user count.

The decision record

FieldContent
Stage and dateWhat was decided
VersionsModel, prompts, tools and data tested
EvidenceResults with counts and intervals
Open risksWith owners and dates
ConditionsLimits on users, tasks and autonomy
Next reviewDate and triggers

An example plan

For an invented document triage agent: two weeks to test extraction on permitted real samples; four weeks of shadow runs measuring disagreement; six weeks with one team approving every suggestion; then limited automatic routing for the two document types that met their targets, while others remain assisted. The dates are placeholders. Evidence, not the calendar, moves the project forward.

Plan the evidence before the build

Claim to proveEvidenceCollected by
Results are correct enoughGraded cases by task type with intervalsEvaluation owner
It cannot exceed its authorityPermission tests and adversarial casesSecurity
Users do better with itComparison with baseline and interviewsProduct owner
It is affordableTraced cost per verified outcomeEngineering and finance
Failures are manageableDrill results and recovery timesOperations
Duties are metCompleted reviews and recordsLegal, privacy and risk

If nobody can say how a claim will be proven, either design the test now or remove the claim from the case.

Case sets for each stage

Keep separate sets. Development cases are used freely while building. A held-out set is used for stage decisions and refreshed when it has been seen too often. A challenge set holds rare, severe and adversarial examples that must pass regardless of averages. Add every significant production failure as a new case after removing or protecting personal data. Record which versions were tested against which set so that results can be reproduced. Datasets and simulation explains how to build them.

Earning more autonomy

LevelBehaviorEvidence to move up
ShadowProduces results nobody acts onAgreement and error analysis
SuggestPerson decides and actsAcceptance after real checking; low severe error
ApproveAgent acts after confirmationStable results, few edits, tested recovery
Bounded autoActs within limits; sampled reviewPer task type thresholds over enough cases

Promotion applies to a specific task type, version and limit. A new model or tool can justify moving back a level until re-tested. Autonomy levels gives the wider framework.

Running the decision review

Send the evidence in advance and keep the meeting about the decision. The product owner states the question and the thresholds agreed earlier. Evaluation presents results with counts and intervals, including failures. Security, privacy and operations state open findings. Users or their representatives describe the experience. Then the accountable owner chooses one of four outcomes.

OutcomeMeaning
ProceedMove to the next stage with stated limits
Proceed with conditionsNamed fixes with owners and dates; some limits until closed
ExtendMore evidence needed, with a defined sample and date
Stop or redirectEnd, or return to discovery with what was learned

An extension should be exceptional and specific. Repeated open-ended extensions usually mean that the criteria or the ownership were never settled.

The first weeks in production

  • Increase review sampling and look at traces daily.
  • Staff the handoff queue for higher than expected demand.
  • Hold a short daily check on quality, safety, cost and user reports.
  • Freeze unrelated changes so causes stay clear.
  • Confirm that alerts reach a person who can act.
  • Set a date to return to normal sampling based on results.

New traffic often differs from pilot traffic. Compare the mix of task types and users with what was tested, and evaluate any large new category before treating it as covered.

Plan the end as well

Every production agent needs a retirement path: who decides, how users are told, how in-progress tasks finish, how access and credentials are removed, what records are kept and how data and indexes are deleted. Review annually whether the agent still earns its cost and risk. An abandoned agent with live permissions is a security problem, which is why the inventory matters long after launch.

Keeping people informed

WhenTell users and stakeholders
Pilot startPurpose, limits, what is recorded, how to report and how to stop
DuringKnown problems, changes made and any new restriction
DecisionResult, reasons and what happens to their work
RolloutWho gets access when, training and support
RollbackWhat is paused, the fallback and when the next update comes

A pilot that ends silently leaves participants guessing and makes the next volunteer harder to find. Thank them and show what their feedback changed.

Regulated and high-impact uses

Where an agent affects access to money, work, health, housing, education or legal rights, extra duties may apply before any real user is involved, including assessments, notices, human review and records. Involve the relevant specialists during the proof stage, because requirements can change the design. This page cannot tell you what applies to your case. See risk tiers for an orientation.

Retirement deserves its own test. Disable the agent in a rehearsal and confirm that work reaches the fallback, scheduled jobs stop and no other system silently depends on it.

Common mistakes

MistakeConsequenceInstead
Vague success criteriaEndless pilotWritten thresholds
Judging small samples by averageFalse passIntervals and enough cases
Prototype promoted as isFragile systemReadiness review
Expanding several things at onceUnclear causesOne step at a time
No rollback authoritySlow responsePre-assigned rights
Ignoring review capacityBacklog and rubber stampsPlan staffing

Checklist

  • Requirements include examples, limits and evidence.
  • The riskiest assumption was tested first.
  • Sample plan and thresholds were fixed beforehand.
  • Serious errors are judged separately.
  • Readiness evidence exists for each area.
  • Rollback has been rehearsed.
  • Operations accept ownership in writing.

Frequently asked questions

How long should a pilot run?

Long enough to gather the planned cases and cover normal variation. Set the sample and decision date before starting.

What if results are close to the target?

Treat them as unproven. Collect the planned additional evidence, narrow the scope or keep human review; do not move the target afterward.

Can a proof of concept use production data?

Only with approval and suitable protection. Prefer minimized, masked or synthetic data, while checking that it still represents real difficulty.

Who decides to go live?

The accountable business owner with operations, security and risk input, recorded with conditions and a review date.

References

Where to go next