Questions? hello@viberation.devGet supportBlogDocsChangelog
Get started

OpenAI's coding agent in your terminal, IDE and ChatGPT.

Codex reads your codebase, edits files and runs commands from plain-language requests. The CLI is open source; the same agent runs in the desktop app, IDE extensions and ChatGPT on the web.

Works with

Key info

Pricing
Open source
Platform
macOS · Windows · Linux
Category
CLIs
Best for
Intermediate
Free plan
The CLI is free and open source; usage needs a ChatGPT plan or API credits
Paid plans from
Included with ChatGPT Plus, or pay per token with an API key
Install
npm install -g @openai/codex
Models
OpenAI's GPT models
Your own API key
Yes, an OpenAI key
Local models
Yes, open-weight models through Ollama
Good for
ChatGPT subscribers who want an agent in the terminal

Related reading

More in CLIs

  • A package manager for skills, with versions and team sync.

    CLIs
  • Install skills once and use them in every agent.

    CLIs
  • Install any agent skill with one npx command.

    CLIs
  • Google's open-source agent for Gemini in your terminal.

    CLIs