# Vercel Agent Browser Vercel Agent Browser is an open-source browser automation CLI built in [[Rust]], designed specifically for [[AI Agents]]. Developed by [[Vercel]], it provides compact text output that minimizes token usage in LLM context windows. The key differentiator is its ref-based interaction model. The `snapshot` command returns an accessibility tree where each element has a unique ref (e.g., `@e1`, `@e2`). This uses ~200-400 tokens vs ~3000-5000 for full DOM, making it significantly more context-efficient for AI agents. It uses a client-daemon architecture: a native Rust CLI parses commands and communicates with a persistent daemon that manages Chrome via the Chrome DevTools Protocol (CDP). The daemon starts automatically and persists between commands, keeping latency low. Features include 50+ commands for navigation, forms, screenshots, network interception, JavaScript execution, clipboard, mouse control, batch execution, HAR recording, and visual diffing. It supports multiple isolated browser sessions with separate auth states, persistent profiles, and state management. Works with [[Claude Code]], [[GitHub Copilot]], OpenAI Codex, Gemini, and any agent that can run shell commands. Installable via npm, Homebrew, or Cargo. ## References - https://agent-browser.dev - https://github.com/vercel-labs/agent-browser ## Related - [[AI Agents Web Browsing]] - [[Browser Use]] - [[Browser Use CLI]] - [[Playwright]] - [[Vercel]] - [[Rust]] - [[AI Agents]] - [[AI Agent Skills]] - [[Claude Code]]