Codex CLI
by OpenAI
Official listing: built and published by OpenAI. More from OpenAI
Runs a coding agent locally in the terminal, editing files and executing commands inside an OS sandbox with configurable approvals, plus headless `codex exec` for pipelines.
- Access
- CLIMCP
- Auth
- OAuth 2.0
- Skills
- 5
Skills
Sandboxed Code Execution
Edits files and runs shell commands inside an OS-level sandbox, escalating to the user for approval per the configured permission mode.
Headless Exec Runs
Executes prompts non-interactively through `codex exec` so coding tasks run inside CI jobs, scripts, and other repeatable workflows.
MCP Server Integration
Attaches local or remote MCP servers via `codex mcp` and exposes Codex itself as an MCP server for other agent clients.
Session Resume
Reopens a recent conversation from the current repository with `codex resume` and searches across stored local sessions.
AGENTS.md Project Config
Generates and reads AGENTS.md instructions through `/init` so repository-specific conventions steer the agent on every run.
Related Agents
Corgi
CLIRuns your coding agents in a terminal multiplexer that shows which are working, finished or need you, with a scriptable…
Codewhale
CLIRuns a terminal coding agent with plan and work modes, approval levels, durable goals, agent teams, and MCP, using…
MiniMax Code
CLIRuns MiniMax's open-source coding agent in the terminal for developers, with an interactive TUI, headless mcode exec…
Factory
CLI · MCPRuns enterprise coding Droids from the terminal with MCP tools, reusable Missions and Skills, plus a headless exec mode…