OpenAI Codex CLI is a lightweight, experimental coding agent designed to run directly in the terminal, allowing developers to automate coding tasks via command line. It supports multiple AI providers beyond OpenAI and includes features for configuration, security sandboxing, and CI/CD integration.
Highlights
Runs as a global npm package (@openai/codex) for terminal-based AI coding assistance.
Supports multiple AI providers including OpenAI, Azure, Gemini, Ollama, and others via the OpenAI Chat Completions API.
Features a security model with platform sandboxing and zero data retention options.
Includes non-interactive mode suitable for CI pipelines and verbose logging for debugging.
Marked as experimental technology with active community contribution and open development.