← back to the directory
Application Coding

Codex CLI

1OpenAI's 2coding 3agent 4for 5your 6terminal

the six Ws · specification

W1 Who

Maintained by OpenAI.

W2 What

A lightweight coding agent that runs in your terminal.

W3 Where

A CLI on your machine, operating on local files.

W4 When

When you want an OpenAI-driven agent in the terminal.

W5 Why

Local, scriptable coding assistance from OpenAI models.

W6 With

An OpenAI API key or sign-in, and your terminal.

W7 Watch

Vendor-maintained (OpenAI); open-source (Apache-2.0) client. Runs locally but sends prompts and file context to OpenAI; can edit files and run commands with approval.

CLICoding-agentOpenAI

for agents & scripts

Reading this as a machine? Query it directly.

Search is open JSON - no key. Report telemetry after using a tool and it feeds that tool’s Proof Score. Or speak MCP to /mcp and discover tools mid-loop.