The prototype is impressive. A team connects a model to a curated dataset, writes a prompt, tries a handful of examples and shows a useful answer in a demo. The business can see the possibility, and the team has learned something valuable.
Then someone asks to make it available to employees or customers. The questions change: who owns the service, which users can access which data, what happens when the answer is wrong, how behavior changes are approved, who handles an incident, and whether the value justifies the operating cost? A successful demonstration has not answered those questions. It has revealed a candidate workload that needs production engineering.
The demo and the service have different jobs
A prototype tests a hypothesis under controlled conditions. It may use a small test dataset, a developer’s credentials, manual setup, a forgiving evaluator or a handful of selected prompts. That is appropriate for learning. It is not the same as a service with real users, sensitive data, availability expectations and an operating team.
The trap is treating the demo as nearly finished because the model response looks good. The remaining work often sits around the model: production identity, data permissions, networking, application integration, evaluation, release controls, monitoring, support and adoption. These are connected architectural and organizational decisions.
Give the workload a business and service owner
Before hardening the technology, establish what the system is meant to improve and who is accountable for its behavior. Name the user group, the task, the current process, the expected benefit and the person responsible for prioritizing changes. Decide whether the AI output informs a human, drafts work for review or takes an action.
Define how success will be measured in the workflow, not only in a model benchmark. A useful measure might include accepted recommendations, time saved on a specific task, successful completion rate or reduced handling effort, balanced against review burden, error impact and operating cost. If no owner can say what outcome matters or respond when it degrades, the workload is not ready to become a production service.
Replace demo assumptions with real boundaries
Production users bring their own identities, data permissions and unpredictable inputs. Map where requests, retrieved data, model calls and tool actions travel. Make authorization apply to the user’s actual access, protect credentials and secrets, define network requirements, and decide what content can be logged or retained.
Test with representative data and realistic permissions. A system that works for an administrator against a hand-picked dataset may fail for ordinary users because search results, document access, latency or content quality differ. Establish how teams will update source data, refresh indexes or other derived assets, and investigate an answer that cannot be reproduced.
Make quality and safety releasable
Production quality is not a single score. Build an evaluation set from real tasks and important edge cases. Agree on the measures that fit the application, such as task success, groundedness, relevance, safety, refusal behavior, tool-call correctness or escalation. Include expected failure behavior: when should the system ask a user for clarification, defer to a person or decline to act?
Run evaluations when prompts, models, retrieval configuration, application logic or tools change. Set acceptance thresholds that are meaningful for the use case, and make the results part of a reviewed release decision. Microsoft’s generative AI observability guidance describes evaluation through development and preproduction, followed by monitoring in production. The particular metrics and enforcement path should match the application and its risk.
Design for operations before launch
A production service needs an operating path: deployment ownership, environment separation, incident response, rollback or fallback, support contacts and a way to communicate behavior changes. Instrument the request flow so the team can investigate latency, errors, model and tool calls, quality signals and cost without collecting more sensitive information than necessary.
Plan for dependency changes and degraded modes. A model endpoint can be unavailable or rate limited; a downstream business system can fail; an upstream source can change. Decide what the user sees, which work can be retried safely, when a human should take over and how service health is restored. The Engineering Library’s Production Operations for AI Applications guide expands on release, incident and service ownership practices for this operating path.
Know the cost and adoption path
Estimate more than model usage. Include retrieval and indexing, application hosting, storage, observability, network transfer, evaluation and human review. Track a useful unit such as cost per completed task, reviewed case or successful workflow, then compare it with the business outcome. Set ownership, budgets, alerts and request controls appropriate to the service.
Adoption also takes design work. Put the capability where users already complete the task, explain its limits, support feedback and measure whether it improves the process. If users need a separate tool, do not understand when to trust its output or must repeat their existing work to use it, technical readiness will not produce business value.
Move from experiment to service in stages
- PrototypeProve a bounded use case with controlled data and a small user group.
- PilotValidate identity, quality, safety, support and unit cost.
- ReleaseGate deployment on agreed evaluation results and operational readiness.
- OperateMonitor adoption and behavior; tune or retire the capability deliberately.
- Validate the use case: confirm user need, business outcome, process owner and a suitable baseline for comparison.
- Assess the workload: map data, identity, network, model, tool, risk and operating boundaries.
- Build a representative evaluation: use realistic tasks and permissions, including edge cases and unsafe or low-confidence outcomes.
- Implement the production path: version application and infrastructure changes, automate checks, separate environments and assign deployment authority.
- Prepare operations: define service ownership, telemetry, support, fallback, incident response, change management and cost monitoring.
- Release incrementally: start with a bounded user group, review evidence and expand only when quality, risk and adoption meet agreed criteria.
| Gate | Advance when | Hold or stop when |
|---|---|---|
| Value and ownership | A user problem, accountable owner and measurable outcome are defined. | No team owns the workflow or benefit cannot be assessed. |
| Quality and risk | Representative evaluation meets agreed thresholds for the use case. | Errors create unacceptable harm or behavior cannot be evaluated. |
| Data and access | Data rights, identity and authorization work for real users. | Required access cannot be enforced or sensitive data use is unresolved. |
| Operations and adoption | Support, fallback, release, incident and user feedback paths have owners. | The service would be unsupported or adds friction without adoption. |
| Cost and sustainability | Full workflow cost is understood and proportionate to measured value. | Operating cost or effort outweighs the expected outcome. |
Some prototypes should stop. The discovery work may show that the task has no clear owner, the error cost is too high, users do not need the capability or the operating model is disproportionate to the benefit. A deliberate decision not to proceed is a useful outcome; it avoids turning an interesting demo into an unsupported service.
Production AI is a connected engineering problem
The cloud foundation supplies identity, network and governance boundaries. Platform engineering supplies repeatable delivery and operations. The AI workload adds its model, data, evaluation and behavior-specific controls. These layers help teams replace one-off prototype assumptions with a supportable product path.
For the system foundations, read Why Enterprise AI Is an Infrastructure Problem Before It Is an AI Problem. For shared AI capabilities, see The Enterprise AI Stack Is Becoming a Platform Engineering Problem. AI landing zones explain how to extend the cloud foundation for production AI, while zero-trust design for agents covers action-capable systems.
Keep behavior changes reviewable
For each release, record the model and deployment identifier, prompt or instruction version, retrieval configuration, tool definitions, evaluation dataset and application build that were tested together. A change to any one of these can alter the service’s behavior even when the application code barely changes. Keep a known-good release path and decide in advance which signals trigger rollback, disablement of a tool or a switch to a simpler fallback. This gives the service owner a way to respond to regressions without relying on memory about which combination last worked. The record also helps investigators distinguish a model change from a data, prompt, permission or application change. That makes each deployed combination auditable, lets the team compare candidate and previous behavior against the same evaluation set, and defines a clear response when a release threshold is breached.
Continue reading
References
- AI workload assessment — Microsoft Azure Well-Architected Framework.
- Observability in generative AI — Microsoft Foundry.
- Responsible AI for Microsoft Foundry — Microsoft Learn.