OPEN SOURCE · AI BROWSER AGENT

Let AI do your web busywork.

Browser Use is an open-source tool that gives an AI agent a real browser. You describe a task in plain English and it opens pages, clicks, types and fills forms for you. Here is the honest setup, what it costs, and where it fits.

The tool
Browser Use on GitHub
Open it
GitHub stars
105k+
Licence
MIT
Cost to run
You + a model key
  1. 01

    Install it

    One pip command. Browser Use is a Python library, so you need Python 3.11 or newer. It drives a real Chrome window under the hood.

  2. 02

    Give it an AI brain

    The agent needs a model to think with. Drop an OpenAI, Anthropic, or Google key into a .env file, or get one from Browser Use's own cloud. This is the one part that costs money, you pay the model per run, usually cents.

  3. 03

    Describe the task in plain English

    No selectors, no scripting the clicks. You write what you want, "pull every competitor's price into a table", and the agent figures out the steps.

  4. 04

    Run it and watch

    It opens a browser, navigates, clicks, types, and hands the data back. Because it runs on your machine, your logged-in sessions and cookies never leave your computer.

The whole thing

Copy & run this

# 1. install (Python 3.11+)
pip install browser-use

# 2. add an LLM key to a .env file
#    bring your own OpenAI / Anthropic / Google key,
#    or get one from cloud.browser-use.com
echo "ANTHROPIC_API_KEY=your-key" > .env

# 3. describe the task in plain English and run it
python - <<'PY'
import asyncio
from browser_use import Agent, ChatAnthropic

async def main():
    agent = Agent(
        task="Go to each competitor's pricing page and put their plans in a table",
        llm=ChatAnthropic(model="claude-opus-4-8"),
    )
    await agent.run()

asyncio.run(main())
PY

Swap the model line for ChatOpenAI or Browser Use’s own hosted model. The task string is the only thing you rewrite each time.

What to point it at

Repetitive web work, gone

Pull competitor pricing into a sheetCollect leads from a directoryFill the same form, at scaleScrape data off dozens of pagesCheck listings or stock dailyBook, apply, or submit on repeat
Before you dive in

The honest caveats

This is a developer tool, not a one-click app, you need a little comfort with Python and the command line. It is not free to run either: the agent thinks using an AI model, and you pay that model per task, usually a few cents. And like any agent, it can make mistakes on messy pages, so keep a human eye on anything that submits or pays. Used on the right repetitive jobs, though, it replaces hours of manual clicking.

Want this built into your business?

Klevere designs and builds custom AI agents that handle work like this end to end, wired into your own tools.

Browser Use is MIT-licensed and open source. Star counts and APIs change; check the repository at github.com/browser-use/browser-use for current details. Always respect the terms of service of any site you automate.

Who this is for

This is for developers, technical founders and operations people comfortable with Python who have repetitive browser tasks on sites without a usable API, such as collecting public data, checking listings or filling in the same form. It is not a good fit if the site offers an official API or export, if the task moves money or signs agreements without review, or if the site's terms prohibit automated access. Non-technical teams will usually find a managed tool easier.

Step by step setup

  1. 01

    Check for an API or export first

    Before automating clicks, look for an official route: a CSV export, a public API, an RSS feed or a data partner programme. These are faster, cheaper and more reliable than driving a browser, and they are usually explicitly permitted. Keep the browser agent for the jobs where no such option exists, or where the official route is missing the data you need.

  2. 02

    Read the site's terms before running

    Check the terms of service for rules on automated access and scraping, and respect any rate limits. Do not use the agent to get past logins, paywalls or bot protection you are not entitled to bypass. If the data includes names, emails or other personal details, data protection law applies even when the information is publicly visible.

  3. 03

    Write the task like a checklist

    Give the agent a start URL, the exact fields to collect, the output format with field names, and a clear stop condition. Say what it must never do, such as submitting a payment or accepting new terms. Specific tasks finish faster, cost less in model calls and are far easier to check than open-ended instructions like research this market.

  4. 04

    Start with a cheaper model

    Browser Use publishes benchmark results showing cost per task ranging from a few cents to several dollars on very hard tasks, depending on the model. Start simple jobs on a lower-cost model, run the task ten times and count successes. Upgrade only if the success rate is too low, and record the cost per run before scheduling it.

  5. 05

    Keep secrets out of the task text

    Never paste passwords into the task string. Use the library's sensitive data option so secrets are stored as placeholders, and keep saved run files private, because the README notes that page snapshots and results can still contain them. Run automations in a separate browser profile that is logged in only to the accounts the task needs.

  6. 06

    Save and replay successful runs

    For repeated forms, the README describes saving a successful run and replaying its clicks and typing with new values, without calling the model at every step. This cuts cost and makes runs more predictable. If the page layout changes, the replay stops with an error at the first step it cannot match, so check what was already submitted.

  7. 07

    Schedule, log and alert

    Once a task is reliable, run it on a schedule with cron or a task runner. Log every run's output and errors to a file or channel someone reads, and alert on failure. Keep a human check on anything that submits, books or pays. Silent failures are the main risk once nobody is watching the browser window anymore.

What it costs

Taken from each vendor's own pricing page. Plans change, so check the link before you commit.

Browser Use (open-source library)

Free and MIT-licensed; model inference and hosted browsers are paid separately, and you can run a local model through Ollama subject to your hardware.

Browser Use Cloud

Pay as you go with no subscription: $1 free credit for eligible signups, a $5 minimum top-up, and cloud browsers at $0.02 per browser-hour plus $5 per GB of residential proxy traffic.

Anthropic Claude API

Usage based: Opus 4.8, the model in the sample code, is listed at $5 per million input tokens and $25 per million output tokens, while Haiku 5.5 starts at $0.10 and $0.50.

Common mistakes to avoid

Ignoring terms of service and privacy law

Automating a site whose terms forbid it can get accounts banned and invite legal claims. Twelve data protection authorities, including the UK ICO, have stated that organisations need a lawful reason to collect personal data even when it is publicly available.

Letting it submit or pay unattended

Agents can misread messy pages and click the wrong button. Add a confirmation step before anything irreversible, such as a payment, a booking or a form submission, until the task has a long record of correct runs.

Leaking credentials in run history

Saved histories and snapshots can contain secrets and personal data. Use the sensitive data option, store run files somewhere private with restricted access, and delete them as soon as they are no longer needed for debugging.

Running in your everyday browser profile

Reusing your own Chrome profile gives the agent access to every site you are logged in to, including email and banking. Create a dedicated profile with only the accounts the task needs.

Underestimating model costs on hard tasks

Browser Use's own benchmark shows per-task costs on very hard tasks ranging from cents to several dollars depending on the model. Measure cost per run on your task and set spending limits with your model provider.

Expecting CAPTCHAs to always be solved

The README states that no browser configuration guarantees every CAPTCHA can be avoided or solved. A site that challenges your agent repeatedly is also signalling that it does not want automated visitors.

When to get help

Browser Use on your own machine is fine for a handful of internal jobs that someone watches. Consider a custom build when the task runs daily at volume, feeds a CRM or database, needs logins handled securely for several staff, or must be monitored with alerts and audit logs. At that point the work is mostly reliability and governance rather than prompting. Klevere builds custom agents for this, and an in-house developer with time to maintain it is another valid route.

Book a free AI audit

Frequently asked questions

Is Browser Use free?

+

The Python library is free and MIT-licensed. The costs come from the AI model it uses and, optionally, hosted browsers. Browser Use Cloud charges $0.02 per browser-hour plus proxy traffic, and model providers bill per token. The README notes you can also run a local model through Ollama, subject to your hardware.

Do I need to know Python to use Browser Use?

+

For the library, yes: basic Python, a terminal and Python 3.11 or newer. Browser Use also offers a command line tool that plugs into coding agents, and a fully hosted cloud API, but both still assume some technical comfort. If nobody on the team writes code, a managed automation service is a better starting point.

Is web scraping with an AI agent legal?

+

It depends on the site, the data and the country. Public, non-personal data is lower risk, but a site's terms may still forbid automated access. Personal data brings data protection duties even when it is publicly visible. Check the terms, collect only what you need and take legal advice before scraping at commercial scale.

Which AI model works best with Browser Use?

+

The README recommends Browser Use's own BU2 model, and the library also works with OpenAI, Anthropic and Google models using your own keys. Their published benchmark shows wide differences in quality and cost per task, so test two or three models on your actual task before committing.

Can Browser Use log in to websites for me?

+

Yes. Locally, it can reuse a Chrome profile; with cloud browsers, a profile sync transfers cookies, though some sites will ask you to sign in again. Use dedicated accounts where possible, pass secrets through the sensitive data option and never write passwords into the task description.

Sources