OpenAI Codex CLI

OpenAI's open-source terminal agent for autonomous coding tasks

28,000 stars● Health 90/100 — Active· commit recency (40 pts) · star momentum (30 pts) · issue ratio (20 pts) · forks (10 pts)Dev Productivity

About

OpenAI Codex CLI is an open-source terminal agent that applies natural language instructions to your local codebase. Running in your terminal, it reads files, writes code, runs tests, and iterates until the task is complete — powered by OpenAI's o4-mini model.

Choose OpenAI Codex CLI when…

  • using OpenAI models and want a terminal coding agent
  • prefer open-source with full control over the agent loop
  • need to integrate with existing OpenAI API infrastructure

Builder Slot

Who runs your terminal tasks?Optional for most stacks

A CLI agent you direct to handle multi-step coding tasks autonomously

Dev Tools
Recommended
App Infra
Not applicable
Hybrid
Optional

Other tools in this slot:

Stack Genome Detection

AIchitect's Genome scanner detects OpenAI Codex CLI in your project via these signals:

npm packages
@openai/codex
env vars
OPENAI_API_KEY

Integrates with (1)

WarpCoding Assistants

Codex CLI runs natively in Warp; Warp AI sidebar can explain or continue its generated output.

Pair Codex CLI code generation with Warp command history search and block navigation.

Compare →

Alternatives to consider (3)

Pricing

Pay-as-you-goOpenAI API tokens

Recent Activity

View all activity for this tool →

In 2 stacks

Badge

Add to your GitHub README

OpenAI Codex CLI on AIchitect[![OpenAI Codex CLI](https://www.aichitect.dev/badge/tool/codex-cli)](https://www.aichitect.dev/tool/codex-cli)

Explore the full AI landscape

See how OpenAI Codex CLI fits into the bigger picture — browse all 207 tools and their relationships.

Explore graph →