Red HatSean CondonTutorial
Securing third-party AI agents on Red Hat AI with OpenShell
Summary
Red Hat AI 3.6 introduces a bring-your-own-agent strategy using OpenShell sandboxes, and the Omnigent project provides a meta-harness for running multiple AI agents such as Claude Code, Codex, Pi, and Goose under a common UI. This article demonstrates deploying Omnigent on Red Hat OpenShift with OpenShell, covering a custom UBI-based sandbox image, OpenShell profiles and providers for credential injection from GitHub, OpenAI, and Antigravity, and deployment via Kustomization overlays. The integration enables real-time session sharing and collaboration across devices while enforcing policies, network restrictions, and file system lockdown, with credential masking and policy violation detection via the OpenShell terminal. Agents inside the sandbox run with BubbleWrap for additional defense in depth, and the design prevents file passing at runtime to maintain separation of concerns. Future improvements include per-harness sandbox images, external CLI connections, and automatic sandbox suspension on session stop.
Context
Red Hat AI 3.6 introduces a bring-your-own-agent (BYOA) strategy with OpenShell sandbox environments. The Omnigent project is a meta-harness that provides a common UI layer over multiple AI agent harnesses such as Claude Code, Codex, Pi, and Goose. This article focuses on deploying Omnigent on Red Hat OpenShift with OpenShell to secure third-party agents.
Approach / What changed
Create a custom UBI-based sandbox image with OpenShell requirements and Omnigent runtime. Configure OpenShell profiles and providers for credential injection (GitHub, OpenAI, Antigravity, etc.). Clone the Omnigent fork and modify the Kustomization overlay for OpenShift, specifying sandbox configuration, providers, and OIDC settings. Deploy using oc apply. The integration uses OpenShell sandboxes with BubbleWrap for defense in depth, and prevents file passing at runtime.
Takeaways
Omnigent allows sharing live AI agent sessions with real-time collaboration across devices, with write access control for multiple users.
OpenShell sandboxes enforce network restrictions, file system lockdown, and credential masking via a network proxy, with policy violation detection.
The integration uses BubbleWrap inside the sandbox for additional isolation between the agent and Omnigent host processes, providing defense in depth.
FAQ
How does Omnigent handle credential injection for different AI agent harnesses?
OpenShell profiles define credential placeholders, and providers supply the actual credentials. The OpenShell network proxy masks credentials when calls are made, preventing exposure.
What security measures are in place for file system access in the sandbox?
File system access is locked down by default, with exceptions allowed only through OpenShell policy. The design prevents file passing at runtime, requiring configuration files to be baked into the sandbox image.
Can Omnigent sessions be shared with other users?
Yes, the share button allows granting write access to other users, enabling real-time collaboration on the same live session from any device.
Source and freshness
- Source
- developers.redhat.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.