> ## Documentation Index
> Fetch the complete documentation index at: https://docs.routeway.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Kilo Code

> Use the Kilo Code VS Code extension with Routeway via the OpenAI-compatible API.

Kilo Code can connect to Routeway through the OpenAI-compatible API. Use this setup to run Kilo Code against Routeway models instead of a default provider.

<Note>
  Requires a valid Routeway API key. Get yours from the [dashboard](https://routeway.ai/dashboard/api-keys).
</Note>

***

## Setup

<Steps>
  <Step title="Install Kilo Code">
    * Open Extensions in VS Code (`Ctrl+Shift+X`)
    * Search for **Kilo Code**
    * Click **Install**
  </Step>

  <Step title="Configure Routeway as an OpenAI-compatible provider">
    In Kilo Code settings, enter:

    * **Provider**: OpenAI Compatible
    * **Base URL**: `https://api.routeway.ai/v1`
    * **API key**: Your Routeway API key
  </Step>

  <Step title="Choose a tools-capable model">
    For coding workflows, choose a model that supports function calling. Browse available options at [routeway.ai/models](https://routeway.ai/models).
  </Step>

  <Step title="Verify the integration">
    Open a repository in VS Code and ask Kilo Code to inspect the project or explain a file. If it can answer normally and use tools when needed, the setup is working.
  </Step>
</Steps>

***

## Example Prompts

Try these once you're connected:

* *"Scan this repo and explain the architecture in 10 bullets."*
* *"Find the entry point for feature X and show the call chain."*
* *"Run tests and fix the first failing test."*
* *"Refactor module X: rename Y → Z and update all imports/usages."*
