# Codex CLI

> OpenAI's official terminal coding agent — sandboxed, open source, subscription-friendly.

- Type: agent or tool
- Field: Coding & Development
- Repository: https://github.com/openai/codex
- GitHub stars: 136900
- Licence: Apache-2.0
- Language: Rust
- Last push: 2026-12-01
- Page: https://imutechz.in/agents/codex-cli

## Features
- Sandboxed execution with approval modes
- Uses ChatGPT plan or API key
- --oss mode runs open-weight models locally
- Rust rewrite: fast and light
- AGENTS.md project instructions standard

## Best for
- ChatGPT subscribers
- Sandboxed untrusted tasks
- AGENTS.md teams

## Pros
- First-party OpenAI model access
- Real sandboxing by default
- Free with ChatGPT Plus/Pro

## Cons
- Best experience ties to OpenAI accounts
- Less extensible than MCP-first tools

## Install
```
npm i -g @openai/codex
```

## Usage
```
codex "add dark mode"
```

Tags: Rust, agent, coding
