# Kilo Code

Configure Kilo Code with Felo API Platform model access.

Use this guide to install the Felo Skill for Kilo Code. This setup does not change how Kilo Code chooses its model: continue using the model you already have unless you also configure a Felo-compatible provider manually.

## Before you start

- A Felo API key: [create one](https://openapi.felo.ai/console/api-keys).
- [Node.js 22 or newer](https://nodejs.org/en/download) if you use the FeloAPI CLI.
- Kilo Code installed.

## What this guide configures

| Item | Value |
| --- | --- |
| Model provider | unchanged (your existing Kilo Code model) |
| Felo Skill location | `~/.kilocode/skills` |
| Protocol for optional Felo models | OpenAI-compatible |

## Option 1: install the Felo Skill

```bash
npm install -g feloapi-cli@latest
feloapi setup --agent kilo-code --skills-only --yes
```

This installs the Skill only; it does not modify Kilo Code's model provider. Start a new Kilo Code session, then ask it to use the `feloapi` Skill, for example: “Use the feloapi skill to search the web for today's AI news and summarize it.” 

## Option 2: use Felo models (manual, optional)

In Kilo Code, open the model/provider settings and add a custom **OpenAI-compatible** provider:

| Field | Value |
| --- | --- |
| Base URL | `https://openapi.felo.ai/api/v1` |
| API key | `YOUR_API_KEY` |
| Model | `MODEL_ID` |

Save and select the Felo provider.  Replace `MODEL_ID` with a text model from `feloapi model list`.
## Verify

```bash
feloapi doctor --agent kilo-code
```

The Skill is healthy when the report lists `kilo-code` with `ok: true`.

## Switch back / remove Felo

Your current model provider is untouched, so there is nothing to switch back. To remove the Skill:

```bash
feloapi disconnect kilo-code --yes
```

## Troubleshooting

| Issue | What to do |
| --- | --- |
| `feloapi: command not found` | Reopen the terminal and retry; install with `npm install -g feloapi-cli@latest`. |
| Skill is not used | Start a new Kilo Code session; Skills are discovered at startup. |
| Authentication fails when the Skill calls Felo | Create a key and run `feloapi auth login` (or export `FELO_API_KEY`). |
| Felo model does not answer | Check the manual provider fields above; the base URL and key must match. |

## Related

- [FeloAPI CLI guide](https://openapi.felo.ai/docs/cli.md)
- [Models and pricing](https://openapi.felo.ai/docs/guides/models-and-pricing.md)
- [Other AI tools](https://openapi.felo.ai/docs/agent-clients/other-tools.md)
