AI agents vs bots: how to treat agentic traffic

Advanced5 min readUpdated

GET /learn/scraping/ai-agents-vs-bots/ Accept text/html text/markdown

Short answer

An AI agent is software that browses, compares or buys on behalf of a real person, often in a real or cloud browser. Technically it is a bot, so judge it by what it does. Identify agents that declare themselves, verify signatures or IP ranges where the operator supports it, judge each session by behaviour and intent, and set separate rules for content, login, signup and checkout.

When someone asks an assistant to compare three hotels and book the cheapest, the requests come from software, but a real person wants the result and may pay you. Blocking all automation turns that customer away. Allowing all of it lets in the same tools that power scraping, scalping and fraud. Agent traffic needs its own policy, built on who the agent is, what it is doing and which part of your site it is touching.

What counts as agentic traffic?

  • User-triggered fetchers load one page so an assistant can answer a question. ChatGPT-User, Claude-User and Perplexity-User identify themselves with these tokens, described in what are AI crawlers?.
  • Cloud browser agents run a full browser on the operator's servers and click through pages for the user, filling in forms and adding items to a cart. OpenAI's ChatGPT cloud browser is one documented example, and it signs its requests.
  • Agentic browsers on the user's own device act with the person's cookies and logged-in sessions. To your server they look like that person's browser, because they are.
  • Shopping agents are any of the above when they search for products, compare prices and complete a checkout, sometimes with payment details the user has delegated.

How is a useful agent different from abusive automation?

Read the table as tendencies. A verified agent can still be pointed at abuse, and an unknown one may be harmless.

Signal Useful agent Abusive automation
Who it acts for One person with one task An operator running many tasks or accounts
Volume About one person's session Many sessions, often in parallel
Identity Often declared or signed Hidden behind browser user agents and proxies
What it requests The pages the task needs The whole catalogue, login, signup or limited stock
Accounts The user's own Many new or stolen accounts
Payments One card, normal outcomes Many cards, high decline rates

Identify agents that declare themselves

Start with what the agent tells you. Fetchers send a user agent token. Signed agents use Web Bot Auth, which builds on HTTP Message Signatures (RFC 9421): each request carries Signature, Signature-Input and Signature-Agent headers, and the Signature-Agent value points to the operator's public key directory. OpenAI documents that its cloud browser sends Signature-Agent: "https://chatgpt.com" with keys published at https://chatgpt.com/.well-known/http-message-signatures-directory.

Store the declared identity as a field on the session, next to IP, device and account. You will need it later to change policy for one operator without touching the rest. Agents that run inside the user's own browser often send nothing distinctive, so a missing declaration tells you little.

Verify where the operator supports it

Rank the evidence. A valid signature is strongest, an IP address inside the operator's published range comes next, and a user agent token alone is only a claim. How to verify good bots shows the DNS and IP checks. If you sit behind a CDN that verifies signatures, use its result instead of checking yourself.

A client that claims a known agent and fails verification is spoofing, so block or challenge it. A client that makes no claim is simply unverified: judge it on behaviour like any other session.

Judge each session by behaviour and intent

Verification tells you who runs the agent, but the user decides what it does, and a verified agent can be told to buy 40 pairs of trainers or test a list of cards. Watch the same signals you use for any automation:

  • Purchases, signups or messages per account and per payment card
  • Many accounts driven with the same pattern from the same agent operator
  • Checkout attempts per minute and the share that are declined
  • How much of the catalogue a session covers
  • Repeated attempts at limited-stock items as soon as they go on sale

Treat an agent acting for a user as that user. The per-account and per-card limits that apply to people should apply to their agents, so an agent cannot be used to get around them. Card testing through an agent looks the same at the payment step as card testing by a script; see what is card testing?.

Set policy per endpoint

  • Public content and product pages: allow declared fetchers and verified agents, with a rate limit per agent identity.
  • Search and listings: allow at volumes that fit one person's task, and challenge deep pagination.
  • Login: keep MFA and new-device checks. An agent logging in from a cloud browser is a new device and should be treated as one.
  • Signup: challenge automation. A person's agent may create one account for them, but bulk signups are farming; how to stop fake account creation covers the controls.
  • Checkout: allow verified agents and keep your normal fraud checks and card authentication. An agent's purchase should pass the same checks as the user's.
  • Limited-stock drops, tickets and appointments: set per-person limits and decide explicitly whether agents may take part, since a buying agent and a scalper bot look alike here. How to stop bots from buying your products has the options.
  • Data that agents need in bulk: offer an official API with keys and terms, so agents have a better route than driving your interface.

Kairal also has a guide on whether to allow or block AI shopping agents.

What is still unsettled?

  • Identity standards are drafts. RFC 9421 is final, but the bot-specific parts of Web Bot Auth are Internet-Drafts, and the IETF Web Bot Auth working group is still producing the standard. Expect details to change.
  • No shared method tells a site which person an agent acts for or what that person authorised. The working group's charter leaves authentication of the end user out of scope.
  • Operators disagree on whether robots.txt applies to fetches a user triggers. OpenAI says its rules "may not apply" to ChatGPT-User, Perplexity says Perplexity-User "generally ignores" them, and Anthropic says its bots honour them.
  • Preferences about how content may be used by AI have no common vocabulary yet. The IETF AIPREF working group is drafting one.
  • Card networks, payment providers and AI companies have each published their own protocols for checkout started by an agent, and none of them is a shared standard.

Tools that help

StopBots is published by Kairal, which is one of the tools listed. The list is not a ranking.

  • Cloudflare verifies signed agents and verified bots, and its AI crawler policies let you allow or block agents separately from training and search crawlers.
  • Kairal Agent Traffic Intelligence gives visibility and control over AI agents and crawlers, with protection set per endpoint such as login, signup and checkout.
  • HUMAN Security is a bot and fraud protection platform that, according to OpenAI, recognises and verifies signed ChatGPT cloud browser requests.
  • Akamai Bot Manager classifies known bots and agents for Akamai customers and, per OpenAI's documentation, verifies ChatGPT cloud browser signatures automatically.

Common questions

What is AI agent traffic?

It is requests made by AI software acting for a person, such as an assistant fetching a page, a cloud browser filling in a form or a shopping agent placing an order. It sits between human traffic and classic bots, so the default rules for either one fit it badly.

Should I block AI shopping agents?

Blocking all of them turns away buyers who chose to shop through an assistant. Allow verified agents on product pages and checkout with your usual fraud checks, and keep strict limits on limited-stock items, where agents and scalper bots behave the same way.

How can I tell an AI agent from a human in a browser?

Often you cannot from one request, especially when the agent runs inside the person's own browser. Signatures and declared tokens identify cooperative agents, while timing, input patterns and form-filling speed separate automated sessions from people over the course of a visit.