# agent-browser (Vercel Labs' open-source browser CLI for AI agents)

> Updated 2026-11-06 · type: tool · category: mcp-agents · status: active · rev 1

agent-browser is a Rust CLI that hands an AI agent a page's accessibility tree with element refs, so it clicks and types by ref instead of guessing coordinates.

- Open source: yes (Apache-2.0)
- Self-hostable: yes
- Pricing: Free (Apache-2.0), runs locally. Optional cloud browser providers (Browserbase, Browserless and others) bill separately.
- Best for: Builders whose agents must check a site they built or work inside web portals and dashboards that have no API.
- Not for: Non-technical teams wanting a no-code browser recorder; it is a CLI driven by an agent or script.
- Version: 0.41.2
- Last verified: 2026-11-06

- **Canonical:** https://gtmstacker.com/registry/tool/agent-browser/
- **Source:** [Vercel's Agent Browser: can your AI coding agent test if the site it wrote works?](https://x.com/RoundtableSpace/status/2118572837774455289) — RoundtableSpace
- **Tags:** browser-automation, cli, rust, chrome-devtools-protocol, mcp, agent-skills, vercel
- **Repository:** https://github.com/vercel-labs/agent-browser
- **Version:** 0.41.2
- **Package (npm):** `agent-browser` @ 0.41.2

## Is agent-browser (Vercel Labs' open-source browser CLI for AI agents) open source?

Yes, agent-browser (Vercel Labs' open-source browser CLI for AI agents) is open source under the Apache-2.0 license.

## How much does agent-browser (Vercel Labs' open-source browser CLI for AI agents) cost?

Free (Apache-2.0), runs locally. Optional cloud browser providers (Browserbase, Browserless and others) bill separately. (free).

## Can I self-host agent-browser (Vercel Labs' open-source browser CLI for AI agents)?

Yes, agent-browser (Vercel Labs' open-source browser CLI for AI agents) can be self-hosted (the source is available under the Apache-2.0 license).

## Alternatives & related

- [Playwright MCP](https://gtmstacker.com/registry/tool/playwright-mcp/)
- [browser-use](https://gtmstacker.com/registry/tool/browser-use/)
- [Stagehand](https://gtmstacker.com/registry/tool/stagehand/)
- [agent-desktop (Vercel Labs' CLI for AI agents to operate desktop apps)](https://gtmstacker.com/registry/tool/agent-desktop/)


---

**agent-browser** (`vercel-labs/agent-browser`) is an **Apache-2.0** native Rust CLI that lets an AI agent drive a browser one command at a time. `snapshot` returns the page's accessibility tree with element refs (`@e1`); the agent acts on a ref, then snapshots again. A background daemon talks to the browser over the Chrome DevTools Protocol, with a separate daemon per session.

It defaults to Chrome for Testing and can attach to a running Chrome, use Lightpanda or Obscura engines, the iOS Simulator, or cloud providers (Browserbase, Browserless, Browser Use, Kernel, AgentCore). It ships version-matched agent skills and `agent-browser mcp` starts an MCP server over stdio. Install via npm, Homebrew or npx.

## Provenance

- License **Apache-2.0** (GitHub license API; LICENSE header; npm `license`).
- Activity (GitHub API): **46,269 stars, 3,170 forks**, 494 open issues; created 2026-01-11, last push 2026-11-06; latest release v0.41.2 (2026-11-03).
- npm `agent-browser`: 7,876,072 downloads (2026-10-07 to 2026-11-05); its repository field matches the repo. Same org as `agent-desktop`.
- **Vendor claim:** a click on a hidden or covered element fails instead of reporting success.
- Curated and verified in run `2026-11-06-registry-update-01` (step-3 verification, 2026-11-06). README read; the tool was not run.

## Why it matters for a GTM stack

Plenty of GTM data sits in portals with no API: partner dashboards, ad consoles, review sites. agent-browser gives an agent a reliable way to read and act on those pages, and to check that an agent-built landing page works before it goes live.
