Kilo Code & Roo Code Integration
Configure Kilo Code and Roo Code agentic extensions in VS Code with Nyxos API.
Kilo Code and Roo Code are autonomous coding assistants for VS Code. Both work with Nyxos API through an OpenAI-compatible provider.
Kilo Code (current version)
Installation: search for Kilo Code in the VS Code marketplace (Ctrl+Shift+X / Cmd+Shift+X) and install it — the extension bundles its own runtime. For the terminal version, with Node.js 18+:
npm install -g @kilocode/cli
kilocode --versionConfiguration
- Open the Kilo Code panel in VS Code and click the gear icon (Settings).
- Go to the Providers tab.
- Scroll to the bottom and click Custom provider.
- Fill in the dialog:
| Field | Value |
|---|---|
| Provider ID | nyxos (any unique identifier) |
| Display name | Nyxos API |
| Provider API | OpenAI Compatible (Chat Completions endpoint) |
| Base URL | https://api.nyxos.shop/v1 |
| API key | sk-YOUR_NYXOS_KEY |
- Model auto-detection: after entering a valid Base URL and API key, Kilo Code queries the gateway's
/v1/modelsendpoint and shows a searchable model picker — select the models you want. If auto-detection fails, add the model IDs manually (copy them exactly from/pricing). - Save and select your new provider/model in the chat.
Older Kilo Code versions: the flow is a provider dropdown instead — set API Provider: OpenAI Compatible, Base URL, API Key, and Model ID in the settings panel.
Show Only Nyxos Models (Recommended)
By default Kilo Code also lists its built-in providers and recommended models, which clutters the picker with models that don't work with your key. To load only the models from our API, disable the other providers in your Kilo config file:
- Config file:
~/.config/kilo/kilo.jsonc(global) orkilo.jsonc/.kilo/kilo.jsoncin the project.
{
"$schema": "https://app.kilo.ai/config.json",
"disabled_providers": [
"kilo",
"openai",
"anthropic",
"google"
],
"provider": {
"nyxos": {
"name": "Nyxos API",
"npm": "@ai-sdk/openai-compatible",
"options": {
"apiKey": "sk-YOUR_NYXOS_KEY",
"baseURL": "https://api.nyxos.shop/v1"
},
"models": {
"<exact-model-id>": {
"name": "<Display Name>"
}
}
}
}
}With disabled_providers, the picker shows only your nyxos provider — no recommended or extra models. Select the active model with /models or in the model dropdown, using the nyxos/<model-id> format.
Roo Code
- Open the Roo Code panel and click the gear icon (Settings).
- In the provider settings:
| Field | Value |
|---|---|
| API Provider | OpenAI Compatible |
| Base URL | https://api.nyxos.shop/v1 |
| API Key | sk-YOUR_NYXOS_KEY |
| Model | Exact ID from /pricing |
- Save the profile.
Notes
- Your key's group must include the model — the automatic
Auto-Agroup is the recommended default (see Groups & Multipliers). - A
404error almost always means a wrong Base URL (double/v1) or a model your group cannot access — see Troubleshooting.