Sub topic 3
OpenAI's Three User Agents
Assume you know how a web crawler fetches a URL, how HTTP headers identify a client, and where your site's root robots.txt file is served. This chapter focuses on choosing separate rules for OpenAI's three documented user-agent tokens.
OpenAI uses different crawlers for different purposes. The distinction matters because blocking model-training crawls does not necessarily block your pages from appearing in ChatGPT search results.
| User agent | Main purpose | Policy question |
|---|---|---|
| `GPTBot` | Collects content that may be used to improve generative AI foundation models | Do you permit model-training use? |
| `OAI-SearchBot` | Retrieves pages for ChatGPT search results | Do you want visibility in AI search? |
| `ChatGPT-User` | Fetches a page after a user asks ChatGPT to retrieve it | Should users be able to request your page directly? |
How the three agents differ
GPTBot is the training-related crawler. A site can disallow it while still allowing other OpenAI agents. This is useful when you want to keep content out of potential training datasets but remain discoverable through search.
OAI-SearchBot supports search features in ChatGPT. Allowing it gives ChatGPT a chance to fetch your page and use it as a search result source. It does not mean that your page will always appear, rank highly, or be quoted.
ChatGPT-User represents a user-initiated fetch. For example, a user might ask ChatGPT to read a specific article. This agent is different from an autonomous crawler because the request begins with a user action. You might allow it even when you block automated training collection.
The following model shows the decision boundary:
A selective policy
A common policy is:
- Block
GPTBotto opt out of potential training use. - Allow
OAI-SearchBotto support AI search visibility. - Allow
ChatGPT-Userso users can request pages directly. - Keep unrelated crawlers governed by their own groups.
# Block potential model-training collection
User-agent: GPTBot
Disallow: /
# Allow ChatGPT search results
User-agent: OAI-SearchBot
Allow: /
# Allow pages requested by ChatGPT users
User-agent: ChatGPT-User
Allow: /
# Default policy for other crawlers
User-agent: *
Allow: /Each User-agent value begins a group. The Disallow: / rule applies to every path for GPTBot. The later groups do not override that rule because they target different agents.
A wildcard group does not replace a more specific matching group. When a crawler identifies itself as GPTBot, the GPTBot group is the relevant group. When it identifies itself as OAI-SearchBot, the OAI-SearchBot group is relevant.
Choosing the policy
Base the decision on the value and sensitivity of each access type:
- Allow
GPTBotwhen broad model-training use fits your publishing terms. - Block
GPTBotwhen training use is not acceptable or requires a separate license. - Allow
OAI-SearchBotwhen traffic or attribution from ChatGPT search is valuable. - Block
OAI-SearchBotwhen AI search visibility conflicts with your business or content policy. - Allow
ChatGPT-Userfor public pages that users may reasonably ask ChatGPT to inspect. - Block it for private, licensed, or high-cost content.
These choices are independent. Review them separately rather than treating “OpenAI crawlers” as one category.
Exercise
A publisher wants to block potential model-training collection but remain available in ChatGPT search and for direct user requests. Which agents should its robots.txt policy block and which should it allow?
Show answer
Block GPTBot with Disallow: /. Allow OAI-SearchBot and ChatGPT-User. Keep a separate default policy for other crawlers.