Codex
Zekoder runs Codex through the official codex CLI and its app-server interface. It uses your local installation and existing OpenAI sign-in.
Getting started
Codex is built in and enabled by default.
- Install the Codex CLI on your host:
npm install -g @openai/codex - Sign in with ChatGPT for subscription access:
codex login - In Zekoder, choose Codex when you start an agent.
To bill through an OpenAI Platform API key instead, run printenv OPENAI_API_KEY | codex login --with-api-key on macOS or Linux. On Windows PowerShell, run $env:OPENAI_API_KEY | codex login --with-api-key.
If codex is outside the daemon's PATH, set a command override (see Supported providers).
Does Codex cost extra in Zekoder?
No. Sign in with ChatGPT to use the access in your plan, or with an API key to bill through your OpenAI Platform account. Your plan's normal Codex limits and OpenAI's API pricing apply.
Codex is missing in Zekoder
The ChatGPT desktop app and the Codex CLI are separate installs. The desktop app does not add the codex command.
Check that codex is on your PATH:
# macOS or Linux
which -a codex
# Windows
where.exe codex
If it is not found:
- Install the Codex CLI.
- Sign in with
codex loginor an API key. - If the daemon was running when you installed the CLI, restart Zekoder.
- Open Settings → Hosts → your host → Providers → Codex and select Refresh.
Use Codex in the terminal
Open a terminal in your workspace and run codex for the standard CLI experience.
See also Why does Codex archive my sessions?.