/

Guides

Five ways an agent opens your website

A browser window icon in the center, with arrows pointing to it from five icons: a terminal, a robot, a cloud, a browser window with an eye badge and a cursor with a user badge.
A browser window icon in the center, with arrows pointing to it from five icons: a terminal, a robot, a cloud, a browser window with an eye badge and a cursor with a user badge.

A page that loads perfectly in your browser can reach an AI agent as an empty shell, or not reach it at all. If your content only appears after JavaScript runs, an agent with a simple fetch tool may never see it. If your bot filter answers with a 403, the visit ends before it starts. Either way, the agent's user generally gets an answer. But it's built from whatever else the agent could reach: search snippets, review sites, other people's pages about you, or your competitors.

Which of these happens to your site depends on how the agent opens it, and agents don't all do that the same way. There are five mechanisms agents use to browse the web: a fetch tool, a headless browser the agent drives, a cloud browser it rents, a browser built into the agent's app, and an AI browser working in the user's own session.

This article breaks down these different mechanisms from the simplest to the one closest to a human visitor.

Fetch tools see mostly what your server sends

The simplest way into a website is for the agent to use a fetch tool. In this case, the agent sends an HTTP request, either from its vendor's data center or through a specialized fetching service, and gets the response back as text or markdown. Most assistants have a fetch tool built in, which runs on the vendor's servers. Users with coding agents often use curl instead, which they run in a sandbox or on the user's own machine, so their requests look like a developer's script.

Agents browsing with fetch tools run little or no JavaScript, load no images and click nothing (even if they can still navigate links received in the HTML content). That makes it cheap, so assistants use it by default when they read docs or check a price, and it's probably the most common way agents first try to reach a site.

A terminal fetching alpic.ai: the homepage HTML has no link to docs.alpic.ai, so the agent reads llms.txt and finds the docs there.

Our homepage HTML has no link to the docs, so the fetch tool found them through our llms.txt file.

A fetch tool mostly sees the HTML your server sends. If your content arrives later through JavaScript, the agent usually never gets it. Anthropic's documentation says as much: its web fetch tool "does not support websites dynamically rendered with JavaScript". Server logs show the same thing in practice. Over 30 days on a news site, Forge AI Bot Log counted a total of nearly 50,000 page requests from ChatGPT and Claude, and not a single script fetch from either.

Not every fetch service works this way, though. Some search and fetch providers render the page first: Exa, which is used as a fetcher by Grok and Cursor, does this by default. This approach isn't foolproof, however. In a test we conducted on 200 pages, Alpic saw pricing pages that reached the agent without their plan cards, and rendering that turned working pages into error pages that a real browser never saw.

These visits aren't always easy to spot, either. Some fetchers announce themselves: Claude Code, for instance, identifies as Claude-User and asks for markdown. When ChatGPT’s web lookup requested the page in our test, it identified itself as ChatGPT-User/1.0. Exa usually does too, as ExaUser. But when it rendered our page in a browser, it presented itself as Chrome on Windows, without the headers a real Chrome sends.

Some sites turn this to their advantage. When a fetcher asks for markdown, as Claude Code does, they return a separate version written for agents, which visitors in a browser never see.

Headless browsers render the page for the agent

When a fetch tool isn't enough, an agent can open a real browser and drive it. Two pieces work together here. The browser is usually Chrome running headless, and it loads your page the way a visitor's browser does, scripts included.

Some teams now build browsers just for agents, such as Lightpanda, which skip drawing the page altogether. A browser automation library, typically Playwright or Puppeteer, acts as the remote control: it tells that browser where to go, what to click and what to type. The Playwright MCP server gives agents both in one tool and hands them the page's accessibility tree, the list of roles and labels that screen readers use, by default. It can also take screenshots.

This is becoming the older route, though. Codex and Claude now favor browsers built into their own apps or as browser extensions, which perform better and let the user watch (more on those below).

Playwright code driving headless Chrome on alpic.ai: it rejects cookies, hovers the Developers menu and clicks through to the docs.

A headless browser driven by Playwright works its way through our Developers menu to the docs.

Cloud browsers run agents at scale

A browser on a developer's laptop serves one user at a time. Agents that run on a server, or at a scale a laptop can't handle, rent one instead from a cloud browser provider: a company that runs browsers in its own data centers and lets an agent drive one remotely through the same automation libraries. Like an in-app browser, it starts without the user's cookies or logins, so anything behind an account takes extra setup.

Browserbase, Steel, Browser Use, Hyperbrowser, Browserless and Kernel all sell this. What they mainly sell is scale: an agent can run many browser sessions at once, each isolated from the others, and its developers can watch or replay what it did. Getting past bot defenses is part of the pitch too, and each advertises at least two of three features: stealth modes, residential proxies that route traffic so it's rarely blocked, and CAPTCHA solving. That puts site owners in an awkward position. The filters you tuned against scrapers also meet agents doing a legitimate job for a user, and the agents that get through tend to be the ones built to look human.

The emerging IETF standard Web Bot Auth offers a way out of that guessing game. It lets an agent sign each request with a cryptographic key and publish the matching public key, so any site can check who sent it. Anyone can send an arbitrary user agent and pretend to be "Google" or "Claude", but nobody can fake a valid signature without the key. ChatGPT's cloud browser, Cloudflare's Browser Run, Browserbase and Kernel already sign their requests, and Cloudflare now treats signed agents as verified.

In our tests, when ChatGPT's agent switched to a browser, it presented a generic Chrome user agent but still signed its requests as chatgpt.com. For a site owner, that turns bot management into a policy: let in the agents you trust by name, whatever they look like, and keep blocking the rest. We expect that to become the default: before long, most sites will turn away traffic that won't say who it is. And once agents identify themselves, sites can set terms for them too, including charging for access, as Cloudflare's pay-per-crawl already lets publishers do.

In-app browsers let the user watch

Agents increasingly bring their own browser. Codex, ChatGPT Work and the Claude app each include one. The agent drives this browser in a window the user can see. But unlike a browser extension, it isn't the user's everyday browser. It starts without their cookies or saved logins, so the agent usually arrives signed out and the user has to step in to sign in or approve a payment. Some sign-in methods don't yet carry over: passkeys, for example, have not yet been integrated into Codex's in-app browser. So a login flow that works in a fresh browser decides whether the task gets done.

Screen recording of the Claude app's built-in browser on alpic.ai: the docs link tries to open a new tab, which is blocked, so the agent types the docs address instead.

The Claude app's in-app browser can't open our docs in a new tab, so it goes to the address directly.

To your site, this looks like Chromium. Codex's in-app browser, for instance, sends a standard Chrome user agent. Some in-app browsers identify themselves in the user agent. In our tests, the Claude app's built-in browser added a Claude/ token to its user agent and, once the agent started acting, left helper variables such as __claudeElementMap in the page, where any script on your site can see them.

AI browsers & browser extensions act as the user

The fifth group works inside the user's own browser, and comes in two forms. Some are browsers with an agent built in, like Perplexity's Comet, or Chrome itself with Gemini's auto browse. Others are extensions added to the browser the user already has, like Claude in Chrome or ChatGPT's Chrome extension. Either way, the agent works in a session the user is already signed into, and can navigate, fill in forms and even complete purchases on their behalf.

Screen recording of Claude in Chrome clicking through the Developers menu on alpic.ai to the docs, in the user's own Chrome window.

Claude in Chrome clicks through our menu in the user's own browser, like any visitor.

To your site, these agents look like the user, because they browse with the user's own cookies and logins. In our tests, Claude in Chrome left no trace at all: a plain Chrome user agent, no automation flag and nothing added to the page. That makes them harder to filter out the way you filter bots, albeit still detectable using things like click patterns.

Whether a site may refuse them is still being tested in court: in Amazon's case against Perplexity's Comet, an appeals court found that it's the user, not Perplexity, who accesses the site. So making your flows work for them is the practical choice.

Which agents use which mechanism

Nobody publishes figures yet on how often each mechanism is used. What we can show is what popular agents did when we asked them to visit a test site we control:

  • ChatGPT (chat): fetch tool, as ChatGPT-User.

  • ChatGPT Work: fetch tool (blocked, then curl, signed); cloud browser, signed with Web Bot Auth; embedded in-app browser.

  • Claude (chat): fetch tool, as Claude-User; cloud browser; built-in browser; the Claude Chrome extension in the user's own browser.

  • Claude Code: fetch tool that asks for markdown, also curl; headless browser via Playwright MCP.

  • Codex: curl; in-app browser.

  • Grok: shared fetcher (Exa), also curl; cloud browser, on Cursor's.

  • Cursor: shared fetcher (Exa), also curl; cloud browser, signed.

  • Instinct: shared fetcher (Exa); cloud browser behind residential proxies, which said it was human.

  • Meta Muse: curl (never used), and reads pages as text with no JavaScript; cloud browser, Meta's own Chromium; the Muse Chrome extension in the user's own browser.

So the mechanism depends on the task as much as on the product, and a single agent can combine several mechanisms in the same task. For example, they may start by reading pages through a fetcher, then switch to a separate in-app browser session to fill in a form. That's why it's worth preparing for all five mechanisms rather than betting on one.

What each mechanism needs from your site

Since you can't predict which type of browser agent will show up, the useful question is what each one needs from your site. We’ve broken that down below:

  • Fetch tool. Sees the HTML from the server, plus rendered content if the fetch tool runs JavaScript. Needs content in that HTML, a 200 for the agents you allow, and markdown on request.

  • Headless browser. Sees the rendered page, read through its accessibility tree. Needs labeled buttons and form fields, and pages that load predictably.

  • Cloud browser. Sees the rendered page, from a provider's network. Needs a bot policy that admits the agents you want, checked against Web Bot Auth signatures.

  • In-app browser. Sees the rendered page, in a separate browser the user can see, usually signed out. Needs labeled controls, and sign-in that works in a fresh browser, with a fallback when passkeys fail.

  • AI browser. Sees your site, signed in as the user. Needs labeled controls, and login and checkout flows an agent can follow.

Labels appear in three of those five rows, and they matter more than they look. Playwright MCP and the browser tools from Anthropic and OpenAI act on page elements by their role and accessible name, so a button with no label is one the agent has to guess at.

Let agents skip the interface

Everything above helps agents use pages built for people, and every fix works around the same limit: the agent has to read an interface designed for someone else. The more direct route is to give agents something built for them.

WebMCP, a draft standard in a W3C community group, lets a page declare tools that an agent can call directly through JavaScript, and agents such as the built-in browser in ChatGPT's desktop app can already find and use them.

An MCP server goes further, because the agent never needs your site at all. Instead of parsing your HTML or guessing at an unlabeled button, it calls a tool you defined, with the inputs you chose, and gets back exactly the data you decided to return. JavaScript rendering, bot filters and missing labels stop mattering, because there's no page in between.

Where to start

Before you dive in, check what your site gives each of these five mechanisms today: scan it with Alpic's agentic readiness scanner. It runs 84 checks grouped under three questions: can an agent read your site, can it get in, and can it use what it finds. These include whether your robots.txt lets in the agents users send, whether you serve markdown and an llms.txt file, whether buttons and form fields carry labels, and whether you declare an MCP server or WebMCP tools.

To run tests like these on your own product and website, sign up for early access to our new agent readiness suite. We allow you to run real agents to do the tasks your customers would, each in its own sandbox with different models and starting setups, then let you replay every run: which way the agent opened your site, what it saw, what it decided and where it got stuck. Agent analytics show which agents are actually visiting your site, and how they get in.

Sign up for early access here.

Liked what you read here?

Get our newsletter!

Liked what you read here?

Get our newsletter!

Liked what you read here?

Get our newsletter!