> 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.

# Verify the Sandbox Inference Route

> Verify that a NemoClaw sandbox can reach its configured model through its selected inference provider.

Verify inference through the same provider path that the agent uses inside the sandbox.
Reading the active route confirms configuration, but it does not authenticate a model request.

## Confirm the Configured Route

Read the selected inference path first.

```bash
nemohermes inference get
```

For a selected sandbox with a valid native NVIDIA or fixed hosted attachment, the command returns that sandbox's recorded provider, model, and native endpoint.
For shared-route providers, the command reads the live shared gateway route.
Confirm that the provider, model, and endpoint match the path you intended to configure.

Fixed hosted providers are OpenAI, Anthropic, Gemini, OpenRouter, and Hermes Provider where supported by the selected agent. See [How Inference Routing Works](../about-inference-routing).

## Check Sandbox Inference Health

Run the named sandbox status command.

```bash
nemohermes <name> status
```

The checks below apply to a normal status read when gateway and sandbox state are verified. If either state is not verified, status reports `Inference: not verified (gateway/sandbox state not verified)` and sends no inference request. If status reports `Inference: not probed (another lifecycle operation is in progress)`, it sends no inference request. For shared-route providers, it may still observe the live route without probing its health. JSON output sets `inferenceProbeSuppressed: true` for that unlocked read. Repeat status after the lifecycle operation completes before treating its result as inference evidence.

For NVIDIA Endpoints, the `Inference` row verifies the recorded sandbox attachment.
It then sends a native Chat Completions request to `https://integrate.api.nvidia.com/v1`.
It does not probe `https://inference.local/v1/models` for this provider.

For fixed hosted providers, the `Inference` row verifies the recorded attachment and sends a model request to the native endpoint.
A healthy shared route cannot satisfy this check.

For shared-route providers, the `Inference` row first checks the sandbox's `inference.local` path.
When that route responds, `status` sends an inference request through the same path.
When the live provider matches the recorded provider, `status` validates the result against the recorded API family, even when only the model differs.
When the live provider differs, `status` does not carry the recorded API family to the live provider.
The row reports `healthy` only when the route returns a structurally valid result for the selected API family.
An empty body, malformed JSON, provider-error envelope, or wrong response shape reports `unhealthy`, even with a 2xx status.
Status diagnostics do not include the response body.
An ordinary HTTP `404` from `/v1/models` reports an unhealthy route because the model catalog is absent.
A legacy shared-route `openrouter-api` selection uses NemoClaw's Chat Completions-only OpenRouter adapter.
Its models route returns `404` by design, so `status` requires a successful inference request before it reports the route as healthy.
When the models route responds and `status` sends an inference request, a failing row names the endpoint that request used.
When the models route itself does not respond, the row names the models route.
An HTTP `401` or `403` response reports `unauthorized`.
Correct the stored provider credential.
An HTTP `404` for a model that is in the NVIDIA Build catalog but is not deployed for your account explains that cause and prompts you to select a different model.
The route-reachability and upstream provider subprobes remain available to identify the failing hop.
The route-reachability subprobe accompanies a row that sent an inference request.
It reads `reachable` for a 2xx models route and reports the status the models route returned for any other answer.
The provider, model, and endpoint appear with the rest of the sandbox state.
This path includes the OpenShell proxy and its authentication rewrite.
When onboarding prints a dashboard summary, use it to verify that NemoClaw ran the same route-reachability probe from inside the sandbox.
Treat an unreachable route, an unsupported models-route HTTP 404, or HTTP 5xx as a failed readiness check: onboarding marks the sandbox not ready and exits non-zero.
Restore the configured endpoint or proxy, run `nemohermes onboard --resume` to complete the retained onboarding session, then rerun the status command.

## Understand Local Provider Post-Ready Checks

For local Ollama, local vLLM, and local NVIDIA NIM on Docker GPU sandboxes using the compatibility route, onboarding performs an additional check after the sandbox becomes ready.
The check follows the selected inference route from inside the sandbox:

* For a sandbox-attached local provider, it requests `/models` at the recorded native endpoint with the supervisor-issued scoped credential reference.
* For local NVIDIA NIM and retained shared routes, it requests `https://inference.local/v1/models`.

When the check runs, the request must succeed with a 2xx response before onboarding commits the GPU runtime and registers the sandbox.
If the sandbox lacks curl, onboarding warns and skips this check.
Runtime commitment and sandbox registration can then proceed without this reachability check.
If a native-route check fails, repair that endpoint or its scoped credential binding.
Do not configure shared inference as a fallback for a native route.
If this check fails after compatibility recreation, onboarding prints failure diagnostics and attempts to restore the pre-patch container before it exits.
If that rollback fails, onboarding reports that the pre-patch container was not restored and prints container-cleanup guidance.
The local-provider failure output includes the endpoint and recovery steps before the first agent prompt.
GPU-proof diagnostics are captured before rollback and can also print cleanup guidance before the final container state is known, so inspect the sandbox and its labeled Docker containers before running a deletion command.

Remote NVIDIA NIM and other compatible endpoints receive their provider validation during onboarding but do not receive this local-provider post-ready check.
For those routes, continue to the final route check, then use the status command and a short agent request after onboarding.

## Understand Final Route Checks

For NVIDIA Endpoints and fixed hosted providers, onboarding verifies the sandbox-attached provider through its native endpoint.
It does not request the shared `inference.local` models route.

For shared-route providers, onboarding first requests `https://inference.local/v1/models` from inside the sandbox after policy and process recovery.
Each attempt allows 2 seconds for the route to return an HTTP response.
A transport failure, an unsupported models-route HTTP 404, or HTTP 5xx leaves the onboarding session retryable at final verification.
For a retained legacy OpenRouter adapter route, verification accepts the catalog 404 only after a bounded inference request validates the selected model.
Onboarding retries any other 404 within its startup budget, then reports the missing model catalog and exits nonzero if the failure persists.
Confirm the provider and model configuration and restore the endpoint's `/v1/models` route.
Run `nemohermes onboard --resume` to verify the retained session again without rebuilding a healthy sandbox.

Provider setup still performs its own model, credential, and endpoint validation before this final route check.
Use the status command and a short agent request after onboarding to verify ongoing availability and model responses.

## Send a Short Agent Request

Connect to the sandbox and send a short request before starting long-running work.
A successful response proves that the configured model can serve an agent request through the selected provider path.

If the status route is reachable but a tool action returns JSON as normal assistant text, troubleshoot structured tool calling instead of the network route.

## Related Topics

* [View the Active Inference Route](../manage-inference/view-active-inference-route) to inspect configuration without sending an inference request.
* [Understand Provider Validation](understand-provider-validation) for the checks that run before sandbox creation.