nemoclaw-user-deploy-remote
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved. -->
<!-- SPDX-License-Identifier: Apache-2.0 -->
Deploy NemoClaw to a Remote GPU Instance
将NemoClaw部署到远程GPU实例
Gotchas
注意事项
- The command is deprecated.
nemoclaw deploy - On Brev, set in the launchable environment configuration so it is available when the installer builds the sandbox image.
CHAT_UI_URL
- 命令已弃用。
nemoclaw deploy - 在Brev平台上,需在可启动环境配置中设置,确保安装程序构建沙箱镜像时能访问该变量。
CHAT_UI_URL
Prerequisites
前提条件
- The Brev CLI installed and authenticated.
- A provider credential for the inference backend you want to use during onboarding.
- or
HF_TOKENexported when your remote vLLM or Hugging Face workflow needs access to gated models.HUGGING_FACE_HUB_TOKEN - NemoClaw installed locally if you plan to use the deprecated wrapper. Otherwise, install NemoClaw directly on the remote host after provisioning it.
nemoclaw deploy
Run NemoClaw on a remote GPU instance through Brev.
The preferred path is to provision the VM, run the standard NemoClaw installer on that host, and then run .
nemoclaw onboardQuick Start
快速开始
If your Brev instance is already up and has already been onboarded with a sandbox, start with the standard sandbox chat flow:
console
$ nemoclaw my-assistant connect
$ openclaw tuiThis gets you into the sandbox shell first and opens the OpenClaw chat UI right away.
If the VM is fresh, run the standard installer on that host and then run before trying .
nemoclaw onboardnemoclaw my-assistant connectIf you are connecting from your local machine and still need to provision the remote VM, you can still use as the legacy compatibility path described below.
nemoclaw deploy <instance-name>如果你的Brev实例已启动并完成沙箱初始化,可直接使用标准沙箱聊天流程:
console
$ nemoclaw my-assistant connect
$ openclaw tui此命令会先进入沙箱shell,然后立即打开OpenClaw聊天UI。
如果是全新虚拟机,请先在该主机上运行标准安装程序,再执行,之后再尝试。
nemoclaw onboardnemoclaw my-assistant connect如果从本地机器连接且仍需配置远程虚拟机,你仍可使用作为下文所述的旧版兼容路径。
nemoclaw deploy <instance-name>Deploy the Instance
部署实例
Warning:
The command is deprecated.
Prefer provisioning the remote host separately, then running the standard NemoClaw installer and on that host.
nemoclaw deploynemoclaw onboardCreate a Brev instance and run the legacy compatibility flow:
console
$ nemoclaw deploy <instance-name>Replace with a name for your remote instance, for example .
The sandbox created on the remote VM uses , or when the variable is unset.
Sandbox names must be lowercase, start with a letter, contain only letters, numbers, and internal hyphens, and end with a letter or number.
The deploy wrapper validates the sandbox name before it provisions the Brev instance, opens SSH, or starts the remote installer.
<instance-name>my-gpu-boxNEMOCLAW_SANDBOX_NAMEmy-assistantThe legacy compatibility flow performs the following steps on the VM:
- Installs Docker and the NVIDIA Container Toolkit if a GPU is present.
- Installs the OpenShell CLI.
- Runs (the setup wizard) to create the gateway, register providers, and launch the sandbox.
nemoclaw onboard - Starts optional host auxiliary services (for example the cloudflared tunnel) when is available. Channel messaging is configured during onboarding and runs through OpenShell-managed processes, not through
cloudflared.nemoclaw tunnel start
By default, the compatibility wrapper asks Brev to provision on . Override this with if you need a different Brev cloud provider.
If you export or , the wrapper forwards those values to the VM so remote setup can pull gated Hugging Face model repositories.
gcpNEMOCLAW_BREV_PROVIDERHF_TOKENHUGGING_FACE_HUB_TOKEN警告:
nemoclaw deploynemoclaw onboard创建Brev实例并运行旧版兼容流程:
console
$ nemoclaw deploy <instance-name>将替换为你的远程实例名称,例如。
远程虚拟机上创建的沙箱会使用,若该变量未设置则默认使用。
沙箱名称必须为小写,以字母开头,仅包含字母、数字和中间的连字符,且以字母或数字结尾。
部署包装器会在配置Brev实例、打开SSH或启动远程安装程序之前验证沙箱名称。
<instance-name>my-gpu-boxNEMOCLAW_SANDBOX_NAMEmy-assistant旧版兼容流程会在虚拟机上执行以下步骤:
- 若存在GPU,则安装Docker和NVIDIA容器工具包。
- 安装OpenShell CLI。
- 执行(设置向导)以创建网关、注册提供商并启动沙箱。
nemoclaw onboard - 当可用时,启动可选的主机辅助服务(例如cloudflared隧道)。通道消息会在初始化过程中配置,并通过OpenShell管理的进程运行,而非通过
cloudflared。nemoclaw tunnel start
默认情况下,兼容包装器会请求Brev在上配置实例。若需要其他Brev云提供商,可通过覆盖该设置。
若你导出了或,包装器会将这些值转发到虚拟机,以便远程设置可以拉取受限的Hugging Face模型仓库。
gcpNEMOCLAW_BREV_PROVIDERHF_TOKENHUGGING_FACE_HUB_TOKENConnect to the Remote Sandbox
连接到远程沙箱
After deployment finishes, the deploy command opens an interactive shell inside the remote sandbox.
To reconnect after closing the session, run the command again:
console
$ nemoclaw deploy <instance-name>部署完成后,deploy命令会在远程沙箱内打开一个交互式shell。
关闭会话后如需重新连接,再次运行以下命令即可:
console
$ nemoclaw deploy <instance-name>Monitor the Remote Sandbox
监控远程沙箱
SSH to the instance and run the OpenShell TUI to monitor activity and approve network requests:
console
$ ssh <instance-name> 'cd ~/nemoclaw && set -a && . .env && set +a && openshell term'通过SSH连接到实例并运行OpenShell TUI,以监控活动并批准网络请求:
console
$ ssh <instance-name> 'cd ~/nemoclaw && set -a && . .env && set +a && openshell term'Verify Inference
验证推理功能
Run a test agent prompt inside the remote sandbox:
console
$ openclaw agent --agent main --local -m "Hello from the remote sandbox" --session-id test在远程沙箱内运行测试代理提示:
console
$ openclaw agent --agent main --local -m "Hello from the remote sandbox" --session-id testRemote Dashboard Access
远程仪表板访问
The NemoClaw dashboard validates the browser origin against an allowlist baked
into the sandbox image at build time. By default the allowlist only contains
. When accessing the dashboard from a remote browser
(for example through a Brev public URL or an SSH port-forward), set
to the origin the browser will use before running setup:
http://127.0.0.1:18789CHAT_UI_URLconsole
$ export CHAT_UI_URL="https://openclaw0-<id>.brevlab.com"
$ nemoclaw deploy <instance-name>For SSH port-forwarding, the origin is typically (the
default), so no extra configuration is needed.
http://127.0.0.1:18789Warning:
On Brev, set in the launchable environment configuration so it is
available when the installer builds the sandbox image. If is not
set on a headless host, the compatibility wrapper prints a warning.
CHAT_UI_URLCHAT_UI_URLNEMOCLAW_DISABLE_DEVICE_AUTHCHAT_UI_URLNemoClaw仪表板会在构建沙箱镜像时,将浏览器来源与内置的允许列表进行验证。默认情况下,允许列表仅包含。当从远程浏览器访问仪表板时(例如通过Brev公共URL或SSH端口转发),需在运行设置之前将设置为浏览器将使用的来源:
http://127.0.0.1:18789CHAT_UI_URLconsole
$ export CHAT_UI_URL="https://openclaw0-<id>.brevlab.com"
$ nemoclaw deploy <instance-name>对于SSH端口转发,来源通常为默认的,因此无需额外配置。
http://127.0.0.1:18789警告:
在Brev平台上,需在可启动环境配置中设置,确保安装程序构建沙箱镜像时能访问该变量。若在无头主机上未设置,兼容包装器会打印警告信息。
CHAT_UI_URLCHAT_UI_URLNEMOCLAW_DISABLE_DEVICE_AUTHCHAT_UI_URLFirst-Run Readiness Budget
首次运行就绪超时设置
On a remote GPU host, the first typically does the slowest work of the lifecycle: the sandbox image is built locally and uploaded into the OpenShell gateway, which can stream hundreds of MiB over the VM's link before the readiness wait even starts.
The post-create readiness wait defaults to 180 seconds (), which is sized for warm-cache, workstation-class onboarding and can be exceeded on:
nemoclaw onboardNEMOCLAW_SANDBOX_READY_TIMEOUT- DGX Station first runs with large quantised models (70B+ parameter footprints, NVFP4 weights).
- Cloud VMs where the local image-build cache is cold and the upload runs over the public network.
- Hosts onboarding the Brave Web Search preset on the first run (the egress policy stack adds boot work).
Raise the budget before re-running onboard:
console
$ export NEMOCLAW_SANDBOX_READY_TIMEOUT=600
$ nemoclaw onboardIf onboard ends with , onboard deletes the partially-created sandbox first, so the next attempt with the raised budget starts from a clean state.
For the inference-probe budget that runs earlier in onboarding, see (use the skill).
Sandbox '<name>' was created but did not become ready within 180sNEMOCLAW_LOCAL_INFERENCE_TIMEOUTnemoclaw-user-configure-inference在远程GPU主机上,首次执行通常会完成生命周期中最耗时的工作:沙箱镜像会在本地构建并上传到OpenShell网关,在开始等待就绪状态之前,可能需要通过虚拟机链路传输数百MiB的数据。创建后的就绪等待默认超时时间为180秒(由控制),该时长是针对缓存已预热的工作站级初始化场景设定的,在以下场景中可能会超时:
nemoclaw onboardNEMOCLAW_SANDBOX_READY_TIMEOUT- DGX Station首次运行大尺寸量化模型(70B+参数规模,NVFP4权重)。
- 本地镜像构建缓存为空且上传通过公网进行的云虚拟机。
- 首次运行时初始化Brave Web Search预设的主机(出口策略栈会增加启动工作量)。
重新执行onboard之前,请增加超时时间:
console
$ export NEMOCLAW_SANDBOX_READY_TIMEOUT=600
$ nemoclaw onboard如果onboard以结束,onboard会先删除部分创建的沙箱,因此下次使用增加后的超时时间尝试时会从干净状态开始。关于onboarding早期运行的推理探测超时设置,请查看(使用技能)。
Sandbox '<name>' was created but did not become ready within 180sNEMOCLAW_LOCAL_INFERENCE_TIMEOUTnemoclaw-user-configure-inferenceProxy Configuration
代理配置
NemoClaw routes sandbox traffic through a gateway proxy that defaults to .
If your network requires a different proxy, set and before onboarding:
10.200.0.1:3128NEMOCLAW_PROXY_HOSTNEMOCLAW_PROXY_PORTconsole
$ export NEMOCLAW_PROXY_HOST=proxy.example.com
$ export NEMOCLAW_PROXY_PORT=8080
$ nemoclaw onboardThese values are baked into the sandbox image at build time.
They are also forwarded into the runtime container during sandbox creation, so uses the same host and port that the image build used.
Only alphanumeric characters, dots, hyphens, and colons are accepted for the host.
The port must be numeric (0-65535).
Changing the proxy after onboarding requires re-running .
/tmp/nemoclaw-proxy-env.shnemoclaw onboardNemoClaw通过网关代理路由沙箱流量,默认代理为。
若你的网络需要使用其他代理,请在onboarding之前设置和:
10.200.0.1:3128NEMOCLAW_PROXY_HOSTNEMOCLAW_PROXY_PORTconsole
$ export NEMOCLAW_PROXY_HOST=proxy.example.com
$ export NEMOCLAW_PROXY_PORT=8080
$ nemoclaw onboard这些值会在构建沙箱镜像时嵌入其中。
它们也会在沙箱创建期间转发到运行时容器,因此会使用与镜像构建时相同的主机和端口。
主机仅允许包含字母数字字符、点、连字符和冒号。
端口必须为数字(0-65535)。
onboarding后更改代理需要重新执行。
/tmp/nemoclaw-proxy-env.shnemoclaw onboardGPU Configuration
GPU配置
The deploy script uses the environment variable to select the GPU type.
The default value is .
Set this variable before running to use a different GPU configuration:
NEMOCLAW_GPUa2-highgpu-1g:nvidia-tesla-a100:1nemoclaw deployconsole
$ export NEMOCLAW_GPU="a2-highgpu-1g:nvidia-tesla-a100:2"
$ nemoclaw deploy <instance-name>部署脚本使用环境变量选择GPU类型。
默认值为。
运行之前设置该变量可使用不同的GPU配置:
NEMOCLAW_GPUa2-highgpu-1g:nvidia-tesla-a100:1nemoclaw deployconsole
$ export NEMOCLAW_GPU="a2-highgpu-1g:nvidia-tesla-a100:2"
$ nemoclaw deploy <instance-name>References
参考文档
- Load references/install-openclaw-plugins.md when users ask how to install, build, or configure OpenClaw plugins under NemoClaw. Explains the difference between OpenClaw plugins and agent skills, and shows the current Dockerfile-based workflow for baking a plugin into a NemoClaw sandbox.
- Load references/brev-web-ui.md when a user wants to try NemoClaw without installing the CLI, or asks how to get started on Brev. Guides users through deploying NemoClaw with the Brev web UI.
- Load references/sandbox-hardening.md when reviewing sandbox image security controls, auditing capability drops, or looking up the runtime resource limits. Includes the sandbox container image hardening reference, covering Docker capabilities and process limits.
- 当用户询问如何在NemoClaw下安装、构建或配置OpenClaw插件时,请查看references/install-openclaw-plugins.md。本文解释了OpenClaw插件与代理技能的区别,并展示了当前基于Dockerfile将插件嵌入NemoClaw沙箱的工作流。
- 当用户希望无需安装CLI即可试用NemoClaw,或询问如何在Brev上快速入门时,请查看references/brev-web-ui.md。本文指导用户通过Brev Web UI部署NemoClaw。
- 当审查沙箱镜像安全控制、审计权限降级或查找运行时资源限制时,请查看references/sandbox-hardening.md。本文包含沙箱容器镜像加固参考,涵盖Docker权限和进程限制。
Related Skills
相关技能
- — Set Up Messaging Channels (use the
nemoclaw-user-manage-sandboxesskill) to connect Telegram, Discord, or Slack through OpenShell-managed channel messagingnemoclaw-user-manage-sandboxes - — Monitor Sandbox Activity (use the
nemoclaw-user-monitor-sandboxskill) for sandbox monitoring toolsnemoclaw-user-monitor-sandbox - — Commands (use the
nemoclaw-user-referenceskill) for the fullnemoclaw-user-referencecommand referencedeploy
- — 设置消息通道(使用
nemoclaw-user-manage-sandboxes技能),通过OpenShell管理的通道消息连接Telegram、Discord或Slacknemoclaw-user-manage-sandboxes - — 监控沙箱活动(使用
nemoclaw-user-monitor-sandbox技能),获取沙箱监控工具nemoclaw-user-monitor-sandbox - — 命令参考(使用
nemoclaw-user-reference技能),查看完整的nemoclaw-user-reference命令参考deploy