# osb CLI `osb` is [[OpenSandbox]]'s command-line interface (`pip install opensandbox-cli`). It drives sandboxes from the terminal through command groups: `sandbox`, `command`, `file`, `egress`, `diagnostics`, `devops`, `config`, and `skills`, with output as json, yaml, raw, or table. ## Notable - One-shot execution (`osb command run`) and persistent shell sessions (`osb command session create/run/delete`) that keep shell state across calls - `osb egress` plus `--network-policy-file` configure the per-sandbox network policy - `osb sandbox endpoint --port` exposes a port through the ingress gateway ## Related - [[OpenSandbox]] - [[execd daemon]] - [[AI Agents]]