What do you want to do?
3 use cases
-
Let your agent browse with short CLI commands
Install Agent Browser and have the agent open, snapshot, click and fill by element ref.
View prompt
Install vercel-labs/agent-browser and use it to open http://localhost:<port>, fill the signup form with test data, submit it, and report the resulting page text.
-
Take annotated or skip-if-unchanged screenshots
Use screenshot options built for agents: numbered element labels and skipping unchanged images.
View prompt
With vercel-labs/agent-browser, load <url>, take an annotated screenshot, change <setting>, and take a --if-changed screenshot. Tell me what changed on the page.
-
Pin Agent Browser as a project dependency for CI
Install it locally in package.json so every run and CI job uses the same version.
- REPO
vercel-labs/agent-browser - Software and DevOps
- Intermediate
View prompt
Add vercel-labs/agent-browser as a dev dependency, add an npm script that runs a smoke check on <url>, and wire it into our CI with install --with-deps on Linux.
- REPO
Quick start with Agent Browser
- Check you have what it needs: npm, Homebrew or Cargo; Chrome (agent-browser install downloads Chrome for Testing).
- Open vercel-labs/agent-browser on GitHub and read the README and license.
- Install:
npm install -g agent-browser, thenagent-browser installto get Chrome - Open a page:
agent-browser open example.com - Get the accessibility tree with refs:
agent-browser snapshot - Act by ref:
agent-browser click @e2,agent-browser fill @e3 "[email protected]",agent-browser get text @e1
These steps come from our top use case, Let your agent browse with short CLI commands, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for vercel-labs/agent-browser
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAgent Browser alternatives · Best AI repos for Software and DevOps
About this repo
- Who it is forDevelopers who want their coding agent to use a browser through short shell commands instead of an MCP server.
- Why it is hot45k stars, talked about in 2 AI sources we track
- LanguageRust
- Sourcegithub.com/vercel-labs/agent-browser · Back to Hot repos
Requirements
- npm, Homebrew or Cargo
- Chrome (agent-browser install downloads Chrome for Testing)
Add this badge to your README
Maintain Agent Browser? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/vercel-labs-agent-browser/?utm_source=github&utm_medium=badge&utm_campaign=vercel-labs-agent-browser)
HTML
<a href="https://dedupedai.com/use-cases/vercel-labs-agent-browser/?utm_source=github&utm_medium=badge&utm_campaign=vercel-labs-agent-browser"><img src="https://dedupedai.com/badge/vercel-labs/agent-browser.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Agent Browser
What is Agent Browser?
agent-browser is a fast native Rust CLI from Vercel Labs for browser automation by AI agents. An agent opens a page, takes an accessibility snapshot with element refs, then clicks, fills and reads by ref, and takes screenshots, including annotated ones and screenshots skipped when nothing changed to save tokens. It downloads Chrome for Testing on first run or uses an existing Chrome, Brave, Playwright or Puppeteer install. It is an open-source project on GitHub: https://github.com/vercel-labs/agent-browser.
How do I use Agent Browser?
Install: npm install -g agent-browser, then agent-browser install to get Chrome; then open a page: agent-browser open example.com; Get the accessibility tree with refs: agent-browser snapshot. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Agent Browser for?
Developers who want their coding agent to use a browser through short shell commands instead of an MCP server.
What can I do with Agent Browser?
3 use cases so far, for example: Let your agent browse with short CLI commands; Take annotated or skip-if-unchanged screenshots; Pin Agent Browser as a project dependency for CI. Each has steps and a copy-paste agent prompt.
What do I need to run Agent Browser?
npm, Homebrew or Cargo; Chrome (agent-browser install downloads Chrome for Testing).
What are alternatives to Agent Browser?
Other hot AI repos in Software and DevOps: Deep Infer, Harness2, Orca, Opencode, Graphify.
Is Agent Browser safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.