From AI Prototype to Production
A prototype proves that something can work once. A production service proves that it keeps working when real users, real data, failures and costs arrive. This ten-part series is the engineering companion to The Enterprise AI Control Plane: where that series assigns ownership, this one shows how to build and run each layer. It covers the agent loop, context engineering, retrieval at ten-million-document scale, gateways and routing, supply-chain security, deployment choices from managed platforms to Kubernetes, AgentOps telemetry, tabletop resilience exercises and the forward deployed engineering that turns field learning into product. Every part contributes evidence to one Production Readiness Scorecard that uses states rather than a maturity percentage. The running example is Swartberg Health Administrators, a fictional South African medical scheme administrator. Products are named only as dated examples. Research claims were checked on 18 November 2026.
Series published . 10 articles
- Part 1A demo is not a serviceA working demo answers one question: can this be done? A service answers a different one: can we promise it, repeatedly, to real users, with someone accountable when it fails? Part 1 of From AI Prototype to Production separates prototype, pilot, production service and scaled platform, and sets out the twelve-domain Production Readiness Scorecard and a service-contract canvas used across the series.10 min read
- Part 2How an AI agent actually worksAn agent is a loop of ordinary requests and responses. The model asks for a tool; your application decides whether to run it. Part 2 of From AI Prototype to Production traces one request at message level, separates the provider's stop signals from yours, and shows how to choose the least autonomous design that works.9 min read
- Part 3Context is the productMost wrong answers from a capable model are context failures: the wrong passage, stale state, too many tools or a summary that lost the evidence. Part 3 of From AI Prototype to Production sets out the context stack, a token budget with the arithmetic shown, and a selection matrix for RAG patterns, graphs, ontologies and SQL grounding.9 min read
- Part 4RAG at real scale: ten million documents without losing controlAt ten million documents, retrieval stops being a pipeline and becomes three systems: a write path that must be replayable, a read path that must respect permissions, and an operations plane that keeps both honest. Part 4 of From AI Prototype to Production gives the engineering view and a capacity worksheet with every calculation shown.10 min read
- Part 5AI gateways, model routing and integration: an engineering guideOnce a second team, a second model or a shared privacy rule arrives, every AI call needs the same access, limits, redaction, routing, fallback and telemetry. Part 5 of From AI Prototype to Production treats the gateway as an engineering build: what each component does, when to build it, how it fails, and where MCP and the enterprise event layer fit instead.10 min read
- Part 6Secure the whole AI supply chainAn AI service passed its penetration test, and nobody had asked where the model weights came from, what the tool server could reach or which package the gateway pulled at build time. Part 6 of From AI Prototype to Production maps threats to controls across six domains of the AI lifecycle, with the evidence each control should leave behind.9 min read
- Part 7Deploy and scale AI without confusing the layersA container image, a Kubernetes cluster and an application platform solve different problems, and an AI service adds a layer most deployment plans forget: prompts, model routes and retrieval settings. Part 7 of From AI Prototype to Production gives a deployment decision matrix, the health checks, autoscaling and rollback rules that change for AI, and the test for when Kubernetes earns its complexity.9 min read
- Part 8AgentOps in practice: observe, evaluate and improveAn agent you cannot trace to a prompt version, a model and the evidence it retrieved is an agent you cannot improve safely. Part 8 of From AI Prototype to Production is the engineering build: a trace schema, four evaluation loops, canary and rollback, and a six-part KPI scorecard.10 min read
- Part 9Resilience when the cloud goes quiet: four tabletop exercisesA continuity plan that has never been rehearsed is a hypothesis. Part 9 of From AI Prototype to Production maps the dependencies of an AI-enabled service and its degraded modes, then gives four ready-to-run tabletop exercises: provider outage, identity failure, poisoned retrieval and cost runaway, each with injects, roles, decisions, pass criteria and evidence.10 min read
- Part 10Forward deployed engineering for production valueAn embedded engineering pod is only worth its cost if the service still runs after the pod leaves and the platform is better for the next team. Part 10 of From AI Prototype to Production covers the engineering practice: a production-readiness backlog tied to the scorecard, a triage rule for returning field learning to the platform, a handover test and a written scale or stop recommendation.9 min read
Working through any of this in your own organisation?
These articles come out of delivery work rather than theory. If the problems in this series look familiar, a short scoping conversation is usually the quickest way to work out what is worth doing first.
Talk to CloudNala