agent-browser
BrowserApache-2.0
agent-browser is a command line tool from Vercel Labs for browser automation by AI agents. The agent works through one shell command at a time: a snapshot prints the page as short text with a reference for each element, and commands such as click then target those references while the browser stays open. By default it runs Chrome for Testing through the Chrome DevTools Protocol, and it can also serve an MCP server over stdio.
The README mentions other engines through an --engine option, an iOS Simulator option and cloud browser providers.

Pinout
- MCP server: supported, verified
- HTTP API: not checked yet
- command line: supported, verified
- Python SDK: not checked yet
- TypeScript SDK: not checked yet
- OpenAPI description: not checked yet
| Interface | Status | Source we read | Read on |
|---|---|---|---|
| MCP server | Supported, verified | GitHub README, vercel-labs/agent-browser, Interfaces | |
| HTTP API | Not checked yet | — | — |
| Command line | Supported, verified | GitHub README, vercel-labs/agent-browser, CLI usage | |
| Python SDK | Not checked yet | — | — |
| TypeScript SDK | Not checked yet | — | — |
| OpenAPI description | Not checked yet | — | — |
Facts
| Design | The browser stays open between commands, so each step is one short shell call. GitHub README, vercel-labs/agent-browser, read . |
|---|---|
| Install | npm install -g agent-browser then agent-browser install; Homebrew is also listed. GitHub README, vercel-labs/agent-browser, Install, read . |
| Commands | open, snapshot, click, get url and close, with snapshot returning element refs such as @e1. GitHub README, vercel-labs/agent-browser, CLI usage, read . |
| Engine | Chrome for Testing over the Chrome DevTools Protocol by default. GitHub README, vercel-labs/agent-browser, Engine, read . |
| MCP | agent-browser mcp serves MCP over stdio. GitHub README, vercel-labs/agent-browser, Interfaces, read . |
| Operating systems | macOS (ARM64, x64), Linux (ARM64, x64, glibc and musl) and Windows (x64). GitHub README, vercel-labs/agent-browser, OS support, read . |
| Sessions | Each session gets its own daemon and browser; headless browsers close after one hour of inactivity. GitHub README, vercel-labs/agent-browser, Security notes, read . |
| License | Apache-2.0. Repository LICENSE file, read . |
| Last commit | . GitHub API, latest commit on the default branch of vercel-labs/agent-browser, read . |
Strengths
- Command line and MCP interfaces are both documented.
- A click on a hidden or covered element is reported as a failure, not as a success.
- Three operating systems are supported.
Alternatives to agent-browser
All browser tools for agents
Open-source Python library and hosted API for AI browser agents.

Hosted cloud browsers for agents that browse the web.

Hosted cloud browsers, sandboxes and web data APIs for AI agents.

Headless browser for agents, written in Zig, with CDP and MCP.
Last check: . Method: public repository and docs read automatically, page and day written down. Next check due within 90 days. How we check
Is this your tool? Write to hello@agent-tools.directory from an address on its domain to correct a pin or a fact.