One email each morning — yesterday's AI, sortedGet it in your inbox

METAL LAB

openai/codex

112,337+4,159 todayRust

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

  1. A tool that lets you run OpenAI's coding agent directly inside your terminal
  2. Supports install scripts for Mac, Linux, and Windows, plus npm and Homebrew package managers
  3. Installers pull from releases.openai.com by default and automatically fall back to GitHub Releases if needed
  4. You can sign in with ChatGPT to use your existing plan, or set up an API key instead
  5. 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

Owner · openai

Open on GitHub

Trending repos

All repos →

Latest from METAL LAB