Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

OpenShell Integration with Kubernetes and Dependencies

OpenShell integrates with Kubernetes via the Gateway API, requiring platform engineers to use this interface for creating sandboxes, and relies on orchestration layers like Agent Executor and isolation technologies such as gVisor.

Share
AI-generated conceptual illustration accompanying: OpenShell Integration with Kubernetes and Dependencies
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

OpenShell's Integration with Kubernetes and Its Dependencies

OpenShell integrates with Kubernetes through the Gateway API, requiring platform engineers to use this interface rather than the Kubernetes API directly for creating sandboxes. The nirmata/demo-openshell repository demonstrates this setup on a two-node kind cluster with Kubernetes 1.35, Cilium 1.20, and OpenShell 0.1.3. Each sandbox is represented as a set of Kubernetes objects, enabling standard tools like RBAC, Kyverno, and kubectl to manage them. OpenShell relies on Agent Sandbox, which requires orchestration layers like Agent Executor or Kagent, and mandates the use of gVisor or Cloud Hypervisor for isolation, disallowing plain containers. An open issue (openshell/#1719) proposes a Kubernetes OpenShellSandbox CRD and operator for future enhancements. OpenShell’s RFC 0012, merged in September 2026, introduces a pluggable isolation backend, with a proposed Substrate backend (NVIDIA/OpenShell#3362) and relaxed requirements for gVisor (#3366). Platform engineers can test this setup using the provided demo-openshell scripts, which require Docker, kind, and other standard tools.

OpenShell's Capabilities and Use Cases

OpenShell is an open source runtime designed to sandbox autonomous AI agents with kernel-level policy enforcement, controlling which files agents can access, which processes they can spawn, and where their traffic can go, as noted in NVIDIA's GTC 2026 announcement. It runs on Kubernetes via an experimental Helm chart, though it is not yet suitable for production environments. OpenShell's capabilities include intercepting all outbound traffic by default and allowing only egress through the Lynx Agent Gateway, ensuring secure communication. It also features a Privacy Router that routes inference calls through controlled backends, keeping sensitive context local. However, OpenShell does not address agent-to-agent communication governance, agent identity, or cross-sandbox communication patterns, as stated in NVIDIA's technical documentation. When used with Lynx, OpenShell can operate within two independent kernel enforcement planes, enhancing security by ensuring even sandbox escapes are detected. OpenShell logs all allow/deny decisions locally, which can be forwarded for centralized auditing.

OpenShell's Implementation and Policy Enforcement

NVIDIA OpenShell 0.1.0 provides an open-source runtime that enforces which systems and data an AI agent can access without rewriting the agent (developer.nvidia.com). Teams can grant agents the capabilities a task requires while OpenShell enforces those permissions outside the workload (developer.nvidia.com). This post shows how NVIDIA OpenShell 0.1.0 places enforceable runtime controls around an existing AI agent—without rewriting it—so teams can restrict API operations, protect credentials, and review permission changes outside the agent workload (developer.nvidia.com). OpenShell 0.1.0 supports sandbox operations, policy verification, governance integration, credential protection, and flexible compute (developer.nvidia.com).

OpenShell on Kubernetes: Overview and Comparison with Agent Substrate

OpenShell is a CNCF Sandbox project initiated by NVIDIA, designed to run AI agents safely on Kubernetes through sandboxing. It leverages the SIG Apps Agent Sandbox resource, allowing agents to appear as standard Kubernetes objects such as Pods, Services, and NetworkPolicies. A trusted supervisor enforces per-binary and per-request policies, such as allowing curl to read GitHub issues while blocking POST requests that create them. These policies can be updated dynamically without restarting the sandbox. Kyverno enhances security by adding admission-time checks that go beyond RBAC, including policies for pod security, image digests, and credential injection, as demonstrated in the nirmata/demo-openshell repository. In contrast, Agent Substrate, another CNCF Sandbox project, focuses on cost-efficient execution of idle agents using its own WorkerPool CRD and actor-based suspend/resume mechanisms, but keeps policy management outside the Kubernetes API.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more