
agent-browser
agent-browserBrowser automationBy vercel-labs ↗
GitHub repository: Within freshness window. Last successful check . Freshness policy ↗
Control a browser through a CLI designed for AI agents.
Is agent-browser the right tool?
- Best for
- Driving a real browser step by step from shell commands: take an accessibility snapshot, then click or fill elements using the refs it returns. Official source ↗
- Look elsewhere when
- You only need a page's content or a single capture. agent-browser works through a sequence of browser commands and downloads Chrome for Testing on first install. Official source ↗
Compared with related CLIs
Playwright CLIPlaywright CLI also targets coding agents, exposing Playwright through concise commands. Its README points to Playwright MCP instead for long-running loops that need persistent browser context. Official source ↗
shot-scraperChoose shot-scraper for one-command screenshots, video demos, or JavaScript-based scraping of a page. Official source ↗
Firecrawl CLIFirecrawl CLI searches, scrapes, crawls and maps sites through the hosted Firecrawl service, which requires authentication. Official source ↗
Try a documented task belowRead the official docs ↗
Summarized from each project's own documentation, checked . Not execution-tested by useclis.
For your agent
Give an agent browser actions and accessibility snapshots with element references.
Source-list workflow marking: Documented (source list)
Agent capabilities and setup
Documentation reviewed; this example has not been execution-tested by useclis. Sources checked .
- Structured output
- Use --json for output intended for scripts. Official source ↗
- Unattended use
- The default browser mode is headless; commands can be issued from scripts. Official source ↗
- Authentication
- Public-page reading needs no site login. Protected sites need separately authorized authentication state. Official source ↗
- Platforms
- Installation instructions cover macOS, Windows and Linux; Linux may need additional browser dependencies. Official source ↗
- Limitations
- Element references come from page snapshots; inspect the current page before choosing controls. Official source ↗
Try a useful task
Read the title of a public web page
Before you start: Install agent-browser and its browser using the official installation instructions. Confirm browser launch is allowed for your task. Setup instructions ↗
This example starts a named browser session and visits example.com. Use a fresh session name if useclis-example is already in use. It does not log in or submit forms.
agent-browser --session useclis-example open https://example.com
agent-browser --session useclis-example --json get title
agent-browser --session useclis-example closeExpected result: The title command returns the page title as JSON; the final command closes the example session. Command reference ↗
View prompt
What it does
- Browser navigation
- Accessibility snapshots
- Screenshots
Homebrew installs
agent-browser ↗Explicitly requested installation events
- 30 days
- 5,426
- 90 days
- 12,829
- 365 days
- 42,621
From Homebrew installations that report analytics. Includes package variants; counts are not unique users.
Homebrew: Within freshness window. Last successful check . Freshness policy ↗
Checked . Source dated . How installs are counted ↗
npm downloads
agent-browser ↗- 30 days
- 6,550,413
- 90 days
- 17,327,946
- 365 days
- 36,592,788
Package downloads, including automated and dependency downloads. Counts cover the mapped CLI package, excluding separate platform packages.
Downloads are not unique users or confirmed installations. Sources can overlap and should not be added together.
Latest refresh unavailable. Showing the last saved counts.
Checked . Periods end . How downloads are counted ↗
GitHub activity: Within freshness window. Last successful check . Freshness policy ↗
Repository activity
Commits per week · GitHub snapshot
Tap, hover, or use the arrow keys to inspect weekly commits. Weekly totals can extend beyond the selected dates; the latest week may be incomplete. All time includes up to 52 recorded weeks. Hourly data is unavailable.
Commands and capabilities are described from the project documentation. Repository statistics cover vercel-labs/agent-browser, which may contain more than the CLI. Listing a tool does not mean every command has been tested with every agent.


