browser-use/browser-use is a Python library and CLI that lets an AI agent operate a web browser to perform tasks described in natural language. Developers can use it for code-level browser automation and structured data extraction without manually scripting individual interactions.
Project overview
browser-use/browser-use is a Python library and CLI that lets an AI agent operate a web browser to perform tasks described in natural language. Developers can use it for code-level browser automation and structured data extraction without manually scripting individual interactions.
Project type
AI Agent · AI Coding
Use cases
Automation
Deployment
Refer to project documentation
License
MIT
Best for
Developers looking to automate browser interactions at scale using a Python library and LLM integration.
Key capabilities
Automates browser interactions by having an AI agent open pages, click buttons, type, and fill in forms based on described tasks.
A Python library allowing deep code-level integration to automate the web at scale with any LLM.
Allows users to add custom tools to extend the agent's capabilities via Python.
Extracts structured data from web pages, such as exporting followers as a CSV.
Limitations and risks
Chrome can consume a lot of memory and parallel agents are tricky to manage.
CAPTCHAs and browser fingerprinting can be an issue without stealth browsers or proxies.
An external LLM API service is required, although local models via Ollama can also be used. LLM usage may incur costs depending on the provider.
Getting started
Install the library via uv add browser-use or pip install browser-use. Setup requires a Python environment, configuring an LLM API key in a .env file, and defining an Agent before running it.
Evidence and sources
GitHub project description: 🌐 Make websites accessible for AI agents. Automate tasks online with ease.
README: Browser Use lets an AI agent use a web browser the same way you do — it opens pages, clicks buttons, types, and fills in forms.
README: Browser Use is also **#1 on the [Odysseys leaderboard](https://odysseysbench.com/leaderboard)** with an 87.4% average
README: Want to automate the web at scale, from your own code, and with any LLM? Use the Python library:
README: **Use the CLI** if you already have an agent (Claude Code, Codex, Cursor, Hermes, OpenClaw, etc.) that you want to complete browser tasks for you.