Software Dev

Google's Agent Compute Engine: Designing the Agent Runtime

Google's Agent Compute Engine: Designing the Agent Runtime
Written byVien Hong
Published
Reading time4 min

An agent that can run a shell command needs somewhere to run it. That environment also needs rules about credentials, network access, and what remains after the command finishes. Choosing a model does not answer those questions.

Google Cloud announced Agent Compute Engine on October 22, 2026, with a customer preview planned for the coming months. It is an announcement, not a service to treat as publicly available today. The architecture is still worth examining: it separates the agent's decisions from its execution environment and treats waiting, storage, and access control as runtime concerns.

Separate the harness from the sandbox

Google's technical article draws a useful distinction. The harness calls the model and decides what action comes next. The sandbox executes code, shell commands, and browser operations. Google says its orchestration harness runs outside that sandbox.

Consider a hypothetical code-analysis agent. Its harness might ask the model which files to inspect, request a command, and decide how to handle the result. The sandbox would contain the working files and execute that command. These are different responsibilities, even when the user sees one continuous conversation.

An orchestration card connected to a separate enclosed execution window

This separation gives engineers a concrete place to start a design review. Draw the boundary around the execution environment, then identify everything allowed to cross it. Include command inputs, results, files, and requests for external access. Review that boundary separately from the prompts that tell the agent how to behave.

Isolation defines where code runs

The announcement describes a hardware-isolated Cloud Hypervisor boundary, a separate guest kernel, and root access inside the guest. Those are Google's architectural claims, not independent evidence that arbitrary agent behavior is safe.

For background, the Cloud Hypervisor project describes itself as an open-source virtual machine monitor written in Rust that runs on KVM or Microsoft Hypervisor. That describes the named component. It does not make Google's entire managed service open source.

A useful review should distinguish privileges inside the guest from permissions outside it. Root access in a sandbox says something about what a process can do within that environment. It does not, by itself, describe which external systems the agent may contact or which requests those systems should accept.

Treat isolation as one part of the runtime specification. Access policy still needs its own explanation. An architecture diagram should show both the execution boundary and the controls around external actions, rather than using a single lock icon to imply that every risk is covered.

Credentials and network access have separate controls

The credential design needs careful wording. In its technical description, Google says the guest contains no persistent secrets, OAuth refresh tokens, or cloud service-account keys. It does receive a session-scoped public SPIFFE certificate and a short-lived identity token. Saying that no tokens enter the VM would be inaccurate.

Google says long-lived user credentials stay off-host. Agent Gateway validates identity and policy before inserting backend credentials into outgoing requests. The guest's session identity and the credentials used to reach a backend therefore have different roles.

A temporary identity card passing through a gateway while a key remains outside the execution chamber

Network access follows a similarly explicit route. Google says these microVMs have no standard virtual network interfaces, default IP gateways, or direct VPC access. Traffic crosses a virtio-vsock boundary and mediation proxies, with an external gateway enforcing outbound policy. That is mediated networking, not an absence of networking.

For another runtime, ask for the same level of detail: which identity lives inside the execution environment, where backend credentials live, and where a request can be denied. Keeping a long-lived credential out of the guest should not be treated as proof that prompt injection, unauthorized actions, or data exfiltration are solved.

Pausing execution is different from ending the task

Google's technical article describes application-aware signals that indicate when no commands or background tasks are in flight. The host can then checkpoint the idle sandbox and restore it for the next tool call. The announcement also describes snapshot-based pause and resume, plus copy-on-write memory sharing.

This design addresses the gap between a continuing task and active execution. A hypothetical spreadsheet assistant might finish examining a file, then wait for its next instruction. The task still has context, but that does not necessarily require commands to keep running throughout the wait.

An execution window paused between two active tool calls with a snapshot stored beside it

There are no independent latency or savings measurements in the sources used here. A checkpointing design also does not establish a pricing policy. Before treating idle suspension as a cost benefit, ask which resources remain allocated or billable while execution is paused. Keep that question separate from how quickly the environment can resume.

Decide which state deserves to survive

Persistence needs more detail than a promise to save the session. Google distinguishes disposable scratch overlays, shared read-only base images and toolchains, and durable user workspaces.

Those categories suggest a practical way to classify an agent's files. A temporary intermediate file may belong in scratch space. A reusable toolchain may belong in a shared base. An edited document or generated artifact may need durable storage. These are design choices to make explicitly, rather than leaving every file with the same lifetime.

Persistent workspace files are also distinct from the model's conversational memory. For a code-analysis agent, preserving its working directory and preserving the explanation of its previous decisions are separate requirements. Specify what must survive a pause, what must survive a new session, and what should be discarded.

Write the runtime requirements before choosing a service

The announcement is useful as an architectural reference, without being a product recommendation. Its runtime claims come from Google, and the sources here do not include independent performance or adversarial testing.

For a planned agent, write a short runtime specification before evaluating providers:

  • Identify what executes inside the sandbox and what stays in the harness.
  • Document the guest identity, backend credentials, and outbound policy enforcement point.
  • Classify temporary files, shared dependencies, and durable artifacts.
  • Define when suspension is safe and which resources need a billing explanation.

Apply that specification to one concrete task, such as inspecting a repository and saving a report. Trace a command, an external request, a pause, and a saved artifact through the proposed design. That review gives you specific requirements to evaluate when a runtime becomes available.

Sources

More from the blog

View all