ScriptsMar 29, 2026·2 min read

Browser Use — AI Browser Automation

Open-source Python library for AI-driven browser automation. Works with Claude, GPT, and Gemini to fill forms, scrape data, and navigate websites.

TO
TokRepo精选 · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

uv init && uv add browser-use && uv sync
from browser_use import Agent, Browser, ChatBrowserUse
import asyncio

async def main():
    agent = Agent(
        task="Find the price of the mass of the largest meteorite found this year",
        llm=ChatBrowserUse(),
        browser=Browser(),
    )
    await agent.run()

asyncio.run(main())

Intro

Browser Use makes websites accessible to AI agents. Give it a task in natural language, and it controls a real browser — clicking, typing, scrolling, extracting data — using a DOM + Vision hybrid approach. Works with Claude, GPT, Gemini, and local models. 84,000+ GitHub stars, the standard open-source solution for AI browser automation.


Key Features

  • Multi-model support: Claude, GPT, Gemini, ChatBrowserUse (optimized), local models
  • Real browser control: Click, type, scroll, screenshot, navigate
  • Form automation: Job applications, data entry, checkout flows
  • Web research: Find, compile, and summarize information
  • Custom tools: Extensible architecture for specialized tasks
  • CLI interface: Persistent browser sessions from terminal

Supported Models

Model Best For
ChatBrowserUse Browser automation (purpose-built, cheapest)
Claude Sonnet Complex reasoning tasks
Gemini Flash Fast, cost-effective tasks
Local models Privacy-sensitive automation

CLI Usage

browser-use open https://example.com   # Navigate
browser-use state                       # See clickable elements
browser-use click 5                     # Click element #5
browser-use type "Hello world"          # Type text
browser-use screenshot output.png       # Capture page

Project Templates

# Generate a starter project
uvx browser-use init --template default
# Templates: default, advanced, tools

Source & Thanks

Author: browser-use Repository: browser-use — ⭐ 84,800+ License: MIT Docs: docs.browser-use.com

Thanks to the Browser Use team for building the leading open-source AI browser automation library.

Related Assets