Codex

OpenAI Codex CLI and its concepts.

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #

A

  • Agentic An AI that takes several steps on its own, running tools, reading results and deciding what to do next.
  • AGENTS.md A Markdown file in the repo root that tells Codex how to work on the project: commands, rules and what not to touch.
  • Approval mode How much Codex may do on its own before asking you: suggest only, edit files, or run commands too.

C

  • codex exec Run Codex non-interactively from a script or cron job: one prompt in, result out.
  • config.toml Codex's settings file in ~/.codex/: default model, approval mode, MCP servers and profiles.
  • Context window How much text a model can see at once: your messages, files, tool results and its own replies.

M

R

  • Reasoning effort How long the model thinks before answering: low for quick edits, high for hard problems.

S

  • Sandbox An isolated environment where Codex runs commands, limiting what they can touch (files, network).