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, Claude Desktop, OpenCode, Codex, Hermes, OpenClaw, 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. |
ask | Ask a question grounded on the installed Opper skills. Useful for “how do I…” questions about the platform, SDKs, or the CLI itself. |
call | Run an Opper function from the terminal, with --model and --stream. |
launch <agent> / agents list / agents uninstall <agent> | Launch coding agents through Opper — Claude Code, Claude Desktop, OpenCode, Codex, Hermes, OpenClaw, pi. agents uninstall removes the Opper integration without uninstalling the agent itself. |
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 |
| Claude Desktop | claude-desktop | writes a third-party-inference (deploymentMode: "3p") profile into ~/Library/Application Support/Claude-3p/ (macOS) / %LOCALAPPDATA%\Claude-3p\ (Windows); quits and reopens the GUI app to apply |
| 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 |
| OpenClaw | openclaw | opper provider entry in ~/.openclaw/agents/main/agent/models.json; defaults to running gateway start (background daemon) |
| pi | pi | opper provider entry in ~/.pi/agent/models.json |
Ask the CLI a question
opper ask "<question>" runs an Opper agent grounded on the locally-installed Opper skills. The answer streams to your terminal, then prints token and request counts.
ask is the fastest way to get unstuck without leaving the terminal — the model has the same skill packs available as the agents you launch through opper launch.
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.