Open-source browser agent that completes tasks in a real browser by writing Python against Chrome DevTools Protocol. Runs on any LLM, locally or on Browser Use Cloud, adding stealth browsers and a hosted agent API
Overview
Browser Use is a browser agent: you give it a task, and the model carries it out in a real browser by writing Python in a persistent REPL, using browser-harness helpers and raw Chrome DevTools Protocol (CDP) calls. It is available as a Python library, a CLI that gives existing coding agents such as Claude Code or Codex browser access, and a fully hosted cloud API.
The Python library lets you pick the browser: a Browser Use Cloud browser by default, a fresh local Chrome/Chromium/Edge with a temporary profile, the Chrome you already have open with your logins, or a copy of one of your Chrome profiles. Models can be the default bu-4.0 on the Browser Use gateway, Anthropic, Google, or any Pydantic AI model string. Local models such as Ollama can be used through an OpenAI-compatible interface.
Library features include typed structured output, file uploads and downloads through a workspace folder, domain allow and block lists, custom tools written as plain functions, follow-up tasks on the same page, an optional web search tool, and a judge step that scores each run and returns lessons about the sites visited. Passwords can be passed as sensitive data and are redacted from outputs and traces. Anonymous telemetry can be turned off.
Browser Use Cloud is the paid hosted side: stealth browsers with CAPTCHA solving and residential proxies, priced per browser hour, and an agents API that returns JSON for a task. Enterprise options listed include SOC 2, HIPAA, EU data residency, SSO, audit logging, and on-prem or VPC deployment. The library itself is free; model inference and hosted browsers are billed separately.
Key features
- Agent writes Python in a persistent REPL over CDP
- Runs on local Chrome/Chromium or cloud browsers
- Works with Anthropic, Google, Pydantic AI models and local models
- Typed structured output
- File uploads and downloads
- Domain allow and block lists
- Custom tools as plain functions
- Post-run judge with success report
Use cases
- Automating tasks behind login walls
- Booking appointments and filling web forms
- Web scraping and data collection
- Giving coding agents browser access
- Running stealth browsers at scale