About PoliteCrawler
You found this page because a request to your site had this header:
User-Agent: PoliteCrawler/0.7.13 (+https://mark1russell7.github.io/crawler/bot/)What PoliteCrawler is
Section titled “What PoliteCrawler is”PoliteCrawler is the user agent of polite-crawler, open-source software for research and for AI assistants. A person starts it on their own computer to read pages that they or their assistant asked for. It is not a search engine, and it does not collect training data.
Many people can use the software. When the operator gave a contact, the User-Agent includes it. An email address of the operator also goes into the From header.
What it does on your site
Section titled “What it does on your site”- It reads robots.txt first and obeys it, as RFC 9309 specifies.
- It sends one request at a time to your site, with a rest of 3 seconds or more between two requests.
- It fetches the pages that a person or an assistant asks for. A small crawl or a recipe can follow a few links of your site, within a limit of pages and time. It does not follow every link of your site.
- It checks a watched page on a schedule. An operator can add a page to a watch list. The crawler then checks it again, at most one time in each hour by default.
- It obeys
Retry-Afteron a 429 or a 503. - It stops at a refusal. After a 401 or a 403, it sends no more requests to your site for 1 hour. After a challenge or a 402, it stops for 24 hours. The stop stays when the crawler starts again.
- It sends conditional requests. With an
ETagor aLast-Modifieddate, your server can answer304 Not Modifiedand send no body. When yourETagchanges at each response and yourLast-Modifieddate does not, the crawler learns it. It then sends only the date, so a304comes back.
An hour on your site
Section titled “An hour on your site”Give your robots.txt and pick a job of the crawler. The figure shows one hour of requests to a made-up site with your robots.txt, and the wait after each request. Change the answer to the second page to see what a 429, a 503 or a 403 does.
An AI assistant asks for three pages, then asks again during the hour. The crawler obeys the rules for PoliteCrawler and for Claude-User.
- Requests
- 0
- Answers with no request
- 0
- Most in one minute
- 0
- At the same time
- 1 at most
Your access log with the wait after each request
The simulation starts when the figure comes into view.
The simulation starts when the figure comes into view.
The requests as a table
| Time | Request | Answer | Then |
|---|
The figure starts the code of polite-crawler in your browser. This code is the robots.txt parser, the scheduler of each site, the rest after each request (restAfter) and the meaning of each status (classify). The full crawler keeps a store on disk, so it does not operate in a browser. A small model connects these parts in its place. The model obeys the rules on this page, and it sends no request.
What it keeps
Section titled “What it keeps”PoliteCrawler keeps each response that it fetched in a private store on the computer of its operator: a log of each request, and the bodies. The store stays until the operator deletes it. A stored copy is the record of what a page said, so a citation can name it. The crawler does not publish the stored copies.
- By default, it uses a stored copy for 24 hours. In that time, a question about the page sends no request to your site. The operator can set a shorter or a longer age.
- It reads
Cache-ControlandExpires. With the ageauto, it uses a stored copy only while your server says that the copy is fresh.no-storeandno-cachemake a copy stale at once. - It keeps a response with
no-storetoo.no-storechanges when the crawler asks again, not what it keeps.
How to control it
Section titled “How to control it”To block PoliteCrawler, add this group to your robots.txt:
User-agent: PoliteCrawlerDisallow: /To slow it down, add a crawl delay in seconds:
User-agent: PoliteCrawlerCrawl-delay: 10When the crawler fetches a page for an AI assistant, it also obeys your rules for Claude-User.
An application can use the software with a product token of its own. When its User-Agent links this page, it also obeys your rules for PoliteCrawler, and the stricter rules apply. An application with a bot page of its own can turn this off.
To refuse the use of your text as AI input, add a content signal. The crawler keeps such a page but holds back its text from an AI reader:
User-agent: *Content-Signal: ai-input=noTest your robots.txt with the same code that the crawler uses.
To refuse the crawlers that collect training data and let the AI assistants in, use this robots.txt.
Archived copies
Section titled “Archived copies”An operator can ask the crawler for an archived copy of a page that your site refused. A page of a site that is down can get a copy too. The crawler then reads a copy from the Wayback Machine or Common Crawl, not from your site.
- It is off by default. The operator turns it on for each fetch.
- It respects your current robots.txt. By default, the crawler gives no archived copy of a page that your current robots.txt disallows for it. Only a stop, an error or a dead host gets a copy. An operator can change this on their own computer. An AI assistant cannot.
- It respects your usage signals. When your robots.txt or the archived response says
ai-input=no, the crawler holds back the text of the copy from an AI reader. - It is marked. A copy names its archive and its date. The crawler does not show it as a fresh fetch of your site.
- It sends no request to your site. A stop for your site stays a stop.
Signed requests
Section titled “Signed requests”An operator can give the crawler an Ed25519 key. The crawler then signs each request with HTTP Message Signatures, as the IETF Web Bot Auth draft tells. Each request then has the headers Signature-Agent, Signature-Input and Signature.
Signature-Agentnames the key directory of the operator. Your server or your CDN can get the public key there and verify the request.- A signature identifies one operator, not each copy of polite-crawler. Each operator has their own key.
- The
User-Agentheader stays the same, with a signature or without one.
The robots.txt study
Section titled “The robots.txt study”On 2 November 2026, PoliteCrawler read the robots.txt file of each of the top 1,000 domains of the Tranco list. It sent one request for /robots.txt to each domain, with its redirects, and fetched no other page. It did not try again. Read the study.
Contact
Section titled “Contact”To report a problem with the software, open an issue on GitHub.