Skip to main content

Boteraser | Website and Server Security Solutions

Codex

Bot User-Agent: codex

🤖 Overview

Codex is OpenAI's automated software-engineering agent family, shipped as the open-source openai/codex CLI on GitHub and as the Codex cloud agent inside ChatGPT; it reads repositories, runs commands and fetches documentation rather than building a general web index. The CLI is written in Rust and distributed through npm and Homebrew. OpenAI's crawler registry at platform.openai.com/docs/bots lists only GPTBot, ChatGPT-User and OAI-SearchBot, so Codex is best classified as an agent-initiated fetcher.

🌐 Technical Behavior

Traffic under the Codex label is request-driven: fetches are issued on demand when a task needs a URL, unlike GPTBot's breadth-first sweep of the indexable web. Requests arrive over HTTPS with HTTP/2 or HTTP/3, and bursts correlate with one session rather than a distributed crawl frontier. OpenAI publishes egress ranges for GPTBot in openai.com/robots.txt and the gptbot.json feed; no equivalent list exists for Codex, so verification must lean on reverse DNS and behaviour. Retrieval is shallow — typically one host plus dependency metadata, rarely recursing beyond two link hops. Typical volume is tens of requests per task, concentrated on documentation sites, package registries and code hosts.

📋 robots.txt Compliance

OpenAI documents that GPTBot honours Disallow directives, while ChatGPT-User is user-initiated and not governed by robots.txt in the same way. Because Codex fetches occur on a user's behalf mid-task, robots.txt is consulted but is not a dependable enforcement boundary. Sites should therefore pair robots.txt signals with WAF rate limits rather than relying on crawler self-restraint.

🔍 Detection Indicators

No vendor-published Codex User-Agent token exists; the CLI identifies through its underlying HTTP client, such as undici, node-fetch or Python-requests, and cloud-agent fetches originate from OpenAI infrastructure. Detection should weigh header ordering, missing Accept-Language, tight request density from one ASN, and repeated retrieval of /docs/ and llms.txt. JA3/JA4 TLS fingerprint enrichment sharpens attribution.

📊 Data Usage

Retrieved pages enter the model's context window to complete a developer task — generating code, tests or documentation summaries — and are not added to a public search index. Unlike GPTBot, whose crawling feeds model training corpora, Codex retrieval is inference-time only. OpenAI's API and enterprise terms govern retention, while consumer ChatGPT sessions fall under published data controls.

⚙️ Rate Limiting Policy

Codex traffic is user-triggered and bursty, so a single agent loop can outpace any crawl budget; threshold throttling — for example 60 requests per minute per IP returning 429 with Retry-After — preserves availability without blocking the agent.

53% of Web Traffic Is Bots in 2026

— Imperva Bad Bot Report 2026

How much of your traffic is automated? Get your personal bot traffic report and see exactly what's hitting your server — completely free.

📊 Get My Bot Report

Sign up in seconds  ·  No card required

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the bots listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

✓