Skip to main content

Make websites accessible for AI agents

Project description

Shows a black Browser Use Logo in light color mode and a white one in dark color mode.

Enable AI to control your browser

Docs Browser-use cloud

Discord Twitter Follow Twitter Follow Merch store Weave Badge

Deutsch | Español | français | 日本語 | 한국어 | Português | Русский | 中文

🤖 Quickstart

With uv (Python>=3.11):

#  We ship every day - use the latest version!
uv pip install browser-use

Download chromium using playwright's shortcut:

uvx playwright install chromium --with-deps --no-shell

Get your API key from Browser Use Cloud and add it to your .env file (new signups get $10 free credits via OAuth or $1 via email):

BROWSER_USE_API_KEY=your-key

Run your first agent:

from browser_use import Agent, ChatBrowserUse

agent = Agent(
    task="Find the number of stars of the browser-use repo",
    llm=ChatBrowserUse(),
)
agent.run_sync()

Check out the library docs and cloud docs for more settings.

Stealth Browser Infrastructure

Want to bypass Cloudflare, or any other anti-bot protection?

Simply go to Browser Use Cloud grab a BROWSER_USE_API_KEY and use the use_cloud parameter.

from browser_use import Agent, Browser
from browser_use import ChatBrowserUse

# Use Browser-Use cloud browser service
browser = Browser(
    use_cloud=True,  # Automatically provisions a cloud browser
)

agent = Agent(
    task="Your task here",
    llm=ChatBrowserUse(),
    browser=browser,
)

Demos

Task: Add grocery items to cart, and checkout.

AI Did My Groceries



Task: Read my CV & find ML jobs, save them to a file, and then start applying for them in new tabs, if you need help, ask me.

https://github.com/user-attachments/assets/171fb4d6-0355-46f2-863e-edb04a828d04



See more examples and give us a star!



MCP Integration

This gives Claude Desktop access to browser automation tools for web scraping, form filling, and more. See the MCP docs.

{
  "mcpServers": {
    "browser-use": {
      "command": "uvx",
      "args": ["browser-use[cli]", "--mcp"],
      "env": {
        "OPENAI_API_KEY": "sk-..."
      }
    }
  }
}

Tell your computer what to do, and it gets it done.

Twitter Follow Twitter Follow

Made with ❤️ in Zurich and San Francisco

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

browser_use-0.8.1.tar.gz (349.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

browser_use-0.8.1-py3-none-any.whl (424.8 kB view details)

Uploaded Python 3

File details

Details for the file browser_use-0.8.1.tar.gz.

File metadata

  • Download URL: browser_use-0.8.1.tar.gz
  • Upload date:
  • Size: 349.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.2

File hashes

Hashes for browser_use-0.8.1.tar.gz
Algorithm Hash digest
SHA256 72f535b0d1ca89071e4b165879a9cfd10ccb085d5407e31064fa12f9ba328522
MD5 e02467f45695c9b7b00bce65eafce6c9
BLAKE2b-256 54d68cd999429c441732598a500f8e656db1635aeb47530eb466713bbd7712dd

See more details on using hashes here.

File details

Details for the file browser_use-0.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for browser_use-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d9bf299bbebad62a1bf5592149567bd60e867acd4b979a01e62db37f3f02629
MD5 aaf9eda8c7ff1b21fb1c3ea87def9092
BLAKE2b-256 4ce23d84dbdc3d73b8adce2d101c030e298e64292000b2bc6c6c6978dea86aa3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page