This launchable provides a Brev-oriented bootstrap flow for bringing up OpenClaw on a fresh Ubuntu or Debian-based NVIDIA Brev environment. By default, the launchable deploys to a low-cost CPU instance to optimize costs for long-running agents. OpenClaw is configured to call remote model endpoints, so no local GPU is required.
To deploy this launchable, you will need:
- An NVIDIA Brev account
- An NVIDIA Build API key
To generate an API key, visit build.nvidia.com/settings/api-keys. Click the "Generate API Key" button. In the dialog, enter any key name (e.g., "brev-openclaw") and click "Generate Key". Copy the key and store it in a secure location. See Troubleshoot if you run into issues.
-
Click the Launchable link to open the one-click deployment page:
-
Review the Instance Configuration. The Launchable comes pre-configured with the recommended CPU instance and environment settings. Adjust if needed.
-
Click Deploy. Brev will provision a cloud instance, install OpenClaw and code-server, and prepare the environment automatically.
-
Navigate to the Environment Page. Click the "Go to instance page" button, which replaces the "Deploy Launchable" button after deployment starts.
-
Wait until the environment shows the setup script has completed (you will see a "Completed" status pill near the top of the page).
-
Click the "Code Server" button to finish the setup. This opens the code server in a new tab.
-
A terminal will automatically open at the bottom of the page. The script
./configure.shfrom the clonedlaunch-openclawrepo should run automatically. -
You will be prompted to add your NVIDIA API key here. Paste it ONCE and press the Enter key. Note: You cannot see the pasted API key. Pasting it twice will result in an invalid key.
-
The script will finish and show:
OpenClaw Gateway Started ======================== URL: https://openclaw0-xxxxxxxx.brevlab.com/#token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx API Token: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Hostname: brev-xxxxxxxx Origin: https://openclaw0-xxxxxxxx.brevlab.com -
Copy the full URL (looks like
https://openclaw0-xxxxxxxx.brevlab.com/#token=xxx...) and open it in a new tab. -
Click the "Connect" button to open the OpenClaw chat interface. You may need to click this button more than once.
-
Start chatting with the agent.
build.nvidia.com API key issues
- You may need to verify your account before creating an API key.
- If you see "You do not have permissions to create API Keys in this Organization. Switch Orgs or contact your admin.", click "Switch Org" and follow the instructions to generate a key.
Error: 403 status code (no body)
If chatting with the agent results in a 403 error, check the API keys set in .openclaw/.env. Confirm they are correct. If you modify those keys, run ./configure.sh again to update OpenClaw, and copy the link to reopen the OpenClaw UI.
The launchable is split into two stages:
launch.shperforms host bootstrap, installs OpenClaw and code-server, and starts the gateway when configuration already exists.configure.shruns once from an auto-opened code-server terminal in a local clone of this repo, prompts for an NVIDIA API key, performs non-interactive OpenClaw onboarding, and then hands control back tolaunch.sh.
launch.sh:
- Ensures Node.js 22 or newer is installed.
- Installs the pinned OpenClaw npm package version
2026.3.13, which corresponds to GitHub releasev2026.3.13-1. - Verifies the
openclawCLI is available. - Clones or refreshes
https://github.com/liveaverage/launch-openclaw.gitinto~/launch-openclawby default. - Installs
code-server, the custom NV Theme, and thefabiospampinato.vscode-terminalsextension. - Configures code-server to open the cloned repo by default, load its
README.mdon startup, and auto-openconfigure.shfrom that local clone on first launch. - If OpenClaw is already configured, sources
~/.openclaw/.env, startsopenclaw gateway, runs a 20-minute device auto-approval loop, and prints connection details.
configure.sh:
- Prompts for an NVIDIA API key.
- Runs
openclaw onboard --non-interactive --accept-risk. - Configures the initial model route against NVIDIA’s OpenAI-compatible endpoint:
- Base URL:
https://integrate.api.nvidia.com/v1 - Model:
nvidia/nemotron-3-super-120b-a12b
- Base URL:
- Stores the key in
~/.openclaw/.envusing the env-ref flow supported by OpenClaw. - Re-runs
launch.shso the gateway starts immediately after onboarding completes.
On hosts named like brev-<env_id>, the launchable derives:
OpenClaw: https://openclaw0-<env_id>.brevlab.com/chat?session=main
code-server: https://code-server0-<env_id>.brevlab.com
If the hostname does not match the Brev naming pattern, it falls back to:
OpenClaw: http://localhost:3000/chat?session=main
code-server: http://localhost:13337
The bootstrap is designed to be safe to run multiple times:
- It skips Node installation when a compatible version is already installed.
- It keeps OpenClaw pinned to the npm package version resolved from
OPENCLAW_RELEASE_TAGand reinstalls if another version is found on PATH. - It refreshes the local
~/launch-openclawcheckout if it already exists. - It skips the first-run configure terminal after both
~/.openclaw/.envand~/.openclaw/openclaw.jsonexist. - It reuses a running gateway if a previously started process is still alive.
- It keeps state under
~/.local/state/openclaw-bootstrap/.
Target a GitHub release tag:
OPENCLAW_RELEASE_TAG=v2026.3.24 ./launch.shFor piped execution:
curl -fsSL https://raw.githubusercontent.com/liveaverage/launch-openclaw/refs/heads/main/launch.sh | OPENCLAW_RELEASE_TAG=v2026.3.24 bashOverride the npm package version directly if needed:
OPENCLAW_VERSION=2026.3.13 ./launch.shWhen OPENCLAW_VERSION is unset, launch.sh now resolves it from OPENCLAW_RELEASE_TAG. It first tries the exact tag without the leading v, then falls back to removing a trailing GitHub-only -N suffix such as v2026.3.13-1 -> 2026.3.13.
Run the launchable directly:
chmod +x launch.sh configure.sh
./launch.shRun it as your normal user, not as root. The scripts use sudo only for package installation and code-server service management.
On the first run, launch.sh prints a pending-configuration message with the code-server URL. After configure.sh completes, the launch flow prints a block like:
OpenClaw Gateway Started
========================
URL:
https://openclaw0-<env_id>.brevlab.com/chat?session=main
API Token:
<token>
Hostname:
brev-<env_id>
Origin:
https://openclaw0-<env_id>.brevlab.com
code-server:
https://code-server0-<env_id>.brevlab.com
Bootstrap logs are written to:
~/.local/state/openclaw-bootstrap/gateway.log~/.local/state/openclaw-bootstrap/auto-approve.log
Gateway PID state is tracked in:
~/.local/state/openclaw-bootstrap/gateway.pid
Saved first-run credentials are stored in:
~/.openclaw/.env
OpenClaw agents can execute shell commands, read files, and install software. This launchable is meant for fast bootstrap on development infrastructure, not as a hardened production deployment. Production deployments should isolate agent runtimes, restrict tool permissions, and add approval controls around destructive actions.