# AI crawler

Also called: AI bot, LLM crawler, GPTBot, ClaudeBot, PerplexityBot

An AI crawler is an automated program run by an AI company that fetches web pages, either to train models, to build a search index for an assistant, or to read a page a user just asked about. GPTBot, ClaudeBot and PerplexityBot are well-known examples.

## How it is calculated

AI crawlers identify themselves in the User-Agent header of each request. They come in three kinds: training crawlers that collect text for future models, search crawlers that index pages so an assistant can cite them, and user-triggered fetchers that load one page because someone asked about it.

As a rule they fetch HTML and do not run JavaScript, so script-based analytics never see them. Counting them means looking at requests on the server or at the edge. They can be allowed or disallowed per bot in `robots.txt`, and following it is voluntary. Google-Extended is such a `robots.txt` token: it controls use for AI training and is not a separate crawler.

## Example

In a week your edge sees 1,800 requests from GPTBot, 950 from ClaudeBot and 120 from ChatGPT-User. The first two are crawling in bulk. The 120 are individual people whose assistant opened your page to answer a question.

## Common mistakes

- Looking for AI crawlers in a JavaScript analytics dashboard. They do not run the script.
- Blocking every AI bot in one line. Blocking a search crawler or a user-triggered fetcher can remove you from an assistant's answers, which is a different decision from opting out of training.
- Trusting the User-Agent blindly. Anyone can send that string. Several operators publish IP ranges so requests can be verified.

## How CrispStats shows it

CrispStats reports AI crawler hits on its AI page by bot, operator and purpose (training, search or user), with the paths each one fetched. Because crawlers never run the script, your site reports the hits from its edge or middleware with a small server helper that sends only the User-Agent, the path and the status. Until that is set up, the page shows only human visitors referred by assistants.

## Related terms

- [AI referral](/glossary/ai-referral)
- [Bot traffic](/glossary/bot-traffic)
- [llms.txt](/glossary/llms-txt)
- [Model Context Protocol (MCP)](/glossary/mcp)
