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 GitHubTrending repos
- cordiverse/cordisA TypeScript framework for snapping feature pieces on and off whenever you need them
- ripienaar/free-for-devA single repo lists every free-tier cloud, API and collaboration tool developers actually need
- Wei-Shaw/sub2apiA relay server that lets one Claude/OpenAI/Gemini/Grok subscription be shared by many users
- multica-ai/andrej-karpathy-skillsA single instruction file that stops AI coding assistants from making silent bad guesses
- eneskirca/nodetermA workspace that puts scattered terminal tabs and AI coding agents on one draggable map
- affaan-m/ECCA toolkit that teaches AI coding agents to work like disciplined engineers
- n8n-io/n8nn8n lets you build automation workflows and AI agents by dragging nodes on a canvas, with code as a fallback
- apache/makaAn AI agent workspace that keeps everything running on your own machine, with every action logged