LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ori

run existing AI coding agents through OpenRouter

TLDR

Install the Ori CLI
$ curl -fsSL https://openrouter.ai/labs/ori/install.sh | bash
copy
Sign in with an OpenRouter account (OAuth)
$ ori login
copy
Start Claude Code, Codex, or OpenCode on OpenRouter
$ ori claude
copy
$ ori codex
copy
$ ori opencode
copy
Pick any OpenRouter model
$ ori claude --model [anthropic/claude-sonnet-4.6]
copy
Update Ori
$ ori update
copy

SYNOPSIS

ori agent [--model id] [agent-flags...]ori {login | update}

DESCRIPTION

ori (Ori Harness) is OpenRouter's CLI wrapper around coding-agent CLIs you already have. It injects OpenRouter credentials, model catalog, and org guardrails, then execs the real agent. You keep the same commands and flags; Ori sits in front.Supported launchers include ori claude, ori codex, ori opencode, ori grok, ori hermes, ori pi, and ori prime-agent. ori dsh configures DeepSeek Harness against OpenRouter instead of starting it. Missing agents are offered for install. Omarchy pre-wires ori as a lazy-loaded launcher.Auth is OpenRouter OAuth PKCE (ori login or the first agent launch). There is no separate Ori bill: usage lands on the OpenRouter account, including workspace budgets and allowlists.

PARAMETERS

login

Sign in with OpenRouter. --no-browser prints a URL for headless use.
update
Upgrade the ori binary.
--model OPENROUTERMODELID
Select a model from the OpenRouter catalog. Remaining flags after Ori's own options are forwarded to the agent unchanged.

CAVEATS

Needs an OpenRouter account and the target agent CLI on PATH (or Ori will try to install it). This is OpenRouter's Ori Harness, not unrelated ori TUI projects. Agent-specific flags belong after Ori's flags.

SEE ALSO

claude(1), codex(1), opencode(1), grok(1)

RESOURCES

Copied to clipboard
Kai