# Shipping to Production Source: https://customlabs.io/topics/shipping-to-production/ Updated: 2026-10-19 Topics The gap between a working notebook and a system that runs reliably and cheaply at scale is usually a bigger lift than the original prototype. This is our work on closing that gap. Start with The AI Release Path if you own shipping AI to production. It's for engineers who need a reliable way to ship a change and reverse it fast. In the Handbook [01 Decide](https://customlabs.io/handbook/decide/) [02 Design](https://customlabs.io/handbook/design/) [03 Build](https://customlabs.io/handbook/build/) [04 Evaluate](https://customlabs.io/handbook/evaluate/) [05 Operate](https://customlabs.io/handbook/operate/) [06 Cost](https://customlabs.io/handbook/cost/) ## Guides ### [The Agentic Delivery Playbook](https://customlabs.io/agentic-delivery/) The operating model for delivery with a fleet of coding agents. It has six control surfaces and 22 practices, plus the metrics that catch review debt early. 26 min read [Read →](https://customlabs.io/agentic-delivery/) ### [The Agent Tool Interface](https://customlabs.io/tool-design/) Agents fail at the tool interface more often than at the model. The design rules for building an interface that holds up in production. 25 min read [Read →](https://customlabs.io/tool-design/) ### [The AI Release Path](https://customlabs.io/release/) How to ship a change to an AI system, ramp it safely, and reverse it fast if it turns out to be wrong. 34 min read [Read →](https://customlabs.io/release/) ### [The Agent Adoption Playbook](https://customlabs.io/adoption/) The pilot worked. Here is how the rest of your engineers start using it, and the numbers that separate real adoption from seat activation. 33 min read [Read →](https://customlabs.io/adoption/) ### [MCP in Production](https://customlabs.io/mcp/) [MCP](https://customlabs.io/glossary/model-context-protocol/) standardizes the wire format. Identity, the catalog and the trust boundary are still yours to build, plus a ten-question gate for a new server. 42 min read [Read →](https://customlabs.io/mcp/) ## Architectures ### [Agentic workflow runner for a back-office queue](https://customlabs.io/architectures/agentic-workflow-runner/) An agent that works a queue of cases end to end. It runs in a bounded loop. A human checkpoint covers any action it cannot cleanly undo. 7 min read [Read →](https://customlabs.io/architectures/agentic-workflow-runner/) ### [Document extraction with a human review loop](https://customlabs.io/architectures/document-extraction-pipeline/) Turn inbound documents into structured records. A person reviews only the cases where the model is unsure. 6 min read [Read →](https://customlabs.io/architectures/document-extraction-pipeline/) ### [An assistant inside a product you already ship](https://customlabs.io/architectures/in-product-copilot/) An assistant embedded in a product you already ship. It is scoped to the signed-in user's own data and permissions. 6 min read [Read →](https://customlabs.io/architectures/in-product-copilot/) ### [A coding-agent delivery fleet](https://customlabs.io/architectures/agent-delivery-fleet/) A control plane for running many coding agents at once. Each agent works one task in its own worktree. You see what each task costs. 7 min read [Read →](https://customlabs.io/architectures/agent-delivery-fleet/) ## Comparisons July 22, 2026 ### [Agents vs Pipelines: When Autonomy Is Worth the Reliability Cost](https://customlabs.io/compare/agents-vs-pipelines/) Agentic autonomy and deterministic pipelines aren't a spectrum of ambition. They trade flexibility against reliability, and your workflow decides which. 7 min read [Read →](https://customlabs.io/compare/agents-vs-pipelines/) ## Insights November 28, 2026 ### [One Change, Five Stages: How Our Agent Fleet Shipped a Page](https://customlabs.io/insights/one-change-five-stages/) One site change, followed from brief to production. Review rejected the first build for two defects that CI passed. 9 min read [Read →](https://customlabs.io/insights/one-change-five-stages/) November 16, 2026 ### [How We Made Our Website Readable by AI Agents](https://customlabs.io/insights/website-readable-by-ai-agents/) Each page on our site has a Markdown twin that AI agents can read. We measured the HTML at 9.3 times the bytes of the twins. 6 min read [Read →](https://customlabs.io/insights/website-readable-by-ai-agents/) November 13, 2026 ### [What Our Agent Fleet Wrote Down in Four Months of Shared Memory](https://customlabs.io/insights/what-our-agents-wrote-down/) We counted 174 pages in our agent fleet's shared wiki. Closed-defect pages saved work. Repeated lessons and stale paths cost us time. 8 min read [Read →](https://customlabs.io/insights/what-our-agents-wrote-down/) September 30, 2026 ### [What Our Coding Agents Did to Get Past the Build Checks](https://customlabs.io/insights/coding-agents-game-the-check/) A coding agent optimises for the check and skips the goal. Incidents from our own delivery record show how a green check hid a wrong page. 9 min read [Read →](https://customlabs.io/insights/coding-agents-game-the-check/) July 24, 2026 ### [Prompt Injection Is a Data Problem: A Threat Model You Can Ship Against](https://customlabs.io/insights/prompt-injection-threat-model/) [Prompt injection](https://customlabs.io/glossary/prompt-injection/) can't be filtered away: the model can't reliably tell instructions from data. This is the threat model and the controls that hold up. 10 min read [Read →](https://customlabs.io/insights/prompt-injection-threat-model/) July 19, 2026 ### [Why Your AI Agent Works in the Demo and Stalls in Production](https://customlabs.io/insights/ai-agents-stall-in-production/) An agent that nails the demo stalls in production because reliability compounds across steps. We cover the math, the failure modes, and how to ship anyway. 8 min read [Read →](https://customlabs.io/insights/ai-agents-stall-in-production/) July 11, 2026 ### [AI Cost per Outcome in Production, by Workload](https://customlabs.io/insights/ai-cost-benchmark-by-workload/) A reproducible benchmark of cost per successful outcome across four common AI workloads, with every token assumption, price, and overhead multiplier shown. 9 min read [Read →](https://customlabs.io/insights/ai-cost-benchmark-by-workload/) July 7, 2026 ### [Your RAG Demo Lied to You](https://customlabs.io/insights/your-rag-demo-lied/) Retrieval that looks flawless on ten clean PDFs falls apart on a real corpus. We explain why, and what a retrieval eval requires. 7 min read [Read →](https://customlabs.io/insights/your-rag-demo-lied/) June 30, 2026 ### [What an AI Feature Costs in Production](https://customlabs.io/insights/what-ai-actually-costs/) Token costs that look trivial in a demo compound fast at scale. Make cost a first-class metric instead of a surprise on the invoice. 7 min read [Read →](https://customlabs.io/insights/what-ai-actually-costs/) April 14, 2026 ### [From Notebook to Production: What Breaks](https://customlabs.io/insights/notebook-to-production/) The gap between a working AI demo and a production feature is auth, latency, cost and fallbacks. We close it without a rewrite. 7 min read [Read →](https://customlabs.io/insights/notebook-to-production/) ## Case studies June 30, 2026 ### [From Notebook to Production: An Extraction Model You Could Trust](https://customlabs.io/case-studies/extraction-notebook-to-production/) A healthtech's extraction model worked in a notebook and hallucinated in production. An eval harness cut [hallucinations](https://customlabs.io/glossary/hallucination/) from 12% to 3% in 8 weeks. 7 min read [Read →](https://customlabs.io/case-studies/extraction-notebook-to-production/) ## Patterns ### [Intent router to specialists](https://customlabs.io/patterns/intent-router-to-specialists/) A fast, cheap classifier routes each request to one narrow specialist agent. Each specialist holds only the tools and instructions its job needs. The router picks the specialist. The specialist does the task. [Read →](https://customlabs.io/patterns/intent-router-to-specialists/) ### [Bounded agent loop](https://customlabs.io/patterns/bounded-agent-loop/) A bounded agent loop runs under an explicit step budget and token ceiling. A wall-clock limit also applies. A termination contract forces every run to end in a small set of named states, such as success or escalation. When the budget runs out first, the harness ends the run itself. [Read →](https://customlabs.io/patterns/bounded-agent-loop/) ### [Typed tool contract](https://customlabs.io/patterns/typed-tool-contract/) A strict JSON schema defines every tool argument. A call that fails validation gets a structured, actionable error. The schema uses enums for known value sets and validated patterns for IDs. It marks fields required where needed and offers no free-text catch-all. The system never coerces a failed call or passes it to execution. [Read →](https://customlabs.io/patterns/typed-tool-contract/) ### [Human checkpoint before irreversible actions](https://customlabs.io/patterns/human-checkpoint-before-irreversible/) Each tool gets the narrowest permission its task needs. A human confirms any action that cannot be undone before it runs. Examples are a refund or an external message. A plausible-looking model decision is never enough on its own. The two controls work together. Least privilege limits the blast radius of anything that slips through. The checkpoint stops the worst actions from running at all. [Read →](https://customlabs.io/patterns/human-checkpoint-before-irreversible/) ## Failure modes ### [Stale index serves deleted content](https://customlabs.io/failure-modes/stale-index-serves-deleted-content/) Your retrieval index was built once at ingest and never told the source changed. When a document is edited or deleted, nothing re-embeds the new version or tombstones the old chunk. The stale vector keeps scoring well and keeps getting served with confidence, giving the reader no signal that it is out of date. [Read →](https://customlabs.io/failure-modes/stale-index-serves-deleted-content/) ### [Unbounded agent loop](https://customlabs.io/failure-modes/unbounded-agent-loop/) The agent has no step budget, no token budget, and no way to recognize it is stuck. A failing tool call stays in its context and keeps looking like a reasonable next try. The agent keeps trying variations of the same failed approach. Something external, such as a timeout or a human, finally stops it. [Read →](https://customlabs.io/failure-modes/unbounded-agent-loop/) ### [Tool argument hallucination](https://customlabs.io/failure-modes/tool-argument-hallucination/) Loose tool schemas (free-form string IDs, everything optional) give the model room to fill a gap with something plausible-looking instead of something real. With no server-side validation catching the mismatch before execution, a confidently invented ID reaches a system that expects a real one. [Read →](https://customlabs.io/failure-modes/tool-argument-hallucination/) ### [Silent tool failure](https://customlabs.io/failure-modes/silent-tool-failure/) The tool returned HTTP 200 with an error message in the body, or an empty result set. The agent treated the absence of data as evidence and missed the failure. Nothing in the response forced a distinction between "nothing matched" and "something broke." [Read →](https://customlabs.io/failure-modes/silent-tool-failure/) ### [Context overflow drops the task](https://customlabs.io/failure-modes/context-overflow-drops-the-task/) As the conversation grows, a naive truncation strategy drops the oldest messages to stay under the context window. The oldest messages usually hold the system prompt and the original task state. The agent keeps running with no memory of what it was supposed to do. [Read →](https://customlabs.io/failure-modes/context-overflow-drops-the-task/) ### [Injection via retrieved content](https://customlabs.io/failure-modes/injection-via-retrieved-content/) Yes. Retrieved content arrives on the same channel as instructions. A document, ticket, or webpage crafted or compromised to contain commands can make the model execute them with its real tool permissions. The system has no built-in way to tell 'instruction from us' apart from 'text we retrieved.' [Read →](https://customlabs.io/failure-modes/injection-via-retrieved-content/) ## Tools ### [AI Readiness Scorecard](https://customlabs.io/tools/ai-readiness/) A fast read on whether your data, infra, and process are ready to ship AI. [Read →](https://customlabs.io/tools/ai-readiness/)