the field · lesson 2 of 6 · sources checked 2026-11-20
traffic classes
Six traffic classes, and a method to classify a request by the declaration of the client and the wish of the site.
purpose
Many requests to a site come from software. A site wants some of this software and refuses other software. Thus a site must know the traffic class of a request before it can treat the request correctly.
objectives
- Name the six traffic classes.
- Explain the two kinds of evidence that separate the classes.
- Classify a request into one traffic class from its declaration and the wish of the site.
- Separate an AI crawler from an AI agent by the intent of the request.
- Give a published traffic share with its publisher, its year, and its method.
new terms
- robots.txt
- A file at a site root that states crawl rules for automated clients (RFC 9309).
- crawl
- To fetch pages and follow their links with software.
- scrape
- To extract data from pages or APIs with software.
how it works
A traffic class is a group of requests with the same source and intent. I use six traffic classes. To put a request into a class, the site examines two kinds of evidence: the declaration of the client and the wish of the site.
the declaration of the client
A declared client states what it is. This statement is its declared identity. An undeclared client gives no such statement. Its requests look like the requests of a human visitor, or they give a false declared identity.
Two kinds of client declare themselves:
- A declared crawler identifies itself with a user agent, a published IP range, or a signature.
- A signed agent signs its requests so that a site can verify its declared identity.
A user agent alone is a statement of the client, not a proof. Thus a site verifies a declared identity with a second signal, for example the published IP range or the signature. A request that fails this check is not a declared request.
the wish of the site
The site decides which automation it wants on its pages. It can state this wish in its robots.txt file, in its terms of use, or in a policy for declared clients.
A crawler that one site wants can be unwanted on a different site. Thus the wish is a property of the site, not a property of the client.
claim of a publisher In April 2025, the Wikimedia Foundation described how crawlers impact the operations of the Wikimedia projects Wikimedia Foundation (Diff), source 1. The post states that the bandwidth for multimedia downloads increased by 50% since January 2024, mainly because of automated scrapers.
Thus the wish of a site can change when the cost of a class increases.
the six classes
The table gives the six classes and the place of each class on the two axes.
| class | declaration | wish of the site | example of the intent |
|---|---|---|---|
| Humans | Not automation | Wanted | A person reads pages or buys a product. |
| Declared good bots | Declared | Wanted | A search engine crawler indexes the pages. |
| AI crawlers | Declared or undeclared | The site decides | Content for model training, AI search, or a fetch that a user starts. |
| AI agents and agentic browsers | Declared or undeclared | The site decides | A language model operates pages or an API for one user. |
| Unwanted scrapers | Declared or undeclared | Unwanted | A copy of prices or content against the wish of the site. |
| Fraud automation | Undeclared | Unwanted | An attack on accounts, payments, or stock. |
The six classes are the usual cases. An undeclared client that the site wants, and that is not an AI client, has no class of its own. The two kinds of evidence still describe it.
Two classes hold AI clients:
- An AI crawler collects content for model training, for AI search, or for a fetch that a user starts.
- An AI agent uses a language model to operate a browser or an API for a user. An agentic browser is a browser product with a built-in AI agent.
The two classes differ by intent. A crawler only fetches content. It can crawl many pages for a model or an index, or get one page for a fetch that a user starts. An agent operates pages or an API to do a task for one user, for example it fills a form or orders a product.
The two unwanted classes also differ by intent. An unwanted scraper is software that can scrape data against the wish of the site. Fraud automation attacks the accounts, the payments, or the stock of the site.
OWASP gives an A to Z list of automated threat events with short descriptions, from OAT-001 to OAT-021. The list includes Scraping and Credential Stuffing OWASP, source 2. The OWASP Automated Threat Handbook defines these threat events more fully OWASP, source 3.
I use this list to name the intent of an unwanted request.
the two axes are independent
The declaration does not give the wish. A declared client can be unwanted, for example an AI crawler on a site that refuses model training. An undeclared client can be wanted, for example an agent that a customer of the site uses to buy a product. Thus a site classifies a request on the two axes, not on one axis.
The automation side controls the declaration: the operator of a client decides what the client states.
The detection side controls the wish: the target decides which classes it wants, and it can check each declared identity.
traffic shares
A traffic share gives the part of all requests in one class. Each published share depends on the method and the sample of its publisher. For example, the chart in "Data" gives a share of automated traffic in 2024 from one vendor report.
Thus I give each share as a claim of its publisher, with the year of its data and its method.
the two sides
| automation side | detection side |
|---|---|
| A declared crawler or agent can identify itself, and the site can put it on an allowlist. An undeclared client gets the same checks as each other visitor. | The site must separate the automation that it wants from the automation that it does not want. A user-agent check alone cannot separate an undeclared agent from a human visitor. |
design decisions
| option | gain | cost | when it is correct |
|---|---|---|---|
| The site checks the user agent only | Low cost | A user agent is a statement, not a proof. | Never as the only check of a declared identity |
| The site verifies a declared client with its published IP range or its signature | Proof of the declared identity of the client | The site must keep the ranges and the keys current. | The site lets declared crawlers or agents in. |
| The site states its wish for each class | A clear statement for each class of client | A statement alone does not stop a request. | As the first step, with a check behind it |
| The site refuses each AI agent | One simple rule | The site also refuses customers who use an agent for a task. | The risk of fraud on the site is high. |
| The operator declares its crawler or agent | The site can verify the client and put it on an allowlist. | The site can refuse the client. | The target publishes a policy for declared clients. |
diagram
A table with six rows, one for each traffic class. The columns give the declaration, the wish of the site, and the intent. Main result: the declaration alone does not give the class, and the site decides for AI crawlers and AI agents.
| traffic class | declaration | wish of the site | intent |
|---|---|---|---|
| Humans | Not automation | Wanted | Read pages or buy a product |
| Declared good bots | Declared | Wanted | Index the pages for search |
| AI crawlers | Declared or undeclared | The site decides | Fetch content for a model or a user |
| AI agents and agentic browsers | Declared or undeclared | The site decides | Operate pages or an API for one user |
| Unwanted scrapers | Declared or undeclared | Unwanted | Copy data against the site wish |
| Fraud automation | Undeclared | Unwanted | Attack accounts, payments, or stock |
The declaration alone does not give the class of an automated request.
data
automated traffic as a share of web traffic, 2024 (vendor number)
status of this figure: from a public source
- Bad bots: Web traffic 2024 37%
- Good bots: Web traffic 2024 14%
source: Thales, 2025 Imperva Bad Bot Report, press release of 2025-04-15 (public source, https://cpl.thalesgroup.com/about-us/newsroom/2025-imperva-bad-bot-report-ai-internet-traffic, read 2026-11-19); period 2024-01-01 to 2024-12-31; sample size not stated; checked 2026-11-19
data table
| series | item | % |
|---|---|---|
| Bad bots | Web traffic 2024 | 37 |
| Good bots | Web traffic 2024 | 14 |
In April 2025, Thales published a press release about the 2025 Imperva Bad Bot Report. Thales states these points Thales, source 4: claim of a publisher
- Automated traffic was 51% of web traffic in 2024, and bad bots were 37%.
- The title of the release states that artificial intelligence helps to increase the number of bots that are hard to detect.
- The data comes from the global network of the publisher, in 2024.
The vendor page does not state the sample size. I got the value for good bots, 14%, as 51% minus 37%. The vendor page does not give this value.
failure modes
| problem | cause | correction |
|---|---|---|
| You classify a request by its user agent only. | A user agent is a statement of the client, not a proof. | Verify a declared identity with the published IP range or the signature. |
| You put each AI crawler into an unwanted class. | The wish is a property of the site, not of the client. | Read the policy of the site for each class. |
| You put an AI agent into the class of AI crawlers. | The two classes are AI clients, but they have a different intent. | Ask if the request only fetches content, or if it operates pages or an API to do a task for one user. |
| You put each undeclared request into the class of unwanted scrapers. | The declaration is one axis only. | Examine the wish of the site and the intent too. |
| You read a vendor traffic share as a measurement of all sites. | A share is a claim of its publisher, with its own method and sample. | Give the share with its publisher, the year of its data, and its method. |
check questions
Name the six traffic classes.
sample answer
Humans, declared good bots, AI crawlers, AI agents and agentic browsers, unwanted scrapers, and fraud automation.
Explain the two kinds of evidence that separate the traffic classes.
sample answer
The first kind is the declaration of the client: declared or undeclared. A site verifies a declared identity with a second signal, for example a published IP range or a signature. The second kind is the wish of the site: wanted or unwanted. The wish is a property of the site, not of the client, and the two axes are independent.
A crawler declares itself with its user agent, and its IP address is in its published range. The site refuses model training, and the crawler collects content for model training. Which class is correct?
- Declared good bots, because the crawler is declared
- AI crawlers, declared and unwanted on this site
- Humans, because the declared identity is verified
answer
b. AI crawlers, declared and unwanted on this site
The declaration does not give the wish. The crawler is declared, but this site does not want model training.
A request comes from software that uses a language model to order one book for its user. Which class is correct?
- AI crawlers
- Unwanted scrapers
- Fraud automation
- AI agents and agentic browsers
answer
d. AI agents and agentic browsers
The software operates pages or an API to do a task for one user. An AI crawler only fetches content.
Which statement gives a published share of automated traffic correctly?
- Thales states 51% for 2024, from data of its own network, sample size not stated
- Thales measured 51% of the traffic of all sites in 2024
- Thales states 14% good bots for 2024, from its own network
answer
a. Thales states 51% for 2024, from data of its own network, sample size not stated
A correct share is a claim of its publisher, with the year of its data and its method. The vendor page does not state the sample size. Thales does not measure all sites. The 14% for good bots is 51% minus 37%, and the vendor page does not give it.
exercise
exercise Do this task on paper or in your own notes. The six requests and the site are synthetic. Do not send a request to a site.
The synthetic site sells books. Its policy lets in search engine crawlers and AI agents that sign their requests. It refuses model training and the automated copy of its prices.
- Read the six requests below.
- For each request, write the declaration: not automation, declared, or undeclared.
- For each request, write the wish of the site: wanted or unwanted.
- For each request, write the intent.
- Put each request into one of the six traffic classes.
The six requests:
- Request A has the user agent of a search engine crawler. Its IP address is in the published range of that crawler.
- Request B has the user agent of a training crawler of an AI company. The IP address is in the published range of that company.
- Request C comes from a person who reads the order history in a browser.
- Request D is a signed request. An AI agent orders one book for its user.
- Request E has the user agent of a common browser. The same client gets each price page of the site each hour.
- Request F has the user agent of a common browser. The same client tries many pairs of user names and passwords on the login page.
sample answer
This sample answer uses the six synthetic requests only.
| request | declaration | wish of the site | intent | class |
|---|---|---|---|---|
| A | Declared | Wanted | Index the pages for search | Declared good bots |
| B | Declared | Unwanted | Content for model training | AI crawlers |
| C | Not automation | Wanted | Read the order history | Humans |
| D | Declared | Wanted | A task for one user: order one book | AI agents and agentic browsers |
| E | Undeclared | Unwanted | A copy of the prices | Unwanted scrapers |
| F | Undeclared | Unwanted | An attack on the accounts | Fraud automation |
Request B shows the main idea of the lesson: a declared client can be unwanted. A site cannot read the class from the declaration alone.
sources
- How crawlers impact the operations of the Wikimedia projects (2025-04-01), Wikimedia Foundation (Diff), article, read 2026-11-19
- Ontology (OAT-001 to OAT-021), OWASP, documentation, read 2026-11-19
- OWASP Automated Threats to Web Applications, OWASP, documentation, read 2026-11-19
- Artificial Intelligence fuels rise of hard-to-detect bots: 2025 Imperva Bad Bot Report (press release, 2025-04-15), Thales, vendor page, read 2026-11-19
- My model of the six traffic classes and the two kinds of evidence, 2026-11 (not public).