From Demo to Production: The 8 Gaps Between Your Agent Working and Your Agent Shipping
Demos follow the happy path; production lives in the 1% you didn't prepare for. Here are the eight gaps between the two — the compounding-error math, the circuit breakers, the shadow mode — and what each fix actually looks like.
Halaman ini belum dilokalkan — materi sumber ditampilkan dalam bahasa aslinya.
The short answer
A demo succeeds because you feed it the happy path: clean data, a prompt you wrote, a model in a good mood, and nobody watching. Production is the 1% of cases you didn't prepare for — the missing field, the model timeout, the supplier email that quietly says "ignore previous instructions." The gap between the two is not a model problem. It is a list of gaps, and every single one on the list has a name. Here are the eight we keep coming back to — and what each fix actually looks like.
Why the demo lied to you (in a way that's the demo's fault)
Every agent that ships a demo and then "breaks in production" is telling the truth in both moments. The demo is true for the inputs it was given. Production is true for the inputs it wasn't. The distance between them is filled with things nobody wrote down: what happens when a field is empty, what happens when the network drops mid-step, who signs off when the number is wrong.
Useful framing from public industry guidance: the risk moves from saying the wrong thing (a content problem — embarrassing, recoverable) to doing the wrong thing (an action problem — money moved, a customer messaged, a record changed). The second one also chains: each tool call hands the next call new state, so a small early mistake can compound into something no single step would have been allowed to do. That shift — content risk to action risk — is why "the answer sounded fine in the demo" stops being a defense the day the agent gets write access.
The eight gaps
1. The demo assumed clean data. Production is not clean.
Your CSV in the demo had every column filled. Your ledger in production has a missing column, a renamed field, two departments using the same word for two different things. The fix is not a better prompt. It is a field contract: for every input, the type, the example, the error code, and — the part everyone skips — a pre-decided answer to "what happens when it's missing." Block the run, or fill a default, or escalate to a human. Decided before the missing field shows up, not when it does.
2. No evaluation set means the agent doesn't exist.
This is the harshest line in the business and the most common failure: an agent with no eval set has no definition of "correct," so there is no way to know whether a change improved it, broke it, or did nothing. Build the set before launch, not after the incident. It should contain real past failures (badcases), the "I don't know" cases, and prompt-injection attempts — the last two are the ones demos never show. And hold out a slice (a third is a number that keeps appearing in published practice) as a blind set that nobody on the build side sees, so your score measures generalization instead of memorization.
3. Errors compound down the chain — and the math is unforgiving.
If each step of a ten-step chain is 95% reliable, the chain works end-to-end only about 60% of the time. (0.95¹⁰ ≈ 0.60 — check it yourself; it's arithmetic, not marketing.) A 95% step sounds excellent as a single call and quietly disqualifies the agent as a ten-step chain. The design consequence: fewer model-decision steps is the first optimization. Make the deterministic parts deterministic — dates, arithmetic, permissions, state transitions belong in code, not in the model. The model reads, proposes and writes prose; the code keeps the books.
4. No circuit breakers means the agent "keeps trying."
An agent with no caps can loop until it burns your token budget, hits a rate limit, or produces a plausible-sounding answer to a question it gave up on. The standard fix is three tripwires in the main loop: a maximum round count, a wall-clock timeout, and a cumulative token budget — and when any of them trips, the run must fail loudly with an explicit failure marker, not degrade silently into "best effort." A silent degrade is how "the model is a bit off this week" becomes a week of bad records nobody noticed.
5. "Please don't write back" is a request, not a permission.
Prompts are requests. The model does not understand "please don't write back to production" — it samples tokens, and sampling is not an access-control system. Gating an irreversible action belongs in code: the agent generates a proposed action, a gate checks it, a human (or a deterministic rule) approves, and only then does the write happen. One architecture detail worth stealing: make read-only nodes the only nodes that ingest external text, and write-capable nodes the only nodes that never read it. An injected instruction then has no path from the outside world to a write — you cut the injection route out of the diagram instead of hoping the model resists it.
6. No trace means no debug, no postmortem, no accountability.
When it goes wrong at 2 a.m., the only way to find out what happened is the trace. A useful trace records, per run: the input (or a hash of it), the tool chain with timestamps, the round count, latency, token usage, and the prompt / model / commit triple — because "which prompt, which model version, which code" is exactly what you need to replay the failure later. The test: when something goes wrong, can you pull out the exact input, the exact data version and the exact rule version and replay it? If the answer is "we'd have to guess," you don't have a trace, you have vibes.
7. No rollback means you cannot ship the next version.
Before the agent touches anything real, two questions: what is the kill switch, and how fast does it work? The kill switch is one tested toggle that stops the agent cold — and you drill it once before launch, because a toggle nobody has ever pulled is a rumor. Rollback is the same question one level up: can you return to the last known-good prompt/model/config state, and is that a documented one-step action? Teams that can answer both in under five minutes ship noticeably more than teams that answer "probably."
8. Autonomy was granted by enthusiasm, not by evidence.
Most teams decide "the agent can act on its own now" because the demo was impressive. The discipline that replaces enthusiasm: start in shadow mode — the agent runs parallel to the human process, read-only, and you score its proposals against what humans actually did. Then canary it on the narrowest real scope you can find (one team, one product line, a few users — scope, not random traffic). Promote it to auto-execute only on consecutive evidence: a pattern that keeps showing up in published practice is something like ≥80% adoption for four straight weeks, zero factual errors, zero customer escalations it caused, and written sign-off from the compliance owner. Any red-line miss drops it back a level, immediately. And if you don't have enough samples yet to make a defensible call — extend the shadow phase. Do not lower the bar to ship faster; that is the exact trade that ends in an incident report.
What teams are actually hiring for (live data, our snapshot)
Our November 2026 snapshot of live forward-deployed and deployment roles (924 live) reads the same way, keyword by keyword:
- 451 of 924 (49%) live roles mention agent(s) in title, description or skills;
- 409 (44%) mention evaluation, evals or quality — the "gap 2" people;
- 426 (46%) mention security, permissions, governance or compliance — the "gaps 5 and 8" people;
- 107 (12%) mention monitoring, observability, alerting or telemetry.
These are keyword-match demand signals over live job text — a proxy for what teams are hiring for, not a survey, and not a ranking. But the pattern is consistent with everything above: the market is paying for the people who close these gaps, not the people who build the demo. Full methodology and the salary picture are on our live salaries page.
What the public reports say
We're not the only ones pointing this way. Huawei published a 144-page action guide in September 2026 on taking production-grade agents to scale (with several partner banks); among its case figures: a bank that cut single-scenario agent launch from two months to two weeks using scenario templates, and an agent-plus-RPA setup reported at 60% end-to-end efficiency gain. The report's framing is worth quoting as a discipline, not a slogan: value must be accountable in four dimensions — efficiency, cost, risk, business outcome — which is another way of saying the demo never had to answer those four questions and production always does.
What this is not
- No vendor recommendations, no benchmark scores, no "tested on N examples" claims.
- The eight gaps and the shadow-mode progression are our original synthesis, informed by public industry sources (named in References). None of it is a translation or reproduction of any article.
- The job numbers are a snapshot computed from
data/jobs.jsonon the published date; recompute any of them from the same dataset and you get the same answer.
If you want the artifacts, not just the list
Each gap above corresponds to a fill-in artifact: the risk matrix, the tool-call governance worksheet, the security test-case set, the incident runbook, and the shadow-mode rollout plan. All seven, with a demand note computed from live job data per section, are in the Production Agent Ops Toolkit. Start with gap 2 — the eval set — because every other fix is unmeasurable without it.
References. Huawei, "Financial Nine Questions: Production-Grade Agent at-Scale Action Guide" (金融九问·生产级智能体规模化落地行动指南), 2026-09, public report (case figures as reported by its authors). Job-snapshot figures computed by FDE Notes from data/jobs.json, November 2026 snapshot.
Yang bisa Anda lakukan sekarang
- A 10-step chain at 95% per-step reliability works end-to-end only ~60% of the time — fewer model-decision steps is the first optimization, not the last resort.
- Prompts are requests, not permissions: irreversible actions are gated in code, and read-only nodes are the only ones allowed to ingest external text.
- No eval set means the agent doesn't exist — build it before launch, include the "I don't know" and injection cases, and hold out a blind slice.
- Autonomy is earned, not granted: shadow mode, then narrow-scope canary, then promotion only on consecutive evidence (e.g. ≥80% adoption, 4 weeks, zero factual errors).
FDE Deployment Toolkit 2026
Arsitektur referensi, checklist go-live 60 poin, model biaya GPU, dan daftar pendek vendor — empat artefak yang selalu Anda bangun ulang di setiap deployment.
Toolkit Operasi Agent di Production
Agent pertama Anda sudah live. Ini cara menjalankan seluruh fleet dengan aman di production: matriks risiko aksi, worksheet governance tool-call, checklist kesiapan produksi MCP, rencana pemantauan perilaku, set kasus uji keamanan, runbook respons insiden, dan rencana rollout mode bayangan — setiap bab dibuka dengan catatan permintaan yang dihitung langsung dari data peran FDE/deployment kami.