Skip to content

feat: Browser Use CLI - #361

Open
laithrw wants to merge 1 commit into
andrewyng:mainfrom
laithrw:browser-use-cli
Open

feat: Browser Use CLI#361
laithrw wants to merge 1 commit into
andrewyng:mainfrom
laithrw:browser-use-cli

Conversation

@laithrw

@laithrw laithrw commented Jul 30, 2026

Copy link
Copy Markdown

Replaced Playwright and the ten browser_* tools with the Browser Use CLI. The agent writes and executes Python in the browser to complete complex actions and tasks.

On our benchmark, with this change, OpenWorker's accuracy on difficult, long-running, web-based tasks went 53.8% -> 77.4%.

openworker-browser-integrations

Also:

  • installs the CLI on first use (uv, pipx fallback), pinned to a version
  • it can create files, for example a CSV based on data it scraped, and they display in the chat
  • only sensitive browser steps prompt for approval
  • nice labels explaining each step it takes

Playwright and the ten browser_* tools are gone. just browser_exec: model-written Python against a real browser, helpers pre-imported, in one long-lived session so variables carry between calls.

- installs the CLI on first use (uv, pipx fallback), pinned
- screenshots come back as images the model can see, not just files on disk
- files the code writes land in the chat's scratch dir, so they show in
  Artifacts and die with the chat
- browser steps don't prompt for approval; still audited as medium-risk writes
- steps show the model's own `#` comment as the label, never raw code
- ships Browser Use's guidance as a built-in skill
- cloud browsers behind browser_backend = "cloud", off by default
@laithrw
laithrw marked this pull request as ready for review July 30, 2026 23:41
@laithrw laithrw changed the title Swap the browser tool for the Browser Use CLI feat: Browser Use CLI Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant