Codex CLI is a coding agent from OpenAI that runs locally on your computer. It is one of several Codex surfaces: the same agent is available as an editor extension for VS Code, Cursor, and Windsurf, as a desktop app started with codex app, and as Codex Web, a cloud-based agent hosted at chatgpt.com/codex.
Authentication goes through a ChatGPT account, so the agent is used as part of a Plus, Pro, Business, Edu, or Enterprise plan; an API key is also accepted with additional setup. The CLI ships as native binaries for macOS (Apple Silicon and x8664) and Linux (x8664 and arm64), and is also published as the @openai/codex npm package and a Homebrew cask.
Features
- Local terminal agent: runs on your machine and operates on the current project
- IDE integration: editor extensions for VS Code, Cursor, and Windsurf
- Desktop and web: a desktop app and a hosted cloud agent share the Codex name
- ChatGPT sign-in: usage counts against an existing ChatGPT plan, with API-key access as an alternative
- Native binaries: per-platform executables for macOS and Linux alongside the npm package
Extensions & skills
Agency Agents
Collection of specialized AI agent personas that install into Claude Code, Cursor, Codex, and other coding assistants
Agenta
Workspace for building agents through chat and running them in the background, with swappable harnesses and models
Agentlas OS
Agent OS: keep specialist agents in a hub, spin up a temporary orchestrator per task. Local-first, works with any model.
Browser Harness
Self-healing harness that connects an LLM directly to your real browser via a thin, editable CDP layer.
Built with this
Integrated by
Agent Skills
Portable skill bundles teaching AI coding assistants WordPress block, theme, plugin, and REST API development patterns
Agent Vault
HTTP credential proxy that injects secrets into agents' outbound requests so agents never hold real credentials
Agenvoy
Make AI actually work for you - A personal agent that writes its own tools and repairs itself.
Browser Use
Python library that lets an LLM agent operate a web browser — opening pages, clicking, typing, and filling forms from a task description
Alternatives
Ante Preview
Ghost in your shell. Ante is a self-contained agent harness with a highly optimized core. It works like Claude Code or Codex, with none of t
Caveman Code
Terminal coding agent that answers in a compressed caveman register to cut per-turn output tokens
DeterminFlow
A production-oriented AI workflow runtime for building, validating, recovering, and shipping complex AI workflows as dependable services. 面向
mini-SWE-agent
The 100 line AI agent that solves GitHub issues or helps you in your command line. Radically simple, no huge configs, no giant monorepo—but scores >74% on SWE-bench verified