Home / Products / Codex CLI

Product profile · coding agent

Codex CLI

Scope: These records describe published product documentation. They do not establish an organization’s effective tenant configuration.

Documented coverage scope: plan not specified · deployment modes: Auto preset with workspace-write sandbox, Codex CLI local terminal workflow, Codex CLI sign-in with ChatGPT or another available sign-in method, Command network proxy enabled with command network access enabled, Enterprise-managed MCP server allowlist; matches server name and identity, not individual tools exposed by an approved server, Enterprise-managed requirements for supported local clients; requirements vary by client version and execution environment, Granular approval_policy configuration, Local command execution, Local command network proxy, Local repository opened in Codex CLI, Supported enterprise-managed local execution; available controls depend on client version and execution environment, When an administrator or user configures MCP servers exposing external API tools, interactive startup; initial mode varies with version-control and workspace trust state, local command execution, local execution, local workspace-write sandbox, workspace-write sandbox, workspace-write with sandbox_workspace_write.network_access enabled Individual claims can have narrower scopes; check each claim before comparing values.

Latest source check in this build
2026-10-08T11:36:55Z · 3 of 3 active sources checked
Last publication
2026-10-08
Last documented change
No published change recorded
Sources cited
3 public sources
Monitored source health (3)

A source is current through two configured poll intervals after its last successful check. A later successful check makes it stale; a failed or access/parser-degraded check is marked degraded.

  • source-9f715f335ac1

    Watching actions.external_api_supported, credentials.user_delegation_supported, execution.environment_type, identity.model, repo.read · cadence P1D · stale after 48h0m0s

    degraded · no successful check
  • source-c9526a845ca4

    Watching policy.central_admin_policy, policy.org_level_enforcement, policy.tool_allowlist · cadence P1D · stale after 48h0m0s

    current · success 2026-10-08
  • source-fd10151a8585

    Watching approval.*, execution.*, filesystem.*, network.*, policy.network_policy, sandbox.* · cadence P1D · stale after 48h0m0s

    current · success 2026-10-08

Coverage snapshot

Documented coverage by area

Control fields with a published claim out of the taxonomy fields in each area. Unlisted fields remain unknown.

Identity model1 of 4 possible records
Code and command execution2 of 4 possible records
Filesystem4 of 4 possible records
Network4 of 5 possible records
Repository access1 of 5 possible records
External actions1 of 3 possible records
Human approval3 of 4 possible records
Sandboxing and isolation2 of 4 possible records
Credential handling1 of 4 possible records
Auditability0 of 4 possible records
Administrative policy controls4 of 5 possible records
Execution lifetime0 of 4 possible records

Documented controls

24 published claims

Identity model

Link to dimension

Model identity.model

Identity modeldocumented capability

identity.model

user-delegated

Codex CLI sign-in with ChatGPT or another available sign-in methodObserved 2026-10-08
Evidence (1)
  • Run Codex and sign in
    The first time you run Codex, choose Sign in with ChatGPT or another available sign-in method.

Report an issue

Code and command execution

Link to dimension

Shell available execution.shell_available

Code and command executiondocumented capability

execution.shell_available

supported

local workspace-write sandboxObserved 2026-10-05
Evidence (1)
  • Sandbox and approvals
    In the `Auto` preset (`workspace-write` with `on-request` approvals), Codex can read files, make edits, and run commands in the working directory automatically. Codex asks for approval to edit files outside the workspace or to run commands that require network access.

Report an issue

Environment type execution.environment_type

Code and command executiondocumented capability

execution.environment_type

Platform-native OS-enforced sandbox

Local command executionObserved 2026-10-06
Evidence (1)

Report an issue

Code and command executiondocumented capability

execution.environment_type

Local developer machine running the Codex CLI

Codex CLI local terminal workflowObserved 2026-10-08
Evidence (1)

Report an issue

Read filesystem.read

Filesystemdocumented capability

filesystem.read

supported

Auto preset with workspace-write sandboxObserved 2026-10-06
Evidence (1)
  • Sandbox and approvals
    Codex can read files, make edits, and run commands in the working directory automatically.

Report an issue

Write filesystem.write

Filesystemdocumented capability

filesystem.write

supported

local workspace-write sandboxObserved 2026-10-05
Evidence (2)
  • Sandbox and approvals
    In the `Auto` preset (`workspace-write` with `on-request` approvals), Codex can read files, make edits, and run commands in the working directory automatically. Codex asks for approval to edit files outside the workspace or to run commands that require network access.
  • Sandbox and approvals
    In the default `workspace-write` sandbox policy, writes are limited to the active workspace. The workspace includes the current directory and temporary directories like `/tmp`.

Report an issue

Scope filesystem.scope

Filesystemdocumented scope

filesystem.scope

The default workspace-write sandbox limits writes to the active workspace, which includes the current directory and temporary directories such as /tmp.

local workspace-write sandboxObserved 2026-10-05
Evidence (1)
  • Sandbox and approvals
    In the default `workspace-write` sandbox policy, writes are limited to the active workspace. The workspace includes the current directory and temporary directories like `/tmp`.

Report an issue

Isolated filesystem.isolated

Filesystemdocumented capability

filesystem.isolated

supported

local command executionObserved 2026-10-05
Evidence (1)
  • Sandbox and approvals
    Codex CLI / IDE extension: OS-level mechanisms enforce sandbox policies. Defaults include no network access and write permissions limited to the active workspace.

Report an issue

External access available network.external_access_available

Networkdocumented admin control

network.external_access_available

supported

workspace-write with sandbox_workspace_write.network_access enabledObserved 2026-10-06
Evidence (1)
  • Network access
    default `workspace-write` sandbox mode keeps network access turned off unless you enable it in your configuration.

Report an issue

Default network.default

Networkdocumented default

network.default

disabled

workspace-write sandboxObserved 2026-10-05
Evidence (1)
  • Network access
    For the ChatGPT desktop app, Codex CLI, or IDE extension, the default `workspace-write` sandbox mode keeps network access turned off unless you enable it in your configuration.

Report an issue

Allowlist supported network.allowlist_supported

Networkdocumented admin control

network.allowlist_supported

supported

Command network proxy enabled with command network access enabledObserved 2026-10-06
Evidence (1)
  • Network policy
    Supports exact hosts, scoped wildcards, and global `*` allow rules.

Report an issue

Denylist supported network.denylist_supported

Networkdocumented admin control

network.denylist_supported

supported

Command network proxy enabled with command network access enabledObserved 2026-10-06
Evidence (1)
  • Network policy
    `deny` always wins over `allow`, and global `*` is only valid for allow rules.

Report an issue

Repository access

Link to dimension

Read repo.read

Repository accessdocumented capability

repo.read

supported

Local repository opened in Codex CLIObserved 2026-10-08
Evidence (1)

Report an issue

External actions

Link to dimension

External api supported actions.external_api_supported

External actionsdocumented capability

actions.external_api_supported

supported

When an administrator or user configures MCP servers exposing external API toolsObserved 2026-10-08
Evidence (1)
  • Build a terminal workflow around Codex
    Connect external tools with MCP. Add local or remote MCP servers, authenticate when needed, and inspect the tools available to the current session before Codex uses them.

Report an issue

Human approval

Link to dimension

Supported approval.supported

Human approvaldocumented capability

approval.supported

supported

local executionObserved 2026-10-05
Evidence (1)
  • Sandbox and approvals
    Approval policy: When Codex must ask you before it executes an action (for example, leaving the sandbox, using the network, or running commands outside a trusted set).

Report an issue

Default approval.default

Human approvaldocumented default

approval.default

configurable

interactive startup; initial mode varies with version-control and workspace trust stateObserved 2026-10-05
Evidence (1)
  • Codex CLI and IDE sandbox setup
    Version-controlled folders start in `Auto` mode, while non-version-controlled folders start `read-only`; depending on setup, Codex may also start `read-only` until you explicitly trust the working directory.

Report an issue

Action level configuration approval.action_level_configuration

Human approvaldocumented admin control

approval.action_level_configuration

supported

Granular approval_policy configurationObserved 2026-10-06
Evidence (1)
  • Configuration in config.toml
    The granular policy covers sandbox approvals, execpolicy-rule prompts, MCP prompts, `request_permissions` prompts, and skill-script approvals.

Report an issue

Sandboxing and isolation

Link to dimension

Available sandbox.available

Sandboxing and isolationdocumented capability

sandbox.available

supported

local executionObserved 2026-10-05
Evidence (1)
  • Sandbox and approvals
    Codex CLI / IDE extension: OS-level mechanisms enforce sandbox policies. Defaults include no network access and write permissions limited to the active workspace.

Report an issue

Default sandbox.default

Sandboxing and isolationdocumented default

sandbox.default

enabled

local command executionObserved 2026-10-05
Evidence (1)
  • Sandbox and approvals
    Codex CLI / IDE extension: OS-level mechanisms enforce sandbox policies. Defaults include no network access and write permissions limited to the active workspace.

Report an issue

Credential handling

Link to dimension

User delegation supported credentials.user_delegation_supported

Credential handlingdocumented capability

credentials.user_delegation_supported

supported

Scope not specifiedObserved 2026-10-08
Evidence (1)
  • Run Codex and sign in
    The first time you run Codex, choose Sign in with ChatGPT or another available sign-in method.

Report an issue

Administrative policy controls

Link to dimension

Tool allowlist policy.tool_allowlist

Administrative policy controlsdocumented admin control

policy.tool_allowlist

supported

Enterprise-managed MCP server allowlist; matches server name and identity, not individual tools exposed by an approved serverObserved 2026-10-07
Evidence (1)
  • Admin-enforced requirements
    If you configure an `mcp_servers` allowlist, the client enables an MCP server only when both its name and identity match an approved entry.

Report an issue

Network policy policy.network_policy

Administrative policy controlsdocumented admin control

policy.network_policy

The network_proxy feature applies configured destination rules to command network traffic; command network access must be enabled separately.

Local command network proxyObserved 2026-10-06
Evidence (1)
  • Network isolation
    When command network access is already enabled, turn on the `network_proxy` feature to constrain that traffic to the network policy you configure.

Report an issue

Central admin policy policy.central_admin_policy

Administrative policy controlsdocumented admin control

policy.central_admin_policy

Enterprise administrators can distribute managed defaults and enforce requirements through supported local configuration channels, including cloud-managed requirements and local requirements.toml.

Supported enterprise-managed local execution; available controls depend on client version and execution environmentObserved 2026-10-07
Evidence (1)
  • Admin-enforced requirements
    Managed configuration lets enterprise admins set supported requirements and defaults for ChatGPT Work and Codex. Requirements: admin-enforced constraints that users can’t override.

Report an issue

Org level enforcement policy.org_level_enforcement

Administrative policy controlsdocumented admin control

policy.org_level_enforcement

supported

Enterprise-managed requirements for supported local clients; requirements vary by client version and execution environmentObserved 2026-10-07
Evidence (1)
  • Admin-enforced requirements
    Managed configuration lets enterprise admins set supported requirements and defaults for ChatGPT Work and Codex. Requirements: admin-enforced constraints that users can’t override.

Report an issue

Unknown or uncovered Control fields (27)

“Not documented” means an up-to-date source was checked without a published claim. “Not checked” means no current source check covers the field. “Not supported” appears only when the published claim explicitly records that state.

Identity model

Code and command execution

Network

Repository access

External actions

Human approval

Sandboxing and isolation

  • Scope sandbox.scope Not documented
  • Persistence sandbox.persistence Not documented

Credential handling

Auditability

Administrative policy controls

Execution lifetime

Terms

0 published claims

No published contractual terms are associated with this product.

Recent changes

No changes for this product have been published.