Agent Browser

Active
GitHub Rust Apache-2.0

Description

An open-source browser automation CLI for AI agents by Vercel, built with Rust for high performance and programmability.

Key Features

  • Native Rust CLI — High-performance browser automation command line tool designed for AI agents
  • Accessibility tree snapshot — snapshot command returns accessibility tree with refs, optimized for AI consumption
  • Semantic locators — find role/text/label and other semantic element lookup commands
  • AI Chat mode — Natural language browser control via single-shot commands or interactive REPL
  • Multiple install methods — npm, Homebrew, Cargo, and source compilation
  • Screenshot/PDF export — Full-page screenshots, annotated screenshots, and PDF generation

Use Cases

💡 AI agent-driven web automation testing and data collection
💡 Build browser automation scripts and workflows via CLI
💡 Provide programmable browser control interfaces for LLMs
💡 Automate form filling, page navigation, and DOM interactions

Quick Start

npm install -g agent-browser && agent-browser install
agent-browser open example.com
agent-browser snapshot
agent-browser click @e2

Related Projects