Prerequisites
- Kilo Code VS Code extension or CLI
- An Arbytra API key — your key starts with
ak_live_(production) orak_test_(testing)
Install Kilo Code
Open Extensions in VS Code (Cmd+Shift+X on macOS, Ctrl+Shift+X on Windows/Linux), search “Kilo Code”, and install.
Install the CLI
Install the CLI
Install via npm:Or via Homebrew (macOS):Confirm the installation:
Set your API key
Export your API key in your shell:~/.zshrc or ~/.bashrc, then either run source ~/.zshrc (or source ~/.bashrc) or open a new terminal.
Sanity-check the key
Confirm the key works before installing anything else:200. If you get 401, the key is missing, mistyped, or revoked.
Add Arbytra as a provider
VS Code
- Open Kilo Code settings (gear icon in the Kilo Code panel).
- Go to the Providers tab.
- Click Custom provider.
- Fill in:
- Provider ID:
arbytra - Display name:
Arbytra - Base URL:
https://api.arbytra.com/v1 - API key: your
ak_live_...key
- Provider ID:
- Models auto-populate. Select a model.
- Click Submit.
CLI
No registration step is needed —kilo run resolves any arbytra/<model> ID from your API key. Skip to Verify.
If arbytra/* models aren't found (CLI fallback)
If arbytra/* models aren't found (CLI fallback)
If This overrides Kilo’s provider registry with a local definition.
kilo run --model arbytra/<id> returns “model not found” (rare; usually means Kilo’s registry cache didn’t refresh), define the provider locally in a kilo.json at your project root:Verify
VS Code: Start a chat in the Kilo Code panel and send a message. You should see a response from the model you selected. CLI:setup-ok.
First run only: Kilo performs a one-time SQLite migration (
Performing one time database migration, may take a few minutes...). The first call can take up to a minute. Subsequent calls return in seconds.Set default model
To avoid passing--model on every run, create a kilo.json at your project root:
~/.config/kilo/kilo.json for a global default instead. A project-root config takes precedence.
VS Code users set their default model in the model picker (top of the Kilo Code panel).
Use different models
Pass any registered model with the--model flag:
Known model quirks on Kilo
gemini-2.5-flashon tool-call prompts: returns an empty response (no tool invocation, no text). Usegemini-2.5-proorgemini-3.1-pro-previewfor tool-calling workflows on the Gemini family.gemini-2.5-proon arithmetic: can produce wrong answers when asked for an exact number without showing work. Prompt it to use a tool or show its reasoning for math-critical tasks.
Add unregistered models (advanced)
If you need a model that isn’t in the 15 above andarbytra/<id> doesn’t resolve, define it locally in kilo.json:
Control routing
Configure routing in the Arbytra dashboard. See routing options for details.Uninstall
VS Code: Remove the Arbytra custom provider from Settings > Providers. Uninstall the Kilo Code extension. CLI: RemoveARBYTRA_API_KEY from your shell profile (~/.zshrc or ~/.bashrc). If you created a kilo.json, remove the arbytra-related lines or delete the file.