Codex
Codex runs two ways in Coldtea: as a local agent in a pane, and as a cloud or background agent. The local side authenticates itself in the terminal. The cloud side stores a credential in Coldtea.
Local Codex
Coldtea does not manage Codex's local login. When you start a Codex pane, Codex runs in the terminal exactly as it does outside Coldtea, and it handles its own sign-in there. If Codex has never been set up on your machine, run it once in the pane and complete its login prompt.
Coldtea only needs to find the codex binary. If Codex does not appear in the agent picker, install the CLI and confirm it runs in your own terminal (see Connect agents).
Cloud Codex
Cloud and background runs use a credential stored in Coldtea for your TeaHouse, so choose a TeaHouse before you connect. See Cloud agent credentials for where these settings live.
You have two options for Codex.
API key
Paste an OpenAI API key into the Codex field under the API keys option. Coldtea uses it for Codex cloud runs.
ChatGPT subscription
The subscription option lets cloud runs use your ChatGPT plan instead of an API key. Unlike Claude, there is no token to copy and paste.
Choose Connect on the Codex row and sign in with ChatGPT in the browser tab that opens. Coldtea notices when the sign-in lands and finishes the connection on its own. If it has not caught up, tell it you have signed in and it checks again.
Where to go next
- Connect agents for the local-versus-cloud picture across all agents.
- Cloud agent credentials for how stored credentials work per TeaHouse.
- Launch presets to set Codex's autonomy, model, and reasoning effort.
- Agent matrix for what each agent supports.