npx skills add vercel-labs/agent-browser/plugin marketplace add vercel-labs/agent-browserApache-2.048k stars7,929 wordsUpdated 8 November 2026
| Week | Installs |
|---|---|
| Week 1 | 49,332 |
| Week 2 | 64,115 |
| Week 3 | 70,638 |
| Week 4 | 67,374 |
| Week 5 | 75,456 |
| Week 6 | 78,806 |
| Week 7 | 86,942 |
| Week 8 | 103,297 |
Typeset in this issue’s own colours, resolved from the awesome-design-md registry.
Browser automation for AI agents: open pages, read them as an accessibility tree, and act on elements from the shell.
agent-browser is a native Rust CLI that gives an AI agent a browser it can drive one command at a time. snapshot returns the page as compact text with a ref such as @e1 for each element. The agent acts on a ref, reads the page again to check the result, and repeats. The browser stays open between commands, so each step is one short shell call.
npm install -g agent-browser
agent-browser install # download Chrome for Testing (first time only)brew install agent-browser, then agent-browser install.agent-browser install --with-deps also installs the browser’s system libraries.npx agent-browser open example.com.Project installs, building from source, upgrade, and doctor are covered in Installation (opens in a new tab).
agent-browser open example.com
agent-browser snapshot -i # interactive elements, each with a ref
agent-browser click @e1 # act on a ref from that snapshot
agent-browser get url # check the result
agent-browser closeThe snapshot for example.com:
- link "Learn more" [ref=e1]agent-browser find role button click --name "Submit". See Selectors (opens in a new tab).The full walkthrough is in the quick start (opens in a new tab).
The CLI sends each command to a background daemon that starts on the first command and controls the browser over the Chrome DevTools Protocol. Each --session gets its own daemon and browser. By default, the daemon closes a headless browser and exits after one hour without commands, saving state first when session persistence (opens in a new tab) is configured.
Chrome for Testing is the default browser. You can also attach to a running Chrome with --cdp or --auto-connect (CDP mode (opens in a new tab)), select the Lightpanda (opens in a new tab) or Obscura (opens in a new tab) engine with --engine, drive Mobile Safari in the iOS Simulator (opens in a new tab), or use a cloud browser provider such as Browserbase (opens in a new tab), Browserless (opens in a new tab), Browser Use (opens in a new tab), Kernel (opens in a new tab), or AgentCore (opens in a new tab).
The CLI ships skills that match its version:
agent-browser skills get core # the core loop, refs, waiting, and common workflows
agent-browser skills get core --ref commands # one reference, such as the full command list
agent-browser skills get core --full # adds the full command reference and templates
agent-browser skills list # specialized skills: electron, slack, dogfood, and moreInstall the discovery skill into an agent harness from skills.sh (opens in a new tab):
npx skills add vercel-labs/agent-browserThe installed skill is a thin stub that tells the agent to load agent-browser skills get core, so its instructions always match the installed CLI. Or add this to your AGENTS.md:
Use `agent-browser` for browser automation. Before the first use, run
`agent-browser skills get core` and follow it.For MCP clients, agent-browser mcp starts an MCP server over stdio. See MCP server (opens in a new tab).
Run agent-browser --help for the full list, or agent-browser <command> --help for one command.
| Group | Commands | Docs |
|---|---|---|
| Navigate and read | open, back, forward, reload, read, snapshot, get, is | Core (opens in a new tab), Snapshots (opens in a new tab) |
| Interact | click, dblclick, fill, type, press, keyboard, hover, focus, select, check, uncheck, scroll, drag, upload, mouse, find | Core (opens in a new tab), Find elements (opens in a new tab) |
| Wait | wait | Wait (opens in a new tab) |
| Capture | screenshot, pdf, record, download, diff | Recording (opens in a new tab), Diffing (opens in a new tab), Files (opens in a new tab) |
| Page and network state | cookies, storage, network, set, clipboard, eval, pushstate | Network (opens in a new tab), Settings (opens in a new tab) |
| Tabs, frames, and dialogs | tab, frame, dialog | Tabs and frames (opens in a new tab) |
| Debug and performance | console, errors, highlight, inspect, trace, profiler, vitals, react, a11y | Debugging (opens in a new tab), Profiler (opens in a new tab), React (opens in a new tab) |
| Sessions and auth | session, state, auth, profiles, confirm, deny | Sessions (opens in a new tab), Security (opens in a new tab) |
| Agents and integrations | skills, mcp, webmcp, flow, chat, batch, plugin | Skills (opens in a new tab), WebMCP (opens in a new tab), Plugins (opens in a new tab) |
| Observe | stream, dashboard | Streaming (opens in a new tab), Dashboard (opens in a new tab) |
| Setup | install, upgrade, doctor, connect, close | Installation (opens in a new tab) |
Flags, environment variables, and agent-browser.json are documented in Configuration (opens in a new tab).
Native binaries ship for macOS (ARM64, x64), Linux (ARM64, x64, glibc and musl), and Windows (x64). The npm package picks the right binary for the host.
Building from source requires Node.js 24 or later, pnpm 11 or later, and Rust:
pnpm install
pnpm build:source # builds the dashboard and the native CLI
pnpm link --global
agent-browser installRun the Rust checks from cli/:
cargo fmt -- --check
cargo clippy
cargo test
cargo test e2e -- --ignored --test-threads=1 # launches real headless ChromeAGENTS.md (opens in a new tab) lists the files to update with each change, the docs checks, and the release process.
Apache-2.0
main, last pushed 8 November 2026.SKILL.md, not by matching a directory convention. 3 distinct layouts observed: .agents/skills/*/SKILL.md, skill-data/*/SKILL.md, skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Vercel, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./vercel-labs/agent-browser.md, and each skill at its own .md URL.