Hi, it's Ivo. agent-browser lets Claude Code open websites, click, read and copy what it finds. Below you get the three setup lines, the price-check prompt word for word, and four safe settings. Start with one boring comparison job.
What it is
- A free command-line tool from Vercel Labs (Apache-2.0 licence). Claude Code runs it for you.
- By default it uses its own clean copy of Chrome (from Google's "Chrome for Testing"). Your logins, saved passwords and cookies are not in it.
- One flag changes that:
--profilecopies your real Chrome profile, logged in. Don't use it for this job.
The three setup lines
You need Node.js (it comes with npm). Make a new empty folder for this, open a terminal there and type these one at a time. They're from the project's README:
npm install -g agent-browser agent-browser install npx skills add vercel-labs/agent-browser
- The first line installs the tool.
- The second downloads its own Chrome (first time only).
- The third adds the agent-browser skill to Claude Code in this folder. When it asks which agents, pick Claude Code.
Then start Claude Code in the same folder.
The price-check prompt (copy everything in the box)
Fill in the parts in brackets.
Use agent-browser with --headed so I can watch. Open these three sites, each in its own tab: Booking.com, Expedia and Hotels.com. On each one, search for [hotel name, city] from [check-in date] to [check-out date], [number] adults, one room. Don't log in, don't create an account, don't type any personal details and don't book anything. If a cookie banner appears, pick the option with the fewest cookies. If a site shows a captcha or blocks you, stop on that site and tell me. When you're done, give me a table: site, total price for the stay, what's included (taxes, breakfast, free cancellation) and the link.
Swap the sites for any three you like: flights, car hire, the same product in three shops.
The four safe settings
Save this as a file called agent-browser.json in the same folder. agent-browser reads it on its own:
{
"headed": true,
"allowedDomains": ["booking.com", "*.booking.com", "expedia.com", "*.expedia.com", "hotels.com", "*.hotels.com"],
"confirmActions": "eval,download",
"contentBoundaries": true
}- Keep its own Chrome. Don't add
--profile,--cdpor--auto-connect. Those hand it your logged-in Chrome. Banks, payments and email stay out. - Only the sites you allow (
allowedDomains). It can't wander off to other websites. If a page looks broken, the site may load parts from another address. Add that address, or remove this line for the test. - Ask before scripts and downloads (
confirmActions). It stops and asks you before it runs code inside a page or downloads a file. - Mark what came from the website (
contentBoundaries). Page text arrives inside clear markers, so Claude can tell your instructions from words written on a website.
When it goes wrong
- A captcha or "are you a robot" page: stop there. Don't try to get around it. Use another site. On my test (26 Oct 2026), Expedia and Hotels.com both showed one; Booking.com gave a price.
- The price looks odd: open the link yourself and check. Prices change by the minute, and some sites add taxes at the end.
- It never books or pays. That part stays with you.
Sources
- github.com/vercel-labs/agent-browser: README (installation, "Claude Code", "Chrome Profile Reuse", "Security", "Configuration") and the skill file, read October 26, 2026.
- Stars: GitHub, 44,596 on October 26, 2026.