esc
  • WorkflowsPages
  • Case studiesPages
  • Machine Learning FoundationsLearn
  • AI EngineeringLearn
  • AI Guardrails & Red TeamingLearn
  • UI/UXLearn
  • Design SystemsLearn
  • Production System DesignLearn
  • AI papersPages
  • Interview KitPages
  • Book a callContact
Let’s talk

I’ll build the agent for it.

How Do You Take a Prototype to Production?

The test set, the limits, the staged launch and the watching that turn a working demo into a system a team can run, explained for your AI interview.

In short

Test it on real past work first, limit what it can touch, and measure cost and speed. Launch to a small share of users with a way back, then keep watching quality, because models and data change.

12 min readIntermediateCommon · estimateFacts checked 27 November 2026

Say it out loud

Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.

A demo works on a few clean examples. To take it live, I first test it on real past cases, messy ones included, and limit what it can touch. I measure cost and speed, then launch to a small share of users with a way back to the old process. After launch I watch quality every day, because each failure becomes a new test. That loop keeps it working, and it is most of the job.

What does taking a prototype to production mean, in plain words?

A prototype shows that an idea can work. It usually runs on a few examples someone picked, with clean inputs and a person watching. Production means real customers, messy inputs, slow systems and a bill that arrives every month. Taking a prototype to production is the work of closing that gap.

Think of a flight simulator. A pilot can fly a perfect approach in it, but an airline still needs a schedule, maintenance, weather plans and a way to land when an engine fails. The prototype is the simulator. Production is the airline.

Here is the real case. A claims team wants an agent that reads a claim, checks the policy and routes it to the right desk. In the demo it looks great. Then it meets scanned forms, missing loss dates and a customer who wrote the claim at midnight.

Key words

Production
A system real people rely on, every day, with real costs.
Eval set
A fixed set of real cases, used to score each change before it ships.
Staged rollout
Giving the new version to a small share of real users first.
Rollback
Switching back to the old way, fast, when the new one misbehaves.

What has to be true before a real user sees it?

Start with the simplest thing that could work. Anthropic's engineering team recommends the simplest solution possible, and Google's machine learning rules say a product can launch without machine learning at all.

  • “When building applications with LLMs, we recommend finding the simplest solution possible, and only increasing complexity when needed.”

    Anthropic

  • “Don't be afraid to launch a product without machine learning.”

    Google's Rules of Machine Learning

Next, build the test set. Anthropic says that once you have evals (scored test cases, the same idea as a test set), you get baselines (a starting score to compare against) and regression tests (checks that catch a change which breaks what used to work) for free. Cost per task and error rates can be tracked on that fixed set. OpenAI lists biased design as one of its anti-patterns: an eval set that doesn't faithfully copy real production traffic. A set like that can pass while the live system fails, so build it from real traffic.

Worked example. A mid-size insurer built a triage agent that sends claims to motor, home, travel or injury desks. In the demo it routed 18 of 20 hand-picked claims correctly. The first real test set, 400 past claims, scored 71 percent. Most misses were scanned forms with tilted pages, and loss dates that were missing or in the wrong format. The team fixed the parsing, sent low-confidence claims to a person, and set one bar: no claim type may score worse than the live process. These are made-up numbers with a realistic shape.

A made-up claim note, typed in a hurry, reads: "Kitchen flooded overnight. Photos in the portal, please pay today." The agent should not decide that one alone, because the amount is missing and the policy check has to run first.

A release gate (a check that must pass before a change goes live) can be a few lines of code that check the rule above. This standard-library Python script blocks the release when any claim type gets worse.

Python
# A simplified release gate for a made-up insurance claims triage agent.
# Each row: claim type, did the live process route it right, did the new version route it right.
RESULTS = [
    ("motor", True, True), ("motor", True, True), ("motor", False, True),
    ("home-water", True, True), ("home-water", False, True), ("home-water", True, True),
    ("travel", True, False), ("travel", True, True), ("travel", False, True),
    ("injury", True, True), ("injury", True, True), ("injury", True, False),
]

def rate(rows, index):
    return sum(row[index] for row in rows) / len(rows)

def gate(rows):
    worse = []
    for kind in sorted({row[0] for row in rows}):
        group = [row for row in rows if row[0] == kind]
        live, new = rate(group, 1), rate(group, 2)
        print(f"{kind:<11} live {live:.0%}  new {new:.0%}")
        if new < live:
            worse.append(kind)
    if worse:
        print("HOLD: worse on " + ", ".join(worse))
    else:
        print("SHIP: no claim type got worse")

gate(RESULTS)

Output

home-water  live 67%  new 100%
injury      live 100%  new 67%
motor       live 67%  new 100%
travel      live 67%  new 67%
HOLD: worse on injury

The example has only three or four cases per claim type, so one case flips the result. On the real 400-claim set, each group needs enough cases that one claim cannot decide the gate, or the bar needs a small allowed margin.

Tip

Asked how you would know it's ready? Name the test set, the score you need and who signs off. A demo score alone proves little.

How do you launch it and keep it working?

Launch in stages. Send a small share of real work to the new version, keep the old path ready, and make rollback a switch someone can flip in minutes. The demo has to clear three checks before the first real user: a real test set, limits on each tool, and cost and speed numbers. Every failure found later goes back into the test set.

From demo to a system people trust

Demo

Works on 20 hand-picked claims

Before any real user

Real test set

400 past claims, messy ones too

Limits on tools

Each tool gets only what it needs

Cost and speed

Cost per claim and wait time

Staged rollout

5% of claims first, old path ready

Running for all

Watched daily, rolled back if needed

  1. 1Clear the demo, then test on real past work.
  2. 2Nothing ships until the three checks pass.
  3. 3A small share of real work goes first.
  4. 4Failures in live use become new test cases.
A demo has to clear three checks before the first real user. The new version then goes live to a small share of work, and failures found later go back into the test set, so the loop keeps the system honest.
  • “the real challenge isn't building an ML model, the challenge is building an integrated ML system and to continuously operate it in production.”

    Google Cloud, MLOps guide

  • “Set up continuous evaluation (CE) to run evals on every change, monitor your app to identify new cases of nondeterminism, and grow the eval set over time.”

    OpenAI

Watch what matters after launch: quality on real cases, cost per task, speed, errors, and how often a person steps in. Google Cloud's guide says to track the data and the model's online results, then send alerts or roll back when the numbers move away from what you expect. Microsoft's guidance adds that monitoring should support alerting, logging and a record of what the system did and why (auditability).

Log everything from day one. OpenAI advises logging as you develop, so the logs can be mined for good eval cases. That is how the test set grows from real traffic, and how the team spots a problem before a customer phones in.

How would you run six weeks from prototype to a pilot?

  1. 1

    Week 1: real test set

    Pull 400 past claims, including the messy ones, and label the right desk for each. Score the prototype before touching it.

  2. 2

    Week 2: limits and numbers

    Give each tool only the access it needs, set a cost cap per claim, and write down when a claim goes to a person.

  3. 3

    Week 3: staged launch

    Send 5 percent of claims to the new version, keep the old desk running, and check the error rate every morning.

  4. 4

    Weeks 4 to 6: widen and watch

    Grow the share only while no claim type scores worse. Every failure joins the test set.

What does the interviewer want to hear?

A strong answer covers

  • A clear line between a demo and a production system.
  • A test set from real past work, with the messy cases in it.
  • Limits on each tool, set in code, not in the prompt.
  • A staged launch with a rollback someone can flip fast.
  • Cost and speed numbers, and a person who takes over when unsure.
  • Monitoring after launch, with failures turned into new tests.

Common traps

  • Trap"The demo worked, so we ship it."

    BetterA demo covers a few clean cases. Score the real work first, then decide.

  • Trap"We'll add monitoring after launch."

    BetterWithout logs you can't tell a fix from luck. Logging goes in on day one.

  • Trap"We need the biggest model for production."

    BetterStart with the simplest solution that passes the test set. Move up only when a score shows the need.

Can you spot the launch risk?

Spot the launch risk

Which plan is safe enough to put in front of real claims?

Quick check

A live claims agent starts sending more claims to people than last month. What should you check first?

Can you answer these from memory?

Flash cards · tap a card to flip it

1 / 6

What will they ask next?

  1. Q391After a month, how do you prove it's not just a demo?12 min
  2. Q387How do you deal with messy customer data?11 min
  3. Q386How do you deploy into a customer VPC, on-prem or air-gapped environment?12 min
  4. Q388How do you measure business impact and ROI?12 min
  5. Q390"Your model hallucinates too much." What do you do in the first 48 hours?11 min

Learn it in depth

Last updated on 27 November 2026

Building a prototype that has to go live?

I design and build AI products and agents, including the UI and the system behind them. Book a short call and tell me what yours needs to do.