Skip to main content
Every parameter browser-use 1.0 takes, in signature order, with its exact default. CI checks these tables against the library’s signatures (scripts/check_oss_params.py in the docs repo), so a parameter added, removed or changed in the library fails that check until this page matches. A parameter that is not on this page raises a TypeError before any browser starts. When it was a 0.x option, the error names the replacement. See Migrating.

Agent

Agent(task, llm=None, *, ...). Everything after llm is keyword-only. Guide: Agent.

Accepted from 0.x

These 0.x options are accepted, log a warning and do nothing, so old code keeps running. The one exception is use_vision=False, which is honored: no screenshot reaches the model. use_vision, vision_detail_level, llm_screenshot_size, flash_mode, use_thinking, max_failures, max_actions_per_step, final_response_after_failure, highlight_elements, use_judge, calculate_cost

run() and run_sync()

await agent.run(...) and agent.run_sync(...) take the same budgets and return an AgentHistoryList. Details: Agent: run(). Other Agent methods: await agent.close() / agent.close_sync() stop the agent and its browser. agent.workspace is the workspace path.

Browser

Browser(kind=None, *, ...). Everything after kind is keyword-only. Guide: Browsers. Options that don’t fit the browser raise ValueError (for example headless on a cloud browser, profile on 'chromium'). The cloud_* options, live_view and captcha_solver=False raise on a local browser. await browser.start() starts it ahead of run(). await browser.stop(...) stops it:

Models

Guide: Models.

ChatBrowserUse

'bu-fast' and the other 'bu-*' strings are shorthand for ChatBrowserUse('bu-...').

ChatOpenAI

ChatAnthropic

ChatGoogle

Any other argument to a model class raises TypeError. For other model settings, pass a Pydantic AI Model built with settings=... (see Models).

Tools

Guide: Tools.

@tools.action

Tools() takes no arguments. @tools.action(...) registers a function:

ActionResult

What a tool can return. The model sees it as JSON. is_done, success, attachments and images are 0.x fields that raise; include_in_memory and include_extracted_content_only_once are ignored with a warning. See Tools: Rules.