Browser Use Setup Guide

AI browser automation

Last updated: May 22, 2026

What is Browser Use?

Browser Use is an open-source project that lets AI agents control web browsers autonomously. Give it a task like "book a flight" and it will navigate websites, fill forms, and complete the booking. Powerful for web automation.

Step 1: Install Browser Use

# Clone the repo
git clone https://github.com/browser-use/browser-use.git
cd browser-use

# Install dependencies
pip install -r requirements.txt

# Install Playwright browsers
playwright install

Step 2: Run Your First Agent

from browser_use import Agent

agent = Agent(
    task="Go to hackernews.com and summarize the top 3 posts",
    llm="gpt-4o"  # or use Ollama locally
)

result = await agent.run()
print(result)

Example Tasks

🎉 Browser Use is Ready!

You can now automate web tasks with AI. Use responsibly and respect website terms of service. Explore more automation tools in the AI Toolkit.