Browser Use AI Agent: Automate Web Chores and Forms, Safely
Browser Use is an open-source AI agent that browses, researches and fills forms for you. How it works, how to start, and the guardrails for logins and payments.

Some web chores are pure repetition: checking the same five product pages for price changes, collecting details from a dozen sites, filling the same form again and again. Browser Use is a popular open-source library that lets an AI agent do these tasks in a real browser. This guide explains how it works, how to get started, which chores it suits, and the guardrails you need around logins and payments.
What is Browser Use?
Browser Use (browser-use/browser-use on GitHub) is an MIT-licensed Python library for AI browser agents. It had about 121.6k stars when I checked in November 2026, and its README describes the current version as 1.0.
The idea is simple: you give the agent a task in plain language, and the model completes it in a real browser. Under the hood, the model writes Python in a persistent session, using helper functions and the Chrome DevTools Protocol to control the page.
There are three ways to use it:
- Python library: run the agent in your own code, with your choice of model and custom tools.
- CLI: give an existing coding agent such as Claude Code or Codex access to a browser.
- Browser Use Cloud: a paid hosted service that runs the agent and the browser for you.
How Browser Use works: a quick start
The README requires Python 3.11 or newer and pins an exact version (it advises ==, not >=). With uv:
uv init --python 3.12 my-agent && cd my-agent
uv add 'browser-use==1.0.8rc1'
uv run browser-use login
Or with pip in a virtual environment:
python3 -m venv .venv && source .venv/bin/activate
pip install 'browser-use==1.0.8rc1'
browser-use login
The login step connects a Browser Use Cloud API key, because cloud browsers are the default. If you want everything on your own machine with your own model, the README shows a local setup:
from browser_use import Agent, Browser, ChatOpenAI
agent = Agent(
'Find the number of stars of the browser-use repo',
llm=ChatOpenAI('gpt-6-luna'),
browser=Browser('chromium'),
)
print(agent.run_sync().final_result())
Browser('chromium') starts a fresh local browser with its own temporary profile. Version numbers and model names change quickly, so copy the current command from the README rather than from this article.
Which models can it use?
- Browser Use's own hosted models (
bu-4.0, with-miniand-provariants). - Built-in support for Anthropic and Google models, plus OpenAI-compatible models.
- Any Pydantic AI model string, and local models through an OpenAI-compatible server such as Ollama.
What does the cloud cost?
The README lists cloud browsers at $0.06 per browser-hour, and the website lists web agent tasks at about $0.006 per task at the median, with $1 of free credit to start. Prices change, so check the official pricing page.
Good chores for a Browser Use AI agent
Start with low-risk, read-only tasks where a mistake costs nothing:
- Research: "Open these 10 competitor pages and list each one's headline, main offer and price."
- Price checks: "Check the listed price on these product pages and tell me which changed since yesterday's list."
- Data collection from public pages: event dates, opening hours, public contact pages.
- Testing your own site: "Go through the contact form on my staging site and report any errors."
- Repetitive form filling with your own data, such as entering the same product details into your own admin panel, once you've tested it carefully.
Write tasks like a brief: the exact pages, what to collect, the format you want, and when to stop. Structured output (for example, a fixed list of fields) makes results easier to check.
The guardrails: logins, payments and personal data
Browser agents are powerful because they can act. That's also the risk. The README is unusually honest about this, so follow its warnings.
1. Don't hand it your everyday browser
Browser('chrome') uses your open Chrome with your logins. Avoid this for anything experimental. Use a fresh Browser('chromium') profile or a separate account with nothing sensitive in it.
2. Treat secrets carefully
Browser Use has a sensitive_data option that lets the model type a password without seeing its value, and it redacts those values from output. But the README states it is not a sandbox: model-written Python can read secrets, and screenshots or a cloud live view can reveal typed values. Use test accounts where you can.
3. Keep humans in charge of money
Never let an agent complete a purchase, transfer or subscription on its own. Have it stop at the checkout page and ask you to review and pay yourself.
4. Restrict where it can go
Options such as allowed_domains and prohibited_domains help keep the agent on task, but the README calls them a guard for a well-behaved model, not a sandbox. For untrusted tasks it recommends a container or virtual machine.
5. Protect the debugging port and live view
Local browsers open an unauthenticated debugging port on 127.0.0.1, so avoid running them on shared machines. In the cloud, anyone with a live-view link can control the browser; don't share it.
6. Watch for prompt injection
Web pages can contain hidden instructions aimed at AI agents. Read AI agent safety and prompt injection before you point an agent at unknown sites.
7. Respect site rules
Follow each site's terms, don't collect personal data you have no right to, and don't use automation to get around bot checks or rate limits. Prefer official APIs when they exist.
Browser Use vs no-code automation
If your chore is the same every time (a form submission triggers a spreadsheet row and an email), a no-code tool is cheaper and more predictable. Our list of no-code automations for creators covers those. Browser agents shine when pages differ or need judgement. For a developer-focused comparison of browser tools for coding agents, see agent-browser vs Playwright MCP vs Chrome DevTools MCP, and for deciding what to hand over to agents in general, read what to delegate to AI agents.
Key takeaways
- Browser Use is an MIT-licensed Python library that lets an AI agent complete tasks in a real browser, with local, CLI and cloud options.
- Cloud browsers are the default; you can run locally with
Browser('chromium')and your own model. - Start with read-only chores like research and price checks, written as clear briefs.
- Use a separate profile, keep humans in charge of payments, and remember the README says its safety options are not a sandbox.
FAQ
Is Browser Use free?
The library is free and open source under MIT. Browser Use Cloud is paid, and you also pay for whichever AI model you use.
Can a Browser Use AI agent log in to my accounts?
It can, but it's risky. Use test accounts or a separate browser profile, and keep human approval for anything involving money or personal data.
Do I need to know Python?
For the library, basic Python helps. The CLI can give an existing agent like Claude Code a browser with less code.
Sources
Read next
NEW
AI Voice Mode Comparison: ChatGPT, Gemini and Grok in 2026
An AI voice mode comparison for late 2026: ChatGPT GPT-Live-1.1, Gemini's 66 regional voices and Grok Voice 3.0, plus English practice tips.
Read more
NEW
ChatGPT Work Tab Merges With Chat: What Changes for You
The ChatGPT Work tab is merging with Chat into one screen, and ChatGPT and Codex will share one token allowance. What changes and how to avoid hitting limits.
Read more
NEW
Claude Fable 5.2: What's New in Anthropic's Flagship Model
Anthropic released Claude Fable 5.2 and Mythos 5.2 on November 9, 2026: faster, clearer explanations, stronger coding, and API prices down 20%.
Read more