Install and detect Codex
- Open Settings → Code Harnesses → Codex.
- If the CLI is missing, choose Install Codex, review the command and host, then choose Download and run it.
- Wait for installer completion and the detection refresh. Continue with sign-in only after Codex is detected.
- If installation fails, read the error, then use Try again after fixing the cause or Open install docs. The official Codex CLI guide provides standalone and package-manager installation choices.
- For a manual install, select the native OS instructions, verify
codex --versionin a new terminal, fully quit and reopen Rudr, and return to the Codex settings. Rudr detects PATH and known locations; it does not scan every custom directory or automatically use a WSL-only installation.
Connect ChatGPT access
- Choose ChatGPT subscription.
- Choose Sign in to Codex, or Manage if you deliberately need to change an existing sign-in.
- Read the shared-credential notice. Choose Continue in browser or Use a device code, according to the options offered by the current flow.
- Finish the provider flow and return to Rudr. Check readiness, use Refresh status if offered, select an available model, and Save settings.
Sign-in changes the Codex CLI credential immediately, including its use outside Rudr. Sign-out has a separate confirmation and Sign out shared credential action. Cancel in Settings does not undo either operation. Rudr’s ready-state text deliberately omits account identity, so do not infer the signed-in account from a generic Ready message. OpenAI authentication documentation explains subscription and API access as distinct sign-in methods.
Use OpenAI API or Foundry
Configure the key or deployment in Settings → Models, save it, then return to Code Harnesses → Codex and select OpenAI API or Foundry. Check the selected route’s available model before starting work. Existing sessions retain their route; changing the default is not a way to reroute every earlier session.
For a detected CLI with no usable models, follow readiness troubleshooting. Codex estimate-triggered stopping is best effort, as described in cost warnings.