browser-use-sdk
Python SDK for the Browser Use cloud API
What it is and what it does
browser-use-sdk is an official Python client for Browser Use Cloud, a service that lets you automate browser interactions through code. You instantiate a client, call its run() method with a natural-language task description, and receive structured output from the browser's actions. The SDK handles communication with the cloud backend, which executes the actual browser automation.
The package supports two modes: standard mode (where Browser Use manages the LLM) and v3 BYOK mode (where you supply your own LLM provider key). It depends on httpx for HTTP requests, pydantic for data validation, and idna for domain name handling. The SDK is designed for tasks like web scraping, data extraction, form filling, and automated testing—anything you'd normally do by hand in a browser.
Use it for:
- Extract trending repositories or real-time data from websites that require JavaScript rendering
- Automate repetitive web tasks like form submission or account management across multiple sites
- Build agents that navigate multi-step workflows without writing page-specific selectors
- Test web applications by simulating user interactions and verifying page state changes
- Gather competitive intelligence or monitor web content by automating periodic data collection
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python SDK for controlling browsers programmatically through the Browser Use Cloud API, enabling automated web interaction and data extraction tasks.
Yes, if you need browser automation and are comfortable with a cloud-dependent service. The SDK is actively maintained, has low install friction, and uses a permissive license. Verify whether the cloud service's pricing, rate limits, and connectivity requirements fit your use case before committing.
Install
browser-use-sdk on PyPI
pip
pip install browser-use-sdkuv
uv add browser-use-sdkpoetry
poetry add browser-use-sdkInstalling browser-use-sdk
Before you install
Low install friction with a pure Python wheel. Actively maintained—released 3 days ago with recent commit history. Supports current Python versions (3.9+).
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.
Quickstart
pip install browser-use-sdk
from browser_use_sdk import AsyncBrowserUse
client = AsyncBrowserUse()
result = await client.run("Find the top 3 trending repos on GitHub today")
print(result.output)
Requires API key from Browser Use Cloud (cloud.browser-use.com/settings) set as BROWSER_USE_API_KEY environment variable; requires Python 3.9+
Verify before relying
- Whether the SDK works offline or requires continuous cloud connectivity to Browser Use Cloud
- Rate limits, quotas, or pricing model for the cloud API beyond the SDK itself
- Whether BYOK (Bring Your Own Key) mode in v3 requires a paid Browser Use account
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — httpx, idna, pydantic |
| Maintenance | actively maintained — 3 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 11,889,119/month — #1,355 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: browser_use_sdk-3.11.0-py3-none-any.whl
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
browser-useBrowser Use is a Python library that lets AI…
permissive · top 1,000 on PyPI
browser-use-coreProvides packaged Rust terminal binaries and…
unclear · top 15,000 on PyPI
choreographerChoreographer provides remote control of…
unclear · top 5,000 on PyPI
fleet-pythonFleet SDK provides programmatic access to…
permissive · top 15,000 on PyPI
browser-harnessConnects an LLM agent directly to a real…
permissive · top 5,000 on PyPI
seleniumSelenium provides Python bindings to automate…
permissive · top 1,000 on PyPI
fetch-useRoutes HTTP requests through Browser-Use's…
permissive · top 5,000 on PyPI
scrapinghubA Python client library for communicating with…
permissive · top 15,000 on PyPI
pyppeteerAutomates headless Chrome/Chromium browser…
permissive · top 5,000 on PyPI
cursor-sdkPython SDK for scripting Cursor agents with…
unclear · top 15,000 on PyPI