agent-browser is a native Rust CLI that lets an AI agent drive a browser from the shell one command at a time, reading pages as compact text snapshots with element refs and acting on elements via short shell calls while the browser stays open between commands.
Project overview
Its snapshot-and-ref interaction model (e.g. @e1) plus a persistent browser between commands keeps each agent step to one short shell call, and it ships as native binaries for macOS, Linux, and Windows.
Project type
MCP
Use cases
Automation
Deployment
Refer to project documentation
License
Apache-2.0
Best for
Developers and AI engineers who need an agent to drive a browser through short CLI calls and read pages as compact text with element refs.
Teams on macOS, Linux, or Windows who want a native Rust CLI distributed as native binaries or via npm.
Key capabilities
Returns the page as compact text with a ref such as @e1 for each element; the agent acts on a ref and reads the page again to check the result.
Limitations and risks
No end-to-end data-boundary fact is provided; local execution of the CLI does not establish that all traffic, inference, or integrations stay local, and optional cloud browser providers exist.
GPU requirements, telemetry practices, and cost dependencies are not documented in the available facts.
The only documented interaction mode is the CLI; no other interface is described beyond the MCP server integration.
Getting started
Documented first success path: npm install -g agent-browser, then agent-browser install, then agent-browser open example.com. Setup difficulty is documented as easy and no coding is required.
Evidence and sources
GitHub project description: Browser automation CLI for AI agents
README: agent-browser is a native Rust CLI that gives an AI agent a browser it can drive one command at a time. `snapshot` returns the page as compact text with a ref such as `@e1` for ea…
README: agent-browser open example.com agent-browser snapshot -i # interactive elements, each with a ref agent-browser click @e1 # act on a ref from that snapshot