Skip to main content
Ori Harness runs the agent CLI you already use on OpenRouter. One command runs the agent CLI you already have, with OpenRouter credentials, models, and environment set up for you. Your workflow does not change.

Bring your own agent

Use Claude Code, Codex, Hermes, OpenCode, Pi, Prime Agent, or DeepSeek Harness with the commands you already know:
These commands launch the real agent CLI on your machine. Ori runs the CLI already on your PATH. If it is not installed, Ori tells you how to install it and lets you try again. The exception is ori dsh, which configures DeepSeek Harness instead of launching it (see DeepSeek Harness below). For Pi, install it with:
For Prime Agent, install it with:

DeepSeek Harness

DeepSeek Harness (dsh) is not an on/off TUI like the other CLIs, so Ori configures it instead of launching it:
This one command configures your global DeepSeek Harness to use OpenRouter. Afterwards, run dsh yourself as usual. If dsh is not installed:
The install-ori-harness skill gives a coding agent the same steps:

Sign in instead of managing keys

Install Ori:
Then run an agent. Ori uses OAuth PKCE with your existing OpenRouter login. A browser opens for sign-in. There is no new account and no key to create or paste. You can also sign in before your first run:
Your models, credits, and organization settings come with your OpenRouter login. You do not need to manage a separate provider key for each agent.
Upgrade Ori with:

Any agent, any model

Pass --model with any OpenRouter model ID:
For ori dsh, the --model flag sets the default model in your dsh settings rather than launching anything. One flag picks the model. Everything after the flags goes to the agent untouched:
Your usual agent flags still work. The model can come from any provider in the OpenRouter catalog.
Use your agent’s normal flags after Ori’s flags. Ori keeps them unchanged and passes them to the agent.

Live model catalog and routing toggles

For Pi (ori pi), Prime Agent (ori prime-agent), and DeepSeek Harness (ori dsh), Ori connects the agent to your personal OpenRouter model catalog:
  • The /model list comes from your catalog, so it is always up to date and hides models that are guardrailed or unavailable under your organization’s policies.
  • /fast toggles fast routing: Anthropic fast mode for Claude models, priority service tier for OpenAI models, and throughput-sorted (:nitro) routing for everything else. On Prime Agent the toggle is /speed, because Prime Agent ships its own built-in /fast command.
  • /zdr toggles ZDR-only mode, so requests only go to providers with zero data retention.

Guardrails, on every agent

Configure guardrails, allowlists, and per-workspace permissions on your OpenRouter organization. Set workspace budgets there too. OpenRouter enforces these controls on every request, whatever client makes it—including an agent running through Ori.

One bill across agents

Ori traffic uses OpenRouter’s normal billing and activity reporting. It appears alongside your other OpenRouter traffic in Usage Accounting and Activity Export. There is no separate Ori bill.

Frequently asked questions

Do I need an OpenRouter API key?

No. Ori signs you in with OAuth PKCE through your existing OpenRouter login. There is no key to copy or paste.

Do I need to change my agent workflow?

No. Keep the same agent and the same commands and flags. Your workflow does not change.

Which agents are supported?

Claude Code (ori claude), Codex (ori codex), Hermes (ori hermes), OpenCode (ori opencode), Pi (ori pi), Prime Agent (ori prime-agent), and DeepSeek Harness (ori dsh) are supported today, with more harnesses on the way.