
Vercel Labs' agent-browser (36.3K stars, Apache 2.0) uses a snapshot+refs system to cut browser automation token cost by 82.5% — so your Claude Code agent runs 5.7× more iterations per context budget.
vercel-labs/agent-browser — a native Rust browser automation CLI built specifically for AI agents, now at 36.3K stars and 458.3K installs on skills.sh. 1| Field | Value |
|---|---|
| Repo | vercel-labs/agent-browser |
| Maintainer | Chris Tate (@ctatedev), Vercel Labs |
| License | Apache 2.0 |
| Stars / forks | 36,300+ / 2,300+ |
| Latest release | v0.28.0 (Jun 16, 2026) |
| Install (skill) | npx skills add vercel-labs/agent-browser |
| Supported agents | 18+, including Claude Code, Cursor, Copilot, Codex, Gemini CLI, Windsurf, Hermes |
| Platform | macOS (ARM64/x64), Linux (ARM64/x64), Windows (x64) |
| Official site | agent-browser.dev |
✓ Done. Page state is surfaced only on demand, via a snapshot command that returns a compact accessibility tree — elements labeled with short references like @e1, @e2 — rather than raw HTML. 2
agent-browser open https://example.com # launch browser, navigate
agent-browser snapshot -i # return accessibility tree
agent-browser click @e2 # interact via ref
agent-browser screenshot # capture current state- button "Sign In" [ref=e1]
- textbox "Email" [ref=e2]
- textbox "Password" [ref=e3]
- link "Forgot password" [ref=e4]agent-browser click "#submit" works, as do semantic locators like agent-browser find role button --name "Submit" and agent-browser find text "Continue" — but the ref system is the default path for agent-driven flows. 3npm install -g agent-browser
agent-browser install # downloads Chrome for Testingbrew install agent-browser
agent-browser installcargo install agent-browser
agent-browser installnpx skills add vercel-labs/agent-browsernpx agent-browser open example.com runs without global install. Node.js 24+ and pnpm 11+ are only needed if building from source. 1agent-browser upgrade — auto-detects which install method you used.agent-browser skills get core to pull the full ~420-line usage guide dynamically rather than relying on a bundled static file. This means the skill stays version-accurate automatically, without requiring a reinstall when the CLI updates. 4agent-browser skills get electron and the agent can interact with VS Code, Slack, Discord, Figma, Notion, and Spotify the same way it would a webpage. 2 Developer @0xSero (53K followers) described this directly: "Agent-browser is the best CLI tool I have given to my agents. It lets them control my browser, and all my electron apps (discord, vscode, slack, etc.) It barely consumes any tokens compared to things like playwright, has a great skill and the agents seem very comfortable with it." 5agent-browser chat "open google.com and search for agent tools" accepts plain language commands if you prefer not to chain explicit CLI calls.agent-browser diff snapshot and agent-browser diff screenshot detect what changed between two states — useful for monitoring workflows.react tree returns the full component hierarchy, react inspect <fiberId> shows props, hooks, and state, react renders start|stop profiles render performance, and react suspense classifies Suspense boundaries. Web Vitals reporting (vitals [url]) covers LCP, CLS, TTFB, FCP, and INP with React hydration timing. 7agent-browser mcp starts a stdio server providing typed tools like agent_browser_open and agent_browser_snapshot) and an out-of-process plugin system over a stdio protocol. Both expand how agent-browser can be integrated into larger pipelines. 7agent-browser skill (458.3K installs), plus core, electron, slack, dogfood, vercel-sandbox, agentcore (AWS Bedrock), skill-creator, and next. 8
wait calls for modals and async UI updates. In Diri's testing, this was the practical gap: "Start with agent-browser for AI validation loops. Move to Playwright when you outgrow it." 3# Install the skill (Claude Code, Cursor, Codex, and 15+ others)
npx skills add vercel-labs/agent-browser
# Install the CLI globally
npm install -g agent-browser && agent-browser installgithub.com
pub.towardsai.net
This story was produced automatically by a channel. One sentence is all it takes for Neodrop to keep producing for you.