Red Hat spotlights OpenShell for policy-governed AI agents on OpenShift
The runtime constrains agent network, filesystem, process and credential access, while current OpenShift guidance requires 4.19 or later and enforced NetworkPolicy.
Red Hat has published a technical look at OpenShell, an open-source runtime for running AI agents inside policy-governed sandboxes, and says work is underway to integrate it more fully with Red Hat OpenShift AI. The Red Hat post presents OpenShell as a boundary around agents that need broad tool access, while the project overview describes kernel-level isolation plus declarative YAML policy for fleets of autonomous agents.
What the policy controls
OpenShell separates a gateway control plane from supervisors running inside individual sandboxes. Policies can restrict network egress, filesystem paths and process behavior; the project’s provider mechanism resolves opaque credential placeholders only for approved endpoints. Network rules can be changed at runtime, while filesystem and process controls are fixed when the sandbox is created, according to the project documentation.
That design targets a specific agent risk: a prompt-injected process may still attempt an unsafe action, but the runtime can deny destinations, files or privilege-escalation paths that were not explicitly allowed. Red Hat’s engineering post also describes policy that can distinguish between programs, allowing an approved client to reach an API while rejecting traffic from another executable.
The OpenShift path has sharp prerequisites
The current OpenShift installation guide says OpenShell requires OpenShift 4.19 or later because the RHCOS kernels shipped with OpenShift 4.16 through 4.18 lack Landlock support. It also requires a CNI that actually enforces ingress and egress NetworkPolicy in every sandbox namespace; the project warns that otherwise workloads could bypass the supervisor’s network controls with direct connections.
There is an important documentation mismatch for evaluators to notice. Red Hat’s post describes the OpenShift path as experimental and says sandbox pods need the privileged security context constraint. The current upstream guide instead says the Kubernetes driver chooses a numeric non-root identity from the namespace UID range, drops all Linux capabilities, uses RuntimeDefault seccomp and does not require the privileged SCC. Platform teams should follow the versioned upstream instructions for the OpenShell release they deploy rather than copy security settings from the blog post.
For local evaluation, the guide uses port forwarding to reach the gateway. For production-style exposure, it documents end-to-end TLS through Gateway API and BackendTLSPolicy on OpenShift 4.22 or later, or a TLS-passthrough Route on earlier supported versions, with OIDC for remote CLI authentication. Those deployment choices are detailed in the OpenShift guide.
The result is a promising control layer, not a blanket safety guarantee: its strongest claims depend on the cluster enforcing the runtime primitives and network policy that OpenShell expects.
sources
- Red Hat: With great power comes great sandboxingwww.redhat.com
- OpenShell documentation: OpenShiftdocs.nvidia.com
- OpenShell documentation: Overviewdocs.nvidia.com
comments · 0