Skip to navigation

Switch Inference Providers

View as MarkdownOpen in Claude

Move a sandbox to another provider family while keeping the selected inference path, agent configuration, and host registry aligned. Use onboarding first when the target is neither compatible-endpoint nor compatible-anthropic-endpoint and is not registered. The compatible endpoint workflow below can register an absent custom provider from complete route metadata.

Recreate a Deep Agents Sandbox

Named recreation replaces the sandbox after backing up its native home. For a managed image, when NemoClaw can verify that the requested provider or model differs from the recorded selection, it restores saved state while keeping the replacement’s generated /sandbox/.deepagents/config.toml. This prevents saved model and endpoint preferences from overriding the new selection. The backup retains the previous configuration for manual recovery of custom settings. Review shared-gateway effects before selecting a shared route.

Record your existing default sandbox’s name before starting. Onboarding selects the requested sandbox as the default before final verification. A later verification failure can leave that default changed. Recreate the named sandbox and choose the requested provider and model:

nemo-deepagents onboard --fresh --name <sandbox-name> --recreate-sandbox

NemoClaw refuses this configuration preservation before deleting the source if the archived .deepagents directory is a symbolic link. Resolve the reported error before retrying. For unchanged or unverifiable selections, or custom images, recreation restores the saved configuration. If restored preferences conflict with the requested selection, validation stops before NemoClaw updates the registry. The replacement still exists, but its live route is unverified. Keep the backup and follow the printed recovery instructions. Do not rebuild that replacement without verified registry metadata.

Validate a Different Deep Agents Selection

After the onboarding attempt, restore your previous default if it changed:

nemo-deepagents use <previous-default-sandbox-name>

After successful onboarding, inspect the recreated sandbox’s route:

nemo-deepagents <sandbox-name> status
nemo-deepagents <sandbox-name> inference get

Require the output to report the requested provider and model. Complete Verify the Sandbox Inference Route using the recreated sandbox name for each command. Use the named inference get command above instead of the default-sandbox form. After validation succeeds, follow Choose the Default Sandbox to select it. If validation fails, keep the backup and follow the reported recovery instructions.

Account for Shared Gateways

Shared-route sandboxes on one gateway use one live route, even when NemoClaw records different intended routes for them. Review Use Shared Gateway Routes before changing a provider that another registered sandbox shares. For a shared-route switch, provider-global endpoint, API-family, credential, and incomplete-metadata conflicts stop the command before mutation. Native hosted attachments, qualified Hermes local attachments, and recorded OpenClaw native local attachments do not change that shared route.