Documentation Index
Fetch the complete documentation index at: https://docs.pioneer.ai/llms.txt
Use this file to discover all available pages before exploring further.
Integrating Pioneer with coding agents
Pioneer supports a growing list of coding agents. Point your agent at Pioneer’s inference endpoint and switch between models using each agent’s native/model command.
Claude Code
- Download and set up Claude Code.
- Navigate to a fresh terminal and point Claude Code to Pioneer by changing the following environmental variables:
- Start Claude Code:
- Switch between Pioneer models with
/modelcommand.
Codex
- Download and set up the Codex CLI.
- Navigate to a fresh terminal and point Codex to Pioneer by pasting the following:
- Codex will automatically start for you.
- Switch between Pioneer models with
/modelcommand.
Cursor
- Download and set up Cursor.
- Once in the Cursor IDE, navigate to Settings → Models → API Keys
- In “OpenAI API Keys”: paste in your Pioneer API Key
- In “Override OpenAI API Base URL”: paste in
https://api.pioneer.ai/v1
OpenCode
- Download and set up the OpenCode CLI.
- Navigate to a fresh terminal and point OpenCode to Pioneer by pasting the following:
- OpenCode will automatically start for you.
- To switch between models, use the
/modelscommand and select a model. You will see older models not supported by Pioneer which, if selected, will not complete your task. If a model is supported by Pioneer, the inference will complete and you will be able to see it in your Pioneer inference logs.
OpenClaw
Pioneer exposes an OpenAI-compatible inference endpoint, so you can write it into OpenClaw as a custom provider today, no openclaw release required. This doc covers the stopgap config until Pioneer ships as an official OpenClaw provider.- Export your key — for shell and
launchd- The openclaw gateway runs under launchd, not your interactive shell, so an
exportalone won’t reach it. You need both:
- Use single quotes on the literal export. If your key contains
!, zsh’s history expansion will mangle it inside double quotes. launchctl setenvdoesn’t persist across reboots. To make it stick, add the two lines to~/.zprofile(login shell runs it on every new session).
- The openclaw gateway runs under launchd, not your interactive shell, so an
- Pick the Pioneer models you want for OpenClaw
- Pioneer’s list of supported models changes constantly. The API is the source of truth for currently supported models in Pioneer. You can get this list by running this command in your terminal.
- You’ll need to copy the
idandcontext_windowof each model you want into the config in the next step.
- Register Pioneer as a custom provider
- Now you need to add each Pioneer model you’d like to use to your OpenClaw config file. You can copy and paste the command below to use these models or use it as a template if you’d like to add or swap out additional models supported by Pioneer from the list above in Step 2.
- Expose the models to agents
- Registering the provider puts the models in openclaw’s catalog, but they don’t show up in
openclaw models statusor the model picker until each one is also listed underagents.defaults.models. - For each Pioneer model you added in Step 3, expose the model using this type of command:
- Registering the provider puts the models in openclaw’s catalog, but they don’t show up in
- Restart the gateway and verify
- Now, all you need to do is restart the gateway and verify that OpenClaw now sees the Pioneer models.
- To switch models in OpenClaw, open the TUI and type
/model.