Ori Harness
Run your existing agent CLI on Linkora with any model, organization guardrails, and one bill
Ori Harness runs the agent CLI you already use on Linkora. You run one command, and your agent starts with Linkora credentials, models, and settings in place. You don't change how you work. Ori Harness is part of Ori, the Linkora family of tools for putting agents to work. For a tour of what it does, see the Ori Harness page.
Every ori command launches your agent with Linkora credentials and organization settings applied to that session, so keep launching through Ori. If you'd rather work inside Claude Desktop, it also connects to Linkora natively via gateway mode with an API key — see the Claude Desktop integration guide.
Install Ori
[tab] macOS, Linux, WSL ``sh theme={null} curl -fsSL https://link-ora.net/labs/ori/install.sh | bash ` [tab] Windows PowerShell `powershell theme={null} irm https://link-ora.net/labs/ori/install.ps1 | iex ` In Git Bash, MSYS, or Cygwin, use the curl ... | bash` command from the macOS, Linux, WSL tab instead.
That's the only install command you need. If you run an agent that isn't on your machine, Ori asks to install it, then starts it. Every ori command on this page works the same on all three platforms.
Let your coding agent set it up
You don't need to run the setup yourself. Give this instruction to the coding agent you already use:
run curl -fsSL https://link-ora.net/skills/install-ori-harness and follow the instructions in its output to get startedThat command fetches the install-ori-harness skill, and the skill gives the agent each step. The agent installs Ori, checks that the ori command works, signs you in with OAuth, and then starts your agent CLI through Ori.
If your agent is connected to the Linkora MCP server, you can run /install-ori-harness in the agent instead of pasting the command above.
Update Ori
To update Ori, run:
ori updateBring your own agent
Run Antigravity CLI, Claude Code, Cline, Codex, Crush, Factory Droid, fx, Grok Build, Hermes, Kilo Code, Muse Code, omp, OpenCode, OpenWork, Pi, Prime Agent, Unreal Agent, ZCode, or DeepSeek Harness with commands you already know:
ori antigravity
ori claude
ori cline
ori codex
ori crush
ori droid
ori dsh
ori fx
ori grok
ori hermes
ori kilo
ori muse
ori omp
ori opencode
ori openwork
ori pi
ori prime-agent
ori unreal
ori zcodeRun ori --help to see the full list for the version you have installed.
Each command starts the real agent CLI on your machine. Ori uses the CLI on your PATH, and asks to install it if it's missing. ori dsh is the one exception: it sets up DeepSeek Harness instead of starting it. See DeepSeek Harness.
DeepSeek Harness
DeepSeek Harness (dsh) doesn't start and stop like the other CLIs, so Ori sets it up instead of starting it:
ori dshThis points your global DeepSeek Harness config at Linkora. After that, run dsh the way you always do.
Set up a harness with `ori harness`
An ori <agent> command puts one session on Linkora. ori harness setup makes it the default instead: it writes the Linkora settings into the agent's own config, so the agent's desktop app and its plain command both run on Linkora. ori harness reset puts back what you had.
ori harness setup codex
ori harness reset codexori harness setup works only for the harnesses in this list. It doesn't configure any other app or IDE:
| Harness | Command | What it sets up |
|---|---|---|
| Codex | `ori harness setup codex` | The Codex CLI and Codex Desktop. See [Ori Codex](https://link-ora.net/docs/guides/ori/codex.md). |
| Claude | `ori harness setup claude` | Claude Desktop on macOS, and Claude Code on macOS and Linux. On Windows, use `ori claude` instead. |
| Cursor | `ori harness setup cursor` | The Cursor desktop app (IDE). See [Ori Cursor](https://link-ora.net/docs/guides/ori/cursor.md). |
| Factory Droid | `ori harness setup droid` | The Droid CLI and the Factory desktop app, on macOS and Linux. |
| Pi | `ori harness setup pi` | The Pi CLI and other integrations that load the same Pi agent directory. |
Each setup needs a saved login from ori login. A key that's set only in your shell doesn't work, because the agent's app reads its settings later, outside your shell.
Setup covers the harnesses in the table above and no other app or IDE. If your organization manages Claude settings, setup stops and names the file; use ori claude instead.
Move a Claude Code setup to Codex
ori harness migrate reads your Claude Code setup and writes the Codex equivalent. Without --apply, it only reports what it would write:
ori harness migrate --from claude --to codex
ori harness migrate --from claude --to codex --applyCLAUDE.mdbecomesAGENTS.md, with each@-imported file appended after it.- Skills are copied with their files.
- MCP servers are appended to Codex's
config.toml. MCP env and header values aren't copied; each becomes a variable that Codex forwards by name, so export it before you start Codex. - Hooks, plugins, permissions, slash commands, subagents, and output styles are reported as unsupported.
By default, the command reads and writes the current project. Add --scope user to migrate ~/.claude and ~/.claude.json into your user-level Codex setup instead. --apply never replaces an existing Codex file or MCP server, and it backs up any file it appends to.
Sign in instead of managing keys
Run an agent and Ori opens a browser so you can sign in with your Linkora account. It uses OAuth PKCE, so there's no new account and no key to create or paste.
You can also sign in first:
ori loginAny agent, any model
Pass --model and any Linkora model ID:
ori claude --model anthropic/claude-fable-5.1
ori cline --model anthropic/claude-fable-5.1
ori codex --model openai/gpt-6-astra
ori grok --model x-ai/grok-4.6
ori hermes --model linkora/auto
ori kilo --model openai/gpt-6-astra
ori muse --model anthropic/claude-fable-5.1
ori omp --model openai/gpt-6-astra
ori opencode --model linkora/auto
ori pi --model openai/gpt-6-astra
ori prime-agent --model openai/gpt-6-astra
ori dsh --model linkora/autoFor ori dsh, --model sets the default model in your dsh settings and starts nothing. For ori grok, --model is Grok Build's own flag; it already takes Linkora model IDs, and Ori passes it straight through. Kilo Code and omp expect provider-scoped IDs, so Ori prefixes the model with linkora/ for you. Without --model, ori kilo defaults to linkora/auto and ori omp selects the Linkora provider and keeps omp's own default model.
You set the model with a single flag, and Ori sends anything after its own flags to the agent unchanged:
ori codex --model google/gemini-3.8-flash --full-autoYou keep your usual agent flags, and you can pick a model from any provider in the Linkora catalog.
Live model catalog and routing toggles
Every agent you launch through Ori uses your Linkora model catalog. There are two levels, depending on what the agent's own app exposes:
In-session catalog and toggles
For Pi (ori pi), Prime Agent (ori prime-agent), and DeepSeek Harness (ori dsh), Ori hooks the agent up to your own Linkora model catalog at launch:
- The
/modellist comes from your catalog, so it stays current and leaves out models your organization's policies block. - You turn on fast routing with
/fast: Anthropic fast mode for Claude models, the Fast service tier for OpenAI models, and throughput-sorted (:nitro) routing for the rest. On Prime Agent, use/speedinstead, because Prime Agent has its own/fastcommand. - You turn on ZDR-only mode with
/zdr, so your requests go only to providers that keep no data.
Grok Build (ori grok) loads the same catalog into its own model picker, so you don't need to run grok login, and its model IDs are Linkora model IDs. It doesn't have the /fast and /zdr toggles.
Muse Code (ori muse) also gets your catalog: Ori seeds Muse Code's model cache from Linkora before it starts, so its in-session model picker lists Linkora model IDs. Muse Code has no /fast or /zdr toggles either.
Model lists served by Linkora
For Claude Code (ori claude) and Codex (ori codex), Linkora serves the model list that the agent's own picker shows. If your organization sets a model list for the agent, the picker shows only the listed models you can use, in list order, and Linkora refuses any other model, including one you name with --model or /model. Without a list, the picker shows every model your key can use. See Claude Code and Codex for the settings.
Launch-time catalog validation
The other agents don't have the in-session toggles, because they don't expose an extension surface Ori can write into. You pick a model with --model instead, and Ori validates the model ID against your catalog at launch: near-miss slugs are corrected (with a notice), and unknown IDs pass through untouched.
ori hermes --model openai/gpt-5.3-codexAll Linkora organization guardrails, workspace budgets, routing, and billing apply identically at both levels.
Guardrails, on every agent
Set guardrails, allowlists, and per-workspace permissions on your Linkora organization, and set workspace budgets there too. Linkora applies them to every request, no matter which client sends it, including an agent running through Ori.
One bill across agents
You pay for Ori traffic through Linkora's normal billing and activity reporting. You see it next to your other traffic in Usage Accounting and Activity Export. There's no separate Ori bill.
Frequently asked questions
Do I need an Linkora API key?
No. Ori signs you in with OAuth PKCE through your Linkora login. There's no key to copy or paste.
Do I need to change my agent workflow?
No. Keep the same agent, commands, and flags.
Which agents are supported?
Antigravity CLI (ori antigravity), Claude Code (ori claude), Cline (ori cline), Codex (ori codex), Crush (ori crush), Factory Droid (ori droid), fx (ori fx), Grok Build (ori grok), Hermes (ori hermes), Kilo Code (ori kilo), Muse Code (ori muse), omp (ori omp), OpenCode (ori opencode), OpenWork (ori openwork), Pi (ori pi), Prime Agent (ori prime-agent), Unreal Agent (ori unreal), ZCode (ori zcode), and DeepSeek Harness (ori dsh) work today. Run ori --help for the list in your installed version.
