# vercel-labs/agent-browser

Browser automation CLI for AI agents

Repository: https://github.com/vercel-labs/agent-browser
Canonical: https://ross.abutalabs.com/products/agent-browser
Homepage: https://agent-browser.dev
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T23:52:15+00:00

## Health v2 (maintenance only)
Score: 78/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 16
- inputs: {"age_days": 234, "days_push": 7, "days_rel": 7, "gap_med": 0, "n_releases_24m": 104}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 41389, forks 2749 (observed 2026-08-28T04:12:08.535397+00:00)

## What it is
A fast, native Rust CLI for browser automation designed specifically for AI agents, communicating with Chrome via CDP through a client-daemon architecture. It returns compact accessibility-tree snapshots with element refs (~200-400 tokens vs thousands for raw DOM), enabling deterministic, token-efficient browser control from any agent that can run shell commands.

## Use cases
- automate browser tasks from an AI coding agent like Claude Code or Cursor
- scrape and extract text from web pages with minimal token usage
- fill forms and click elements deterministically via accessibility refs
- take screenshots and record video of headless browser sessions
- test web apps by driving a real browser from the command line
- manage authenticated browser sessions, cookies, and proxies for long-running agents

## When to choose
- you need an AI agent to interact with live websites reliably and cheaply in tokens
- you want deterministic element targeting via refs instead of brittle CSS selectors
- you need a fast native binary without Playwright or Node.js runtime dependencies
- you need session persistence, auth state, proxy, and network control for agentic workflows

## When to avoid
- you need to automate browsers other than Chromium-based ones
- you want a high-level scripting API in Python or JavaScript rather than a CLI
- your use case is simple HTTP fetching where a headless browser is overkill
- you need pixel-perfect visual regression tooling as the primary feature

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, browser-extension, developer-tools, workflow-automation, web-scraping, testing, mcp
- domain: developer-tools, web-development, testing
- platform: windows, cli, rust
- tags: browser-automation, ai-agents, accessibility-tree, cdp, chrome, token-efficient, agent-first, headless-browser, automation, command-line, macos, linux, nodejs

## Member repositories
- vercel-labs/agent-browser (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:08.535397+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:23:04.898722+00:00, confidence not recorded.
  - readme: https://github.com/vercel-labs/agent-browser (fetched 2026-08-28T04:12:08.535397+00:00, sha 10789d2c03b5)
  - homepage: https://agent-browser.dev (fetched 2026-08-29T07:46:20.661173+00:00, sha b776d8311ae1)
  - site_page: https://agent-browser.dev/installation (fetched 2026-08-29T07:46:20.670737+00:00, sha 7366b2411c26)
  - registry_crates: https://crates.io/api/v1/crates/agent-browser (fetched 2026-08-29T07:46:20.677486+00:00, sha 5bb73263ef5b)
  - site_page: https://agent-browser.dev/changelog (fetched 2026-08-29T07:46:20.673143+00:00, sha 9a27d6bb1754)
- Data as of 2026-08-30T08:39:29.467469+00:00.
