browser-control

A compact shell interface for coding agents to observe and operate real CDP browsers.

Stars
★ 3.2k
Last updated
2mo ago
License
MIT
Primary language
Rust

At a glance

How it runs
CLI
Works with
Universal · cross-platform
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Chrome or Chromium with CDP accessRust toolchain pinned in rust-toolchain.toml when building from sourceShell / CLINetwork accessLocal filesystem
Typical use
A coding-agent developer can add browser navigation, form entry, and element interaction to an existing shell-capable agent without adopting a browser SDK.
Not a fit if
  • Teams that need Firefox or Safari support
  • Users wanting built-in planning and retry logic
  • Environments without a writable workspace or Chrome/CDP
Maintenance
Commits in the last 6 monthslast commit 2026-08-27latest release v0.1.1 (2026-06-21)

What does this agent do, and when should you use it?

browser-control is a small Rust CLI that lets coding agents drive local or remote real browsers through the Chrome DevTools Protocol. It contains no LLM and requires neither MCP nor an agent framework; instead, it exposes snapshots, actions, scripts, and raw CDP calls as composable shell subcommands. snapshot returns actionable elements with stable @e1 and @e2 references, while CSS selectors and screen coordinates remain available. A hidden daemon retains bounded DOM event, network, and console histories, and command failures can produce diagnostic bundles under .browser-control/traces/. The CLI can launch local Chrome, attach to an existing CDP endpoint, or provision sessions through Browser Use, Steel, Hyperbrowser, and Browserbase presets. It is best suited to coding agents that already supply planning and retry behavior but need a debuggable browser execution layer.

An end-to-end session starts with browser-control init, which creates the .browser-control/ workspace, followed by launch <url> or connection through BROWSER_CONTROL_CDP_URL or BROWSER_CONTROL_CDP_WS. The agent runs snapshot—also available as observe—to read actionable page elements, then passes the returned @eN references to commands such as click, fill, select, upload, drag, press, and scroll; CSS selectors and coordinates are alternative targets. Observation commands expose page metadata, visible text, events, requests, console messages, frames, cookies, and tabs. eval runs JavaScript in the page, while cdp invokes raw Chrome DevTools Protocol methods. The CLI also waits for loads, network idleness, or elements; captures screenshots and PDFs; and manages tabs, viewports, downloads, and native dialogs. run executes workspace scripts with BROWSER_CONTROL_BIN and BROWSER_CONTROL_WORKSPACE, while the opt-in --from-stdin mode executes shell commands supplied on standard input. Its daemon communicates over .browser-control/daemon.sock, maintains small in-memory telemetry rings, and contributes available context to failure traces.

  1. A coding-agent developer can add browser navigation, form entry, and element interaction to an existing shell-capable agent without adopting a browser SDK.
  2. An engineer debugging a brittle web workflow can correlate snapshot, events, network, console, and failure traces to identify where an action broke.
  3. An automation author working with canvases, maps, or pages without stable DOM nodes can combine reference-based actions with coordinate clicks and drags.
  4. A team moving workflows between local Chrome and hosted browsers can retain the same command surface while changing the CDP endpoint or cloud-provider configuration.
  5. A CI or test maintainer can build reproducible browser flows around locked Rust dependencies, shell scripts, screenshots, PDFs, and scripts/verify.sh.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • cargo install browser-control-cli
Environment variables
BROWSER_CONTROL_CDP_URL BU_CDP_URL STEEL_API_KEY BROWSER_USE_API_KEY HYPERBROWSER_API_KEY BROWSERBASE_API_KEY
Config files
rust-toolchain.toml
Install notes cover
macOS · Linux

How do you install or deploy this agent?

The shortest installation path uses crates.io:

cargo install browser-control-cli
browser-control --version

The crate is named browser-control-cli, but it installs the browser-control command. Prebuilt release archives are another option; the documented macOS/Linux example is:

curl -fsSL https://github.com/keon/browser-control/releases/latest/download/browser-control-aarch64-apple-darwin.tar.gz | tar xz
install -m 0755 browser-control /usr/local/bin/

To build from source:

git clone [email protected]:keon/browser-control.git
cd browser-control
rustup toolchain install
cargo build --locked --release
install -m 0755 target/release/browser-control /usr/local/bin/
browser-control --version

Runtime use requires a recent Chrome or Chromium build reachable over CDP. Source builds additionally require the Rust toolchain pinned in rust-toolchain.toml.

How do you use this agent?

A first local session can be started with:

browser-control init
browser-control launch https://example.com
export BROWSER_CONTROL_CDP_URL=http://127.0.0.1:9222
browser-control doctor
browser-control snapshot
browser-control click @e1
browser-control eval 'document.title'
browser-control cdp Browser.getVersion

To attach to an existing browser, skip launch and set BROWSER_CONTROL_CDP_WS or BROWSER_CONTROL_CDP_URL; the BU_CDP_WS and BU_CDP_URL aliases also work. For a hosted Steel session:

export BROWSER_CONTROL_CLOUD_PROVIDER=steel

export STEEL_API_KEY=...

browser-control cloud-start

The other built-in providers require BROWSER_USE_API_KEY, HYPERBROWSER_API_KEY, or both BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID, as applicable. cloud-start prints the CDP endpoint to export, after which the regular snapshot, action, and observation commands are used.

What are this agent's strengths and limitations?

Pros
  • Its shell-native interface emits compact text or JSON and introduces no required SDK, application server, MCP deployment, or language binding.
  • snapshot supplies agent-oriented stable @eN handles while preserving CSS selectors and coordinates for cases where references are unsuitable.
  • eval and raw cdp provide escape hatches when the convenience commands do not expose a required browser operation.
  • The same commands address local Chrome, existing CDP endpoints, and several preset hosted-browser providers.
  • Daemon-held event, request, and console histories feed automatic failure traces, giving an agent concrete evidence for diagnosis.
Limitations
  • It requires Chrome or Chromium reachable through CDP and does not document Firefox or Safari support.
  • Planning, retries, model inference, and broader agent behavior are intentionally outside the product, so adopters must supply that orchestration.
  • Operation relies on a writable .browser-control/ workspace, a daemon socket, state artifacts, and optional trace files that need filesystem access and lifecycle management.
  • Hosted sessions require provider credentials; Browserbase also requires a project ID, and custom providers need explicit API, authentication, path, and CDP-field configuration.
  • No native integration is documented for ChatGPT, Claude AI, the OpenAI API, or the Claude API; a host environment must be able to invoke the CLI itself.

How does this agent compare with similar options?

The project says it was inspired by Vercel's agent-browser and Browser Use's browser-harness. Its stated design emphasis is a deliberately small, shell-native Rust CLI that exposes CDP, snapshots, scripts, and browser state as general mechanisms while leaving planning, retries, and file editing to the coding agent. The supplied material does not provide feature-by-feature or performance comparisons with either alternative.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
browser-control This agent 55 · Major gaps CLIFree ★ 3.2k 2mo ago Rust —
bdg Browser Debugger 73 · Some gaps CLIFree ★ 186 4d ago TypeScript Codex · Claude Code
PinchTab 58 · Major gaps Self-hosted serviceFree ★ 11k 1mo ago Go —
Steel Browser 49 · Major gaps Self-hosted serviceFreemium ★ 8k today TypeScript —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
55/ 100 5-point scale 2.8 / 5
Trust 12/29
Reliability 8/14
Adaptability 12/18
Convention 10/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust12 / 29 · 2.1/5

The CLI connects to a browser when commands are invoked, which offers some least privilege; however, raw CDP, arbitrary eval, HTTP requests, uploads, cloud sessions, and browser interactions provide broad capabilities, with no visible permission tiers. Commands such as click, close-tab, upload, and cloud start/stop have no confirmation step, so confirmation is only partially addressed. The README describes CDP, cloud-key environment variables, in-memory daemon event rings, and failure-trace locations, and provides a setting to disable traces. It does not explain trace cleanup or sensitive-content filtering. Dependency versions are pinned and Cargo.lock is described, but there is no evidence of auditing or vulnerability mitigation. A stop command for browsers launched by the tool provides limited recovery; other external actions lack general rollback guidance. A repository URL and MIT copyright holder are shown, but publisher identity is unverified and does not establish maintainer identity.

Reliability8 / 14 · 2.9/5

The docs broadly correspond to the visible CLI definition, but AGENTS.md recommends an inspect command absent from the supplied main.rs subcommand definition, so self-consistency is reduced; the source excerpt is incomplete, so other implementation cannot be assessed. Cargo.toml pins direct dependencies, and the README describes a lockfile and Rust toolchain, providing some availability support, but no offline or failure fallback is shown. anyhow errors are returned, failures attempt to write a trace, and the docs describe trace contents; more specific error categories or recovery guidance are not visible.

Adaptability12 / 18 · 3.3/5

The README clearly targets coding agents that can use a shell and covers local and several cloud CDP providers, observation, interaction, and debugging. The capability boundary says this is a browser command tool rather than a planning framework, while providing eval/CDP escape hatches; those escape hatches also broaden the action surface. Invocation is clear through explicit subcommands, opt-in stdin, and init-time copying of skill notes. Rust is required to build from source, and Chrome/Chromium reachable over CDP is required; prebuilt binaries for several platforms are described, but no broader browser or environment compatibility matrix is shown.

Convention10 / 18 · 2.8/5

The README is organized around installation, quick start, selectors, commands, cloud browsers, observability, and architecture, with many command examples. AGENTS.md gives an actionable workflow but differs from the visible CLI on inspect. Installation paths, toolchain requirements, and the command name are explained. The difference between project, crate, and binary names is explicit. Common commands and scripts are illustrated, but there is no FAQ. The README mentions selected robustness choices without systematically listing limitations. The complete MIT text supports full marks. A version and tag-triggered release workflow are visible, but the supplied material has no changelog. A repository address and copyright holder are present, while maintenance responsibility, support channels, and verified identity remain unclear.

Effectiveness9 / 13 · 3.5/5

Snapshot refs, compact text/JSON, scripts, and failure traces support shell workflows and Agent consumption, but the supplied material does not show every output mode in practice, so full marks are not justified. Stable refs, CDP access, event diagnostics, and cloud-browser support offer visible value over hand-written browser scripts. Installation and runtime costs are described, and the Rust CLI avoids a required long-running framework service; performance and cost are not quantified, and cloud services can add external costs, so the score is conservative.

Verifiability4 / 8 · 2.5/5

Many checkable README claims correspond to Cargo.toml, the visible CLI definition, the license, and the release workflow; however, main.rs and the test script are incomplete in the supplied material, and documented verification commands do not prove execution. The README, AGENTS.md, and source provide partial corroboration; the inspect-command discrepancy shows they are not fully aligned. Design intent and usage guidance are relatively clear, but claims about performance, stability, and success rates lack quantitative evidence, so fact and inference are only partially separated.

Risks and how to mitigate them
  • The tool has broad browser-control and raw CDP/eval capabilities; confirm the target browser and page are appropriate before using cloud sessions, uploads, or page scripts.
  • The README says failure traces may store daemon state and event, network, and console history; the supplied material does not describe sensitive-data filtering or automatic cleanup.
  • AGENTS.md recommends an inspect command that does not appear in the supplied CLI definition. The source and test materials are incomplete, so command availability and verification results cannot be confirmed.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision b352a1ac0171
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/browser-control.svg)](https://followagents.com/en/agents/browser-control)
<a href="https://followagents.com/en/agents/browser-control"><img src="https://followagents.com/badge/browser-control.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.1.1
  2. v0.1.0

FAQ

Does it include an LLM or require an MCP server?
No. It contains no LLM and has no MCP requirement; the host agent only needs to execute shell commands and consume text or JSON.
Can it attach to a browser that is already running?
Yes. Set BROWSER_CONTROL_CDP_WS or BROWSER_CONTROL_CDP_URL to the existing CDP endpoint and omit launch.
What diagnostic evidence is available after a failure?
By default, a command failure creates .browser-control/traces/<timestamp>/ containing the error and any available daemon state, event, network, and console history. BROWSER_CONTROL_NO_TRACE=1 disables this.
Is cloud execution tied to one browser provider?
No. Presets are supplied for Browser Use, Steel, Hyperbrowser, and Browserbase, and environment-variable overrides can describe another provider that returns a CDP URL.
Must users compile it from source?
No. It can be installed with cargo install browser-control-cli or downloaded as a prebuilt release binary. A Rust toolchain is required only for the documented source-build path.
Is browser-control free?
Yes. browser-control is free to use and does not need a paid service.
Is browser-control open source?
Yes. The source code is on GitHub (keon/browser-control) under the MIT licence.
Is browser-control safe to use?
FollowAgents' FARS review (Nov 08, 2026) scored browser-control 12/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is browser-control still maintained?
Development has slowed: the latest commit on GitHub is from 2026-08-27, within the last six months but not the last 30 days. The latest release is v0.1.1 (2026-06-21).
Who makes browser-control?
browser-control is published on GitHub by the account keon. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts