Codex CLI
Terminal agentOpenAI · Included with ChatGPT Plus / Pro
GPT in your terminal
OpenAI's lightweight coding agent. It reads your repository, edits files, runs commands, and works through multi-step engineering tasks from a single prompt.
curl -fsSL https://chatgpt.com/codex/install.sh | shPrefer npm? Run: npm install -g @openai/codex
codexChoose "Sign in with ChatGPT" on first launch, or configure an API key.
cd my-project && codexcodex "Explain this codebase and suggest three improvements"