OpenShell on Kubernetes (NVIDIA-origin CNCF Sandbox project) is a runtime for running AI agents as untrusted code. Each agent gets a sandbox with a trusted supervisor enforcing YAML-declared policy: Landlock filesystem rules, non-root/no-capability/seccomp process restrictions, default-deny network with per-binary/host/port/method rules, and credential placeholders swapped by the supervisor only at approved endpoints.
How it runs on K8s: OpenShell has no scheduler of its own — the gateway creates agents.x-k8s.io Sandbox resources (SIG Apps Agent Sandbox), which become Pods, Services, PVCs, Secrets, and NetworkPolicies. Creation flow: gateway authenticates and records the request (source of truth), sets up two namespace NetworkPolicies (workload has zero egress, inbound only from supervisors on TCP 5500), creates the workload Pod with a PVC for /sandbox and a scheduling gate, verifies the admitted Pod (non-root, no caps, RuntimeDefault seccomp, no host namespaces, no ServiceAccount token), then creates the supervisor Pod, which authenticates with an identity bound to namespace/Sandbox UID/Pod UID/generation and applies controls before the agent command starts. Every outbound request goes through the supervisor; openshell policy update changes rules on a running sandbox without restart (e.g., curl can read api.github.com but a POST to /issues returns policy_denied). Demo stack: kind, Kubernetes 1.35, Cilium 1.20, Agent Sandbox v1.0.5, OpenShell 0.1.3, Kyverno 1.18.2.
Limitations: sandboxes are only creatable via the Gateway API, not the K8s API (no OpenShellSandbox CRD yet, issue #1719); a Supervisor Pod per agent may not scale to thousands of agents (RFC 0018 addresses flexible deployment); sandbox has no /scale subresource so HPA/KEDA/VPA can't target it; OpenShell checks only Pod settings it depends on.
Kyverno adds seven CEL admission policies (Enforce mode) covering pod security, RBAC wildcards, network boundary, image digests, resource bounds/defaults, and Secret-based credentials — policies check the request, so even a compromised gateway can't push unsafe Sandboxes through, though the gateway's ServiceAccount can still create Pods/NetworkPolicies directly, which production policies should also cover.
vs. Agent Substrate (Google-origin, also CNCF Sandbox, Sep 2026): Substrate targets density (many idle agents cheaply) with actor snapshots in shared gVisor/Cloud Hypervisor worker Pods and per-actor egress at a shared gateway; OpenShell targets per-request policy with Kubernetes-visible objects. A proposed Substrate isolation backend for OpenShell (RFC 0012, issue #3362) could combine both, pending two open items.