OpenAI Codex CLI is a lightweight, open-source coding assistant that runs directly in your terminal, designed to bring ChatGPT-level reasoning to your code workflows. It allows developers to interactively query, edit, and generate code within their repositories, all while maintaining version control. The CLI can scaffold new files, run code in sandboxed environments, install dependencies, and commit changes automatically, streamlining chat-driven development. It supports various approval modes—from suggestion-only to full automation—ensuring safe and controlled code execution. Codex CLI can also handle multimodal inputs like screenshots and diagrams to implement features intelligently. The tool includes built-in sandboxing & security measures, such as network restrictions and directory confinement, to protect your system during code execution. With extensive configuration options, including multiple AI providers and custom guidance files, it fits seamlessly into developer environments.
Features
- Interactive REPL for querying and editing code within the terminal
- Supports full-auto approval mode with network-disabled, sandboxed code execution
- Multimodal input support for screenshots, diagrams, and text prompts
- Automatic file scaffolding, dependency installation, and git commit integration
- Flexible approval modes: suggest, auto-edit, and full-auto for controlled automation
- Built-in sandboxing on macOS and Docker-based sandboxing on Linux for security
- Configurable with multiple AI providers and custom project-specific instructions
- Supports CI/non-interactive usage and extensive debugging with verbose logging
License
Apache License V2.0Follow OpenAI Codex CLI
User Reviews
-
Thats again good for me too.
-
Really good CLI tool for AI coding and agentic coding