openai/codex
Lightweight coding agent that runs in your terminal
What it is
Codex CLI is a coding agent from OpenAI that runs locally on your computer. If you want Codex in your code editor (VS Code, Cursor, Windsurf), install in your IDE. If you want the desktop app experience, run codex app or visit the Codex App page . If you are looking for the cloud-based agent from OpenAI, Codex Web , go to chatgpt.com/codex .
When to use it
Reach for codex when you want an AI to write, refactor or scaffold code in your editor or terminal — it's written in Rust and fits stacks tagged .