Who it is forA developer whose agent can run shell commands and needs to test a web flow.
The problemBrowser MCP servers load big tool schemas into every conversation.
The outcomeAn agent that drives a real browser with compact commands and readable snapshots.
What you need first
- npm, Homebrew or Cargo
- Chrome (agent-browser install downloads Chrome for Testing)
Steps
- 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
Prompt for your agent
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.
Caveat.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for vercel-labs/agent-browser and "Let your agent browse with short CLI commands"
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 freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer