Browser-Use Next Guide: Building Autonomous Multi-Tab Vision Browser Agents with Playwright
Executive Briefing
Synthesized and verified with gemini-2.0-flash-thinking-exp
“The open-source browser agent. Run it locally with any LLM, or on Browser Use Cloud: stealth browsers from $0.02/hour, t”
Key Takeaways
- 1.Browser-Use Next Guide: Building Autonomous Multi-Tab Vision Browser Agents with Playwright
- 2.System architecture and practical deployment considerations.
- 3.Performance evaluation and impact on the broader ecosystem.
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.
Find an available slot, pick a date and time, handle the CAPTCHA, and book a driving test.
**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.
- **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.
Scale browser automation with our hosted agent, stealth browsers, and infrastructure for profiles, recordings, and data policies.
New Google, GitHub, or Microsoft signups get **$1 cloud credit**.
Paste this prompt into Claude Code, Codex, Hermes, OpenClaw, or your favorite agent.
``` 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. ``` 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.
`uv add browser-use` **2. Add your OpenAI API key to `.env`:**
``` # .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.
``` 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 model.
`uv run agent.py` The agent opens a browser, looks up the repository, and prints its answer.
**5. Run the same agent on a cloud browser (no Chrome to install; works in Docker, CI, and serverless):**
Attribution & Original Source
Synthesized and verified from GitHub AI Trending. All copyrights and intellectual property belong to the original publication.