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
Where each pin comes from
InterfaceStatusSource we readRead on
MCP serverSupported, verifiedGitHub README, vercel-labs/agent-browser, Interfaces
HTTP APINot checked yet——
Command lineSupported, verifiedGitHub README, vercel-labs/agent-browser, CLI usage
Python SDKNot checked yet——
TypeScript SDKNot checked yet——
OpenAPI descriptionNot checked yet——

Facts

Facts about agent-browser
DesignThe browser stays open between commands, so each step is one short shell call. GitHub README, vercel-labs/agent-browser, read .
Installnpm install -g agent-browser then agent-browser install; Homebrew is also listed. GitHub README, vercel-labs/agent-browser, Install, read .
Commandsopen, snapshot, click, get url and close, with snapshot returning element refs such as @e1. GitHub README, vercel-labs/agent-browser, CLI usage, read .
EngineChrome for Testing over the Chrome DevTools Protocol by default. GitHub README, vercel-labs/agent-browser, Engine, read .
MCPagent-browser mcp serves MCP over stdio. GitHub README, vercel-labs/agent-browser, Interfaces, read .
Operating systemsmacOS (ARM64, x64), Linux (ARM64, x64, glibc and musl) and Windows (x64). GitHub README, vercel-labs/agent-browser, OS support, read .
SessionsEach session gets its own daemon and browser; headless browsers close after one hour of inactivity. GitHub README, vercel-labs/agent-browser, Security notes, read .
LicenseApache-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
  1. Open-source Python library and hosted API for AI browser agents.

    Browser
  2. Hosted cloud browsers for agents that browse the web.

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

    Browser
  4. Headless browser for agents, written in Zig, with CDP and MCP.

    Browser

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.