Codex CLI
Codex CLI is OpenAI's official coding agent that runs locally in your terminal. It provides a TUI, supports ChatGPT OAuth or API key auth, includes MCP client/server capabilities, and uses OS-level sandboxing (Seatbelt on macOS, Landlock on Linux) for safe command execution. Best for developers in the OpenAI ecosystem who want a Claude Code alternative.
AI ToolFree Tier: Free with ChatGPT subscription; pay-per-use with API keyCompany: OpenAICategory: CLI ToolsOpen Source: YesQuick Start: npm install -g @openai/codex → codex → Sign in with ChatGPT or set OPENAI_API_KEY → Describe a task to start codingVisit Codex CLI