Learning resourcesReviewed · Browser Use

browser-use 1.0 Agent guide

The browser-use 1.0 Agent guide helps Python developers automate browser tasks with AI, but a completed run can still leave the task unfinished. It explains model and browser options, execution budgets, structured results, synchronous and asynchronous use, and cancellation.

Researched 13 Nov 2026

In short.

The browser-use 1.0 Agent guide is a reference for Python developers building AI browser automation, but completion status does not prove an external action succeeded. It documents an agent that generates and executes Python, with model-request budgets, time limits, configurable outputs and browser cleanup. It assumes a configured installation; minimum runtime requirements, licensing, total operating cost and real-world reliability are not established here. No code was executed.

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

Coverage is limited to the complete captured page at https://docs.browser-use.com/open-source/agent.md, including its introductory documentation and Cloud-service notices. All linked pages, documentation bundles, repository files, package contents and external pricing details are excluded. The captured page contains examples and behavioral descriptions, but installation, execution, accuracy, performance, security implementation and external-action success were not tested.

The overview

Identity

This is the Agent documentation page for the open-source browser-use library at [https://docs.browser-use.com/open-source/agent.md]. It explains the Python Agent interface and its execution lifecycle.

The page presents these APIs as part of browser-use 1.0. Its introductory notices also discuss the hosted Cloud service, whose browser-use-sdk has a different API from the open-source library.

Assessment

The guide is useful for understanding how to configure an Agent, limit its work and interpret its result. It gives unusually specific details about delivery attempts near budget limits, browser cleanup and the distinction between configuration exceptions and runtime error results.

It is a focused API reference rather than a complete installation tutorial. The supplied page provides no measured accuracy, latency or reliability results, so practical performance remains unassessed.

Users

The guide suits Python developers building browser-based information collection, extraction and summarization tasks. Beginners need enough Python knowledge to understand imports, functions and either synchronous execution or asyncio.

Experienced developers get details relevant to application integration: typed outputs, custom functions, model configuration, cancellation, resource cleanup and restrictions on simultaneous runs.

Capabilities

Agent accepts a natural-language task, a model, a browser and optional custom tools. Results default to strings, while output_model_schema can specify types such as a Pydantic model, a list of models or Literal values. sensitive_data is documented as allowing secret entry without exposing the values to the agent.

Other controls include optional web search, a working directory, reasoning settings and conversation compaction after history exceeds 75% of max_context_chars. Setting use_vision=False prevents screenshots from reaching the model. Visible action highlights can be disabled independently.

Using it

Requirements

Using the examples requires Python, an installed browser-use package, a supported model and a working browser configuration. The documented defaults are bu-fast for the model and Browser() using a cloud browser. Missing required API credentials raise MissingAPIKeyError.

The model argument also accepts the listed OpenAI, Anthropic and Google wrappers, or a Pydantic AI model string or Model. Minimum Python version, operating-system support, dependency versions and complete credential setup are not specified on this page.

Mechanism

Each step is one model request. The agent writes a Python cell using browser helpers and raw Chrome DevTools Protocol commands, executes it in a persistent Python environment and reads the output. It ends by delivering a result.

run() defaults to max_steps=100 and timeout=1700 seconds. The timeout covers the agent loop, excluding browser startup and shutdown. The last budgeted step is reserved for delivery, with one possible delivery-repair request afterward. Time-based delivery starts at 90% of the timeout, or up to 30 seconds before the end for timeouts below 300 seconds.

Setup

Create Agent with a non-empty task and any model, browser, tool or output options. Pass max_steps and timeout to run() or run_sync(), rather than to the Agent constructor. Constructor arguments after llm are keyword-only.

Use await agent.run() in asynchronous code and notebooks with a running event loop; run_sync() raises inside such a loop. An async with block closes the agent and browser on exit. Explicit cleanup uses close() or close_sync(). The browser normally stops when run() ends unless Browser(keep_alive=True) is supplied.

Example

The opening example asks Agent to open [https://news.ycombinator.com] and return the titles of the top three stories. It appends an instruction to answer as a numbered list, then awaits agent.run(max_steps=30, timeout=300) and prints result.status and result.final_result().

This illustrates a specific starting address, a bounded output and explicit execution budgets. The page supplies example code, not observed output from that example; its accuracy, runtime and cost are unknown.

Assessment & evidence

Limitations

A completed status means the agent delivered a result, which may report unfinished work. is_done() checks completion; is_successful() reflects the agent's own success verdict and can return None. Important external actions therefore require independent verification. A run that fails to deliver within its budget can return max_steps or timeout with a partial result.

Only one run can execute per Agent, and only one running Agent can use a Browser. Configuration errors raise before browser startup; later failures generally return status='error' with result.error. Cancellation still raises CancelledError and stops the browser. Cancelling is not the documented way to obtain a partial result.

Removed 0.x options may raise TypeError, while some older tuning options are ignored with warnings. Execution isolation, secret-protection implementation and resistance to hostile webpage content are not established here.

Fit reasoning

The guide's practical value is its explanation of boundaries that affect application behavior: model-call budgets differ from elapsed-time limits, browser startup falls outside the loop timeout, and delivery differs from task success. These details help developers decide how to schedule work and validate results.

It is most useful when the reader already has, or can obtain, the installation and provider configuration elsewhere. It cannot establish whether a particular website or business process will work reliably.

Alternatives

Within the documented interface, developers can choose synchronous or asynchronous execution, string or typed output, and different supported models. The bu-fast, bu-ultrafast and bu-smart aliases default to medium, low and high reasoning respectively; the page provides no comparative performance measurements.

The introductory notices also describe the hosted Cloud API as a separate integration route. Its SDK and API should not be treated as interchangeable with the Agent interface shown here. Competing browser-automation libraries are not compared.

Evidence

The supporting source is the complete captured documentation page at [https://docs.browser-use.com/open-source/agent.md], including its introductory notices, option table, Python examples and execution semantics.

These are documentation claims. No executable package, repository implementation, benchmark results or runtime logs are supplied. Linked model, browser, output, billing and migration references are outside the available evidence. Nothing was executed.

Access & freshness

Costs

The total cost of running the guide's examples is unknown. The default browser is cloud hosted, and the introductory notices describe pay-as-you-go billing. They state that using a customer's own provider key bills provider tokens separately, alongside Browser Use orchestration and browser/network charges.

The notices describe a $100 one-time credit top-up unlocking 50 concurrent browsers and quote $3 plus traffic for 50 browsers running for one hour. These hosted-service figures do not establish the full cost of an Agent task. Model-specific rates are absent, and API-key monthly spending caps are described as soft limits. The page directs readers to [https://browser-use.com/pricing], whose contents are outside this page.

Rights

The page calls the library open source but supplies no license text or explicit redistribution grant for either the software or this documentation. Specific commercial-use, modification, attribution and redistribution terms are unknown from the supplied page.

It also does not establish rights to collect or reuse content from websites an agent visits.

Freshness

The page was captured on 13 November 2026 at 09:48:10 UTC. No publication date or last-modified timestamp is supplied.

It identifies the main open-source documentation as 1.0 and separate /open-source/legacy/0.x/ pages as covering browser-use versions below 1. The exact package release corresponding to the examples, and changes after capture, are unknown.

Next actions

Before implementation, establish the package version, installation requirements, provider credentials, applicable license and current usage rates. Keep open-source Agent configuration separate from hosted Cloud SDK examples.

For an initial task, specify the starting address, desired output and what to do if login is required. Set explicit run budgets, keep secrets out of the task text and inspect completion separately from success. Independently confirm important external actions and use the documented cleanup methods.

Evidence for this report

selected-page.txtselected · checked 2026-11-13