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

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.
| Property | agent-browser, as documented |
|---|---|
| GitHub stars | 43,355 |
| npm downloads, 28 August to 26 September 2026 | 6,111,535 |
| Latest release | v0.38.1, 16 September 2026 |
| Licence | Apache-2.0 |
| Default browser | Chrome for Testing, headless; Lightpanda as an option |
| Element addressing | refs from an accessibility snapshot, such as @e2 |
| State across runs | a profile folder, or a session with --restore saved to state files |
| Proxy | --proxy for one HTTP or SOCKS5 address |
| Stealth and captchas | not built in; plugin slots for both |
| Cloud browsers | Browserbase, Browser Use, Kernel, Browserless and AgentCore through -p |
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:
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 changedIts 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.
- 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. - The exit.
--proxytakes 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. - The challenges. The plugin system names
launch.mutatefor "stealth or local launch customization" andcaptcha.solvefor 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.
| Question | agent-browser | Scalebrowser |
|---|---|---|
| What does the page see | headless Chrome for Testing by default | a signed Chromium build on the machine's own screen and graphics card |
| Where does identity live | a profile folder or state files you manage | one profile per identity, created with its own fingerprint |
| Exit address | one proxy URL per launch | a proxy per profile, and an exit address belongs to one profile |
| How input arrives | CDP commands at the element | pointer paths and typing rhythm drawn from measured human data |
| Passwords | auth vault, kept out of the model's context | stored per profile; the agent names the field, the daemon types the value, including the 2FA code |
| Challenges | plugin slot | the agent solves them with its own tools, 18 types solved on live widgets, 2 still open |
| Tokens per step | about 200 to 400 per snapshot, vendor figure | 462 per follow-up step on Hacker News, measured 8 September 2026 |
| Price | free, Apache-2.0 | free 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.
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.
| Situation | Pick | Why |
|---|---|---|
| A coding agent that tests your own app | agent-browser | fast, free, refs instead of selectors, no identity needed |
| Vercel preview deployments behind protection | agent-browser | it ships a skill for protected Vercel deployments |
| A cloud browser without a local machine | agent-browser with -p browserbase or -p kernel | the provider brings the browser, the CLI stays the same |
| Accounts that stay signed in for weeks | a browser with a persistent identity | device, exit and logins stay the same across runs |
| Targets that run bot detection | a browser with a persistent identity | headless 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 runs real browser profiles on your own PC: your AI agent drives them over MCP and signs in without ever seeing a password.
Download freeIf 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.
