Six tests consumed ~31K characters with Playwright MCP versus ~5.5K with agent-browser — an AI agent could run 5.7x more tests in the same context budget. Quantitative, reproducible benchmark.
Vercel Agent Browser
activeToken-efficient browser automation CLI for AI agents. Rust core with sub-50ms boot. Claims 93% context reduction vs Playwright MCP through ref-based element selection on accessibility snapshots.
Where it wins
93% context reduction vs Playwright MCP — verified by multiple independent sources
Rust core with sub-50ms boot time
50+ commands covering navigation, interaction, extraction
Works with Claude Code, Codex, Cursor, Gemini CLI, Copilot
Where to be skeptical
Very young project — 2 months old (created 2026-01-11)
Vercel Labs, not Vercel core — support commitment uncertain
No deep debugging capabilities (use Chrome DevTools MCP for that)
Does not work reliably against Cloudflare-protected sites
Editorial verdict
Token-efficiency leader but immature. Anomalous star-to-HN ratio (23.6K stars, ~6 HN pts) warrants caution — community hasn't organically validated this tool yet. 303 open issues in 10 weeks. Best only when token budget is the binding constraint.
Videos
Reviews, tutorials, and comparisons from the community.
Your AI Coding Workflow NEEDS This New Agent Browser CLI
Vercel Agent Browser + Claude Code: This IS THE BEST TOOL & SKILL I'VE USED YET!
AI Just Got Hands! (Vercel Agent Browser)
Related
Playwright MCP
93Microsoft's official MCP server for Playwright. Uses accessibility snapshots instead of screenshots for structured browser control. Auto-configured in GitHub Copilot's Coding Agent.
Chrome DevTools MCP
92Google Chrome team's official MCP server for Chrome DevTools. Gives coding agents deep debugging, performance profiling, and Core Web Vitals analysis through 26 tools across 6 categories.
Stagehand
90AI-native browser automation SDK by Browserbase with natural language selectors and act/extract/observe primitives.
Skyvern
90Vision-LLM browser automation for enterprise workflows. Combines computer vision with LLM reasoning to handle websites never seen before. YC S23 backed with CAPTCHA solving, 2FA, and proxy networks.
Public evidence
Second independent source confirming 93% context reduction vs Playwright MCP with reproducible methodology.
Created 2026-01-11, 23.4K stars. 109.7K weekly npm downloads — highest production download velocity in Lane 2. Multiple releases per day. Rust + Node.js architecture.
Competitor taking Vercel Agent Browser seriously enough to write a direct comparison. Acknowledges token efficiency but positions their own tool for anti-bot bypass.
Stagehand has 21.6K stars with 326 HN pts; Chrome DevTools MCP has 30K stars with 599 HN pts. Vercel Agent Browser has 23.6K stars with ~6 HN pts. This doesn't prove artificial inflation, but the community hasn't organically validated this tool yet. CAUTION signal.
303 open issues in 10 weeks is the highest issue-to-age ratio in the category. Windows support problems reported. Only 10 weeks old — no production track record. CAUTION signal.
Raw GitHub source
GitHub README peek
Constrained peek so you can sanity-check the source material without leaving the site.
agent-browser
Browser automation CLI for AI agents. Fast native Rust CLI.
Installation
Global Installation (recommended)
Installs the native Rust binary:
npm install -g agent-browser
agent-browser install # Download Chrome from Chrome for Testing (first time only)
Project Installation (local dependency)
For projects that want to pin the version in package.json:
npm install agent-browser
agent-browser install
Then use via package.json scripts or by invoking agent-browser directly.
Homebrew (macOS)
brew install agent-browser
agent-browser install # Download Chrome from Chrome for Testing (first time only)
Cargo (Rust)
cargo install agent-browser
agent-browser install # Download Chrome from Chrome for Testing (first time only)
From Source
git clone https://github.com/vercel-labs/agent-browser
cd agent-browser
pnpm install
pnpm build
pnpm build:native # Requires Rust (https://rustup.rs)
pnpm link --global # Makes agent-browser available globally
agent-browser install
Linux Dependencies
On Linux, install system dependencies:
agent-browser install --with-deps
Updating
Upgrade to the latest version:
agent-browser upgrade
Detects your installation method (npm, Homebrew, or Cargo) and runs the appropriate update command automatically.
Requirements
- Chrome - Run
agent-browser installto download Chrome from Chrome for Testing (Google's official automation channel). Existing Chrome, Brave, Playwright, and Puppeteer installations are detected automatically. No Playwright or Node.js required for the daemon. - Rust - Only needed when building from source (see From Source above).
Quick Start
agent-browser open example.com
agent-browser snapshot # Get accessibility tree with refs
agent-browser click @e2 # Click by ref from snapshot
agent-browser fill @e3 "test@example.com" # Fill by ref
agent-browser get text @e1 # Get text by ref
agent-browser screenshot page.png
agent-browser close
Traditional Selectors (also supported)
agent-browser click "#submit"
agent-browser fill "#email" "test@example.com"
agent-browser find role button click --name "Submit"
Commands
Core Commands
agent-browser open <url> # Navigate to URL (aliases: goto, navigate)
agent-browser click <sel> # Click element (--new-tab to open in new tab)
agent-browser dblclick <sel> # Double-click element
agent-browser focus <sel> # Focus element
agent-browser type <sel> <text> # Type into element
agent-browser fill <sel> <text> # Clear and fill
agent-browser press <key> # Press key (Enter, Tab, Control+a) (alias: key)
agent-browser keyboard type <text> # Type with real keystrokes (no selector, current focus)
agent-browser keyboard inserttext <text> # Insert text without key events (no selector)
agent-browser keydown <key> # Hold key down
agent-browser keyup <key> # Release key
agent-browser hover <sel> # Hover element
agent-browser select <sel> <val> # Select dropdown option
agent-browser check <sel> # Check checkbox
agent-browser uncheck <sel> # Uncheck checkbox
agent-browser scroll <dir> [px] # Scroll (up/down/left/right, --selector <sel>)
agent-browser scrollintoview <sel> # Scroll element into view (alias: scrollinto)
agent-browser drag <src> <tgt> # Drag and drop
agent-browser upload <sel> <files> # Upload files
agent-browser screenshot [path] # Take screenshot (--full for full page, saves to a temporary directory if no path)
agent-browser screenshot --annotate # Annotated screenshot with numbered element labels
agent-browser screenshot --screenshot-dir ./shots # Save to custom directory
agent-browser screenshot --screenshot-format jpeg --screenshot-quality 80
agent-browser pdf <path> # Save as PDF
agent-browser snapshot # Accessibility tree with refs (best for AI)
agent-browser eval <js> # Run JavaScript (-b for base64, --stdin for piped input)
agent-browser connect <port> # Connect to browser via CDP
agent-browser stream enable [--port <port>] # Start runtime WebSocket streaming
agent-browser stream status # Show runtime streaming state and bound port
agent-browser stream disable # Stop runtime WebSocket streaming
agent-browser close # Close browser (aliases: quit, exit)
agent-browser close --all # Close all active sessions
agent-browser chat "<instruction>" # AI chat: natural language browser control (single-shot)
agent-browser chat # AI chat: interactive REPL mode
Get Info
agent-browser get text <sel> # Get text content