● gittrendingglobal

Home › Free AI tools

Free AI tools · 2026-01-15 · 8 min read · Updated 2026-10-16 · By the Git Trending Global team, facts checked against the source

agent-browser: Free AI Browser Automation Tool by Vercel

Quick answer

agent-browser is a free AI browser automation tool from Vercel Labs. It lets Claude Code, Codex and other AI helpers open sites, click, fill forms and read.

stars: 44K · license: Apache-2.0 · platforms: Mac, Windows, Linux (command line)

▶ Watch: agent-browser explained in under a minute

agent-browser is a free AI browser automation tool from Vercel Labs. It gives AI helpers like Claude Code and Codex their own web browser, so they can open a site, click buttons, fill forms and read pages for you.

Without it, you end up as the middle person. You open the site, copy what you see, paste it to the AI, and repeat. This guide shows what agent-browser does, real ways to use it, and how to set it up in a few minutes.

Key takeaways

What is agent-browser?

agent-browser is a small program you run from the command line, the text window where you type instructions. The README (the project's main instructions page) calls it a "browser automation CLI for AI agents."

Here is the plain version. AI coding helpers are good at writing code. But many can't look at a live website. agent-browser fixes that. The AI types simple commands like "open this page" or "click that button," and agent-browser does it in a real Chrome browser.

It is made by Vercel Labs, part of Vercel, a well-known web hosting company. It is written in Rust, a programming language known for speed.

How does agent-browser work?

The trick is a "snapshot." Instead of staring at a screenshot, the AI asks for a tidy list of what is on the page. Each button and box gets a short tag, like @e2.

  1. Open. The AI opens a page: agent-browser open example.com.
  2. Snapshot. It gets a list of everything clickable, each with a tag.
  3. Act. It clicks or types using the tag, like click @e2 or fill @e3 "hello".
  4. Check again. After the page changes, it takes a fresh snapshot.

This list-based approach lets the AI find the right button without guessing from pixels.

Infographic showing how agent-browser AI browser automation works in 3 steps: open a page, snapshot the buttons, click and type

How to use agent-browser (real examples)

You don't type these commands yourself. You ask your AI helper in plain words, and it runs them.

💡 Tip: Want to watch it work? Ask your AI helper to add --headed when it opens a page. That shows a real browser window instead of a hidden one.

Is agent-browser free?

Yes. agent-browser is free and open source under the Apache-2.0 license. There is no paid plan in the README.

You still pay for whatever AI helper you use with it, like a Claude or ChatGPT plan. agent-browser itself costs nothing.

Is agent-browser safe?

It can click and type on real websites, so the safety tools matter. All of them are opt-in, which means you or your AI turns them on. The README lists:

⚠️ Heads up: A browser that is logged in as you can act as you. Start with test sites or your own site, and turn on the allowed-sites list before pointing it at accounts that matter.

The browser also shuts itself down after one hour with no commands, so it doesn't run forever in the background.

How to install agent-browser

You need Node.js (a free tool that runs JavaScript programs) for the npm way. Open Terminal (Mac or Linux) or PowerShell (Windows).

Copy and paste this:

npm install -g agent-browser
agent-browser install

The first line installs the tool. The second downloads Chrome for Testing, Google's official browser for automation. If you already have Chrome or Brave, the README says it finds them automatically.

On a Mac with Homebrew (a free app installer), copy and paste this instead:

brew install agent-browser
agent-browser install

On Linux, add the system pieces Chrome needs. Copy and paste this:

agent-browser install --with-deps

Then teach your AI helper how to use it. Copy and paste this:

npx skills add vercel-labs/agent-browser

That adds a "skill," a short instruction file your AI helper reads. It works with Claude Code, Codex, Cursor and the others listed above.

Try a quick test. Copy and paste this:

agent-browser open example.com
agent-browser snapshot
agent-browser close

Something not working? Copy and paste this to check your setup:

agent-browser doctor

To update later, run agent-browser upgrade.

Let Claude or Codex set it up for you

Claude Code and OpenAI Codex are AI helpers that can run setup steps on your computer. You paste a request, it explains each step, and you approve it.

Copy and paste this:

Please set up agent-browser (github.com/vercel-labs/agent-browser) so you can use a web browser.
1. Check if I have Node.js. If not, tell me how to install it.
2. Run "npm install -g agent-browser" and "agent-browser install".
3. Add the skill with "npx skills add vercel-labs/agent-browser".
4. Open example.com, take a snapshot, and show me it works.
Explain each step before you run it.

Then try asking:

Use agent-browser to open my website and check every link on the homepage works.
Use agent-browser with --headed to fill in my contact form with test data, but don't press submit.
Read this article with agent-browser and give me a 5-bullet summary: <link>

Set up agent-browser with Claude Code or Codex: install, add the skill, then ask it to test your site

agent-browser at a glance

Price Free
Works offline Runs on your computer; websites still need internet
Platforms Mac (Apple and Intel), Windows, Linux
License Apache-2.0 (open source)
Made by Vercel Labs
GitHub stars About 44K
Best for People using AI coding helpers who need them to see and test websites

Who should use agent-browser?

If you never use an AI coding helper, this tool isn't for you yet.

Our take

agent-browser is one of the cleanest ways to give an AI helper eyes and hands on the web. The snapshot-and-tag idea is simple and works well with how AI thinks.

What we like:

What to watch for:

Building your AI coding setup? See gstack, Y Combinator's CEO's AI coding setup, Superpowers, which makes your AI plan first, and Moli, a light browser built for AI helpers.

FAQ

What is AI browser automation?

It means an AI helper controls a web browser for you. It opens pages, clicks buttons, fills forms and reads text, the way you would by hand.

Is agent-browser free?

Yes. agent-browser is free and open source under Apache-2.0. You only pay for the AI helper you use with it.

Does agent-browser work with Claude Code?

Yes. Run npx skills add vercel-labs/agent-browser and Claude Code learns how to use it. Codex, Cursor and Gemini CLI work too.

Do I need to know how to code to use agent-browser?

Not much. You need to paste a couple of install commands. After that, you ask your AI helper in plain English.

Does agent-browser work on Windows?

Yes. The README lists native builds for Windows, Mac (Apple and Intel chips) and Linux.

Can agent-browser see my passwords?

It has an encrypted password vault, and the README says the AI never sees saved passwords. Still, only let it log in to accounts you're comfortable with.

Get agent-browser: github.com/vercel-labs/agent-browser

Follow @gittrendingglobal on Instagram for one free, useful tool every day.

📲 Watch the 30-second video on Instagram

Keep reading

📲 Like this? Follow @gittrendingglobal on Instagram for one free AI tool and the AI news that matters, every day.