Agent browser
Plugin by vercel-labs
agent-browser gives AI agents a browser they drive one shell command at a time. The agent reads a page as compact text with element refs, acts on them, and checks the result. It suits AI agents and developers who need browser automation in Chromium.
Install Agent browser
Built from the published package, never by AI.
/plugin marketplace add StackOneHQ/powerful-plugins
/plugin install agent-browser@powerful-pluginsType both lines inside Claude Code: the first adds the marketplace, the second installs the plugin.
Skills can run scripts on your machine. Some need an API key: check the README.
About
agent-browser is a native Rust CLI for browser automation, published by vercel-labs. The snapshot command returns a page as compact text, with a ref such as @e1 for each element. The agent acts on a ref, reads the page again to check the result, and repeats. The browser stays open between commands, so each step is one short shell call.
The CLI sends each command to a background daemon that controls the browser over the Chrome DevTools Protocol. Chrome for Testing is the default browser. The source also mentions attaching to a running Chrome, other engines, iOS Simulator, and several cloud browser providers. The CLI ships skills that match its version, and agent-browser mcp starts an MCP server over stdio. It is aimed at AI agents and developers who need to test code in Chromium.
Written from the project's README and checked against it.
What it can do
- snapshotReturns the page as compact text with a ref for each interactive element.
- clickActs on an element by ref, such as click @e1, and fails if it is covered or hidden.
- Interact commandsRuns fill, type, select, check, scroll, drag, upload, and other page actions.
- getReads page state, such as the current URL, to check the result of an action.
- screenshot and pdfCaptures the page as a screenshot or a PDF file.
- cookies and storageReads and sets cookies, storage, network state, and clipboard on the page.
- tab, frame, dialogManages browser tabs, frames, and dialog prompts.
- console and errorsShows console output and page errors for debugging.
- session and stateSaves and restores browser sessions and state when session persistence is set up.
- mcpStarts an MCP server over stdio with agent-browser mcp.
What you need
- Node.js for npm install
- Chrome for Testing, downloaded by agent-browser install
- macOS, Linux, or Windows (x64)
Try asking
- Open example.com and tell me the main link on the page.
- Fill in the signup form on this page and take a screenshot.
- Test the login flow in my local app and report any console errors.
Good to know
- Refs describe the page at snapshot time and must be refreshed after navigation or DOM changes.
- Clicks fail when the target is hidden, disabled, off-screen, or covered by another element.
- By default the daemon closes a headless browser after one hour without commands.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Agent browser
All alternatives →Chrome DevTools MCP lets coding agents control and inspect a live Chrome browser. It records performance traces, analyzes network requests, and checks console messages. It is for developers who want their assistant to debug and automate web pages.
Gives AI assistants browser automation through Microsoft's Playwright MCP server, using accessibility snapshots instead of screenshots. Suited to exploratory automation, self-healing tests and long-running browser workflows.
Chrome DevTools for agents gives a coding assistant control of a live Chrome browser through an MCP server and a CLI. It suits developers who want browser automation, debugging and performance analysis.
Automates browser interactions and web page tests from the command line, using Playwright. Built for coding agents such as Claude Code and GitHub Copilot, it exposes CLI commands as skills.
Playwright MCP is Microsoft's Model Context Protocol server for browser automation with Playwright. It lets AI assistants control web pages through structured accessibility snapshots, for debugging and test automation.
Agent browser is a native Rust CLI that lets an AI agent open pages, read them as an accessibility tree, and act on elements from the shell. It suits developers building browser automation for AI agents.
Compare with Chrome devtools mcp, Playwright mcp or Chrome devtools mcp
Agent browser: common questions
Does agent-browser work with MCP clients?
Yes. The source says agent-browser mcp starts an MCP server over stdio for MCP clients.
Which browser does agent-browser use?
Chrome for Testing is the default browser. The source also mentions attaching to a running Chrome with --cdp or --auto-connect.
Does the browser stay open between commands?
Yes. A background daemon keeps the browser open, and by default it exits after one hour without commands.
How do I install Agent browser?
Inside Claude Code, add the marketplace with /plugin marketplace add StackOneHQ/powerful-plugins, then install the plugin with the second command shown above.
Is Agent browser free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Agent browser safe to use?
It scores 89 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Agent browser?
Similar plugins: Chrome devtools mcp, Playwright mcp, Chrome devtools mcp, Playwright cli.
