agent-browser (Vercel Labs) agent skill
Command-line browser for agents: open a page, read it as a compact element tree, then click or type by reference. Apache-2.0.
Visit agent-browser (Vercel Labs) ↗
What it does
agent-browser is a command-line browser tool from Vercel Labs, written in Rust and released under Apache-2.0. An agent runs snapshot to receive an element list with short refs such as @e1, acts on one, then takes a fresh snapshot to verify the outcome, and repeats. A background daemon keeps the browser open between commands and drives it through the Chrome DevTools Protocol.
What an agent can do with it
- Open pages and read them as a text snapshot with element refs
- Click, fill, type, hover, scroll and upload files by ref or selector
- Capture screenshots, PDFs and recordings
- Inspect cookies, storage, network requests and console output
- Connect to an already running Chrome or to hosted browser services
- Run an MCP server on stdio with agent-browser mcp
Things to ask it
- Open example.com and list the interactive elements.
- Click the Submit button and tell me the resulting URL.
- Take a screenshot of the checkout page and save the page as a PDF.
- Fill in the signup form and check the console for errors.
Who it suits
- Developers giving a coding agent a way to browse and test sites from the shell
- Teams that want browser automation driven by short commands instead of a heavy framework
How to set it up
Install with npm install -g agent-browser, then run agent-browser install once to download Chrome for Testing. Homebrew (brew install agent-browser) and npx agent-browser open example.com also work. To teach an agent, run npx skills add vercel-labs/agent-browser, or add a line to AGENTS.md telling it to run agent-browser skills get core first.
Full steps: Vercel Labs's documentation.
Actions it gives an agent
12 actions, as named by the server.
opensnapshotclickfilltypescreenshotpdfwaitfindevalsessionmcp
Give the agent only the access it needs, and keep a person approving anything it sends, pays, or deletes.
Sources
Descriptions are written by Agents Lookup unless marked as quoted. Each link opens the original.
- Official page: github.com/vercel-labs/agent-browser (checked 2026-11-24)
- Found via skills.sh: skills.sh/vercel-labs/agent-browser/agent-browser