DevPass Code Integration
Install the DevPass Code terminal agent, connect a Halfbill key, select a model, and verify a real coding task.
DevPass Code is a terminal coding agent that connects to Halfbill out of the box.
Install
pnpm add -g devpass-code
devpass-code --versionSee the project repository for other installation options.
Connect Halfbill
The simplest setup uses an existing Halfbill API key:
export LLMGATEWAY_API_KEY="your_api_key"Create your key in the dashboard. Alternatively, run devpass-code auth login, choose the Halfbill option that matches your key (pay-as-you-go or Halfbill Code plan), and follow the browser-login or key-entry flow.
Browser login creates a credential and returns it to the tool through a local callback. If you have reached your organization's active-key limit, manage your keys in the dashboard before retrying.
Choose a model
Place a devpass-code.json in your project:
{
"model": "llmgateway/claude-sonnet-5"
}Then launch the agent:
cd your-project
devpass-codeYou can also select the model with --model llmgateway/claude-sonnet-5 or use the model picker. Browse the catalogue for other models.
The llmgateway/ prefix identifies the agent's provider. The remaining part is the canonical Halfbill model ID, which also works with a Halfbill Code plan key.
Verify the connection
Open a small project and ask the agent to read a file, make a change, and run its tests. Review the diff and test output, then check the request in your Halfbill dashboard. Choose other models from the catalogue.
Troubleshooting
Check that LLMGATEWAY_API_KEY is available to the process and that the model ID matches the picker. If a project opens with an unexpected model, check its devpass-code.json and pass --model explicitly.
DevPass Code tags requests with x-source: devpass-code for attribution in your dashboard.
How is this guide?