computer-use-browser-desktop
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseComputer use: browser + desktop (Box)
Computer use:浏览器 + 桌面(Box)
Use this when a task needs a real GUI, not just a shell: logging into a web app, validating a rendered UI, controlling Chrome, testing an Electron app, or recording a demo. Box runs a full Linux desktop with Chrome; the Lux agent automates desktop/browser interactions and auto-records the session.
当任务需要真实 GUI,而不仅仅是 shell 时,使用此功能:登录 Web 应用、验证渲染后的 UI、控制 Chrome、测试 Electron 应用或录制演示。Box 运行完整的 Linux 桌面环境并内置 Chrome;Lux Agent 自动执行桌面和浏览器交互,并自动录制会话。
Recipe
操作步骤
bash
box_id="$(box new --json | jq -r 'select(.event == "ready") | .id')"bash
box_id="$(box new --json | jq -r 'select(.event == "ready") | .id')"Get a live desktop stream URL (60fps WebRTC, or VNC over HTTPS on bad networks)
获取实时桌面流 URL(60fps WebRTC,或在网络不佳时使用 VNC over HTTPS)
box desktop "$box_id" --json
box desktop "$box_id" --json
Automate a GUI goal with Lux (records to /home/user/lux-demos/)
使用 Lux 自动完成 GUI 任务(录制到 /home/user/lux-demos/)
box ssh "$box_id" -- "lux start 'log in to example.com and screenshot the dashboard'"
box ssh "$box_id" -- "lux run --max-steps 30"
box ssh "$box_id" -- "lux status"
undefinedbox ssh "$box_id" -- "lux start 'log in to example.com and screenshot the dashboard'"
box ssh "$box_id" -- "lux run --max-steps 30"
box ssh "$box_id" -- "lux status"
undefinedWhy Box
为什么选择 Box
- Real desktop + Chrome — does GUI work headless setups can't.
- Two stream modes — 60fps WebRTC (Moonlight) for quality, VNC-over-HTTPS for reliability on restrictive networks.
- Auto-recorded demos — every Lux run produces a video artifact.
- 真实桌面 + Chrome——可完成无头环境无法完成的 GUI 操作。
- 两种流模式——60fps WebRTC(Moonlight)可提供高质量画面,VNC over HTTPS 则可在受限网络中提供更可靠的连接。
- 自动录制演示——每次 Lux 运行都会生成视频文件。
Prereqs
前提条件
curl -fsSL https://box.ascii.dev/install | shbox login "$BOX_API_KEY" --jsoncurl -fsSL https://box.ascii.dev/install | shbox login "$BOX_API_KEY" --jsonLimits
限制
EU-only; 100 active VMs soft cap. For massive parallel headless browser fleets, dedicated browser providers (Browserbase) scale further; Box is best when you need a full machine behind the browser.
仅限欧盟;活跃 VM 软上限为 100 个。对于大规模并行无头浏览器集群,专用浏览器提供商(Browserbase)可扩展至更大规模;当你需要在浏览器背后运行一台完整计算机时,Box 是最佳选择。