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
- • "Book the cheapest flight from NYC to London next month"
- • "Find and apply to 5 remote Python jobs"
- • "Order me a large pepperoni pizza from Domino's"
- • "Research AI orchestration tools and create a comparison table"
🎉 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.