browser-use  by browser-use

SDK for AI agent browser control

created 9 months ago
66,615 stars

Top 0.3% 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)
202
Issues (30d)
97
Star History
8,463 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.