# OpenAI Codex CLI: AI agent (CLI agent) in 2026

> OpenAI's open-source terminal coding agent, also available as IDE extension and cloud agent.

**Sourced facts checked 2026-10-17.** Source: https://developers.openai.com/codex (checked 2026-10-17). Rank 6 of 16 in CLI agent.

## Key facts

| Fact | Value |
| --- | --- |
| Type | AI agent |
| Category | CLI agent |
| Maker | OpenAI |
| Interface | CLI, IDE |
| Licence | Apache-2.0 (Open source) |
| GitHub stars | 129,621 (as of 2026-10-17) |
| Supported models | OpenAI models; API key or ChatGPT sign-in |
| MCP support | Yes (per official docs) |
| Subagents | Yes |
| Headless mode | Yes |
| Sandboxing | Yes |
| Pricing (official) | Included in ChatGPT plans: Free $0, Go $8/mo, Plus $20/mo, Pro from $100/mo; Business/Enterprise; or API key at API rates. (checked 2026-10-16) |
| Website | https://developers.openai.com/codex |
| Repository | https://github.com/openai/codex |
| Source | https://developers.openai.com/codex (checked 2026-10-17) |
| Vibe Shipped harness page | https://vibeshipped.io/harness/openai-codex-cli |
| Vibe Shipped toolbox page | https://vibeshipped.io/agent-toolbox/codex-cli |

## Install

### Install

This agent is an MCP client (official docs). To give it a server from this directory, add that server in this agent's own MCP settings; every MCP server entry shows the snippet.

Source: https://developers.openai.com/codex (checked 2026-10-17).

## Links

- Page: https://vibeshipped.io/directory/agents/openai-codex-cli
- JSON: https://vibeshipped.io/directory/agents/openai-codex-cli.json
- Claim this listing: https://vibeshipped.io/directory/claim?entry=agents/openai-codex-cli
- Directory: https://vibeshipped.io/directory

Ranking rule: Within a category, entries sort by (1) latest verification: verified working, then reachable but sign-in required, then failing; (2) share of daily checks that passed; (3) number of sourced facts attached to the entry; (4) median response time of passing checks; (5) name. Nothing else counts. Rankings are never for sale: sponsors and paid plans cannot change an entry's position.