openai/codex
OpenAI's coding agent, now runnable straight from your terminal
Codex CLI is a coding agent built by OpenAI that runs locally on your own machine rather than in the cloud. It can be installed through a shell script, npm, or Homebrew, and once installed, a single 'codex' command starts it up. You can sign in with your ChatGPT account to use it under your existing Plus, Pro, Business, Edu, or Enterprise plan, or authenticate separately with an API key.
What it does
- A tool that lets you run OpenAI's coding agent directly inside your terminal
- Supports install scripts for Mac, Linux, and Windows, plus npm and Homebrew package managers
- Installers pull from releases.openai.com by default and automatically fall back to GitHub Releases if needed
- You can sign in with ChatGPT to use your existing plan, or set up an API key instead
- Separate versions exist for IDEs like VS Code, Cursor, and Windsurf, a desktop app, and the cloud-based Codex Web
Why it matters
Being able to run an AI coding agent locally on your own machine, rather than through a cloud service, means you can try AI-assisted coding without overhauling your existing workflow. As an open-source project written in Rust with a large number of stars, it reflects considerable community interest and real-world testing.
Terms in this repo
- CLI · a program you operate through terminal command-line input
- coding agent · an AI program that reads, writes, and runs code on your behalf
- API key · a personal authentication code used to access a specific service programmatically
Repository description (English)
Lightweight coding agent that runs in your terminal
Open on GitHubCoverage
Trending repos
- vorssaint/vorssaint-utilsOne free menu bar app replaces a dozen paid Mac utilities
- Alishahryar1/free-claude-codeA local proxy that lets coding AI agents run on 49 free or cheap model providers instead of one paid service
- freestylefly/awesome-gpt-image-2A library of 532 reverse-engineered prompts that turn GPT-Image2 into a predictable image-making tool
- block/buzzAn open-source workspace where humans and AI agents chat, code, and review in the same rooms
- NousResearch/hermes-agentNous Research's Hermes is an AI agent that gets smarter the more you use it
- virgiliojr94/book-to-skillA tool that turns technical book PDFs into on-demand reference skills for AI coding agents
- VoltAgent/awesome-agent-skillsA single hub collecting over 1000 'how-to' manuals that make AI coding assistants act like experts
- anthropics/claude-plugins-communityA shared shelf where anyone's Claude add-ons get listed for install