Ori Codex
Run the Codex CLI and Codex Desktop on Linkora with one setup command, and go back with one reset
Ori Codex is the Codex you already use, on Linkora. It is part of Ori Harness. The Codex CLI and Codex Desktop share one Codex config, so one setup puts both on Linkora, and one reset puts both back.
<video controls playsInline preload="none" poster="/assets/guides/ori/ori-codex-poster.jpg" src="https://mintcdn.com/linkora-d02e98a0/BsDm6_lzoycx6YRP/assets/guides/ori/ori-codex.mp4?fit=max&auto=format&n=BsDm6_lzoycx6YRP&q=85&s=b395edce16fab54cdd32cfa3517029c9" />
Ori Codex in 43 seconds: install, set up, pick a model, and reset.
Video transcript
Start Codex in the terminal
To run the Codex CLI on Linkora for one session, launch it through Ori:
ori codexOri uses the Codex CLI on your PATH, and asks to install it if it's missing. Ori needs Codex 0.164.0 or later. With an older Codex, ori codex and ori harness setup codex stop with ORI_CLI_HARNESS_VERSION_UNSUPPORTED and tell you how to upgrade. To choose a model, pass --model with any Linkora model ID. See Any agent, any model.
Set up Codex Desktop
<video controls playsInline preload="none" poster="/assets/guides/ori/ori-codex-tutorial-poster.jpg" src="https://mintcdn.com/linkora-d02e98a0/BsDm6_lzoycx6YRP/assets/guides/ori/ori-codex-tutorial.mp4?fit=max&auto=format&n=BsDm6_lzoycx6YRP&q=85&s=abc10d844eeaa5d37630836177dd6066" />
Set up Ori Codex step by step, in one minute.
Video transcript
- Install Codex Desktop, then install Ori.
- Sign in to Linkora:
``sh theme={null} ori login ``
- Route Codex through Linkora:
``sh theme={null} ori harness setup codex ``
- Open Codex Desktop and pick a model from the model picker. Codex fetches the picker's list from Linkora, so it shows the models you can use. If your organization sets a Codex model list, the picker shows only those models. See Model lists served by Linkora.
The setup stays in place until you reset it, so your plain codex command also runs on Linkora. You don't need to launch Codex Desktop through Ori. ori codex, the plain codex command, and Codex Desktop share the same Linkora provider and thread list.
Setup hides any login saved in ~/.codex/auth.json, as ori codex does, so Codex uses Linkora instead of a ChatGPT login. If you also want to use a ChatGPT plan in plain Codex, setup and ori doctor codex tell you how.
Go back to your own Codex setup
To put Codex back on your own setup, run:
ori harness reset codexReset removes the Linkora provider from your Codex config and restores the settings that setup replaced.
What works in Codex Desktop
- Setup with
ori harness setup codex. - Chat turns on Linkora.
- The model picker with the Linkora catalog.
- Reset with
ori harness reset codex.
Verified on Ori 0.15.6 with Codex Desktop 26.930 on macOS. Codex Desktop on Windows and Linux isn't verified.
Not available yet
- Plugin search in Codex Desktop.
- Image generation in Codex Desktop.
- OpenAI-hosted plugins (connectors, such as Slack or Vercel). They need a ChatGPT login and don't work through Linkora. Local plugins and skills keep working.
