Setup steps
Integrate OpenCode CLI with Pioneer:
- Download and set up the OpenCode CLI.
- Sign into Pioneer and get your API key from agent.pioneer.ai/api-keys
- In a fresh terminal, start OpenCode:
- Type
/connect command and select Pioneer from the drop-down list.
- Add in your Pioneer API key.
- Choose
Pioneer Auto to use Pioneer’s model router. Learn more about our model router here.
- To switch between models, use the
/models command and select one from our catalog of 70+ models (and growing).
integrate OpenCode Desktop app with Pioneer:
- Download and install OpenCode Desktop app
- In the app: go to Settings → Providers → Pioneer
- Enter you Pioneer API key
- In Settings → Models: toggle on the models available in Pioneer model catalog that you’d like to use. Make sure to toggle on
Pioneer Auto if you’d like to use Pioneer’s model router.
Advanced: enable web search with Exa
/connect covers routing model calls through Pioneer, but it doesn’t expose OpenCode’s web search tool. To enable Exa-powered web search, launch OpenCode with the manual provider config instead, adding OPENCODE_ENABLE_EXA=1:
Never paste a real API key into docs, screenshots, or shared shell history — use an env var or your secrets manager. Rotate any key that’s been exposed.