The Opper CLI is the officialDocumentation Index
Fetch the complete documentation index at: https://docs.opper.ai/llms.txt
Use this file to discover all available pages before exploring further.
opper command for the terminal. Beyond direct platform access — calling functions, managing indexes and models, inspecting traces, tracking usage, generating images — it can also launch coding agents (Claude Code, OpenCode, Codex, Hermes, pi) with their inference transparently routed through Opper.
Install
Quick start
What you can do
| Command group | What it does |
|---|---|
login / logout / whoami | OAuth device flow and account inspection. |
call | Run an Opper function from the terminal, with --model and --stream. |
launch <agent> / agents list | Launch coding agents through Opper — Claude Code, OpenCode, Codex, Hermes, pi. |
editors | Wire AI code editors (OpenCode) to use Opper as a provider. |
skills | Install, update, list, or uninstall bundled Opper skills. |
functions, models, indexes, traces, usage | Manage every Opper platform resource directly. |
image generate | Generate images from a prompt. |
config | Manage stored API keys and slots. |
opper <command> --help. Or run opper with no arguments for an interactive menu.
Launch coding agents through Opper
opper launch <agent> is the fastest way to route a coding agent through Opper — every model call from the agent goes through your Opper account, with the trace, cost, and model routing benefits that come with it.
| Agent | Slug | How Opper plugs in |
|---|---|---|
| Claude Code | claude | ANTHROPIC_BASE_URL / ANTHROPIC_AUTH_TOKEN env vars |
| OpenCode | opencode | provider block in ~/.config/opencode/opencode.json |
| Codex | codex | [model_providers.opper] block in ~/.codex/config.toml |
| Hermes | hermes | isolated HERMES_HOME=~/.opper/hermes-home/ so your real ~/.hermes/ is never touched |
| pi | pi | opper provider entry in ~/.pi/agent/models.json |
Authentication
Auth state lives in~/.opper/config.json as a list of slots, each holding an API key and base URL. Use --key <slot> on any command to pick which slot to use.
Resolution at request time: OPPER_API_KEY env var > slot named by --key (or default).
Source and reference
View on GitHub The repository README is the source of truth for releases, supported agents, and configuration details. For exact arguments and flags,opper <command> --help is always authoritative.