Codex CLI is a terminal coding agent from OpenAI designed for developers who want to work directly in their command line. It connects to your local repository and can read, edit, and execute code while you stay in the terminal.
Key capabilities include interactive terminal sessions with slash commands for common tasks, planning and resuming chats to continue work across sessions, and configurable model selection to choose the right AI model for your needs. The tool provides git diff integration to review all changes before applying them, file mentions to reference specific code sections, and approval modes to maintain control over modifications.
Additional features include:
Codex CLI works best for developers, engineers, designers, and terminal-comfortable coders working on real-world or hobby projects. Install via npm or Homebrew, then run codex to begin. It integrates with your ChatGPT plan or can be used with an API key for flexible authentication options.
$ npm install -g @openai/codex
Activity score
100/100
Stars
Forks
Latest version
Last commit
First release
Language
License
Auto-fetched .
★ 16k · vcli/v2.2.1 · go
★ 26k · v0.19.9 · typescript