Sandboxed Deployments
Deploy a registered Fabric agent with --mode openshell to run it under the
OpenShell executor’s policy. This mode is independent of the gateway’s Docker or
Kubernetes compute driver. Requests still go through the platform’s Agents gateway.
Prerequisites
- A CLI context connected to your platform.
- An OpenShell deployment executor configured as described in the OpenShell operator guide.
- A Fabric
agent.yamlwith a model available through the platform’s Inference Gateway. See Agents. - An agent image built with the OpenShell runtime profile, compatible with your platform version and compute-node architecture, and already accessible to the gateway’s compute nodes. See Deploy Agents for packaging guidance.
The examples below register and deploy an agent in WORKSPACE. AGENT_CONFIG
is the path to your existing local agent.yaml file, and IMAGE_TAG is the
reference to the prepared image:
Register and deploy
agents.deployments.openshell_executor selects the backend for --mode openshell.
The deployment reaches running when the agent service is ready.
Invoke and verify policy
The invocation returns the agent’s response through the platform’s Agents gateway. A deployment can be ready while invocation fails because of model access or platform-to-gateway routing; see the operator guide’s troubleshooting section.
Network policy
The default policy allows sandbox access to the platform and denies other network destinations. OpenShell associates each sandbox with deployment-name and deployment-workspace labels. With the OpenShell CLI connected to the deployment’s gateway and gateway workspace, those labels identify the sandbox:
In the following examples, SANDBOX_NAME is the name from that listing and
PLATFORM_API_URL is the endpoint configured by platform_egress:
With the default policy, the health request succeeds and the external request is denied. The gateway’s audit logs record policy denials; connection failures alone can also result from DNS or network problems. Custom policies may allow additional destinations, including the external host in this example.
Clean up
Undeploying removes the deployment and its sandbox. Deleting the agent removes the registration. The agent image is retained.