Kilo Code is an open-source AI coding assistant that works across editors and the terminal, bringing agent-style development workflows to tools like VS Code and JetBrains.
1.1 Usage
Method 1: UI Configuration
- Open Kilo Code settings
- Navigate to
Providers - Select
OpenAI Compatible - Enter the following details:
- Base URL:
https://api.rygen.io/v1 - API Key:
your-rygen-api-key - Model:
your-model-name
- Base URL:
- Save the configuration
- Run a test request to confirm everything is working
Method 2: Config File for Kilo Code CLI
Install Kilo CLI first:
npm install -g @kilocode/cliCreate ./opencode.json in your project root, or create a global config at ~/.config/kilo/opencode.json:
{
"$schema": "https://app.kilo.ai/config.json",
"model": "hpc-ai/minimax/minimax-m2.5",
"provider": {
"hpc-ai": {
"npm": "@ai-sdk/openai-compatible",
"name": "RYGEN",
"options": {
"baseURL": "https://api.rygen.io/v1",
"apiKey": "{env:RYGEN_API_KEY}"
},
"models": {
"minimax/minimax-m2.5": {
"name": "RYGEN Minimax M2.5",
"tool_call": true,
"limit": {
"context": 128000,
"output": 8192
}
}
}
}
}
}Then run Kilo CLI from the same project:
export RYGEN_API_KEY="your-rygen-api-key"
kilo -m hpc-ai/minimax/minimax-m2.51.2 References
- Kilo Code OpenAI-compatible provider documentation
- Kilo Code - Using OpenAI Compatible Providers
- Kilo CLI

