Forward-Deployed Full-Stack Engineering for Autonomous Cloud MLOps
Organizations: Tata Research Development and Design Centre
Abstract
Across industries, machine-learning systems support applications ranging from prediction and anomaly detection to forecasting, optimization, and scheduling, yet operationalizing these systems requires coordinating application development, model pipelines, cloud infrastructure, security, deployment, monitoring, retraining, recovery, and rollback. We present an evidence-gated multi-agent framework for transforming a natural-language MLOps cloud engineering task into a verified repository and operational cloud deployment. The framework combines graph engineering, loop engineering, and agent harness engineering. A stateful Graph Orchestrator coordinates specialized agents for repository generation, review, execution, verification, release, and monitoring while governing workflow dependencies, evidence gates, retry bounds, recovery paths, and termination. Consequential lifecycle transitions proceed only when their required predicates are supported by verifiable execution or runtime evidence. Verification failures activate bounded reflection, repair, and re-verification, while runtime evidence of failure, drift, degradation, or policy violation can trigger bounded adaptation, recovery, or rollback. Agent harness engineering constrains repository generation, review, and repair, artifact execution, and cloud operations through controlled capabilities and isolated execution environments. We realize the framework on Google Cloud Platform and evaluate repository completeness, controlled execution, evidence-gated transitions, cloud promotion, and bounded recovery. Our experimental results show that the framework prevents unsupported lifecycle transitions and drives each run toward either a verified operational deployment or an auditable terminal failure.
Figures & tables
| Overall / RQ | Metric | Interpretation |
|---|---|---|
| Overall | Verified Operational Deployment Rate (VODR) | Did the entire execution end in a verified operational cloud deployment, with , , and ? |
| RQ1 | Repository Completeness Score (RCS) | How complete is the generated repository in terms of the required artifact categories? |
| RQ1 | Repository Acceptance Rate (RAR) | Did the repository ultimately satisfy after bounded correction and re-verification? |
| RQ2 | Controlled Execution Rate (CER) | Were executable repository artifacts processed through the GKE Sandbox with gVisor and accompanied by retained machine-checkable execution evidence? |
| RQ3 | Verified Progression Rate (VPR) | When a forward transition’s verification predicate was satisfied, did the Graph Orchestrator permit progression? |
| RQ3 | Blocked Forward Progression Rate (BFR) | When a forward transition’s verification predicate was unsatisfied, did the Graph Orchestrator block progression? |
| Model | Nominal | Repository Verification | Cloud Verification | Runtime Verification |
|---|---|---|---|---|
| GPT-5.6 Sol | 0.99 | 0.95 | 0.96 | 0.94 |
| Gemini 2.5 Pro | 0.78 | 0.62 | 0.65 | 0.59 |
| Gemini 2.5 Flash | 0.52 | 0.38 | 0.41 | 0.35 |
| Gemini 2.5 Flash-Lite | 0.38 | 0.24 | 0.27 | 0.21 |
| Model | Metric | Nominal | Repository Verification | Cloud Verification | Runtime Verification | Retry-Budget Exhaustion |
|---|---|---|---|---|---|---|
| GPT-5.6 Sol | RCS | 0.99 | 0.99 | 0.99 | 0.99 | 0.98 |
| RAR | 0.99 | 0.97 | 0.99 | 0.99 | 0.56 | |
| Gemini 2.5 Pro | RCS | 0.97 | 0.95 | 0.96 | 0.96 | 0.94 |
| RAR | 0.82 | 0.67 | 0.79 | 0.77 | 0.42 | |
| Gemini 2.5 Flash | RCS | 0.93 | 0.91 | 0.92 | 0.92 | 0.90 |
| RAR | 0.62 | 0.47 | 0.60 | 0.57 | 0.36 |
| Model | Nominal | Repository Verification | Cloud Verification | Runtime Verification | Retry-Budget Exhaustion |
|---|---|---|---|---|---|
| GPT-5.6 Sol | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| Gemini 2.5 Pro | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| Gemini 2.5 Flash | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| Gemini 2.5 Flash-Lite | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| Model | Metric | Nominal | Repository Verification | Cloud Verification | Runtime Verification | Retry-Budget Exhaustion |
|---|---|---|---|---|---|---|
| GPT-5.6 Sol | VPR | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| BFR | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | |
| Gemini 2.5 Pro | VPR | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| BFR | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 | |
| Gemini 2.5 Flash | VPR | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| BFR | 1.00 | 1.00 | 1.00 | 1.00 | 1.00 |
| Model | Nominal | Repository Verification | Cloud Verification | Runtime Verification |
|---|---|---|---|---|
| GPT-5.6 Sol | 1.00 | 0.99 | 0.98 | 0.98 |
| Gemini 2.5 Pro | 0.98 | 0.96 | 0.84 | 0.91 |
| Gemini 2.5 Flash | 0.90 | 0.87 | 0.70 | 0.79 |
| Gemini 2.5 Flash-Lite | 0.89 | 0.87 | 0.65 | 0.77 |
| Verification Target | Measure | GPT-5.6 Sol | Gemini 2.5 Pro | Gemini 2.5 Flash | Gemini 2.5 Flash-Lite |
|---|---|---|---|---|---|
| Repository Verification | Reached | 99 | 96 | 94 | 88 |
| RSR | 0.98 | 0.70 | 0.50 | 0.34 | |
| Cloud Verification | Reached | 99 | 77 | 57 | 40 |
| RSR | 0.98 | 0.86 | 0.74 | 0.70 | |
| Runtime Verification | Reached | 97 | 70 | 45 | 30 |
| RSR | 0.97 | 0.84 | 0.78 | 0.70 |
| Level | Dataset | Application | Two-Tier Application | ML Workflow |
| Easy | MNIST | Digit classification | Image-upload frontend with predicted-digit visualization; backend for image preprocessing and authenticated inference. | Image classification, reproducible training, evaluation, monitoring, and retraining. |
| Easy | California Housing | House-value regression | Feature-input frontend with predicted-value visualization; backend for feature preprocessing and authenticated inference. | Tabular preprocessing, regression training, evaluation, monitoring, and retraining. |
| Easy | IMDB Large Movie Review | Sentiment classification | Text-input frontend with sentiment visualization; backend for text preprocessing and authenticated inference. | Text preprocessing, sentiment classification, evaluation, monitoring, and retraining. |
| Medium | CIFAR-10 | Image classification | Image-upload frontend with class visualization; backend for image preprocessing and authenticated inference. | Vision-model training, augmentation, evaluation, serving, monitoring, and retraining. |
| Medium | UCI Bike Sharing | Demand forecasting | Temporal-input frontend with demand-forecast visualization; backend for temporal feature processing and authenticated forecasting. | Temporal feature construction, forecasting, evaluation, monitoring, and scheduled retraining. |
| Medium | UCI Human Activity Recognition | Activity recognition | Sensor-input frontend with activity visualization; backend for accelerometer and gyroscope preprocessing and authenticated inference. | Multivariate sensor preprocessing, activity classification, evaluation, monitoring, and retraining. |
| Variant | Modification |
|---|---|
| Full Framework | Evidence-gated transitions, graph-controlled correction and recovery, re-verification, and retry-budget semantics remain unchanged. |
| Evidence-Gate Bypass | Verification predicates are evaluated, but their outcomes do not gate enabled forward transitions. An unsatisfied predicate therefore does not block progression or enter the associated corrective or terminal-failure path. |
| Zero Retry Budget | All transitions that are retryable in the Full Framework are assigned zero retry budget. Evidence gating remains active, but an unsatisfied predicate causes terminal failure without entering the graph-controlled correction or recovery path. |
| Retry-Budget Sensitivity | The retry budget for each retryable transition is varied over while evidence gating and all other framework mechanisms remain unchanged. |
| Variant | VODR Repository | VODR Cloud | VODR Runtime | BFR Repository | BFR Cloud | BFR Runtime | RSR Repository | RSR Cloud | RSR Runtime |
|---|---|---|---|---|---|---|---|---|---|
| Full Framework | 0.95 | 0.96 | 0.94 | 1.00 | 1.00 | 1.00 | 0.98 | 0.98 | 0.97 |
| Evidence-Gate Bypass | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 | 0.00 |
| Zero Retry Budget | 0.00 | 0.00 | 0.00 | 1.00 | 1.00 | 1.00 | 0.00 | 0.00 | 0.00 |
| Retry Budget | VODR Repository | VODR Cloud | VODR Runtime | RSR Repository | RSR Cloud | RSR Runtime |
|---|---|---|---|---|---|---|
| 1 | 0.74 | 0.77 | 0.71 | 0.75 | 0.78 | 0.74 |
| 3 | 0.87 | 0.89 | 0.83 | 0.88 | 0.90 | 0.86 |
| 5 | 0.93 | 0.94 | 0.89 | 0.94 | 0.95 | 0.92 |
| 10 | 0.95 | 0.96 | 0.93 | 0.96 | 0.97 | 0.96 |
| 20 | 0.95 | 0.96 | 0.94 | 0.98 | 0.98 | 0.97 |