Codex
A name that bot lists give the web requests of Codex, OpenAI's coding agent. OpenAI documents a hosted web search tool for Codex, but it does not document a Codex robots.txt token.
In short. Codex is the name that bot lists give the web requests of OpenAI's Codex coding agent. OpenAI says local Codex chats use cached search from an OpenAI index by default. OpenAI's crawler page does not list Codex, so a Codex rule in robots.txt is only a request. Known Agents reports the user agent codex-mcp-client, which OpenAI's Codex source code sets for its MCP client.
On this page 8 sections
Facts
- Documentation
- Reported. OpenAI has not documented this crawler, so each fact below is graded by its evidence.
- Operator
OpenAI
- Purpose
- A name that bot lists give the web requests of Codex, OpenAI's coding agent. OpenAI documents a hosted web search tool for Codex, but it does not document a Codex robots.txt token.
- robots.txt token
CodexA reported name. OpenAI has not confirmed it.- Obeys robots.txt
- The operator does not say
- User agent
codex-mcp-client/0.169.0-alpha.11.1Reported by Known Agents, not by OpenAI.- IP addresses
- Not published by OpenAI.
- If you block it
- Unknown. OpenAI's crawler page does not name Codex and OpenAI publishes no robots.txt policy for it, so a Codex rule is only a request.
- Other OpenAI bots
- GPTBot OAI-SearchBot ChatGPT Agent ChatGPT-User OAI-AdsBot
Does your site block Codex? The robots.txt checker shows the rule that decides it.
The evidence
- Observed:
- Confirmed:
OpenAI says local Codex chats use cached search by default. Cached mode uses an OpenAI-maintained index instead of fetching arbitrary pages live.2ChatGPT Learn (OpenAI)
- Confirmed:
OpenAI says Codex web search is a hosted tool, separate from sandboxed local command networking. When Codex runs with full access, web search defaults to live results.2ChatGPT Learn (OpenAI)
- Confirmed:
OpenAI's Codex source code sets the user agent codex-mcp-client followed by a version number in the default headers of its MCP client.3OpenAI (GitHub)
- Observed:
Known Agents lists Codex as an OpenAI coding agent that a user action triggers. Its top user agents start with codex-mcp-client. It says Codex publishes no verification method.4Known Agents
Confirmed by the platformObserved in data
#What happens if I block Codex?
OpenAI has not documented a Codex crawler. Its crawler overview lists four agents: OAI-SearchBot, OAI-AdsBot, GPTBot and ChatGPT-User.1 Codex is not on the list. OpenAI says each of its settings is independent of the others.1
OpenAI's web search page says local Codex chats use cached search by default. Cached mode uses an OpenAI-maintained index instead of fetching arbitrary pages live.2 A developer can turn on live search. When Codex runs with full access, web search defaults to live results.2 OpenAI says web search is a hosted tool, separate from sandboxed local command networking.2 The page names no user agent for these searches.
Known Agents lists Codex as an OpenAI coding agent. It says a user action triggers it and that it fetches documentation and other resources to help build software.4 Known Agents expects it to follow robots.txt.4 This is a third-party view, not an OpenAI statement.
#How do I block Codex in robots.txt?
This group asks Codex to stay out of the whole site. OpenAI has not said that Codex reads it:
User-agent: Codex
Disallow: /A rule for Codex does not name ChatGPT-User, OAI-SearchBot or GPTBot. A firewall rule that matches "codex-mcp-client" in the user agent can refuse those requests. robots.txt can only ask.
#How do I check that a request is from Codex?
You cannot verify a Codex request. OpenAI's Codex source code sets the user agent codex-mcp-client/ plus a version number in the default headers of its MCP client.3 Known Agents reports strings such as codex-mcp-client/0.169.0-alpha.11.1.4 It says Codex publishes no verification method, so any client can send the name.4 OpenAI publishes IP lists for its four documented agents.1 It does not say that Codex uses those addresses. A match in your logs is only a clue.
Check Codex on your site
The crawler directory lists all 266 bots. 58 crawl for search, 42 fetch pages for a user, 25 collect training data, 12 do more than one job, 8 check ad pages and 5 are control tokens that send no requests. The other 116 are SEO, data, archive, link preview and tool bots.
Questions
Should I block Codex?
Codex is a fetcher that loads a page when a user asks an AI assistant from OpenAI. Unknown. OpenAI's crawler page does not name Codex and OpenAI publishes no robots.txt policy for it, so a Codex rule is only a request.
Does Codex obey robots.txt?
Unknown. No source confirms that Codex obeys robots.txt. To be sure it stays out, block it with a firewall or CDN rule as well.
How do I verify Codex?
OpenAI publishes no way to verify Codex. The user agent alone is not proof, because any client can copy it.
Notes
- 1
- 2
- 3
- 4
About this page
Researched and reviewed by Promptly Found. Verified Nov 29, 2026. Next review due Dec 2026.
Cite this page
Promptly Found. (2026, November 29). Codex https://promptlyfound.com/crawlers/codex
Revisions 1
- First published as a reported profile. OpenAI has not documented a Codex crawler or robots.txt token.