OpenShell on Kubernetes (NVIDIA-origin, CNCF Sandbox) is a runtime for safely executing AI agents, which are treated as untrusted code holding real credentials. A trusted supervisor outside each sandbox enforces YAML-declared policies: Landlock filesystem limits, non-root/no-capability/seccomp process controls, default-deny egress with per-binary/host/port/HTTP-method rules, and credential placeholders swapped in by the supervisor only at provider-approved endpoints.
On Kubernetes, OpenShell has no scheduler of its own — the gateway creates agents.x-k8s.io Sandbox resources via the Agent Sandbox SIG Apps project, turning each sandbox into Pods, Services, PVCs, Secrets, and NetworkPolicies. Flow: gateway authenticates and records the request, creates egress-denied NetworkPolicies, Agent Sandbox creates a gated workload Pod (PVC-backed /sandbox), OpenShell verifies admitted Pod settings (non-root, no caps, RuntimeDefault seccomp, no host namespaces, no SA token), then creates a supervisor Pod plus Service. All agent egress, exec, SSH, and file sync flow through the supervisor for per-request policy checks; policies update without restart.
Concrete limitations: sandboxes can only be created via the Gateway API (no OpenShellSandbox CRD yet, issue #1719); one Supervisor Pod per agent may not scale (RFC 0018); no /scale subresource so HPA/KEDA can't target sandboxes; >1 gateway replica needs external PostgreSQL.
Compared with Agent Substrate (Google, also CNCF Sandbox): Substrate targets cheap scale for many idle agents via actor snapshots in shared worker Pods with gVisor/Cloud Hypervisor isolation and its own WorkerPool CRD — Kubernetes admission sees worker pools, not agents. OpenShell offers finer per-request policy on visible Kubernetes objects; Substrate offers density. RFC 0012 makes OpenShell's isolation backend pluggable, with a proposed Substrate backend pending.
Kyverno's role: seven CEL policies (six Validating, one Mutating) in Enforce mode deny privileged containers, wildcard OpenShell RBAC, workload egress loosening, non-digest image refs, oversized resources, and Kubernetes Secret injection — checked at admission for all callers including the gateway, though the gateway SA can still create Pods/NetworkPolicies directly. Nirmata's Runtime for Kyverno (eBPF DaemonSet) covers agents that bypass the gateway. Demo: nirmata/demo-openshell on a two-node kind cluster (K8s 1.35, Cilium 1.20, Agent Sandbox v1.0.5, OpenShell 0.1.3, Kyverno 1.18.2).