What is Kilo Code
Kilo Code is an AI coding assistant for IDEs and terminals. It can use Capriole AI through Kilo’s OpenAI-compatible provider, which sends requests to Capriole AI’s Chat Completions-compatible API.Prerequisites
Before you begin, make sure you have:- A Capriole AI account (Sign up here)
- A Capriole AI API key (Get your key)
- Kilo Code installed in VS Code or as the Kilo CLI
Installation
VS Code extension
Install Kilo Code from the VS Code Extensions view. Search forKilo Code, then install the pre-release version.
Kilo CLI
Configuration
Create or update your Kilo config file:- Global config:
~/.config/kilo/kilo.jsonc - Project config:
kilo.jsoncor.kilo/kilo.jsoncin your project root
Run Kilo Code
Set your API key, then start Kilo from your project directory:kilo run:
Supported models
Start withopenai-latest for new Kilo Code setups. Use claude-latest or google-latest when you want Capriole AI to route to our recommended flagship Claude or Gemini model, and use a concrete model ID when you need an exact model version.
The Kilo docs use the same family order as the Capriole AI model picker: OpenAI, Anthropic, then Google. Public API integrations exclude web-chat-only presets such as Fable 5 Thinking and Opus 4.8 Thinking.
openai-latestopenai/gpt-5.6-terraopenai/gpt-5.6-lunaopenai/gpt-5.5openai/gpt-5.4-miniclaude-latestanthropic/claude-fable-5anthropic/claude-opus-4-8anthropic/claude-opus-4-7anthropic/claude-opus-4-6anthropic/claude-sonnet-4-6google-latestgoogle/gemini-3.1-pro-previewgoogle/gemini-3.5-flashxai/grok-4.5zai/glm-5.2
"tool_call": false for Gemini 3.5 Flash in Kilo Code. Capriole AI supports simple Chat Completions tool calls for this model, and Kilo Code can run local tool workflows with this setting, but enabling native Gemini function declarations can still expose Gemini’s narrower OpenAPI schema subset.
Other public Chat Completions-compatible model IDs returned by GET /v1/models can also be configured when you want to test them. Validate tool use before using a model for code-editing workflows.
Troubleshooting
Why does Kilo Code return an authentication error?
Confirm thatCAPRIOLE_AI_API_KEY is exported in the same shell before running kilo.
Which config file should I edit?
Use~/.config/kilo/kilo.jsonc for the current Kilo CLI and VS Code extension. Run kilo config check after editing it.
Why do requests fail with endpoint errors?
Confirm thatbaseURL is https://api.caprioletech.com/v1. Kilo sends Chat Completions requests to /v1/chat/completions.
Why does Kilo Code say the model is missing?
Confirm that the selected model uses theopenai-compatible/<model-id> format and that provider.openai-compatible.models contains the matching model entry. For example, openai-compatible/openai-latest maps to the openai-latest config key.
Why does tool use fail?
For GPT, Claude, Gemini 3.1 Pro, and latest-alias entries, confirm that the model entry includes"tool_call": true. Kilo Code executes tools locally and sends follow-up Chat Completions requests to Capriole AI.
For Gemini 3.5 Flash, keep "tool_call": false. Gemini supports function calling, but its function declarations use a supported subset of OpenAPI schema. Some native tool schemas are broader than that subset.
Notes
- Capriole AI exposes Kilo Code through
POST /v1/chat/completions. - Kilo Code executes coding tools locally. Capriole AI only handles the model request.
- Keep the provider config minimal first. Add Kilo model limits or other model options only when you intentionally want client-side context management.
- Official references: Kilo OpenAI Compatible provider, Kilo settings, Kilo custom models, Kilo CLI, and Gemini function calling.