Agent Substrate
Agent Substrate is an open source runtime for running many sandboxed agents on a small pool of warm Kubernetes pods. Infrared installs it on a management cluster that can host it, as part of the gitops repo, so the agent runtime is in place under every org.
Where it stands. Infrared installs and runs Agent Substrate today. Infrared's agent steps do not run on it yet: each AgentRole step is still a Kubernetes Job, as How an agent step runs describes. Moving agent steps onto Agent Substrate is the next step, and this page will say when it ships.
The project
Agent Substrate started at Google. Its 1.0 release came on November 5, 2026, when it was donated to the Cloud Native Computing Foundation as a Sandbox project, alongside gVisor and OpenRL.
- Sandboxing untrusted AI agents at scale, the announcement on the Google Open Source Blog.
- agent-substrate/substrate, the project on GitHub, with its architecture and API guides.
Why Infrared uses it
Agents wait far more than they work: on the model, on a build, on a person. One pod per agent holds CPU, memory and a pod slot the whole time, and starting a pod takes seconds. Agent Substrate keeps each agent, an actor, in a sandbox on a warm pod only while it has work to do. The rest of the time the actor is a snapshot in object storage, and a request to it restores it onto any free pod, memory and files included.
The project reports 10x the memory and CPU density of one pod per agent. For Infrared that means many more short-lived agent workloads on the same cluster, for far less spend.
Each actor runs in its own gVisor sandbox, a kernel in user space between the agent and the node, and reaches the network only through an egress gateway that refuses every destination its policy does not name.
What an install needs
Infrared installs Agent Substrate only where three things hold:
- The stores,
stores.enabled: truein the chart's values: the install's own Postgres, where Agent Substrate keeps its records, and its object store, where it keeps snapshots. - The registry,
registry.address: the install's own registry, which actor images are pulled from. - A capable cluster. Before the gitops repo is first filled, the operator checks the management cluster and records the answer on the Installation as the condition
SubstrateCapable. It needs:- the Kubernetes API server serving
ClusterTrustBundleandPodCertificateRequestincertificates.k8s.io, which an API server flag turns on; - a kernel at 6.5 or newer on every node;
- cgroup v2 on every node, which the operator checks with a short Job on each node that needs no privilege.
- the Kubernetes API server serving
Read the answer, and the reason when it is no, with:
kubectl --context <cluster> get installation infrared \
-o jsonpath='{.status.conditions[?(@.type=="SubstrateCapable")]}'
Where any of the three is missing, the gitops repo leaves Agent Substrate out, and nothing else changes.
What it runs
Four Applications in sync waves 20 to 23, after the stores and the registry. Each carries the label infrared.darkshift.io/layer: agent-runtime.
| Wave | Application | What it runs |
|---|---|---|
| 20 | substrate-crds | Agent Substrate's custom resource definitions: WorkerPool, SandboxConfig and CSIDriverConfig. |
| 21 | substrate-podcert | The controller that signs each component's short-lived certificate, for mutual TLS between them. |
| 22 | substrate | The control plane in ate-system: the API, the controller, a node agent on every node, the router that wakes an actor for a request, and the egress gateway. |
| 23 | substrate-actors | The WorkerPool platform in ate-workers: three gVisor pods of one CPU and 1 GiB each. |
The gitops template pins Agent Substrate to one upstream commit, every image by digest, and moves it forward with the template's releases.
How it is fenced
- Only the operator reaches it. NetworkPolicies admit Infrared's operator and Agent Substrate's own components to its API and router, and nothing else: no org's namespace, no zone and no worker pod.
- No egress by default. An actor's traffic leaves its sandbox only through the egress gateway, which needs an EgressPolicy naming each destination.
- Test actors are off. Agent Substrate's two test actors,
counter-v1andsandbox-v1, run only with the chart valuesubstrate.testActors: true.sandbox-v1runs any command it is sent, so leave them off outside a test install. - Backups include it. Agent Substrate's records are a database in the install's Postgres, so every backup carries them, and a restore brings them back.