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

# Roo Code

> Configure Moxus AI as an OpenAI-compatible provider in Roo Code.

Roo Code is a VS Code agent extension that can read project files, run commands, and edit code. To connect it to Moxus AI, use an OpenAI Compatible or custom OpenAI provider.

## Values

| Field    | Value                                             |
| -------- | ------------------------------------------------- |
| Provider | OpenAI Compatible / OpenAI Compatible API         |
| Base URL | `https://moxus.ai/v1`                             |
| API Key  | `sk-your-key`                                     |
| Model ID | Copy the exact model name from Models and pricing |

## Setup

<Steps>
  <Step title="Install Roo Code">
    Install Roo Code from the VS Code extension marketplace.
  </Step>

  <Step title="Open API configuration">
    Open Roo Code API Configuration or model settings.
  </Step>

  <Step title="Choose an OpenAI-compatible provider">
    Select OpenAI Compatible or custom OpenAI as the provider.
  </Step>

  <Step title="Enter endpoint settings">
    Set Base URL to `https://moxus.ai/v1` and API Key to your Moxus AI `sk-` key.
  </Step>

  <Step title="Enter the model name">
    Use the exact model name from Models and pricing as Model ID.
  </Step>
</Steps>

## Recommendations

* Test with Ask or a read-only task first.
* Review commands before allowing the extension to run them.
* Create a separate API key for Roo Code and set a quota limit.
* Keep task scope narrow for multi-file edits.

<Warning>
  Roo Code can read files, run commands, and modify code. Use it only in trusted projects and be careful with auto-approval settings.
</Warning>

## Troubleshooting

<AccordionGroup>
  <Accordion title="Should I choose OpenAI or OpenAI Compatible?">
    Prefer OpenAI Compatible or custom OpenAI. Set Base URL to `https://moxus.ai/v1`.
  </Accordion>

  <Accordion title="Does the model support tool use?">
    It depends on the selected model. For tool use and complex code editing, choose a model with stronger coding and tool-call behavior.
  </Accordion>

  <Accordion title="The extension sends too many requests">
    Reduce auto-approval, narrow file scope, and set a quota limit on the API key used by Roo Code.
  </Accordion>
</AccordionGroup>

## Next steps

* [API keys](/en/platform/account-and-keys)
* [Usage](/en/platform/dashboard-and-usage)
