Codex CLI
OpenAI's official command-line tool for agentic coding with Codex.
Usage
{
"features": {
"ghcr.io/hansehart/devcontainer-features/codex:3": {}
}
}Version 3.2.0, see the changelog for what changed.
Options
| Option | Default | Description |
|---|---|---|
version | latest | Channel (latest) or an exact version (major.minor.patch). |
stateDir | If set, puts this feature's data at this path, which must be inside the remote user's home. Mount a volume there to persist it across rebuilds. |
Customizations
Open Secure Software Suite
The hosts the tool reaches:
| Host | Ports | Secret | For |
|---|---|---|---|
api.openai.com | 443 | OPENAI_API_KEY | Model inference with an API key |
chatgpt.com | 443 | Model inference with a subscription | |
auth.openai.com | 443 | Sign-in |
The config files it reads:
| File | Path | For |
|---|---|---|
config.toml | ${stateDir}/config.toml | The agent's rules and integrations |
VS Code
The extensions it installs: