CH·02CLI reference
deeprelay setup
Configure coding agents to use deeprelay
Configure coding agents to use deeprelay
Synopsis
Configures a coding agent on this machine to send its model requests to deeprelay. Each subcommand edits that agent's own settings file, shows you the exact changes first, and can undo them later.
Setup never writes your API key into an agent's config. The agent fetches the key when it needs it by running deeprelay auth token.
Agents
deeprelay setup claude-code: Claude Code, through its Anthropic-compatible/v1/messagesendpoint.
Options
-h, --help help for setup
Options inherited from parent commands
--api-base string API base URL (override with DEEPRELAY_API_BASE env) (default "https://api.deeprelay.ai/v1")
--debug Enable debug logging to stderr
--no-preflight Skip the plan/credit check before inference requests (override with DEEPRELAY_NO_PREFLIGHT env)
-o, --output string Output format: table|json (default table on TTY, json otherwise) (default "table")
SEE ALSO
- deeprelay - deeprelay command-line interface
- deeprelay setup claude-code - Point Claude Code at deeprelay (settings.json env + apiKeyHelper)