# Agent Substrate on Kubernetes, or a hosted microVM API
Google's Agent Substrate runs agents in gVisor or Cloud Hypervisor sandboxes on a Kubernetes cluster you operate. Platinum hosts Cloud Hypervisor microVMs.
URL: /blog/agent-substrate
Published 2026-11-19 by Platinum team · agents, sandboxes, kubernetes

Agent Substrate is Google's open-source runtime for sandboxed agents: each agent runs in a gVisor sandbox (the default on GKE) or a Cloud Hypervisor microVM, on a Kubernetes cluster that you operate. If you want microVM isolation without running the cluster, Platinum hosts the same kind of Cloud Hypervisor microVM behind an API.

![On Kubernetes, Agent Substrate needs nodes with nested virtualization for microVMs and its own controllers, then starts gVisor by default or Kata on Cloud Hypervisor; with Platinum, one API call starts a Cloud Hypervisor microVM.](/blog/agent-substrate/what-you-run.svg "What sits between your code and the sandbox.")

## What Agent Substrate is

The [repository](https://github.com/agent-substrate/substrate) calls it "a security-hardened, zero-trust runtime for sandboxed agents", under Apache-2.0. Version 1.0 shipped on 5 November 2026, and Google [is donating it](https://opensource.googleblog.com/2026/11/sandboxing-untrusted-ai-agents-at-scale.html), with gVisor, to the CNCF in Sandbox status.

It runs on standard Kubernetes, kind included. Each agent gets gVisor or a microVM (Kata Containers on Cloud Hypervisor, per the [architecture](https://github.com/agent-substrate/substrate/blob/main/docs/concepts/architecture.md)); plain containers are not supported. Memory and files are captured in snapshots, and a new agent can start from a tagged snapshot.

Networking is default-deny through an egress gateway, and agents never hold API keys or cloud tokens. The README claims resume in under 500 ms and 10x to 30x oversubscription: many mostly idle agents share a small pool of warm worker pods.

## Agent Substrate is not Agent Sandbox

Two Kubernetes projects share the vocabulary. [Agent Sandbox](https://github.com/kubernetes-sigs/agent-sandbox) is a SIG Apps project: a `Sandbox` resource for one stateful pod with a stable identity and storage, plus templates, warm pools and claims. Microsoft's [AKS extension](https://learn.microsoft.com/azure/aks/agent-sandbox-cluster-extension) is built on it. Agent Substrate is a separate runtime with its own controllers, router and snapshots.

NVIDIA's OpenShell, which joined the CNCF the same month, is a third kind: a policy runtime around a container or a libkrun microVM on hardware you run ([OpenShell alternatives](/blog/nvidia-openshell-alternatives)).

## What you run, and what you call

| | Agent Substrate | Platinum |
|---|---|---|
| Where it runs | Your Kubernetes cluster; on GKE, 1.37+ Standard | Hosted; an API key |
| Isolation | gVisor by default on GKE, or Kata on Cloud Hypervisor | Cloud Hypervisor microVM on KVM |
| MicroVM nodes need | Nested virtualization or bare metal | Nothing on your side |
| Commands and files | `ate-env` CLI, gRPC API, Go and Python clients (alpha) | REST API, Python and TypeScript SDKs |
| Suspend | Memory and file snapshots | Stop keeps memory, with disk-only exceptions |
| New sandbox from saved state | A tagged snapshot, memory included | Fork: a disk copy that cold-boots |
| Keys | Agents never hold them | Egress proxy writes them into headers |

Substrate facts are from its README, the [GKE install guide](https://docs.cloud.google.com/kubernetes-engine/ai-ml/install-overview-substrate) and the [`env` repository](https://github.com/agent-substrate/env), checked November 2026. Platinum's side is in [sandboxes](/docs/sandboxes), [snapshots](/docs/snapshots) and [secrets](/docs/secrets).

## The same five steps on Platinum

The `env` README walks through create, shell, write, read and suspend with `ate-env`. Here are the same steps against Platinum production on 19 November 2026:

```python
from platinum import Platinum

client = Platinum(token="pt_live_…", api_url="https://api.platinum.dev")
sbx = client.sandboxes.create(name="dev1", cpu=1, ram_mb=512, wait_for_running=True)
print(sbx.sh("uname -a").stdout.strip())
sbx.files.write("/app/msg.txt", b"hello world\n")
print(sbx.files.read("/app/msg.txt").decode().strip())
print(sbx.stop(wait_for_stopped=True)["memory_saved"])
sbx.delete()
```

```text
Linux aec-sandbox 6.8.0-88-generic #1 SMP PREEMPT_DYNAMIC Fri Oct 30 23:25:53 UTC 2026 x86_64 GNU/Linux
hello world
True
```

The guest runs its own kernel, and `memory_saved: true` means a later start would have brought its processes back ([what a stop saved](/docs/sandboxes#what-a-stop-saved)).

## When to pick each

- **Pick Agent Substrate** when agents must run inside your own Kubernetes cluster and network, when thousands of mostly idle agents should share a few warm workers, or when a new agent should start from another's memory. Google also announced a hosted service, [Agent Compute Engine](https://cloud.google.com/blog/topics/ai-infrastructure/agent-compute-engine-deep-dive), targeted for preview in the coming months.
- **Pick Platinum** when you want microVM sandboxes today without operating a cluster: create, run, stop and fork from code, billed per second while they run.
