browser-use  by browser-use

SDK for AI agent browser control

Created 10 months ago
70,040 stars

Top 0.2% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a Python library to enable AI agents to control web browsers, automating online tasks and interactions. It targets developers and researchers building AI-powered applications that require web navigation and data extraction, offering a simplified interface for complex browser automation.

How It Works

Browser-use leverages a sophisticated agent architecture that interprets natural language instructions to perform actions within a web browser. It utilizes Playwright for browser automation and integrates with various LLM providers (OpenAI, Anthropic, Gemini, etc.) to understand and execute tasks. The system can extract DOM elements, manage browser states, and potentially incorporate memory functionalities for more complex workflows.

Quick Start & Requirements

  • Install via pip: pip install browser-use
  • For memory functionality (Python < 3.13): pip install "browser-use[memory]"
  • Install Patchright for Chromium: patchright install chromium
  • Requires API keys for LLM providers.
  • Documentation: https://github.com/browser-use/browser-use
  • Gradio Demo: python examples/ui/gradio_demo.py

Highlighted Details

  • Enables AI agents to interact with websites using natural language commands.
  • Supports multiple LLM providers for task execution.
  • Includes examples for tasks like price comparison, lead generation, document creation, and data scraping.
  • Offers a hosted version for immediate use.

Maintenance & Community

  • Active development with a roadmap including memory improvements, DOM extraction enhancements, and user experience features.
  • Community engagement via Discord.
  • Project authors are Magnus Müller and Gregor Žunič.

Licensing & Compatibility

  • The repository does not explicitly state a license in the provided README.

Limitations & Caveats

  • Memory functionality has a Python version constraint (requires Python < 3.13) due to PyTorch compatibility.
  • The primary development branch (main) may contain frequent changes, suggesting caution for production use without installing a stable release.
Health Check
Last Commit

1 day ago

Responsiveness

1 day

Pull Requests (30d)
386
Issues (30d)
562
Star History
2,287 stars in the last 30 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Luis Capelo Luis Capelo(Cofounder of Lightning AI), and
15 more.

stagehand by browserbase

0.5%
17k
AI browser automation framework for production
Created 1 year ago
Updated 23 hours ago
Feedback? Help us improve.