Code librariesReviewed · browser-use

Browser Use

Browser Use is an open-source Python library (with a CLI and an optional paid hosted cloud) that lets an AI model complete tasks in a real Chrome browser, aimed at developers building browser agents; its main catch is that it is explicitly not a sandbox and its default setup depends on paid Browser Use Cloud services. The model works in a persistent Python REPL using browser helper functions and raw Chrome DevTools Protocol (CDP), and the README says it runs with any LLM, locally or on Browser Use Cloud, under the MIT licence.

Researched 13 Nov 2026

In short.

Browser Use is an open-source Python library (plus a CLI and an optional paid hosted cloud) that lets an AI model carry out tasks in a real Chrome browser, aimed at developers who want to build browser agents; the main catch is that the README says it is not a sandbox, and the default setup uses paid Browser Use Cloud services. According to the README, the agent is just a model, a persistent Python REPL and CDP: the model writes Python cells, the REPL runs them on Chrome, output goes back to the model, and the run ends with finish(result). The README pins version 1.0.3, requires Python 3.11 or newer, supports local Chrome or Chromium and cloud browsers, and carries clear warnings about secrets, local debugging ports and domain restrictions. This analysis is based only on the README and the MIT LICENSE file; nothing was run, and benchmark results, hosted pricing beyond what the README states, and real-world reliability are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covered: the single README.md at [https://github.com/browser-use/browser-use/blob/main/README.md], read in full at commit 48d9fe008bb98a8959279b495518652dfb934d6b, together with the repository's MIT LICENSE file at the same commit as the licence notice. Not covered: the linked documentation, MIGRATING.md, the benchmark repository and its figures, the source code, browser-harness, the MCP server, the hosted services' terms and pricing pages, release history, and the images and demo video in the README. Nothing was installed or executed, so no behaviour, performance or benchmark result is verified; statements are what the README says.

The overview

What this is

Browser Use is described in its README as the open-source browser agent. You give it a task in plain language and the model does it in a real browser by writing Python. The project is published at [https://github.com/browser-use/browser-use] under the MIT licence, with copyright held by Gregor Zunic (2024). The README names Magnus Müller and Gregor Žunič as the citation authors.

The README presents three ways to use it: a fully hosted cloud agent and browser (Path 1), a command-line tool that gives an existing coding agent browser access (Path 2), and the open-source Python library you run from your own code (Path 3). This report concentrates on the Python library because that is the part the README documents in the most detail, and it also covers the other two paths where the README does.

Assessment

On the evidence of the README alone, this is a substantial project with a clear install path, a short, untested example, many documented options, and unusually frank security caveats. Maintenance activity is unknown from the retained README and licence. It is a good fit for developers who want an LLM to operate a browser and are willing to run it in a contained environment.

Its main catches are these. The README says outright that secret handling and domain restrictions are guards for a well-behaved model, not a sandbox. The default configuration needs a Browser Use API key and uses paid cloud services. The README also warns that releases move fast and can break APIs. How well the agent performs on real tasks is not established by this evidence: the README shows a benchmark chart as an image and links to a benchmark repository, but the numbers were not read or checked, and nothing was run.

Who it is for

Python developers who want to build an application or script in which an LLM operates a web browser: filling forms, navigating sites, extracting data, or booking appointments (the README's demo is booking a driving test). The README says the agent accepts typed results, file uploads and downloads, custom tools and follow-up tasks, which points to programmatic use inside larger applications.

People who already use a coding agent such as Claude Code, Codex, Hermes, OpenClaw, Pi or Cursor can use the CLI path to give that agent browser access. Teams that do not want to run browsers or the agent themselves are pointed to the hosted Cloud API.

It is less suited to anyone who needs a hard security boundary around the agent. The README does not claim to provide one, and says its secret handling and domain restrictions are not a sandbox.

What it can do

Per the README, the agent drives a real browser through CDP and can click, type, run JavaScript, open tabs and take screenshots. It can return typed results with output_model_schema and result.structured_output, upload files with upload_file(selector, path) (including on cloud browsers), and collect downloads into agent.workspace/downloads, listed in result.downloads.

Other documented options: sensitive_data and type_secret for passwords scoped to a domain; allowed_domains, prohibited_domains and block_ip_addresses; add_new_task for follow-ups with Browser(keep_alive=True) to keep the same page; custom tools registered with @tools.action; a mode='ultrafast' that acts on accessibility-tree ids; orange action highlights that can be turned off; and an optional web search tool (web_search=True) billed per search to your Browser Use key.

Browser modes: Browser() is a Browser Use Cloud browser (the default); Browser('chromium') is a fresh local Chrome, Chromium or Edge with a temporary profile; Browser('chrome') drives the Chrome you already have open with your logins; Browser('chrome', profile='Work') uses a temporary copy of a named Chrome profile. The README says cloud browsers solve CAPTCHAs automatically, and that the agent uses solve_captcha() to wait for the solver instead of clicking the challenge. It also says results depend on the site and challenge, and that no browser configuration guarantees every CAPTCHA can be avoided or solved. It also says there is an MCP server that the same API key works with, though the MCP setup details are not in the README.

Using it

Requirements

The Python library needs Python 3.11 or newer, installed with uv or with pip inside a virtual environment. The README gives the pinned version as browser-use==1.0.3.

The default setup needs a Browser Use API key in BROWSER_USE_API_KEY, which pays for both the model (the bu-fast gateway model) and the cloud browser. If you use your own model through a hosted provider, you may need that provider's credentials, for example OPENAI_API_KEY for ChatOpenAI. The README also documents running a local model through Ollama, so paid-provider credentials are not a universal requirement. ChatAnthropic and ChatGoogle are built in, and any Pydantic AI model string can be used after installing the matching extra, such as pydantic-ai-slim[groq]. For a local browser you need a Chrome, Chromium or Edge install. To attach to your open Chrome you must turn on chrome://inspect/#remote-debugging once.

Hardware needs, supported operating systems beyond the Windows note in the README, and the full dependency list are not stated in this file and are unknown.

How it works

The README summarises the design as a model, a REPL and CDP. A task goes to the model, which writes a code cell (for example new_tab(url); bu.click(41); js(...)). A persistent Python REPL runs that cell against Chrome through the Chrome DevTools Protocol, using helpers from the separate browser-harness project, and the output goes back to the model. This repeats until the model calls finish(result). The library is built on Pydantic AI.

Because the model writes arbitrary Python rather than choosing from a fixed tool list, the README warns that model-written Python can read secrets passed to the agent, and that the domain restrictions do not filter everything the agent's own Python can do on the network. The README introduces this REPL and CDP architecture under the browser-use 1.0 heading and directs users coming from 0.x to MIGRATING.md, which was not read.

Setup

Library: create a project with uv (uv init --python 3.12 my-agent, then cd my-agent, then uv add 'browser-use==1.0.3'), or create and activate a virtual environment and install with pip (python3 -m venv .venv, then source .venv/bin/activate, then pip install 'browser-use==1.0.3'). Then export BROWSER_USE_API_KEY=bu_..., obtained from the Browser Use Cloud site. A .env file also works, according to the README.

CLI: the README gives a prompt to paste into a coding agent. It tells the agent to run uv tool install browser-use==1.0.3, then browser-use skill install to register the skill, then connect to your browser. If setup fails, it suggests browser-use --doctor. Installing a skill into an existing coding agent gives that agent browser control, so review what you are granting first.

Hosted: the README links to a Cloud API quickstart, which was not read. These steps come from the README; none were run.

Example

The README's minimal example uses the defaults (the bu-fast model and a Browser Use Cloud browser): from browser_use import Agent, then result = Agent('Find the number of stars of the browser-use repo').run_sync(), then print(result.final_result()).

The local-browser, own-model example is: from browser_use import Agent, Browser, ChatOpenAI, then agent = Agent('Find the number of stars of the browser-use repo', llm=ChatOpenAI('gpt-6-luna'), browser=Browser('chromium')), then print(agent.run_sync().final_result()). In async code, use await agent.run(). The model name gpt-6-luna is taken from the README and was not verified. These examples were not run for this report, so their output is unknown.

Assessment & evidence

Limitations and risks

Not a sandbox. The README says sensitive_data is not a sandbox: model-written Python can read secret values, and screenshots, js() reads of a field and a cloud live view can reveal them. Redaction covers cell output, checkpoints, tool results, the task and the result.

Local debugging port. Browser('chromium') and Browser('chrome', profile=...) open an unauthenticated debugging port on 127.0.0.1. On a shared machine, other local users can attach to that browser and its logins; the README recommends a container or Browser Use Cloud there. Browser('chrome') uses your real logged-in browser, so an agent mistake could act on real accounts.

Domain restrictions are a guard, not a boundary. Requests made by an allowed page to other hosts (fetch, images, iframes) are not filtered, nor is the agent's own Python networking beyond http_get and its redirects. In Browser('chrome') attached to your open Chrome, main-frame navigation blocking does not apply. web_search cannot be combined with allowed_domains. The README advises running untrusted tasks in a container or VM.

Stability and results. The README warns releases can break APIs and says to pin exactly. CAPTCHA and bot-detection outcomes depend on the site, and the README says no configuration guarantees every CAPTCHA can be avoided or solved. Reliability on your own tasks, latency, and failure behaviour are not assessed. Unattended agents acting on websites also raise questions about site terms and unintended actions that the README only partly addresses.

Reasoning

The assessment rests on what the README states. The strengths are concrete: a specific architecture, exact install commands, a pinned version, a runnable-looking minimal example, a table of browser modes, and documented behaviour for secrets and domain controls. The README is also unusually open about where its protections stop, which makes it more trustworthy as a guide to risk than a README that only promotes features.

The weaknesses are those of a README. It is partly a product page for the paid Browser Use Cloud, and several claims (benchmark results, the price per browser-hour, model quality) come from the project itself and were not independently confirmed. Source code, tests, release notes, issue history and the linked documentation were outside what was read, so code quality, security posture beyond the README's statements and release cadence are unknown.

Alternatives and choices within the project

The README does not compare Browser Use with other tools, so no comparison is claimed here. External alternatives were not assessed.

Within the project, the README offers three routes. The hosted Cloud API suits teams that want Browser Use to run the agent, browser and infrastructure. The CLI suits people who want to add browser access to an existing coding agent. The Python library suits developers who want custom tools, typed output and their own choice of model, optionally with a local browser and local model to avoid cloud charges. The README also lists related repositories: Browser Use Pi (a TypeScript browser agent), a Cloud SDK, a benchmark, a macOS harness and Video Use.

Evidence base

This report is based on two files at commit 48d9fe008bb98a8959279b495518652dfb934d6b of the browser-use/browser-use repository: README.md (18,508 bytes) and LICENSE (1,069 bytes, standard MIT text). Every claim about features, setup, costs and caveats comes from the README. The licence terms come from the LICENSE file.

Not examined: the source code, MIGRATING.md, the documentation site, the benchmark repository and its numbers (the chart is an image), the demo video, browser-harness, the MCP server, the Terms of Service and Privacy Policy, release notes and issues. Nothing was installed or executed, so no behaviour described here has been tested.

Access & freshness

Costs

The README says the Python library is free and MIT-licensed, but model inference and hosted browsers are separate and charged by usage, whether by API providers, ChatBrowserUse or Browser Use Cloud. New Google, GitHub or Microsoft signups get $1 of cloud credit, per the README.

A note in the README states a price of $0.06 per browser-hour for the cloud browser, and says enterprise customers can get cheaper prices with a commitment. Web search is billed per search to your Browser Use key and added to result.cost_usd. Prices for the bu-fast, bu-ultrafast and bu-smart gateway models, for the hosted agent API and for residential proxies are not stated in the README, so they are unknown.

You can avoid Browser Use charges by running Browser('chromium') with your own model. The README gives a local Ollama example that uses ChatOpenAI pointed at the local Ollama endpoint [http://localhost:11434/v1]. Your own provider costs or hardware costs then apply, and are unknown here. Because the default run uses a paid cloud browser and gateway model, expect charges once the $1 credit is used.

Rights and licence

The LICENSE file is the standard MIT licence, Copyright (c) 2024 Gregor Zunic. It allows use, copying, modification, merging, publishing, distribution, sublicensing and selling of copies, provided the copyright notice and permission notice are included in all copies or substantial portions. The software is provided as is, without warranty. The README confirms the open-source library is MIT licensed.

The MIT licence covers the open-source library. The README says Browser Use services and data policy are governed by separate Terms of Service and a Privacy Policy, which were not read here. Anything you send through the hosted cloud, such as tasks, page content, recordings and profiles, would fall under those terms, which are unknown to this report. Also check the terms of any website your agent visits and of your LLM provider.

Freshness

The README refers to browser-use 1.0.3 and directs users coming from 0.x to a migration guide, MIGRATING.md. The README and LICENSE were captured on 13 November 2026 at commit 48d9fe008bb98a8959279b495518652dfb934d6b. The README text itself carries no release date or changelog, so the release date of 1.0.3 and whether it is still the latest version are unknown. The README says releases move fast and can break APIs, so details here (model names, option names, prices and the $1 credit offer) may change; check the current README, release notes and documentation before relying on them.

Suggested next steps

Pin the exact version (browser-use==1.0.3 or whatever is current), as the README insists, and read MIGRATING.md and the release notes before upgrading. Try a first run with Browser('chromium') in a container or VM and a low-stakes task, rather than attaching to your everyday Chrome with its logins.

Set allowed_domains for the sites the task needs, and treat it as a guard rather than a security boundary. Keep real credentials out of early experiments, and use throwaway or least-privilege accounts. Set a spending limit with your model provider, and check the Browser Use Cloud pricing and Terms of Service before depending on the default cloud setup. If you give the CLI skill to an existing coding agent, review what browser access that grants. Measure reliability on your own tasks, since the README's benchmark claims were not checked.

Evidence for this report

LICENSEnotice · checked 2026-11-13
README.mdselected · checked 2026-11-13