aicoolies logo
Vercel logo
Vercel logo

Agent Browser

Browser automation CLI built for AI agents by Vercel Labs

open sourceupdated Jul 14, 2026

Agent Browser is a Rust-based browser automation CLI designed specifically for AI agent workflows rather than traditional testing. Developed by Vercel Labs, it provides semantic element selection through a refs system, accessibility tree snapshots, session persistence, and authentication vaults. Unlike Playwright or Puppeteer which target test automation, Agent Browser optimizes for token efficiency and deterministic element selection that gives LLMs reliable browser interaction capabilities.

Agent Browser takes a fundamentally different approach to browser automation by designing every feature around AI agent requirements rather than human-written test scripts. The refs system assigns stable identifiers to page elements through accessibility tree analysis, giving LLMs deterministic element selection without relying on brittle CSS selectors or XPath expressions that break when page layouts change. Text snapshots capture the semantic content of pages in a token-efficient format, reducing the context window consumption that makes browser interaction expensive for language models.

The CLI architecture integrates naturally into terminal-based agent workflows where shell interoperability matters. Session persistence maintains browser state across multiple agent interactions, and authentication vaults securely store credentials so agents can access authenticated pages without exposing secrets in prompts or logs. The streaming browser view provides real-time visibility into what the agent sees, useful for debugging and monitoring automated workflows. Multiple browser backends are supported including Chrome and Lightpanda for different performance and resource profiles.

Built in Rust for performance and deployed as a single binary, Agent Browser has accumulated over 26,000 GitHub stars since its release by Vercel Labs. It integrates natively with Claude Code and supports both headless and headed modes for different use cases. The Apache 2.0 license enables both commercial and open-source usage, and the focused scope on agent-first browser interaction fills a distinct gap between full browser testing frameworks and lightweight web scraping tools in the developer toolchain.

Pricing

Free and open source under Apache 2.0

Platforms

CLI on macOS, Linux, Windows

Categories

Tags

Use Cases

UI-TARS Desktop logo

UI-TARS Desktop

ByteDance's open-source multimodal desktop agent with vision-based GUI automation

UI-TARS Desktop is ByteDance's open-source multimodal AI agent that automates desktop and browser interactions using computer vision rather than DOM selectors or accessibility APIs. Powered by the UI-TARS vision model, it can understand and operate any graphical interface by looking at screenshots, making it capable of automating applications that traditional browser automation tools cannot reach, including native desktop apps and complex web UIs.

Open Source
OpenFang logo

OpenFang

Rust-based agent OS with built-in security, WASM sandboxing, and multi-agent runtime

OpenFang is an open-source agent operating system built in Rust that provides a secure multi-agent runtime with WASM sandboxing, auditability layers, and multi-channel communication. It goes beyond typical orchestration SDKs by treating agent security and operational isolation as first-class concerns, making it suitable for teams deploying agents in environments where trust boundaries and audit trails matter.

Open Source
Google Antigravity logo

Google Antigravity

Top Pick

Agent-first development platform from Google with desktop app and CLI

Google Antigravity is Google's AI-powered agentic development platform, announced in November 2025 and expanded with Antigravity 2.0 at I/O 2026, that places autonomous AI agents at the center of software development. Distributed as both a VS Code-based desktop app and the new Antigravity CLI, it runs planning, implementation, and verification agents — backed by Gemini 3.1 Pro/Flash, Claude Sonnet/Opus 4.6, and GPT-OSS 120B — across editor, terminal, and browser.

freemiumTelemetry

Related Tools

computed discovery: shared active categories · kept separate from editor-verified Alternatives

MCPJam logo

MCPJam Inspector

Test and debug MCP servers before they ship

Open-source platform for inspecting, debugging and regression-testing MCP servers, MCP Apps and ChatGPT apps, with OAuth and protocol conformance for local and CI workflows.

freemiumOpen SourceTelemetry
React Scan logo

React Scan

Automatically detect and fix slow React re-renders

Open-source tool that highlights unnecessary and slow React re-renders directly in your app — as a browser extension, CLI, or drop-in package, with no code changes required.

Open Source
MCP for Unity logo

MCP for Unity

Open-source MCP bridge between AI assistants and the Unity Editor

MCP for Unity is CoplayDev’s MIT-licensed bridge between MCP-compatible AI assistants and the Unity Editor. It exposes tools for assets, scenes, GameObjects, scripts, tests, profiling, and build-oriented workflows. The community project supports Unity 2021.3 LTS through 6.x and is explicitly not affiliated with Unity Technologies.

Open Source
XcodeBuildMCP logo

XcodeBuildMCP

Sentry-maintained MCP server and CLI for Xcode builds, simulators, and tests

XcodeBuildMCP is a Sentry-maintained, MIT-licensed MCP server and CLI for agent-assisted iOS and macOS development. It lets MCP-compatible coding agents run Xcode build and test workflows, manage simulators, inspect failures, and work through Homebrew, npm, or on-demand client configuration, with documented Sentry telemetry controls for teams that need an opt-out.

Open SourceTelemetry
iFixAi logo

iFixAi

Open-source diagnostic for AI operational misalignment

iFixAi is an Apache-2.0 diagnostic tool for scoring AI agents and models against operational-misalignment risks such as hallucination, manipulation, sabotage, sandbagging, and oversight evasion.

Open Source
Inspect AI parent UK AISI mark

Inspect AI

UK AI Security Institute framework for LLM safety evaluations

Inspect AI is an MIT-licensed framework from the UK AI Security Institute for running large language model evaluations, including tool use, multi-turn dialogue, model-graded scoring, and reusable evaluation tasks.

Open Source

Comparisons

Agent Browser vs Browser Use: CLI Control or Full Agent Platform?

Agent Browser and Browser Use both let AI systems operate a web browser, but they put the control boundary in different places. Agent Browser gives an existing coding or terminal agent a native Rust CLI, a persistent daemon, direct CDP operations, and accessibility snapshots with reusable element refs. Browser Use offers a Python agent framework for goal-driven automation plus a first-party cloud for managed agents, browsers, profiles, proxies, and persistent workspaces. Browser Use is the stronger overall default because it spans local application code and hosted production execution, while Agent Browser is the better fit when you already have the reasoning agent and want explicit, inspectable browser commands.

Agent BrowserBrowser Use

FAQ

What is Agent Browser?

Agent Browser is a Rust-based browser automation CLI designed specifically for AI agent workflows rather than traditional testing. Developed by Vercel Labs, it provides semantic element selection through a refs system, accessibility tree snapshots, session persistence, and authentication vaults. Unlike Playwright or Puppeteer which target test automation, Agent Browser optimizes for token efficiency and deterministic element selection that gives LLMs reliable browser interaction capabilities.

Is Agent Browser free?

Yes — Agent Browser is open source and free to use. Free and open source under Apache 2.0

Is Agent Browser open source?

Yes — Agent Browser is open source.

What are the best Agent Browser alternatives?

The top editor-verified Agent Browser alternatives are UI-TARS Desktop, OpenFang, Google Antigravity.