Kilo Code - CLI
This page gives you elements to configure Kilo Code CLI to use IG1 AI models through your Dedicated Gateway.
Install Kilo code CLI
Install via npm
npm install -g @kilocode/cli
Verify installation
kilo --version
Go to Official documentation for more details.
Setup Model Provider
tip
If you already installed the VSCode extension and setup Provider, the CLI will reuse same configuration.
Step 1: Set Authentication to IG1 AI
kilo auth login
Then browse at the end to select other
- Provider ID: Example
ig1-ai, - API key: Set the API key received from your Dedicated Gateway admin
This create only the authentication configuration to your IG1 AI Dedicateed instance.
Step 2: Configure models
Kilo Code CLI configuration is managed by plugins.
A simple approach consist in editing the main configuration file under ~/.config/kilo/kilo.jsonc.
Here is a basic example with only IG1 AI provider
{
"$schema": "https://app.kilo.ai/config.json",
"disabled_providers": [],
"provider": {
"ig1-ai": {
"name": "IG1 AI Demo",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://api.xxx.ig1.ai"
},
"models": {
"Coding Max Thinking": {
"name": "coding-max-thinking"
},
"Coding Max": {
"name": "coding-max",
"reasoning": true
},
"General Max": {
"name": "general-max",
"reasoning": true
},
"Coding Pro thinking": {
"name": "coding-pro-thinking"
},
"General Pro": {
"name": "general-pro"
},
"BGE M3": {
"name": "bge-m3"
},
"Qwen3 VL Embedding": {
"name": "qwen3-vl-embedding-8b"
}
}
}
},
"permission": {
"bash": "allow"
},
"model": "ig1-ai/Coding Max Thinking"",
"small_model": "ig1-ai/Coding Pro Thinking"
}%
Please set the correct URL endpoint under baseURL.
Step 3: Test your setup
Launch Kilo code
kilo
Then on the CLI, type /models.
A Menu is displayed with all configured models.