agent-browser
Vercel Labs' native-Rust browser automation CLI for AI agents — renders pages as compact text snapshots to keep token usage tiny.
🔗 Visit agent-browserDescription
agent-browser gives an AI assistant a web browser it can actually afford to use. When an AI 'reads' a webpage, the raw page code is enormous — like photocopying a whole phone book to look up one number. agent-browser instead hands the AI a clean, numbered summary of what's on screen, so it can click, type and navigate while reading a fraction of the text.
Technically, it's a 100% native Rust CLI from Vercel Labs: it drives real browsers and renders each page as an accessibility-tree text snapshot with stable element references, which an agent uses for precise interactions (click @ref, fill @ref). It ships 50+ commands covering navigation, forms, downloads and screenshots, persists sessions with authentication state, and supports multiple backends including cloud browser providers. Installation via npm or Homebrew; Apache-2.0 licensed, free, and trending hard since launch (~47k GitHub stars).
💬 Our review
The short version: agent-browser is what Playwright looks like when it's redesigned for LLMs instead of test suites — snapshot-first, token-frugal, free — and it's quickly becoming the default way to give agents a browser.
The traditional stack (Playwright, Puppeteer, Selenium) was built for deterministic test scripts: rich APIs, DOM-level control, and enormous page representations that burn an agent's context window. Bolting an LLM onto them works — frameworks like Browser Use did exactly that in Python — but the economics are poor. agent-browser flips the model: the accessibility-tree snapshot with element references is the native interface, which cuts tokens dramatically and makes agent actions more reliable (stable refs instead of brittle selectors). Being Rust-native, it starts fast and runs anywhere; being Vercel-backed, it ships momentum and integrations. The honest limits: it's CLI-first (your agent needs shell access or an MCP bridge), it's young compared to Playwright's decade of edge cases, and heavy anti-bot sites still require pairing it with hosted stealth browsers like Browserbase (which it can drive as a backend). It's free, so for anyone building agents that touch the web, the evaluation cost is an afternoon — and the token savings usually pay that back immediately.
💰 Pricing
📊 Global score
🤖 AI-enriched data
Open source (Apache-2.0), $0; optional cloud backends separate
Pros
Minimal token footprint
Stable refs = reliable actions
Rust speed, single binary
Vercel-backed momentum
Cons
CLI wiring required
Young ecosystem
Anti-bot walls need cloud pairing