All posts
Open Source & Dev Tools

browser-use 1.0.3 First Run, Checked Offline

2026-11-13 sandbox first run (raw JSON): browser-use 1.0.3 ran import (1.586ms), CLI help (13.107ms), and keyless Agent init (1099.467ms) cleanly; live runs need an API key or browser (unverified).

Nov 13, 2026 5 min read

In a 2026-11-13 isolated first run (raw data (JSON)), browser-use 1.0.3 passed package import (median 1.586ms), CLI help (13.107ms), and keyless Agent object creation (1099.467ms) with no errors (none). However, actual browser control and LLM calls require an API key or a local browser connection, so whether they run could not be verified in the offline sandbox.

What browser-use is and the 1.0.3 release context

The browser-use GitHub repository is an MIT-licensed open-source tool in which an LLM operates a real browser by calling the Chrome DevTools Protocol (CDP) and browser-harness helpers from a persistent Python REPL when given a natural-language task. According to the official README, it provides a hosted cloud API, a CLI that attaches to existing coding agents, and a Python library path for direct code integration.

With both the repository's recent push and the 1.0.3 release notes arriving on 2026-11-12, CLI and container-environment compatibility received focused updates. This patch fixed an issue where --cli-mcp crashed with an exception group error when a client closed the pipe first, and changed the CLI so that when there is no browser with remote debugging enabled or no display, it launches its own Chromium and preserves state across calls.

It also reduced the wait time for an unresponsive BU_CDP_URL, enabled connecting via DevToolsActivePort even to Chrome running in a different PID namespace such as a container, and adjusted download copying for canceled cloud runs to finish quickly. Another 1.0.3 change is that when a legacy ActionResult has multiple ignored fields, warnings are now logged for all of them rather than only the first item.

README guidance and offline first-run results

README usage: The official README instructs users to create a virtual environment, install with an exact pinned version (==), set BROWSER_USE_API_KEY, and call Agent(...).run_sync().

python3 -m venv .venv && source .venv/bin/activate
pip install 'browser-use==1.0.3'
export BROWSER_USE_API_KEY=bu_...

Verified in this environment: On 2026-11-13, measurements were repeated 5 times in an offline Ubuntu 24.04.4 LTS (aarch64, Neoverse-N1 x2, CPUQuota 150%, 2048 MB memory, Python 3.12.3) sandbox without network access, a browser, or BROWSER_USE_API_KEY (raw data (JSON)). The full installation step, including creating the virtual environment, took 24.5 seconds, and the total size of the installed virtual environment was 169642815 bytes.

MetricMedianMinMaxSuccess IndicatorError Name
import browser_use (ms)1.5861.4581.6021none
browser-use --version (ms / 43 bytes)33.98732.87734.8361none
browser-use --help (ms / 1684 bytes)13.10712.88613.9551none
Agent(...) call (ms / 58 bytes)1099.4671075.0331292.0121none

In the actual measurements, the verification script only called the Agent("Find the number of stars of the browser-use repository") constructor and did not call .run_sync() or await agent.run(). As a result, even without a key or network access, Agent instance initialization threw no exception and returned agentOk 1, error none, and a 58-byte object representation; whether actual browser launch and LLM requests succeed can only be confirmed by running .run_sync().

The difference in initialization latency is also clear. While package import is lightweight at a median of 1.586 ms and CLI help output takes 13.107 ms, creating a single Agent object alone took 1099.467 ms (up to 1292.012 ms). If an architecture spawns a new Python process per request and creates an Agent each time, it must pay an initialization cost on the order of 1099.467 ms per call before even opening a browser.

Default execution pattern and browser connection modes

The default Python execution code presented by the official README is concise. When no extra arguments are passed, it connects the default gateway model and a Browser Use Cloud browser, and closes the browser once execution finishes.

from browser_use import Agent

result = Agent('Find the number of stars of the browser-use repo').run_sync()
print(result.final_result())

According to the guide, when you want to use a local environment or a different model provider, you can branch by specifying Browser and a model class. Browser('chromium') launches a new local Chromium with a temporary profile and runs headless if no display is present, while Browser('chrome') attaches to an existing Chrome session with remote debugging enabled and reuses its logged-in state. On the model side, in addition to built-in classes like ChatOpenAI, ChatAnthropic, and ChatGoogle, it supports local OpenAI-compatible servers such as Ollama and Pydantic AI model strings, and lets you receive structured output via output_model_schema or register custom actions with @tools.action.

Comparison with other browser tools and selection criteria

The Browser Use official homepage publishes task-throughput-per-token metrics comparing its Browser Harness against agent-browser, Playwright MCP, and Chrome DevTools MCP. However, those figures are results published by the vendor from its own test suite, and other tools were not run directly for comparison in this isolated environment, so it is safer to base your choice on differences in architecture and integration approach.

Tool and PathControl MechanismWhen Its Strengths ShowWhen to Avoid
browser-use Python libraryLLM runs Python and CDP in a persistent REPLApp backends needing output_model_schema, custom tools, and fine-grained hooksSimple scraping solvable with fixed selectors alone
browser-use CLI / Playwright MCP / Chrome DevTools MCPConnects browser control to an existing coding agentDropping directly into agent workflows such as Claude Code, Codex, or HermesWhen strongly typed control per Python function is needed without a standalone server
Browser Use Cloud (Hosted)Hosts stealth browsers, proxies, and CAPTCHA solvingOffloading bot-detection bypass or local Chrome profile managementIntranet-only sites or environments prohibiting external data egress

The browser-use library fits well when you need to parse browser task results directly into a Pydantic schema inside a Python backend or mix custom Python functions as actions. Conversely, if you already run an MCP-compatible agent and have no reason to maintain a separate Python app, Playwright MCP, Chrome DevTools MCP, or the browser-use CLI path reduces adoption friction.

Operational constraints and limitations to check before adoption

Although the license itself is MIT and free, actual operating costs must be calculated separately. Unless you pair Browser('chromium') locally with a local model, using the default gateway model or cloud stealth browsers entails BROWSER_USE_API_KEY and separate usage-based billing.

Security boundaries are another area where the official documentation draws a clear line. According to the official README, allowed_domains and sensitive_data are guards to assist aligned models rather than an isolation sandbox, so Python code written by the model can access secrets or make Python network calls outside http_get, and GitHub security advisories also record a past advisory on bypassing allowed_domains. In particular, because local Browser('chromium') and profile-cloning mode open an unauthenticated debugging port on the local loopback address, they must be isolated with containers or cloud browsers on shared servers or multi-user machines.

Maturity and version-management overhead should also be considered. Because of rapid API changes, the official documentation itself recommends exact version pinning such as browser-use==1.0.3 instead of >=, and the GitHub issues list still has open issues including Windows cloud download filename handling, a nested sensitive_data masking bug, --version printing the browser-harness version, and security profile reset behavior when the MCP server fails to parse config.json. If you handle untrusted task instructions, it is safer to design container isolation, version pinning, and key/network verification for the actual .run_sync() stage together before adopting it.

Experiment conditions
OS
Ubuntu 24.04.4 LTS
Processor
Neoverse-N1 x2, CPUQuota 150%aarch64
Memory
2,048 MB
Runtime
Python 3.12.3
Tool tested
browser-use 1.0.3
Repeats
5×
Measured on
2026-11-13
#open-source#browser-use#browser-automation#ai-agent#python#cdp
Robeedau

Written by AI from public sources; numbers and claims are checked against those sources before publishing.