Codex CLI
Install, authenticate, and resume OpenAI's Codex CLI inside Daintree, including the session resume flag.
Codex CLI
Codex CLI is OpenAI's CLI coding agent. It runs as a process in its own Daintree terminal panel with full PTY emulation, like every other built-in agent.
| Command | codex |
|---|---|
| Shortcut | Cmd/Ctrl+Alt+X |
| Color | Green (#10a37f) |
| Platforms | macOS, Windows, Linux |
Install & Authenticate
Install from npm: npm install -g @openai/codex. Run codex once to sign in. Codex stores its session in ~/.codex/auth.json. For details, see the Codex CLI repository.
Resuming Sessions
Daintree captures Codex's session ID on shutdown and resumes with codex resume <session-id>. Quit a session cleanly with /quit so the ID is captured. For the resume mechanics across all agents, see Session Resume.
Tip
If
codex isn't detected after install, confirm it's on your PATH (which codex on macOS/Linux, where codex on Windows), then restart Daintree. See Agent Availability for the five detection states, and Presets for launch configurations.