Skip to content

Commit 8a985e1

Browse files
committed
fix: updated yaml file for other agents instructions
1 parent ce96b04 commit 8a985e1

2 files changed

Lines changed: 16 additions & 7 deletions

File tree

brev/welcome-ui/other-agents.yaml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,28 @@ intro: >-
2727
steps:
2828
- title: Install NemoClaw CLI
2929
commands:
30-
- pip install nemoclaw
30+
- "curl -fsSL https://github.com/NVIDIA/NemoClaw/releases/download/devel/install.sh | sh"
3131
copyable: true
3232

33-
- title: Connect to this VM
33+
- title: Add the gateway
3434
block_id: connect-cmd-block
3535
commands:
36-
- cmd: "nemoclaw cluster connect <loading...>"
36+
- cmd: "nemoclaw gateway add <loading...>"
3737
id: connect-cmd
3838
copy_button_id: copy-connect
3939
copyable: true
40+
description: >-
41+
This will initiate a JWT auth flow in your browser.
42+
Once authorized, you can run any NemoClaw command against this deployment.
4043
4144
- title: Create a sandbox and run your agent
4245
commands:
4346
- comment: Claude Code
4447
cmd: "nemoclaw sandbox create -- claude"
4548
- comment: OpenCode
4649
cmd: "nemoclaw sandbox create -- opencode"
47-
- comment: Any agent
48-
cmd: "nemoclaw sandbox create -- your-agent-command"
50+
- comment: Codex
51+
cmd: "nemoclaw sandbox create -- codex"
4952

5053
- title: Manage policies with the TUI
5154
commands:

brev/welcome-ui/server.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,12 +1145,18 @@ def _handle_sandbox_status(self):
11451145

11461146
def _handle_connection_details(self):
11471147
hostname = _get_hostname()
1148+
brev_id = BREV_ENV_ID or _detected_brev_id
1149+
if brev_id:
1150+
gateway_url = f"https://8080-{brev_id}.brevlab.com"
1151+
else:
1152+
gateway_url = f"http://{hostname}:8080"
11481153
return self._json_response(200, {
11491154
"hostname": hostname,
1155+
"gatewayUrl": gateway_url,
11501156
"gatewayPort": 8080,
11511157
"instructions": {
1152-
"install": "pip install nemoclaw",
1153-
"connect": f"nemoclaw cluster connect {hostname}",
1158+
"install": "curl -fsSL https://github.com/NVIDIA/NemoClaw/releases/download/devel/install.sh | sh",
1159+
"connect": f"nemoclaw gateway add {gateway_url}",
11541160
"createSandbox": "nemoclaw sandbox create -- claude",
11551161
"tui": "nemoclaw term",
11561162
},

0 commit comments

Comments
 (0)