Codex
Padu runs OpenAI Codex through the official codex CLI and its structured app-server interface.
Does Codex cost extra in Padu?
No. Padu does not charge any additional fees for Codex. Sign in to the Codex CLI with your OpenAI/ChatGPT subscription or API key, and usage is billed directly through your OpenAI account.
Getting started
Install the Codex CLI on the machine running Padu:
npm install -g @openai/codex
Sign in with your OpenAI account:
codex login
Or authenticate via API key:
# macOS / Linux
printenv OPENAI_API_KEY | codex login --with-api-key
# Windows PowerShell
$env:OPENAI_API_KEY | codex login --with-api-key
Confirm that the CLI starts:
codex
Padu automatically discovers codex on your PATH and uses your local authentication tokens.
Running Codex in Padu
- Desktop GUI: Select OpenAI Codex from the provider dropdown.
- Integrated Terminal: Run
codexdirectly inside the workspace terminal.
Troubleshooting Codex
If Codex shows as Not installed in Padu:
- Verify
codexis accessible on your systemPATH:which -a codex - In Padu Desktop, open Settings → Providers → Codex and select Refresh.
- If necessary, provide the absolute binary path in
~/.padu/settings.json:{ "provider_binary_overrides": { "codex": "/usr/local/bin/codex" } }
See Troubleshooting for more details on PATH resolution.
See also
- Supported providers — Full catalog of agents supported in Padu.
- Configuration — Configure daemon settings and binary overrides.