Nadir Auto for Codex

Set up Nadir Auto for Codex: a terminal companion picks a model before each turn in one native conversation, and inference stays in Codex with your auth.

The terminal companion selects a model before each Codex turn, keeping one native conversation. It calls Nadir for decisions and keeps inference in Codex with your existing authentication. Nadir does not delegate routing to subagents; newer runtimes may still advertise collaboration tools despite the disabled multi-agent setting.

Info

Start nadir-codex-auto for automatic main-session selection. Installing it does not change the stock Codex Desktop window or the plain codex command.

Keep the Codex Desktop UI

Native recommendations
npx --yes https://getnadir.com/install/nadir-labs.tgz --tool codex-desktop-hooks

Choose a Nadir key or anonymous mode. Restart Codex, review and trust the native hooks, then start a new chat. Hooks provide recommendations and completion metadata without a separate window, macOS helper or inference gateway. You choose the main model; supported prompt hooks cannot override Desktop's model. The first turn holds when model/cache evidence is unavailable. An advice skill is also available on request.

1. Install once

Requires Python 3.10+, curl, and a signed-in Codex CLI version 0.153.0 or later.

Terminal
curl -fsSL https://getnadir.com/install/codex-auto.sh | sh

An existing Nadir key in your environment, Codex Auto settings or local Claude settings is reused. To save a new Nadir key, set NADIR_API_KEY before installation. The installer stores it in private Auto settings; it does not replace Codex credentials or install delegation hooks.

2. Start in your project

Terminal
cd /path/to/your/project
~/.local/bin/nadir-codex-auto

Type normal prompts. Your configured Codex model is the original baseline and fallback. Candidate models come from the native model menu and must support your original reasoning effort. Effort remains unchanged throughout the session.

3. Check completed turns

Local receipts
~/.local/bin/nadir-codex-auto --status

Receipts record the recommendation, completed turn, configured model and effort, token accounting, and observed child events. Codex exposes model configuration, not a provider-verified response model ID; receipts state that limitation. No prompt text, generated answer or API key is written to the receipt.

With your Nadir key, Auto reports execution metadata automatically. See Auto Outcomes to attach a human or test result and inspect upload status.

Conservative defaults

Unknown prices, unsupported efforts, incomplete task coverage, large measured contexts or decision errors retain the original baseline. Warm sessions on the baseline keep it rather than assuming a provider cache expiry. A harder follow-up can return to the original baseline after a cheaper turn. Authorization and governance refusals block dispatch; failed tasks are never automatically replayed.

The first turn is estimated as cold, and its full initial context is not measured. The latest prompt, model menu and cache estimates go to Nadir; your conversation and inference remain in Codex. Existing native permissions and approved compaction hooks remain in use. This launcher does not guarantee task quality, dollar savings or extra subscription allowance.

Pages on this site

Machine-readable summaries of this site: llms.txt and llms-full.txt.