Codex CLI OpenAI's Codex CLI brings an AI coding agent directly into the terminal, letting developers inspect, edit, and run code against their actual local repository rather than a sandboxed copy. The tool runs a task loop in which the agent reads project files, proposes edits, and executes commands using locally installed tools, and it adds a `codex exec` mode for scripted workflows, CI pipelines, and repeatable automation. Codex CLI also supports Git checkpoints before and after a task for reverting changes, a plugin marketplace, and offloading longer jobs to Codex Cloud. Open Source Alternative to: Stars Last commit Repository age Version License Repository Codex CLI brings an AI coding agent directly into your terminal, letting you inspect, edit, and run code without switching to a browser or separate app. It's built for developers who live in the command line and want AI assistance that operates on their actual local repository, not a sandboxed copy. At its core, Codex CLI runs a focused loop: you describe a task, and the agent reads your files, proposes edits, and executes commands using the tools already installed on your machine. You can steer it mid-turn, inspect diffs as they appear, and keep follow-up work in the same session. Key capabilities: codex exec for scripted workflows, CI pipelines, and repeatable automation Compared to browser-based tools like ChatGPT https://openalternative.co/alternatives/chatgpt or chat-first agents, Codex CLI stays close to your development environment. It reads your actual project files and runs your local toolchain. It also supports Git checkpoints before and after a task, so you can revert if a change misses the mark. For teams already using Cline https://openalternative.co/cline or similar terminal agents, Codex CLI's plugin marketplace and CI-friendly execution mode give it a broader surface area. The review workflow is particularly useful before opening a pull request, catching issues without requiring a separate review tool or manual diff inspection. Cloud offloading is also supported: you can hand a task to Codex Cloud and return to the terminal later, which suits longer-running jobs that don't need active supervision. Every Sunday we deconstruct one proprietary app and pick the best open source alternatives worth switching to. Compare with