browser-use /browser-use
Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.
★ 120,506⑂ 13,463
120,506
stars
+116+652
13,463
forks
–
watchers
–
prs
–
issues
–
releases
–
discussions
README
---
The open-source browser agent. Run it locally with any LLM, or on Browser Use Cloud: stealth browsers from $0.02/hour, top score (90.5%) on Stealth Bench V2.
Navigate the web like a human does.
Find an available slot, pick a date and time, handle the CAPTCHA, and book a driving test.
!Browser Use V4 booking a driving test
Explore more demos and prompts ↗
AI agents and crawlers: read browser-use.com/llms.txt for the product map (open source, Browser Harness, Cloud browsers, Agents API, pricing) and docs.browser-use.com/llms.txt for the documentation index. Browser Use is the open-source browser agent (Python and TypeScript), a $0.02 per browser-hour cloud browser with stealth, CAPTCHA solving and residential proxies, and a hosted agent API.
Which Browser Use do I need?
- Path 1: Fully Hosted Cloud: Scale up with a fully hosted agent and browser.
- Path 2: CLI: Automate your own browser tasks.
- Path 3: Python Library: Run the open source Browser Use agent locally from your own code.
Quickstart
Path 1: Fully Hosted Cloud
Scale browser automation with our hosted agent, stealth browsers, and infrastructure for profiles, recordings, and data policies.
Get started with the API ↗
New Google, GitHub, or Microsoft signups get $1 cloud credit.
Path 2: CLI
Paste this prompt into Claude Code, Codex, Hermes, OpenClaw, or your favorite agent.
text
Install or upgrade browser-use to the latest stable version with uv using Python 3.12, run browser-use skill install to register the skill, and connect it to my browser. If setup or connection fails, follow https://github.com/browser-use/browser-harness/blob/main/install.md.
Path 3: Python Library
Run the Browser Use agent locally from Python, with your choice of model and a local or cloud browser:
1. Install Browser Use (Python = 3.11):
With uv installed, run uv init --python 3.12 first if you're starting a new project.
bash
uv add browser-use
2. Add your OpenAI API key to .env:
bash
.env
OPENAI_API_KEY=your-key
BROWSER_USE_API_KEY=your-key Optional: BU2 model or cloud browser
For either optional Browser Use service, get a Browser Use API key.
3. Save this as agent.py:
python
import asyncio
from browser_use import Agent, Browser, ChatBrowserUse, ChatOpenAI
from dotenv import load_dotenv
load_dotenv()
async def main():
llm = ChatOpenAI(model='gpt-5.6-luna', reasoning_effort='xhigh')
llm = ChatBrowserUse(model='bu-2-0') Use BU2 instead; requires BROWSER_USE_API_KEY
agent = Agent(
task="Find the number of stars of the browser-use repo",
llm=llm,
browser=Browser(use_cloud=True), Use a cloud browser; requires BROWSER_USE_API_KEY
)
history = await agent.run()
print(history.final_result())
if __name__ == "__main__":
asyncio.run(main())
To use BU2, replace the ChatOpenAI line with the commented ChatBrowserUse line. The cloud-browser option works with either 相关报道 (10)
GIGAZINEGitHub CopilotがVS Code内でブラウザ操作に対応、AIエージェントがウェブアプリを開いて検証可能に2026-07-02blog.csdnGitHub Browser-Use 部署踩坑实录:从安装到失败的完整避坑指南2026-03-18blog.csdnGitHub Browser-Use 的部署失败记录:失败了,失败了。。。。2025-08-12TechNews 科技新報不再只是爬蟲!Browser Use 讓 AI「讀懂」網站,四天開發成開源焦點2025-04-05Meet創業小聚只花4天開發!Browser Use讓AI「讀懂」網站,迅速成為開源技術新寵2025-03-28Pasquale PillitteriUnsloth 推出 Browser use,Qwen3.8-27B 在本地操控浏览器2026-10-28Pasquale Pillitteri2026 年抓取互联网的 10 个 GitHub 仓库 (附真实星标)2026-06-30腾讯新闻给OpenClaw开天眼!解决了10个跨境电商网站爬虫难题2026-03-03搜狐网Z Product|全球爆火的Manus背后,一款关键的AI产品,让AI Agent像人一样操作浏览器2025-05-18智源社区Browser Use融资1700万美元,Manus爆火背后的秘密武器2025-03-26
News & coverage (9)
Hacker NewsLaunch HN: Browser Use (YC W25) – open-source web agents▲ 259 · 100 comments · 2025-02-25Hacker NewsShow HN: Browser-Use MCP for Claude that works without an API key▲ 4 · 0 comments · 2025-04-07Hacker NewsShow HN: Browser-use, Qwen 2.5 3B, Sentience – Jest assertions for AI web agents▲ 1 · 1 comments · 2026-01-14InfoWorldBrowser Use: An open-source AI agent to automate web-based tasks2025-01-30markets.businessinsider.comAgentR launches Webcmd, open-source browser infrastructure that lets AI agents learn a website once2026-10-09GIGAZINEGitHub Copilot now supports browser operations within VS Code, allowing the AI agent to open and test web applications.2026-07-02Pasquale Pillitteri10 GitHub Repos for Scraping the Internet in 2026 (Real Stars)2026-06-30YouTubeHermes Agent is insane… 100,000+ github stars2026-04-20Amazon Web Services (AWS)Introducing Amazon Bedrock AgentCore Browser Tool | Amazon Web Services2025-08-01