{"data":{"slug":"agent-browser","name":"agent-browser","tagline":"Vercel Labs Rust CLI with compact a11y refs for agents","category":"agents","categoryName":"AI Agents","url":"https://agent-browser.dev","github":"https://github.com/vercel-labs/agent-browser","pricing":"open-source","hook":"agent-browser snapshots a compact accessibility tree and lets the agent click `@e1` instead of a CSS selector.","whatsGood":"Vercel Labs Rust CLI (Apache-2.0). Native daemon talks CDP to Chrome. `agent-browser snapshot -i` returns an a11y tree with refs (`@e1`, `@e2`); click/fill use those refs. Distinct from Browser Use (Python LLM browser framework), Playwright MCP (MCP control plane), and Chrome DevTools MCP (DevTools traces/Lighthouse). CLI-first for any agent that can run a shell—Claude Code, Cursor, Codex, Gemini. Native binaries for macOS, Linux, Windows.","theCatch":"Default idle timeout is about one hour: the headless daemon shuts down and discards transient tabs/state unless you passed `--restore` (or another restore key). Headed, Safari/iOS WebDriver, and user-attached browsers are exempt; cloud-provider browsers are not. Tune with `--idle-timeout` or `AGENT_BROWSER_IDLE_TIMEOUT_MS`; `0` disables. This is CDP Chrome, not stealth—anti-bot pages will still block you.","verdict":"The CLI browser for agents that want refs, not a full DOM dump. Restore or lose the session.","addedAt":"2026-09-03","featured":false,"domain":"AI Agents","subSpecialty":"Browser Automation","capabilities":["browser","a11y","cli"],"surfaces":["CLI","Self-host"],"ecosystem":["Rust"],"licenseModel":"Apache-2.0","githubStars":41842},"related":[{"slug":"claude-code","name":"Claude Code","tagline":"Terminal-first coding agent with deep repository context"},{"slug":"cursor","name":"Cursor","tagline":"The AI-first code editor that understands your codebase"},{"slug":"devin","name":"Devin","tagline":"Autonomous AI engineer for defined engineering tasks"},{"slug":"stagehand","name":"Stagehand","tagline":"AI-native browser automation that mixes code and natural language"},{"slug":"browser-use","name":"Browser Use","tagline":"Open-source framework for LLM-driven browser agents"}],"links":{"self":"/api/gems/agent-browser","html":"/gems/agent-browser","markdown":"/gems/agent-browser.md","category":"/api/gems?category=agents","categoryPage":"/stacks/agents"}}