One interactive setup for **Codex, Claude Code or OpenCode**. Requires Python 3 and an interactive terminal. If the selected CLI is missing, the helper offers installation through npm; Node.js/npm is required for that step.
Linux, macOS and Termux
Run:
curl -fsSL https://unbound-me.com/opencode/install.py | python3Windows PowerShell
& { $f = Join-Path $env:TEMP ('unbound-setup-' + [guid]::NewGuid() + '.py'); Invoke-WebRequest 'https://unbound-me.com/opencode/install.py' -OutFile $f -ErrorAction Stop; py $f }The four steps
- Choose **Codex**, **Claude Code** or **OpenCode**.
- Paste your Unbound API key at the hidden prompt. The helper checks it using GET /v1/models, without sending a paid generation request.
- Pick a default model from the models permitted by your key.
- The helper saves your selection and starts the selected coding app with Unbound.
The key is stored locally in a private Unbound configuration directory, never in a command argument or shell history. On Unix, the directory uses mode 0700 and credential files 0600. The final screen prints the exact command for restarting your configured app. On Linux/macOS, use ~/.local/bin/unbound codex, ~/.local/bin/unbound claude or ~/.local/bin/unbound opencode. If ~/.local/bin is in PATH, unbound by itself starts the last configured app. Windows shows the Python launcher command with its full path.
Codex uses the Responses API; Claude Code uses the Anthropic-compatible Messages API; OpenCode uses the OpenAI-compatible provider. Your selected model is the default for the Unbound launcher. OpenCode also saves it as its global default, backing up existing settings and preserving other providers. Codex and Claude Code settings and existing accounts are preserved; launch them through Unbound to use this connection. Claude Code's non-Claude model compatibility depends on the selected model and is not supported by Anthropic.
Options
- --client codex, --client claude or --client opencode: preselect the app.
- --no-launch: configure now without opening the app.
- --major 1 or --major 2: override OpenCode version detection.
- --no-login: legacy OpenCode provider-only setup, without a key prompt, model change or launch.
Setup does not create API keys, add funds or change spend caps. Starting a coding app can trigger its own requests; normal API usage is billed under your key's limits. This helper connects to https://unbound-me.com.
Manual setup and references
- OpenCode 2 provider JSON
- OpenCode 1 provider JSON
- Inspect/download the installer
- Codex custom providers
- Claude Code gateway setup
- OpenCode providers
Requests accept up to 16 MiB of text, within the model context, account balance and key caps. For long conversations, compact the session or start a new one.


