X

browser-use

Information

Shows a black Browser Use Logo in light color mode and a white one in dark color mode.
The AI browser agent.

---
Demos Docs Blog Merch Github Stars Twitter Discord Browser-Use Cloud

# LLM Quickstart 1. Direct your favorite coding agent (Cursor, ClaudeS, etc) to [Agents.md](https://docs.browser-use.com/llms-full.txt) 2. Prompt away!
# Human Quickstart **1. Create environment with [uv](https://docs.astral.sh/uv/) (Python>=3.11):** \`\`\`bash uv init \`\`\` **2. Install Browser-Use package:** \`\`\`bash # We ship every day - use the latest version! uv add browser-use uv sync \`\`\` **3. Get your API key from [Browser Use Cloud](https://cloud.browser-use.com/dashboard/api) and add it to your \`.env\` file (new signups get $10 free credits):** \`\`\` # .env BROWSER_USE_API_KEY=your-key \`\`\` **4. Download chromium using playwright's shortcut:** \`\`\`bash uvx playwright install chromium --with-deps --no-shell \`\`\` **5. Run your first agent:** \`\`\`python from browser_use import Agent, Browser, ChatBrowserUse import asyncio async def example(): browser = Browser( # use_cloud=True, # Uncomment to use a stealth browser on Browser Use Cloud ) llm = ChatBrowserUse() agent = Agent( task="Find the number of stars of the browser-use repo", llm=llm, browser=browser, ) history = await agent.run() return history if __name__ == "__main__": history = asyncio.run(example()) \`\`\` Check out the [library docs](https://docs.browser-use.com) and the [cloud docs](https://docs.cloud.browser-use.com) for more!
# Demos ### Form-Filling #### Task = "Fill in this job application with my resume and information." ![Job Application Demo](https://github.com/user-attachments/assets/57865ee6-6004-49d5-b2c2-6dff39ec2ba9) [Example code ↗](https://github.com/browser-use/browser-use/blob/main/examples/use-cases/apply_to_job.py) ### Grocery-Shopping #### Task = "Put this list of items into my instacart." https://github.com/user-attachments/assets/a6813fa7-4a7c-40a6-b4aa-382bf88b1850 [Example code ↗](https://github.com/browser-use/browser-use/blob/main/examples/use-cases/buy_groceries.py) ### Personal-Assistant. #### Task = "Help me find parts for a custom PC." https://github.com/user-attachments/assets/ac34f75c-057a-43ef-ad06-5b2c9d42bf06 [Example code ↗](https://github.com/browser-use/browser-use/blob/main/examples/use-cases/pcpartpicker.py) ### See [more examples here ↗](https://docs.browser-use.com/examples) and give us a star!
## Integrations, hosting, custom tools, MCP, and more on our [Docs ↗](https://docs.browser-use.com)
# FAQ
What's the best model to use? We optimized **ChatBrowserUse()** specifically for browser automation tasks. On avg it completes tasks 3-5x faster than other models with SOTA accuracy. For other LLM providers, see our [supported models documentation](https://docs.browser-use.com/category/llm-integration).
Can I use custom tools with the agent? Yes! You can add custom tools to extend the agent's capabilities: \`\`\`python from browser_use.tools import Tool @Tool() def custom_tool(param: str) -> str: """Description of what this tool does.""" return f"Result: \{param\}" agent = Agent( task="Your task", llm=llm, browser=browser, use_custom_tools=[custom_tool], ) \`\`\` See our [Custom Tools documentation](https://docs.browser-use.com/custom-tools) for more examples.
Can I use this for free? Yes! Browser-Use is open source and free to use. You only need to choose an LLM provider (like OpenAI, Google, ChatBrowserUse, or run local models with Ollama).
How do I handle authentication? Check out our authentication examples: - [Using real browser profiles](https://github.com/browser-use/browser-use/blob/main/examples/browser/real_browser.py) - Reuse your existing Chrome profile with saved logins - If you want to use temporary accounts with inbox, choose AgentMail - To sync your auth profile with the remote browser, run \`curl -fsSL https://browser-use.com/profile.sh | BROWSER_USE_API_KEY=XXXX sh\` (replace XXXX with your API key) These examples show how to maintain sessions and handle authentication seamlessly.
How do I solve CAPTCHAs? For CAPTCHA handling, you need better browser fingerprinting and proxies. Use [Browser Use Cloud](https://cloud.browser-use.com) which provides stealth browsers designed to avoid detection and CAPTCHA challenges.
How do I go into production? Chrome can consume a lot of memory, and running many agents in parallel can be tricky to manage. For production use cases, use our [Browser Use Cloud API](https://cloud.browser-use.com) which handles: - Scalable browser infrastructure - Memory management - Proxy rotation - Stealth browser fingerprinting - High-performance parallel execution

**Tell your computer what to do, and it gets it done.** [![Twitter Follow](https://img.shields.io/twitter/follow/Magnus?style=social)](https://x.com/intent/user?screen_name=mamagnus00)     [![Twitter Follow](https://img.shields.io/twitter/follow/Gregor?style=social)](https://x.com/intent/user?screen_name=gregpr07)
Made with ️ in Zurich and San Francisco

Prompts

Reviews

Tags

Write Your Review

Detailed Ratings

ALL
Correctness
Helpfulness
Interesting
Upload Pictures and Videos

Name
Size
Type
Download
Last Modified
mcp_config_co-browser_browser-use-mcp-server_browser-use-mcp-server_1.json
197.0 B
json
mcp_config_co-browser_browser-use-mcp-server_1.json
197.0 B
json
mcp_config_co-browser_browser-use-mcp-server_0.json
81.0 B
json
  • Community

Add Discussion

Upload Pictures and Videos