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

# Roo Code

> A powerful VS Code AI coding extension — an enhanced fork of Cline with multi-mode support and custom modes. Connects to ePhone AI via the OpenAI-compatible interface.

[Roo Code](https://github.com/RooVetGit/Roo-Code) (formerly Roo Cline) is an enhanced VS Code AI coding extension built on Cline, adding multi-mode switching (Code / Architect / Ask / Debug), finer-grained permission controls, and custom modes.

## Installation

Search for **Roo Code** in the VS Code Extensions marketplace, or visit:
[VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=RooVeterinaryInc.roo-cline)

## Configuration

<Steps>
  <Step title="Open Roo Code Settings">
    After installation, click the Roo Code icon in the VS Code activity bar to open the panel.

    Click the **Settings (gear icon)** in the top right to open the configuration page.
  </Step>

  <Step title="Add an API Provider">
    Click **Add API Configuration** (or edit an existing one):

    * **API Provider**: Select `OpenAI Compatible`
    * **Base URL**: `https://api.ephone.ai/v1`
    * **API Key**: Your ePhone AI API key
    * **Model**: The model you want to use, e.g. `gpt-4o`

    Click **Save**.
  </Step>

  <Step title="(Optional) Add an Anthropic Provider">
    To use Claude models, add another provider:

    * **API Provider**: Select `Anthropic`
    * **Base URL**: `https://api.ephone.ai/anthropic`
    * **API Key**: Your ePhone AI API key
    * **Model**: `claude-opus-4-5-20251101`
  </Step>
</Steps>

## Built-in Modes

Roo Code offers four built-in modes you can switch between at any time:

| Mode          | Description                                                                  |
| ------------- | ---------------------------------------------------------------------------- |
| **Code**      | Default mode — full read/write file and command execution permissions        |
| **Architect** | Read-only — for planning and architecture discussions without modifying code |
| **Ask**       | Q\&A mode — answers questions without performing any actions                 |
| **Debug**     | Focused on diagnosing and fixing issues                                      |

Each mode can be configured to use a different model. For example:

* Code / Debug: `claude-opus-4-5-20251101` (highest capability)
* Ask / Architect: `gpt-4o-mini` (faster and lower cost)

## How It Compares to Cline

| Feature                    | Cline | Roo Code |
| -------------------------- | ----- | -------- |
| Multi-mode switching       | —     | ✓        |
| Custom modes               | —     | ✓        |
| Per-mode model config      | —     | ✓        |
| Core agent capabilities    | ✓     | ✓        |
| File read/write & commands | ✓     | ✓        |

<Note>
  Roo Code and Cline are highly similar in functionality and configuration. Existing Cline users can migrate directly — the setup is identical.
</Note>
