Agent Substrate
Agent Substrate is a security-hardened, zero-trust Kubernetes runtime for sandboxed agents. It snapshots idle actors and restores them on demand onto a smaller pool of warm workers, with VM-grade isolation and per-agent identity.
Visit agent-substrate/substrateOverview
Agent Substrate is a low-opinion runtime for sandboxed agents that maps a larger set of stateful actors onto a smaller pool of warm Kubernetes workers. It snapshots idle actors out of memory and restores them when requests arrive, and it treats every actor as untrusted with VM-grade isolation, per-agent cryptographic identity, and controlled networking.
Key Features
- Snapshots idle stateful actors out of memory and restores them on demand onto warm workers, claiming sub-500ms resume and more than 500 activations per second.
- Runs each actor inside a dedicated gVisor runsc or Cloud Hypervisor microVM sandbox with segregated compute, network, and storage; plain Linux containers are not supported.
- Issues short-lived SPIFFE X.509 certificates per active actor by default and can mint per-actor JWTs through the egress gateway when policy requires it.
- Keeps credentials outside the sandbox and injects them into approved outbound requests through the atenet-egress gateway.
- Provides default-deny networking with ingress routing and egress policy enforcement, including pluggable external policy enforcement.
- Runs on standard Kubernetes primitives such as Pods, autoscaling, and NetworkPolicies while adding agent-specific scheduling, snapshotting, identity, and network mediation.
Use Cases
- Platform teams running large fleets of untrusted, mostly idle agent workloads on Kubernetes.
- Agentic, inference, training, and reinforcement learning workloads sharing one infrastructure plane.
- Running framework-agnostic agents and tools, including ADK, LangChain, Claude Code, Codex, Antigravity, and sandboxed MCP servers.
- Demonstrating high-density multiplexing with demos such as the counter demo, sandbox demo, Claude Code multiplex demo, multi-template demo, and request parking demo.
Getting Started
- Follow the Quickstart (development) after installing Go, kubectl, and docker; the project manages other dependencies, including kind.
- The quickstart creates a kind cluster and local registry, installs Substrate, deploys the counter demo, installs kubectl-ate, creates a counter actor, and runs a local proxy to send requests through the network router.
- For Google Kubernetes Engine, use the official GKE installation guide and the substrate-gke installer.
Deployment & Requirements
- Runs on standard Kubernetes and currently aims to support the latest stable Kubernetes release and the previous minor release.
- The development quickstart requires Go, kubectl, and docker installed and configured on the development machine.
- A Linux host that will run more than about a thousand sandboxes needs a larger kernel neighbor table: net.ipv4.neigh.default.gc_thresh1/2/3 = 4096/16384/32768.
- Every actor runs in gVisor runsc or Cloud Hypervisor microVM sandboxes; plain Linux containers are not supported.
Before You Adopt
- License: Apache-2.0. Review its terms before using, modifying, or distributing the project.
- Security and lifecycle controls must fit within the cold-start and resume budget, which the source describes as a real engineering constraint.
- The project describes itself as very young, with near-term focus on the core system and demos.