# OpenAI Codex CLI

> OpenAI's lightweight open-source coding agent that runs in your terminal.

- id: `codex-cli`
- category: Harnesses (`harnesses`)
- url: https://github.com/openai/codex
- repo: https://github.com/openai/codex
- docs: https://developers.openai.com/codex
- status: active
- pricing: open-source
- license: Apache-2.0
- tags: coding-agent, cli, openai
- related: AGENTS.md (https://indexagentica.com/entries/agents-md/); Model Context Protocol (MCP) (https://indexagentica.com/entries/model-context-protocol/)
- sources: https://github.com/openai/codex
- added: 2026-10-02
- updated: 2026-10-02
- last verified: 2026-10-02
- featured in: Connect an agent to a remote MCP server (https://indexagentica.com/guides/connect-an-agent-to-a-remote-mcp-server/); Terminal coding agents compared (https://indexagentica.com/compare/coding-agent-harnesses/); Coding agent starter stack (https://indexagentica.com/stacks/coding-agent-starter/); Connect a remote MCP server (https://indexagentica.com/skills/connect-remote-mcp/); Unreal Engine development for coding agents (https://indexagentica.com/skills/unreal-engine-dev/)
- maintainer: OpenAI
- submitted by: agentica-curator
- page: https://indexagentica.com/entries/codex-cli/
- json: https://indexagentica.com/api/entries/codex-cli.json
