{
  "slug": "openai-codex",
  "name": "OpenAI Codex",
  "aliases": ["Codex CLI", "Codex", "Codex Cloud", "Codex IDE extension"],
  "vendor": { "name": "OpenAI", "slug": "openai", "website": "https://developers.openai.com/api/docs" },
  "homepage_url": "https://learn.chatgpt.com/docs/codex/cli",
  "docs_url": "https://learn.chatgpt.com/docs/codex/cli",
  "repo_url": "https://github.com/openai/codex",
  "license_url": "https://github.com/openai/codex/blob/main/LICENSE",
  "product_type": "cli-tool",
  "product_status": "active",
  "summary": "OpenAI's coding agent: an open-source Rust terminal CLI plus IDE extension, desktop app and cloud agent, signed in with a ChatGPT plan or an API key",
  "description": "OpenAI Codex is OpenAI's family of coding-agent surfaces. The core is Codex CLI, an open-source (Apache-2.0) program written in Rust that runs in the terminal, inspects a repository, edits files and executes commands under a configurable sandbox and approval policy. Around it sit an IDE extension for VS Code, Cursor and Windsurf, a desktop app launched with `codex app`, and Codex Cloud, which runs tasks in hosted containers from chatgpt.com. Documentation moved in 2026 from developers.openai.com/codex to learn.chatgpt.com, where Codex is presented as part of the ChatGPT product.\n\nFeatures documented for the CLI include `/init` to create an AGENTS.md instruction file, `/permissions` to set when the agent may edit or run without asking, `codex mcp` to add local or remote MCP servers, `/review` for change review, `codex resume`, subagents, image inputs, web search, plugins and skills, and `codex exec` for non-interactive use in scripts and CI. Installation is a shell installer, npm package, Homebrew cask or Windows installer, for macOS (Apple Silicon and Intel), Linux and Windows. Authentication is normally \"Sign in with ChatGPT\" on Plus, Pro, Business, Edu or Enterprise plans; API-key use is possible with extra setup. The open license applies to the CLI; the models, cloud agent and IDE extension remain hosted, proprietary services.",
  "capabilities": ["Terminal agent that edits files and runs commands under sandbox and approval policies", "AGENTS.md project instructions and `/permissions` controls", "MCP server integration via `codex mcp`", "`codex exec` for scripts and CI, `codex resume` for sessions", "IDE extension for VS Code, Cursor and Windsurf, plus desktop app", "Codex Cloud for hosted, parallel tasks from ChatGPT"],
  "workflows": ["Fix a failing test suite from the terminal with approvals on each command", "Delegate several independent tasks to Codex Cloud and review the resulting PRs", "Run `codex exec` in CI to generate release notes or review diffs"],
  "advantages": ["CLI source is open under Apache-2.0", "Included in ChatGPT paid plans, so no separate API billing for individuals", "Same agent available in terminal, IDE, desktop and cloud"],
  "limitations": ["Models and cloud agent are hosted and proprietary", "Documentation location has changed several times, breaking older links", "Requires a paid ChatGPT plan or API key"],
  "prerequisites": ["ChatGPT Plus/Pro/Business/Edu/Enterprise plan or an OpenAI API key", "macOS, Linux or Windows; Node.js or Homebrew optional for installation"],
  "audiences": ["Developers who want a terminal-first coding agent", "Teams already on ChatGPT Business or Enterprise"],
  "alternatives": ["claude-code", "cursor", "github"],
  "categories": [{ "slug": "coding-agents", "primary": true }],
  "tags": ["agents", "cli", "llm", "rust", "open-source", "mcp"],
  "use_cases": ["write-code-with-ai"],
  "operating_systems": ["macos", "linux", "windows", "web"],
  "execution_modes": ["local", "cloud"],
  "interfaces": ["cli", "ide-extension", "desktop", "web"],
  "deployment_models": ["desktop", "saas"],
  "integrations": ["VS Code", "Cursor", "Windsurf", "GitHub", "Model Context Protocol", "ChatGPT"],
  "data_formats": ["Markdown (AGENTS.md)", "TOML (config)"],
  "languages": ["Rust (implementation)", "Any programming language (agent)"],
  "source_model": "mixed",
  "license_spdx": "Apache-2.0",
  "pricing_model": ["paid", "usage-based", "enterprise"],
  "self_hostable": false,
  "sources": [
    { "url": "https://learn.chatgpt.com/docs/codex/cli", "type": "official_docs", "title": "Codex CLI | ChatGPT Learn", "supports": ["capabilities", "interfaces", "prerequisites"], "checked_at": "2026-11-02", "note": "developers.openai.com/codex/cli redirects here" },
    { "url": "https://github.com/openai/codex", "type": "repository", "title": "openai/codex", "supports": ["license_spdx", "operating_systems", "languages"], "checked_at": "2026-11-02" },
    { "url": "https://github.com/openai/codex/blob/main/LICENSE", "type": "license_page", "supports": ["license_spdx", "source_model"], "checked_at": "2026-11-02" },
    { "url": "https://learn.chatgpt.com/docs", "type": "official_site", "title": "ChatGPT Learn", "supports": ["name", "pricing_model"], "checked_at": "2026-11-02" }
  ],
  "confidence": "medium",
  "uncertainty_note": "The product marketing page openai.com/codex returns 403 to automated clients and the docs site redirected to a ChatGPT-branded domain during verification; plan eligibility is taken from the GitHub README. No pricing_url is recorded because the plan page could not be loaded.",
  "discovery_method": "editorial-research",
  "depth": "standard",
  "editorial_status": "reviewed",
  "visibility": "public",
  "featured": false,
  "author": "batch-A"
}
