> This page is for v0.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemoclaw/llms.txt.

# Run Sandboxes

> Run multiple sandboxes and stop or start them through OpenShell, with dashboard and tunnel guidance where supported.

Use these workflows to keep existing sandboxes reachable and control the resources they consume.

## Run Multiple Sandboxes

Choose a distinct sandbox name of 1 to 19 characters before onboarding.
The limit matches OpenShell's routed sandbox-name limit and applies to every agent runtime.
For the complete naming rules, refer to [`onboard --name`](../../reference/commands#--name-sandbox).

Deep Agents sandboxes do not expose a dashboard port.
The first `nemo-deepagents onboard` run can use the default sandbox name from the wizard.
When you create another Deep Agents sandbox, choose a distinct sandbox name in the wizard or pass `--name` in scripted runs.

If you intentionally run separate OpenShell gateways on the same host, set a different `NEMOCLAW_GATEWAY_PORT` before each onboarding run.
NemoClaw isolates the gateway name and local state by port so one port-specific gateway does not replace another.
Sandbox-scoped commands, including `exec`, `status`, `start`, and `stop`, address the sandbox through its recorded gateway binding. `NEMOCLAW_GATEWAY_PORT` selects the gateway for onboarding and new gateway-scoped setup; it does not redirect an existing sandbox command.
A non-default `NEMOCLAW_GATEWAY_PORT` also gets its own host state root at `~/.nemoclaw/gateways/<port>/`, with a separate sandbox registry, rebuild backups, and legacy credential-migration files, so gateway-scoped state stays segregated while shared host-level files remain under `~/.nemoclaw/`.
On first use after upgrading, NemoClaw moves legacy rows and related state only when their recorded gateway identity matches the selected port; ambiguous state is left untouched with remediation.
Provider credentials remain in the OpenShell gateway store.
The default port keeps the shared `~/.nemoclaw/` location.
When other ports remain, `nemo-deepagents uninstall` removes only the selected gateway and keeps the shared CLI, services, images, providers, configuration, models, and swap.
Gateway cleanup is scoped by sandbox name and port.

```bash
nemo-deepagents onboard
# For an additional named sandbox:
nemo-deepagents onboard --name <sandbox-name>
```

## Stop and Start a Sandbox

Stop a sandbox through OpenShell to free CPU, memory, and GPU resources without losing anything:

```bash
nemo-deepagents <sandbox-name> stop
```

Workspace files, credentials, network policies, and the registry entry are preserved.
OpenShell stops the sandbox's provider workload.

Start it again later:

```bash
nemo-deepagents <sandbox-name> start
```

After OpenShell accepts the start, NemoClaw waits for it to report the sandbox in the `Ready` or `Running` state, then verifies the managed terminal runtime before the command reports success.
Refer to [`nemo-deepagents <name> stop`](../../reference/commands#nemo-deepagents-name-stop) and [`nemo-deepagents <name> start`](../../reference/commands#nemo-deepagents-name-start) for details.
Use [`nemo-deepagents <name> destroy`](../../reference/commands#nemo-deepagents-name-destroy) when you want to delete the sandbox instead.

## Related Topics

* [View Sandbox Status](view-sandbox-status) before changing a sandbox.
* [Recover and Rebuild Sandboxes](recover-and-rebuild-sandboxes) when start does not restore a healthy runtime.
* [Troubleshooting](../../reference/troubleshooting) for terminal-runtime and start or stop failures.