agent-browser

agent-browser.dev

Vercel Labs' fast native Rust CLI for browser automation by AI agents, using element refs from page snapshots and experimental WebMCP.

Pricing
Open source
Published
Oct 31, 2026

Next steps

What it does

agent-browser is an open-source (Apache 2.0) browser automation command-line tool from Vercel Labs, built as a native Rust binary for AI agents. Agents take a snapshot of the page, get references to interactive elements and act on them with commands such as click, fill and screenshot; traditional CSS selectors are also supported. Clicks fail early instead of reporting false success when the target is covered (for example by a consent banner), hidden, disabled or outside the viewport, which helps agents recover. The daemon does not require Playwright or Node.js: agent-browser install downloads Chrome for Testing, and existing Chrome, Brave, Playwright and Puppeteer installs are detected automatically. An experimental WebMCP mode announces tools that web pages expose, with full schemas fetched on demand to save context. Install globally via npm, Homebrew or Cargo, or pin it as a project dependency; an upgrade command detects how it was installed.

agent-browser · Image from the official website
Image from the official website

Use cases

  • Let a coding agent test a web app end to end from the terminal
  • Automate form filling and screenshots in CI
  • Expose page-provided WebMCP tools to an agent

Frequently asked questions

Does agent-browser need Playwright?
No. The daemon needs neither Playwright nor Node.js; it can download Chrome for Testing or use an existing Chrome.
How do agents pick elements?
They take a snapshot and act on element refs; CSS selectors also work.
What license is it under?
Apache License 2.0.
Log in to join the discussion