Repository navigation
CLI
| Command | What it does |
|---|---|
duolane serve |
Start the proxy and its monitor; omit serve for the same behavior |
duolane serve --intercept |
Also start the local intercept listener |
duolane claude [args] |
Pass arguments to Claude Code and route this launch through intercept |
duolane models |
List known model IDs, aliases, and sign-in hints |
duolane monitor |
Attach a read-only monitor to a running proxy |
duolane codex auth status |
Check the Codex CLI login |
duolane accounts login [name] |
Sign in to a named Claude Code profile |
duolane accounts use [name] |
Select the profile for the next duolane claude launch |
duolane accounts list |
Show each profile's account, plan, and login |
duolane accounts remove <name> |
Sign out of a named profile and delete it |
duolane agents setup |
Install the Codex-family Claude Code subagents |
duolane agents remove |
Remove only the unchanged agents installed by setup |
duolane intercept setup |
Opt in to persistent intercept settings |
duolane intercept cleanup |
Remove the settings and files setup installed |
duolane intercept renew |
Replace the intercept certificate while the proxy is stopped |
Use duolane --help or duolane serve --help to see available flags.
Claude model IDs such as claude-opus-5-5 normally route to the Claude login.
Codex IDs and the aliases terra, sol, astra, and luna route to Codex.
Each alias selects the latest available version in its family from the source
handling the request. The ChatGPT login uses the local Codex catalog, falling
back to built-in models for a family not listed there. The API key source uses
OpenAI's model list, or built-in models before that list is available. Use a
full model ID to pin a version.
claude-terra, claude-sol, claude-astra, and claude-luna replace the old
anthropic- aliases. Add -fast to a family alias or a full Codex model ID, as
in sol-fast, to ask for the priority tier.
Switch in Claude Code with /model. The duolane picker adds [1m] to models
with documented 1M context. It does not set Claude Code's compaction policy.
/model <codex model> also becomes the default for new sessions; pick a Claude
model before you run Claude Code without duolane.
Press 2 in the monitor to open Accounts and 1 to return to Overview.
Accounts shows the last reported ChatGPT subscription limits, their reset times,
and when the report was received. An unverified quota is Unknown.
In the local Unix monitor, select a Claude profile with the arrow keys or a
click, then press Enter to review and confirm the next-launch choice. Press r
to reload the local profile list without contacting providers. An attached
monitor stays read-only and does not show local profile names.
Run duolane agents setup to create terra.md, sol.md, astra.md, and
luna.md. They live under $CLAUDE_CONFIG_DIR/agents or ~/.claude/agents.
Setup leaves custom files alone unless you give --force; removal leaves
customized files intact. The agents reach Codex only in a Claude Code session
configured to use duolane. Set effort per Agent call or add an effort: field
to the agent definition.
See Connections for launcher setup and Configuration for provider settings.
duolane codex auth key set reads a key from a hidden prompt or standard input.
It verifies the key before saving; --no-verify skips verification for offline
setup. duolane codex auth key remove removes the stored key. Stored keys are
supported on macOS and Linux; Windows uses DUOLANE_OPENAI_API_KEY only.
A key alone does not enable API billing. Use duolane codex auth order api-key
or duolane codex auth order chatgpt api-key to opt in at OpenAI API rates.
duolane codex auth order --reset removes the saved order; an environment
override still applies. Restart the proxy after changes.
duolane codex auth status shows the key origin and effective order.