Skip to content
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
5f959e5
feat(onboard): add reversible configuration review
prekshivyas Aug 3, 2026
6fc9f60
refactor(onboard): extract draft adapters
prekshivyas Aug 3, 2026
b3e4d40
test(onboard): keep draft cases linear
prekshivyas Aug 3, 2026
380d724
fix(onboard): address review findings
prekshivyas Aug 3, 2026
112db8c
test(onboard): strengthen review boundary coverage
prekshivyas Aug 3, 2026
b4af80a
fix(onboard): revalidate accepted drafts on resume
prekshivyas Aug 3, 2026
c522b7f
fix(onboard): reject endpoint query parameters
prekshivyas Aug 3, 2026
b4b36bf
merge: resolve conflicts with main
github-actions[bot] Aug 4, 2026
078058f
Merge branch 'main' into codex/onboard-draft-navigation
prekshivyas Aug 4, 2026
84fb9ae
merge: resolve conflicts with main
github-actions[bot] Aug 4, 2026
7ff4c00
merge: resolve conflicts with main
github-actions[bot] Aug 4, 2026
432ae25
refactor(onboard): preserve architecture budget
prekshivyas Aug 4, 2026
0edf7e3
chore: rerun trusted E2E gate
prekshivyas Aug 4, 2026
0887084
merge: resolve conflicts with main
github-actions[bot] Aug 5, 2026
e0f0bf2
merge: resolve conflicts with main
github-actions[bot] Aug 5, 2026
22ac14a
merge: resolve conflicts with main
github-actions[bot] Aug 5, 2026
7e70beb
merge: resolve conflicts with main
github-actions[bot] Aug 6, 2026
284de6a
merge: resolve conflicts with main
github-actions[bot] Aug 6, 2026
b8fa3ad
merge: resolve conflicts with main
github-actions[bot] Aug 7, 2026
24cfb8a
Merge branch 'main' into codex/onboard-draft-navigation
cv Aug 7, 2026
cdf50e6
Merge branch 'main' into codex/onboard-draft-navigation
cv Aug 7, 2026
efb5011
Merge branch 'main' into codex/onboard-draft-navigation
cv Aug 7, 2026
f04b53a
fix(onboard): restore CI after main refresh
prekshivyas Aug 8, 2026
e492d7d
merge: refresh branch from main
prekshivyas Aug 8, 2026
8f76d47
Merge branch 'main' into codex/onboard-draft-navigation
cv Aug 9, 2026
827a8fa
Merge branch 'main' into codex/onboard-draft-navigation
cv Aug 9, 2026
c218da0
Merge branch 'main' into codex/onboard-draft-navigation
cv Aug 10, 2026
36ab833
Merge branch 'main' into codex/onboard-draft-navigation
cv Aug 11, 2026
233d4a2
Merge branch 'main' into codex/onboard-draft-navigation
cv Aug 11, 2026
e5429c5
Merge branch 'main' into codex/onboard-draft-navigation
cv Aug 11, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ci/env-var-doc-allowlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,9 @@
{
"name": "NEMOCLAW_MANAGED_HERMES_HASH_B64",
"reason": "Internal one-process transport from the root image applicator to its sandbox-owned Hermes compatibility-hash writer. The value is a bounded base64-encoded hash receipt that only the private internal writer consumes; users must not set it."
},
{
"name": "NEMOCLAW_ONBOARD_INTENT_ACCEPTED",
"reason": "Internal command-scoped phase marker set only after the user accepts the reviewed onboarding draft. Downstream prompt handlers use it to refuse backward navigation once materialization can begin; users must not set it."
}
]
2 changes: 1 addition & 1 deletion ci/source-architecture-budget.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"src/lib/actions/uninstall/run-plan.ts": 25,
"src/lib/inference/onboard-probes.ts": 21,
"src/lib/inference/vllm.ts": 23,
"src/lib/onboard.ts": 225,
"src/lib/onboard.ts": 222,
"src/lib/onboard/machine/handlers/sandbox.ts": 21,
"src/lib/sandbox/config.ts": 22,
"src/lib/shields/index.ts": 23
Expand Down
19 changes: 15 additions & 4 deletions docs/get-started/quickstart-hermes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,19 @@ Use these details when your first-run path needs more control.
</Accordion>

<Accordion title="Onboarding and Integration Details">
The wizard asks for an inference provider, model, required credential, and sandbox name before it prints the review summary.
After confirmation, NemoClaw registers inference, prompts for optional Tavily Search and supported messaging channels, builds and starts the sandbox, sets up Hermes, and applies the selected network policy tier and presets.
At any prompt, press Enter to accept the default shown in `[brackets]`, type `back` to return to the previous prompt, or type `exit` to quit.
Before review, the wizard collects the agent, inference provider and model, sandbox name, web search and messaging channel choices, and available managed tools.
It also collects the resource profile, sandbox GPU setting, and policy tier.
When you select a custom resource profile, onboarding collects CPU, then RAM, then the sandbox GPU setting, and the review shows the CPU and RAM overrides.
Onboarding does not request raw credentials during this stage, store them in the draft, or show them in the review.
During choice collection, press Enter to accept the default shown in `[brackets]`, type `b` or `back` to return to the previous choice, or type `exit` to quit.
Backspace continues to edit text in the current prompt.
You can repeat `back` until you reach the first choice.
At the review, select **Edit a choice** to jump directly to any available choice.
Onboarding returns directly to the review when the saved later choices remain compatible.
If your edit invalidates a dependent choice, onboarding clears it and reopens only the affected prompts before returning to the review.
After you select **Apply configuration**, NemoClaw requests required credentials, registers inference and optional services, builds and starts the sandbox, sets up Hermes, and applies the selected network policy.
These resource changes are forward-only, so `back` and **Edit a choice** are no longer available.
Follow the printed repair or configuration command if you need to correct a choice after the changes begin.

The default Hermes sandbox name is `hermes`.
Use a distinct name, such as `my-hermes`, when you run Hermes and OpenClaw sandboxes side by side.
Expand All @@ -186,7 +196,8 @@ Use these details when your first-run path needs more control.
NemoClaw removes `nous-web` from the effective managed-tool selection while preserving selected Nous image, audio, browser, and code tools.
API-key mode is inference-only and does not enable managed tool gateways.

After you select a provider and model, review the summary and confirm the build.
After choice collection, review all selections and confirm the build.
Select **Edit a choice** to change one selection directly.
NemoClaw writes Hermes configuration into `/sandbox/.hermes`, routes model traffic through `inference.local`, and starts the Hermes gateway inside the sandbox.
The Hermes image includes runtime dependencies for supported NemoClaw messaging integrations, the API service, and its health endpoint.
The base image does not include unsupported Hermes integrations.
Expand Down
14 changes: 12 additions & 2 deletions docs/get-started/quickstart-langchain-deepagents-code.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,18 @@ nemoclaw onboard --agent deepagents
nemoclaw onboard --agent langchain
```

The wizard asks for an inference provider, model, required credential, sandbox name, and policy tier before it prints the review summary.
At any prompt, press Enter to accept the default shown in `[brackets]`, type `back` to return to the previous prompt, or type `exit` to quit.
The wizard collects the agent, inference provider and model, sandbox name, resources, and policy tier before it prints the review summary.
When you select a custom resource profile, onboarding collects CPU, then RAM, then the sandbox GPU setting, and the review shows the CPU and RAM overrides.
Onboarding does not request raw credentials during this stage, store them in the draft, or show them in the review.
During choice collection, press Enter to accept the default shown in `[brackets]`, type `b` or `back` to return to the previous choice, or type `exit` to quit.
Backspace continues to edit text in the current prompt.
You can repeat `back` until you reach the first choice.
At the review, select **Edit a choice** to jump directly to any available choice.
Onboarding returns directly to the review when the saved later choices remain compatible.
If your edit invalidates a dependent choice, onboarding clears it and reopens only the affected prompts before returning to the review.
After you select **Apply configuration**, NemoClaw requests required credentials and starts creating or updating the selected resources.
These resource changes are forward-only, so `back` and **Edit a choice** are no longer available.
Follow the printed repair or configuration command if you need to correct a choice after the changes begin.
The default Deep Agents sandbox name is `deepagents-code`.
Use a distinct name, such as `my-deepagents`, when you run Deep Agents, Hermes, and OpenClaw sandboxes side by side.
Refer to [Choose an Inference Provider](../inference/learn-and-choose/choose-inference-provider) for provider-specific prompts.
Expand Down
75 changes: 42 additions & 33 deletions docs/get-started/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,22 @@ Use these details when your first-run path needs more control.
</Accordion>

<Accordion title="Onboarding and Inference Details">
The wizard runs preflight checks, starts or reuses the OpenShell gateway, asks for an inference provider and model, collects required credentials, and asks for a sandbox name.
It prints a review summary before it registers the provider with OpenShell.

After confirmation, NemoClaw registers inference, prompts for optional web search and messaging channels, builds and starts the sandbox, sets up OpenClaw, and applies the selected network policy tier and presets.

At any prompt, press Enter to accept the default shown in `[brackets]`, type `back` to return to the previous prompt, or type `exit` to quit.
The wizard uses read-only host checks while it collects your credential-free choices.
It does not change Docker, gateway, provider, policy, or sandbox state until after the review.
The choices include the agent, inference provider and model, sandbox name, web search, messaging channels, available managed tools, resources, and policy tier.
When you select a custom resource profile, onboarding collects CPU, then RAM, then the sandbox GPU setting, and the review shows the CPU and RAM overrides.
Onboarding does not request raw credentials during this stage, store them in the draft, or show them in the review.

During choice collection, press Enter to accept the default shown in `[brackets]`, type `b` or `back` to return to the previous choice, or type `exit` to quit.
Backspace continues to edit text in the current prompt.
You can repeat `back` until you reach the first choice.
At the review, select **Edit a choice** to jump directly to any available choice.
Onboarding returns directly to the review when the saved later choices remain compatible.
If your edit invalidates a dependent choice, onboarding clears it and reopens only the affected prompts before returning to the review.

After you select **Apply configuration**, NemoClaw requests required credentials, registers inference and optional services, builds and starts the sandbox, sets up OpenClaw, and applies the selected network policy.
These resource changes are forward-only, so `back` and **Edit a choice** are no longer available.
Follow the printed repair or configuration command if you need to correct a choice after the changes begin.

<Note>
Onboarding builds the sandbox image with a managed `NEMOCLAW_DISABLE_DEVICE_AUTH=1` compatibility setting so the dashboard is usable during setup.
Expand Down Expand Up @@ -268,34 +278,33 @@ Use these details when your first-run path needs more control.

For an OpenAI-compatible endpoint using HTTP on `localhost`, `127.0.0.1`, or `[::1]` and port `8000`, `11434`, or `11435`, press Enter at the API key prompt to select no authentication.

After you enter a sandbox name, the wizard asks for final confirmation before it registers the provider, prompts for integrations, and builds the sandbox image.
After choice collection, the wizard shows the complete review before it requests credentials or changes external resources.

```text
──────────────────────────────────────────────────
Review configuration
──────────────────────────────────────────────────
Provider: compatible-endpoint
Model: openai/openai/gpt-5.5
API key: configured for OpenShell gateway registration
Web search: disabled
Managed tools: none
Messaging: none
Sandbox name: my-gpt-claw
Note: Sandbox build typically takes 5–15 minutes on this host.
──────────────────────────────────────────────────
Web search and messaging channels will be prompted next.
Apply this configuration? [Y/n]:
Agent: openclaw
Inference: custom / openai/openai/gpt-5.5, http://localhost:8000/v1
Sandbox: my-gpt-claw
Web search: disabled
Messaging: none
Managed tools: none
Resources: default, GPU: auto
Policy: balanced

1) Apply configuration
2) Edit a choice
3) Exit onboarding
Choose [1]:
```

The default is `Y`.
Press Enter to continue, or answer `n` to abort cleanly, correct the entries, and rerun `nemoclaw onboard`.
Non-interactive runs print the summary for log clarity but skip the prompt.
**Apply configuration** is the default.
Select **Edit a choice** to change an earlier answer without restarting onboarding.
Non-interactive runs continue to print a configuration summary for log clarity but do not show these review actions.
</Accordion>

<Accordion title="Web Search Messaging and Network Policies">
After confirmation, NemoClaw registers the selected provider with the OpenShell gateway and sets the `inference.local` route.
The wizard asks whether to enable web search and offers Brave Search or Tavily Search.
Provide `BRAVE_API_KEY` for Brave Search or `TAVILY_API_KEY` for Tavily Search when prompted.
During choice collection, the wizard asks whether to enable web search and offers Brave Search or Tavily Search.
After you apply the configuration, provide `BRAVE_API_KEY` for Brave Search or `TAVILY_API_KEY` for Tavily Search when prompted.
NemoClaw validates the selected key before it builds the sandbox, registers a sandbox-scoped OpenShell provider, and writes only an OpenShell resolver placeholder into the OpenClaw configuration.
OpenShell replaces the placeholder with the real key at egress.

Expand All @@ -313,22 +322,22 @@ Use these details when your first-run path needs more control.
Changing or disabling web search requires re-running onboarding with the new selection and accepting sandbox recreation, or passing `--recreate-sandbox`.
NemoClaw backs up supported workspace state before recreation and restores it into the replacement sandbox.

The wizard also offers Telegram, Discord, Slack, WeChat, and WhatsApp.
The choice stage also offers Telegram, Discord, Slack, WeChat, and WhatsApp.
Press a channel number to toggle it, then press Enter to continue.
Leave every channel unselected to skip messaging setup.
When you select a channel, NemoClaw validates the token format before it bakes the channel configuration into the sandbox.
After you apply the configuration, NemoClaw requests the selected channel credentials and validates each token format before it builds the sandbox.
For example, Slack bot tokens must start with `xoxb-`.
WeChat and WhatsApp are experimental.
Refer to [Choose Messaging Channels](../manage-sandboxes/messaging-channels/choose-messaging-channels) before enabling them.

After the sandbox image builds and OpenClaw starts, NemoClaw asks which network policy tier to apply.
Web search and messaging selections happen first so the sandbox image and policy suggestions stay aligned.
Before the review, NemoClaw asks which network policy tier to apply.
Web search and messaging selections happen first so the policy suggestions stay aligned.
After review, NemoClaw applies the reviewed tier's suggestions without reopening the preset picker.
The default Balanced tier includes common development presets, such as npm, PyPI, Hugging Face, and Homebrew, plus the matching `brave` or `tavily` preset.
Add the `weather` preset explicitly for read-only weather lookups.
OpenClaw sandboxes also receive the `openclaw-pricing` preset automatically so session-cost records can populate without manual configuration.
Use the arrow keys or `j` and `k` to move, Space to select, and Enter to confirm.
The selector can include destinations such as GitHub, Jira, Slack, Telegram, or local inference.
Press `r` to switch a selected preset between read-only and read-write when it supports both modes.
After onboarding, run `nemoclaw <sandbox-name> policy list` to inspect the applied presets.
Run `nemoclaw <sandbox-name> policy add <preset>` to review and add another maintained preset.

Use the onboarding summary to verify that the sandbox gateway, dashboard port forward, and `inference.local` route are reachable.
When web search is enabled, it also checks the selected provider configuration and sends a real search request through sandbox egress.
Expand Down
Loading
Loading