browser-use
Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
What is browser-use?
Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
Overview of browser-use
What it is
Browser Use is an open-source browser agent available as a Python and TypeScript library. It runs locally with any LLM, or on Browser Use Cloud, which provides stealth browsers and a hosted agent API. The README describes three paths: a fully hosted cloud, a CLI, and the Python library. The CLI and the Python library can each connect to a local or a cloud browser; the fully hosted API runs the agent as well as the browser.**
Key features
**
- Runs locally with a model of your choice, including
ChatOpenAI,ChatAnthropic,ChatGoogle, or the BU2 model throughChatBrowserUse. - Cloud browsers cost $0.02 per browser-hour plus network traffic and add stealth, residential proxies, CAPTCHA solving, and a live view URL.
- The agent supplies the Browser Use system prompt automatically;
extend_system_messageadds instructions andoverride_system_messagereplaces the default prompt. - Custom tools can be registered with
Toolsand the@tools.actiondecorator. - Toolsets for Claude implement all 31 browser actions and can drive a local browser, a Browser Use Cloud browser, or an existing remote browser over CDP; Bash is included for processing data and writing files.
- The CLI registers a skill so existing agents such as Claude Code, Codex, Hermes, OpenClaw, or Cursor gain browser access.**
Use cases
**
- Booking tasks such as finding an available slot, picking a date and time, handling a CAPTCHA, and booking a driving test.
- Running the same agent on a cloud browser in Docker, CI, and serverless environments without installing Chrome.
- Giving an existing coding agent browser access through the CLI, interactively or in scripts.
- Using Claude's browser toolset with Browser Use as the driver.**
Getting started
The Python library requires Python >= 3.11.bashuv add browser-useAdd OPENAI_API_KEY to .env; BROWSER_USE_API_KEY is optional for the BU2 model or a cloud browser. Run the agent script with uv run agent.py. The full agent.py example is in the repository README.
License and pricing
**MIT license. The library is open source. Cloud browsers cost $0.02 per browser-hour plus network traffic, and new Google, GitHub, or Microsoft signups get $1 cloud credit.
Based on the project's public README and repository metadata.