# Roo Code

Configure Roo Code with a Felo-compatible model provider.

Use this guide to install the Felo Skill for Roo Code. This setup does not change how Roo 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.
- Roo Code installed.

## What this guide configures

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

## Option 1: install the Felo Skill

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

This installs the Skill only; it does not modify Roo Code's model provider. Start a new Roo 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 Roo 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 roo-code
```

The Skill is healthy when the report lists `roo-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 roo-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 Roo 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)
