terminal

browser-useMIT活跃维护

在终端里用 TUI 界面操控浏览器完成自动化任务,基于 CDP 协议,适合喜欢键盘操作的开发者。

Terminal UI to get stuff done in the browser

v0.1.8发布于 2026-06-12 19:45 UTC661star43fork同步于 2026-11-10 11:57 UTC

怎么上手

由 README 提炼,执行前请确认
curl -fsSL https://browser-use.com/terminal/install.sh | sh
browser
硬件要求按 README 说明

README 未说明具体显存或 CPU 要求;支持真实 Chrome、无头 Chromium 以及 Browser Use 云端浏览器运行。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

在终端里用 LLM 代理操控真实 Chrome 完成浏览器任务的 Rust TUI 工具

在终端里用 TUI 界面操控浏览器完成自动化任务,基于 CDP 协议,适合喜欢键盘操作的开发者。

核心能力

  • 用 Ratatui 终端界面实时观看、干预、停止和恢复任务
  • 通过 CDP 让模型直接控制真实 Chrome、无头 Chromium 或云端浏览器
  • 用 SQLite 事件日志保存历史、截图、产物与追踪记录
  • 内置 LLM harness 支持工具、子代理、上下文压缩与取消
  • 可安装 skill 接入 Claude Code、Codex、OpenCode 等编码助手

容易踩的坑

安装后需在 TUI 内用 /auth 登录并用 /model 选择模型才能运行任务;接入编码助手需先执行 browser-use-terminal skill install 注册 skill;默认开启匿名遥测,可用 BUT_TELEMETRY=0 关闭。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.1.8
  1. v0.1.8最新正式版2026-06-12 · 2026-06-12 19:45 UTC

    What's Changed

    New Contributors

    Full Changelog: https://github.com/browser-use/terminal/compare/v0.1.7...v0.1.8

  2. v0.1.72026-06-10 · 2026-06-10 01:07 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/browser-use/terminal/compare/v0.1.6...v0.1.7

  3. v0.1.62026-06-09 · 2026-06-09 19:11 UTC
    查看更新说明
  4. v0.1.52026-06-09 · 2026-06-09 00:05 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/browser-use/terminal/compare/v0.1.4...v0.1.5

  5. v0.1.42026-06-08 · 2026-06-08 19:40 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/browser-use/terminal/compare/v0.1.3...v0.1.4

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Browser Use Terminal

    Automate the boring stuff in the browser.

    Browser Use Terminal is a Rust TUI for browser agents. It combines a new LLM harness, Browser Harness-style CDP control, real Chrome sessions, and a terminal UI you can actually steer.

    curl -fsSL https://browser-use.com/terminal/install.sh | sh
    browser
    

    What It Does

    • runs browser tasks from a terminal UI
    • works with your logged-in Chrome when the task needs real account state
    • supports headless Chromium and Browser Use cloud for clean or remote runs
    • lets you watch, steer, stop, retry, and resume tasks
    • keeps local history, screenshots, artifacts, and follow-ups
    • uses a new LLM harness built to be 2x cheaper and 2x faster than Browser Harness

    How It Works

    Browser Use Terminal is a browser-first LLM harness: Rust owns the agent loop and durable state, while the browser runtime gives the model direct CDP control over Chrome.

    you
     │
     ▼
    browser terminal
     │
     ├─ custom Ratatui UI      watch · steer · stop · resume
     ├─ Rust LLM harness       tools · subagents · compaction · cancellation
     ├─ SQLite event log       history · screenshots · artifacts · traces
     └─ CDP browser runtime    profiles · doctor · recovery · ownership
          │
          ▼
     real Chrome  |  headless Chromium  |  Browser Use cloud
    
    • The model gets raw browser capability: CDP, page JavaScript, screenshots, files, and helper code.
    • The terminal stays controllable: history, artifacts, follow-ups, browser recovery, and a custom Ratatui renderer for live work.

    Try It

    Get my San Francisco parking permit.
    
    Give this employee admin permission in Azure.
    
    Find the cancellation policy for my current hotel reservation.
    

    Setup

    Launch the app:

    browser
    

    Use slash commands inside the TUI:

    /auth      sign in
    /model     choose a model
    /browser   choose local, headless, or cloud browser
    /update    update the app
    

    Useful shell commands:

    browser auth status
    browser config show
    browser diagnostics
    

    Use It From Claude Code, Codex, or OpenCode

    Browser Use Terminal plugs into any coding assistant that can run shell commands, browser-harness style: a skill teaches the assistant the CLI, and the CLI hands it the whole browser runtime.

    browser-use-terminal skill install        # registers the skill for detected assistants
    

    Then ask your assistant to browse:

    browser-use-terminal browser exec <<'PY'
    new_tab("https://example.com")
    wait_for_load()
    print(capture_screenshot())
    PY
    

    Screenshots are saved as files and the path is printed, so assistants view them with their native file-reading tools (Claude Code Read, Codex view_image, OpenCode read). The browser persists between calls. See docs/assistant-plugins.md.

    Development

    cargo fmt --check
    cargo test
    uv run --with pytest python -m pytest -q
    scripts/verify-terminal-ui.sh
    

    Terminal UI changes must pass the full verification script. It runs Rust tests, Python tests, deterministic Ratatui dumps, and a real tmux smoke test.

    Agent Tools

    Release archives include a managed ripgrep binary at bin/agent-tools/rg. Agent shell commands prepend Browser Use Terminal's temporary tool shim and managed tools directory to PATH, so rg, rg --version, and rg --files work without depending on the user's shell dotfiles or DotSlash. Source checkout entry points and local dev wrappers install the same managed ripgrep under target/debug/agent-tools/rg; run scripts/install-agent-ripgrep.sh target/debug/agent-tools to refresh it manually.

    Telemetry

    You can disable (100% completely anonymous) telemetry with BUT_TELEMETRY=0.

    Docs

    • docs/terminal-ui-product-ux.md
    • docs/terminal-ui-testing.md
    • docs/terminal-renderer-architecture.md
    • docs/assistant-plugins.md

    License

    MIT