Scalebrowser

Vercel agent-browser vs a browser with an identity

Vercel's agent-browser read in September 2026: how its Rust CLI and snapshot refs work, and what it leaves to you on identity, proxies and challenges.

Davide G. · Founder, Scalebrowser

Published Nov 29, 2026 · 7 min read

Short answer

Vercel's agent-browser is a native Rust command line tool with 43,355 GitHub stars on 29 September 2026 that drives Chrome over CDP and lets an agent click elements by refs from an accessibility snapshot. It is fast, cheap in tokens and Apache-2.0 licensed. What it leaves to you is the identity: by default it starts headless Chrome for Testing, keeps logins only in state files or profile folders you manage, takes any proxy without tying its address to one identity, and offers plugin slots instead of built-in stealth or challenge solving. That gap decides runs with signed-in accounts.
43,355, GitHub stars, beside a plain cube

agent-browser went from a new repository in January 2026 to 6.1 million npm downloads a month, and the reason is visible in its quick start: seven short commands, no Node.js at runtime, and element references a model can use without writing selectors. The question behind "Vercel agent browser" usually comes later, when the agent has to sign in somewhere and still be signed in tomorrow. We read the repository, its documentation and the npm registry on 29 September 2026.

What is Vercel's agent-browser?

Vercel's agent-browser is a browser automation command line tool for AI agents, published by Vercel Labs and written in Rust. A small CLI hands each command to a daemon that stays running between commands and drives Chrome over the Chrome DevTools Protocol (CDP) directly, with no Playwright or Puppeteer in between.

Propertyagent-browser, as documented
GitHub stars43,355
npm downloads, 28 August to 26 September 20266,111,535
Latest releasev0.38.1, 16 September 2026
LicenceApache-2.0
Default browserChrome for Testing, headless; Lightpanda as an option
Element addressingrefs from an accessibility snapshot, such as @e2
State across runsa profile folder, or a session with --restore saved to state files
Proxy--proxy for one HTTP or SOCKS5 address
Stealth and captchasnot built in; plugin slots for both
Cloud browsersBrowserbase, Browser Use, Kernel, Browserless and AgentCore through -p
Source: agent-browser README and documentation, GitHub API and npm downloads API, read 29 September 2026

Chrome for Testing is Google's build for automation, and agent-browser install downloads it on first use. An installed Chrome, Brave, Playwright or Puppeteer browser is picked up as well.

How does agent-browser work?

agent-browser works in a loop of snapshot, ref and action: the agent reads the page as an accessibility tree in which every element carries a short ref, and every later command addresses that ref instead of a CSS selector. The README shows the whole loop:

bash
agent-browser open example.com
agent-browser snapshot -i                 # interactive elements with refs
agent-browser click @e2
agent-browser fill @e3 "test@example.com"
agent-browser snapshot -i                 # again after the page changed

Its documentation claims that the text output "uses ~200-400 tokens vs ~3000-5000 for full DOM". We have not measured agent-browser ourselves, so that number is the vendor's. A diff snapshot command compares the current snapshot with the last one, and an agent-browser mcp command serves the same functions as an MCP server over stdio, with a small core tool set by default and JavaScript eval inside it.

What does agent-browser leave to you?

agent-browser leaves three things to you: the browser's identity, the address its traffic leaves from, and every challenge a site puts in front of it. None of the three is a defect. Its home page lists coding agents such as Claude Code, Cursor and OpenAI Codex under "Works with", and a coding agent testing its own app meets none of the three.

  1. The identity. The default browser is headless Chrome for Testing in a fresh session, and Chrome for Testing is unbranded in ways a page can read. On one Windows machine it listed 21 speech voices where branded Chrome listed 40, because the 19 Google network voices come with the branding (our measurement, 12 September 2026, 17 readings over 16 seconds). A persistent identity exists only as a profile folder you pass with --profile.
  2. The exit. --proxy takes one HTTP or SOCKS5 address with optional credentials. Which address a profile leaves from, and whether a second profile uses the same one, is yours to track.
  3. The challenges. The plugin system names launch.mutate for "stealth or local launch customization" and captcha.solve for challenges, and the plugin names in its examples were not published on npm when we looked. Its plugin guide puts stealth and anti-detection there because these techniques "change quickly and can be risky to support in core".

Where does a run with signed-in accounts get stopped?

A run with signed-in accounts gets stopped at the point where the state files and the site's view of the device drift apart. agent-browser offers four ways to carry a login: copy an existing Chrome profile as a read-only snapshot with --profile Default, point --profile at a folder that persists, save and restore state per session, or send authorization headers per origin. Saved state files can be encrypted with AES-256-GCM and are removed after 30 days by default.

Its auth vault does one thing well: the documentation states that "passwords stored in the auth vault are never included in LLM context". What no option carries is the rest of the device: the screen, graphics card, fonts and exit address the site saw at the first sign-in. A site that compares that device with the one presenting the cookies now can ask for the password and the second factor again, and a run without a person at the keyboard stops there.

agent-browser or a browser with an identity?

agent-browser is the better choice when the browser is a tool for one run, and a browser with an identity is the better choice when the browser is an account that has to look the same every day. The table sets agent-browser's documentation next to Scalebrowser's, one row per question an agent run asks.

Questionagent-browserScalebrowser
What does the page seeheadless Chrome for Testing by defaulta signed Chromium build on the machine's own screen and graphics card
Where does identity livea profile folder or state files you manageone profile per identity, created with its own fingerprint
Exit addressone proxy URL per launcha proxy per profile, and an exit address belongs to one profile
How input arrivesCDP commands at the elementpointer paths and typing rhythm drawn from measured human data
Passwordsauth vault, kept out of the model's contextstored per profile; the agent names the field, the daemon types the value, including the 2FA code
Challengesplugin slotthe agent solves them with its own tools, 18 types solved on live widgets, 2 still open
Tokens per stepabout 200 to 400 per snapshot, vendor figure462 per follow-up step on Hacker News, measured 8 September 2026
Pricefree, Apache-2.0free for 1 browser and 3 profiles, paid plans from 19 EUR a month, priced by browsers running at the same time

The tokens row compares two different measurements. Our figure counts one action plus everything the agent needs to act next, and the other agent browser tools compared on that bench spent between 12,076 and 26,438 tokens for the same step. agent-browser was not part of that bench.

By default agent-browser starts headless Chrome for Testing and leaves identity, exit address and challenges to you. A browser with an identity carries all three per profile.

So which should you pick?

Pick agent-browser when no account and no bot defence is involved, and a browser with a persistent identity when either is.

SituationPickWhy
A coding agent that tests your own appagent-browserfast, free, refs instead of selectors, no identity needed
Vercel preview deployments behind protectionagent-browserit ships a skill for protected Vercel deployments
A cloud browser without a local machineagent-browser with -p browserbase or -p kernelthe provider brings the browser, the CLI stays the same
Accounts that stay signed in for weeksa browser with a persistent identitydevice, exit and logins stay the same across runs
Targets that run bot detectiona browser with a persistent identityheadless Chrome for Testing is what those sites look for

Our verdict: agent-browser is a well-documented free option for letting a coding agent use a browser, and it documents security switches of its own: a domain allowlist, an action policy and confirmation prompts. It leaves the most to you at the first login that has to survive the night.

Scalebrowser

Scalebrowser runs real browser profiles on your own PC: your AI agent drives them over MCP and signs in without ever seeing a password.

Download free

If your agent already speaks MCP, the MCP server page shows the loop that replaces open, snapshot and click, and the credentials page shows how a login is stored so the agent never reads the password. Using a browser agent instead of a recorded macro is covered in AI RPA with a browser agent.

Real browser profiles for your AI agent, on your PC.

Each profile keeps its own identity, logins and proxy. Your agent drives it over MCP and signs in without seeing a password.

Download free for Windows

Free plan with 3 profiles · No credit card · Runs on your PC

Written by

Davide G.

Founder, Scalebrowser

Builds Scalebrowser, browser automation for the agentic era that runs on your own machine. Measures every change a web page could observe against a real browser before it ships, and writes up the ones that turned out wrong.

All articles by Davide G.

More in Infrastructure

All 17 articles in Infrastructure