Skip to main content

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 for Kilo 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.jsonc or .kilo/kilo.jsonc in your project root
Use this OpenAI-compatible provider setup:

Run Kilo Code

Set your API key, then start Kilo from your project directory:
Start with a specific model:
Run a one-off request with Gemini 3.5 Flash:
For a one-off CLI request, pass a prompt to kilo run:

Supported models

Start with openai-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-latest
  • openai/gpt-5.6-terra
  • openai/gpt-5.6-luna
  • openai/gpt-5.5
  • openai/gpt-5.4-mini
  • claude-latest
  • anthropic/claude-fable-5
  • anthropic/claude-opus-4-8
  • anthropic/claude-opus-4-7
  • anthropic/claude-opus-4-6
  • anthropic/claude-sonnet-4-6
  • google-latest
  • google/gemini-3.1-pro-preview
  • google/gemini-3.5-flash
  • xai/grok-4.5
  • zai/glm-5.2
Keep "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 that CAPRIOLE_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 that baseURL 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 the openai-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