Manuscript Offprint

arXiv:2609.00050

Towards Agentic Cloud Engineering: Graph and Loop Engineering with a Zero-Trust Agent Harness

Sagar Srinivas Sakhinana, Venkataramana Runkana

Abstract

Agentic AI is enabling cloud-based workflows in which autonomous agents reason over operational state, invoke authorized tools, modify software and infrastructure, deploy services, verify execution outcomes, and adapt across long-horizon, multi-step tasks. Engineering such workflows requires explicit mechanisms for workflow progression, constrained execution, failure recovery, and verifiable completion. We present Agentic Cloud Workflow Engineering, an agentic AI framework that transforms natural-language agentic cloud-engineering tasks into validated code repositories and verified operational cloud deployments for automating cloud-based agentic workflows. The framework separates three complementary concerns: graph engineering specifies long-horizon workflow progression and verification-dependent transitions; loop engineering provides bounded diagnosis, repair or re-planning, retry, and re-verification; and agent harness engineering enforces zero-trust execution through identity, authorization, policy-scoped capabilities, isolation, and runtime safeguards. Workflow progression and completion require machine-checkable repository, deployment, and runtime evidence, with recovery constrained by explicit operational bounds and termination criteria. We instantiate the framework on Google Cloud and evaluate repository completeness, controlled execution, evidence-gated progression, operational deployment, and bounded recovery. Experimental results show that executions terminate with either a verified operational cloud deployment or an auditable terminal failure under bounded recovery. The framework provides a unified engineering architecture for cloud-based workflows spanning Agentic DevOps, Agentic CloudOps, Agentic SRE/AIOps, Agentic SecOps, Agentic DataOps, Agentic MLOps/LLMOps, AgentOps, Agentic RAG/GraphRAG, and related cloud-engineering domains.

1 Introduction

Organizations across industries—including Oil & Gas, FMCG, Finance, Healthcare, Manufacturing, Telecommunications, Aerospace, Automotive, and Energy—increasingly rely on cloud platforms for elastic resource provisioning, fault tolerance, managed infrastructure, and scalable data and AI services. As cloud architectures and operational workloads increase in scale and complexity, agentic AI is increasingly applied to cloud-engineering workflows involving planning, implementation, deployment, operation, monitoring, verification, and adaptation [Wang et al., 2024a, Shetty et al., 2024, Chen et al., 2025]. Agentic Cloud Engineering extends conventional cloud automation by incorporating goal-directed, tool-using agents into operational control loops. Unlike automation governed primarily by predefined execution paths, agents can interpret operational state, reason over objectives and constraints, select authorized tools and actions, evaluate execution feedback, and determine subsequent actions subject to explicit operational bounds. This operational pattern applies across multiple cloud-engineering domains. (a) Agentic Software Engineering and DevOps covers repository analysis, code generation and modification, testing, debugging, repository repair, build execution, and software-delivery actions driven by execution feedback [Yang et al., 2024, Wang et al., 2025]. (b) Agentic Platform Engineering and CloudOps covers infrastructure-state

Preprint.

analysis, infrastructure and configuration synthesis, provisioning, resource lifecycle management, and post-change validation [Shetty et al., 2024, Yang et al., 2025]. (c) Agentic AIOps and Site Reliability Engineering (SRE) covers telemetry analysis, incident triage, fault localization, root-cause analysis, mitigation planning, recovery actions, and post-recovery service validation [Chen et al., 2025, Wang et al., 2024b, Chen et al., 2024]. (d) Agentic Security Operations (SecOps) covers security-event analysis, threat detection, investigation, threat hunting, response planning, authorized containment, and post-response validation [Lazer et al., 2026]. (e) Agentic Financial Operations (FinOps) covers cloud-cost and resource-utilization analysis, cost-anomaly detection, optimization planning, resource-rightsizing recommendations, and impact evaluation [Vo et al., 2025]. (f) Agentic Data Operations (DataOps) covers data-pipeline synthesis and modification, data transformation, execution diagnosis, recovery and replay, and output validation [Siva et al., 2026]. (g) Agentic MLOps and LLMOps covers agent-directed model and pipeline experimentation, evaluation, pipeline modification, operational monitoring, failure diagnosis, retraining, model selection, deployment, promotion, and rollback based on observed lifecycle state [Nam et al., 2025, Hu et al., 2025]. (h) Agent Operations (AgentOps) covers tracing, evaluation, monitoring, logging, execution analysis, and lifecycle management of agents and multi-agent workflows [Dong et al., 2024]. (i) Agentic RAG and GraphRAG covers agent-directed query formulation, retrieval planning, source and tool selection, iterative evidence acquisition, graph-based retrieval, synthesis, and grounding verification [Lewis et al., 2020, Edge et al., 2024]. (j) Agentic Database Operations covers database-state and workload analysis, anomaly and performance diagnosis, root-cause analysis, corrective-action planning, authorized interventions, and post-action validation [Zhou et al., 2024]. (k) Agentic Network Operations (NetOps) covers network-telemetry analysis, fault localization, configuration synthesis, change planning, authorized configuration actions, bounded recovery, and post-change validation [Bilal et al., 2026]. (l) Agentic Identity and Access Management (IAM) covers identity-context analysis, delegated authorization, dynamic permission scoping, credential selection, access-control decisions, and least-privilege enforcement for agent actions [South et al., 2025]. (m) Agentic Governance and Compliance covers policy interpretation, policy-as-code generation and validation, compliance assessment, policy-constrained action planning, approval routing, and corrective configuration generation [Romeo et al., 2025]. (n) Agentic Inference Operations covers inference-state analysis, request scheduling and placement, dynamic batching, cache management, load distribution, and accelerator-resource allocation for agent workloads [Guo et al., 2026]. Across these domains, diverse cloud-engineering objectives must be realized through closed-loop agentic workflows that iteratively Observe → Reason → Plan → Act → Verify → Adapt based on system state and execution evidence [Yao et al., 2023, Shinn et al., 2023, Wang et al., 2024a]. Agentic Cloud Workflow Engineering addresses the synthesis, configuration, deployment, and verification of such workflows. For example, a natural-language Agentic Cloud Engineering task such as “Build and deploy a multi-tenant Agentic RAG platform for retrieving, reasoning over, synthesizing, and verifying enterprise knowledge” requires a deployable implementation comprising retrieval, reasoning and synthesis, and verification agents, together with tenant isolation, Role-Based Access Control (RBAC), Attribute-Based Access Control (ABAC), document-level authorization, Personally Identifiable Information (PII) protection, guardrails, provenance, and grounded-response verification. The framework must synthesize and validate the required repository artifacts, deploy the resulting services, verify end-to-end runtime behavior, and recover from failed verification across long-horizon, multi-step workflows [Yao et al., 2023, Shinn et al., 2023, Shetty et al., 2024, Chen et al., 2025]. Realizing such requirements therefore demands coordinated control over where workflow execution proceeds, how execution failures are diagnosed and corrected, and what permissions, tools, isolation boundaries, and policies constrain agent actions; these requirements motivate graph engineering, bounded loop engineering, and agent harness engineering, respectively. We formulate Agentic Cloud Workflow Engineering through three complementary abstractions—graph engineering, loop engineering, and agent harness engineering—as illustrated in Fig. 1. Graph engineering specifies workflow states, transitions, branches, dependencies, approvals, recovery paths, and terminal conditions for long-horizon execution and evidence-gated progression [OpenAI, 2025, Anthropic, 2024]. In Fig. 1, the Graph Orchestrator coordinates a natural-language Agentic Cloud Engineering task across repository generation, review, execution and deployment, verification, and runtime monitoring. Loop engineering governs bounded diagnosis, repair or re-planning, retry, and re-verification following failed verification or adverse runtime evidence, subject to limits on attempts, time, cost, and tool calls [Anthropic, 2024, 2025]. Following repair or re-planning, the Graph Orchestrator evaluates the updated workflow state and selects the applicable graph transition. Agent harness engineering defines the zero-trust execution boundary for tool invocation and cloud-engineering actions under identity, least-privilege authorization, policy, isolation, state, observability, audit, and evidence controls [OpenAI, 2026a,b, Anthropic, 2025]. Together, these abstractions transform natural-language Agentic Cloud Engineering tasks into validated code repositories and verified cloud deployments, with completion gated by repository, deployment, and runtime evidence.

Figure

Figure 1: The figure shows an Agentic Cloud Workflow Engineering architecture for synthesizing, configuring, deploying, and verifying agentic workflows across DevOps, CloudOps, SRE/AIOps, SecOps, DataOps, MLOps/LLMOps, and related cloud-engineering domains. The Graph Orchestrator coordinates repository generation, review, execution and deployment, verification, and runtime monitoring through graph-structured workflows with bounded recovery. Verification failures or adverse runtime evidence trigger diagnosis, repair, re-planning, and retry, after which execution resumes through the Graph Orchestrator. The agent harness enforces per-action authorization, policy-scoped tool access, isolation, state, observability, audit, and evidence controls across execution and recovery paths. Repository generation, review, diagnosis, and repair use VS Code and Chrome sandboxes, whereas deployment and verification actions execute within the gVisor-isolated GKE Agent Sandbox. The software supply chain governs build, security validation, provenance, and controlled deployment. Evidence-gated completion requires a validated code repository, verified cloud deployment, and verified runtime evidence.

Building on the framework-level abstraction in Fig. 1, Fig. 2 presents a system-level realization of Agentic Cloud Workflow Engineering on Google Cloud. The graph, loop, and agent harness abstractions are cloud-platform independent, while the architecture instantiated them using Google Agent Development Kit (ADK) for workflow orchestration, Agent2Agent (A2A) for inter-agent delegation and task exchange, Model Context Protocol (MCP) for scoped tool access, isolated execution environments, and zero-trust controls spanning identity, authorization, policy enforcement, state, runtime security, observability, and evidence capture. Verification failures or adverse runtime evidence trigger bounded recovery comprising diagnosis, repair or re-planning, retry, and re-verification. Evidence-gated completion requires a validated code repository, a verified operational cloud deployment, and verified runtime evidence. Our contributions are as follows:

  • We formulate Agentic Cloud Workflow Engineering through three complementary abstractions: graph engineering for long-horizon workflow control and evidence-gated progression, loop engineering for bounded diagnosis and recovery, and agent harness engineering for policy-constrained agent execution.

  • We design a zero-trust agent harness that constrains agent actions through scoped tool access, workload identity, least-privilege authorization, policy enforcement, tenant isolation, sandboxed execution, runtime security, state management, observability, audit, and evidence capture.

  • We define bounded recovery, in which verification failures and adverse runtime evidence trigger diagnosis, repair or re-planning, retry, and re-verification under explicit retry, time, token, tool-call, cost, privilege, and blast-radius limits with defined termination criteria.

  • We define evidence-gated progression and completion, in which workflow transitions require machine-checkable verification evidence and successful termination requires validated repository, deployment, and runtime evidence rather than agent-reported task completion.

The subsequent sections detail the problem formulation, framework, experimental setup, benchmark suite, and empirical evaluation.

Figure

Figure 2: The figure shows the Agentic Cloud Workflow Engineering architecture integrating graph engineering, loop engineering, and a zero-trust agent harness. The Graph Orchestrator uses Google Agent Development Kit (ADK) to coordinate long-horizon workflow execution, while Agent2Agent (A2A) supports inter-agent delegation and task exchange and Model Context Protocol (MCP) provides scoped access to sandboxes, authorized cloud APIs, and tenant-scoped data services. Verification failures or adverse runtime evidence activate bounded diagnosis, repair, re-planning, retry, and re-verification. The agent harness enforces identity and authorization, policy, isolation, state and tenancy, network and runtime security, software supply-chain, observability, and evidence controls across execution and recovery paths. Evidence-gated completion requires a validated code repository, verified operational cloud deployment, and verified runtime evidence.

References (23)