agent-browser: Browser automation CLI for AI agents

agent-browser: Browser automation CLI for AI agents

agent-browser is a native Rust command-line tool built by Vercel Labs that gives AI agents direct, step-by-step control over web browsers using lightweight text snapshots.

▶ Watch the video explainer

The paper, point by point

  1. The AI Web Browsing Problem

    AI agents struggle to interact with complex web pages because standard browser automation frameworks are heavy and hard to drive efficiently.

  2. Introducing agent-browser

    Developed by Vercel Labs, agent-browser is a native Rust command line tool that gives autonomous agents direct control over a browser.

    Introducing agent-browser (from the video)
  3. Compact Text Snapshots

    Instead of sending heavy screenshots, a background daemon reads the page as compact text with simple element references.

    Compact Text Snapshots (from the video)
  4. Persistent Background Daemon

    A background daemon controls the browser over the Chrome DevTools Protocol, keeping the browser open between short shell calls.

    Persistent Background Daemon (from the video)
  5. Simple Terminal Commands

    You can install it instantly and start running browser commands right from your terminal to automate workflows.

    Simple Terminal Commands (from the video)
  6. Massive Popularity on GitHub

    Developers love the tool, gaining 51,292 stars on GitHub since its launch.

    Massive Popularity on GitHub (from the video)

Watch the explainer

Watch on YouTube ShortsWatch on InstagramWatch on FacebookWatch on Threads

Music: "Airport Lounge" Kevin MacLeod (incompetech.com), licensed under Creative Commons: By Attribution 4.0 — creativecommons.org/licenses/by/4.0/

How it works

  1. Run agent-browser open example.com to load a URL.
  2. Run agent-browser snapshot -i to get interactive elements with refs.
  3. Run commands like agent-browser click @e1 to interact with elements.

Key numbers

51,292GitHub starsTotal GitHub stars for the repository.
960Stars gained in the last 2 daysRecent growth in GitHub stars.

Why it matters

AI engineers and developers building autonomous agents can now execute reliable browser-based tasks. This enables seamless autonomous web research, automated testing, and AI-driven form filling.

Words to know

CLI
Command Line Interface, a text-based way to interact with software.
CDP
Chrome DevTools Protocol, a set of tools for inspecting and controlling browsers.
The source

agent-browser: Browser automation CLI for AI agents

vercel-labs · GitHub · 2026-11-15

Made with Maya — an AI-assisted explainer with an AI voice. Numbers come from the source; check the paper for the full details.

Comments