Install
- Open the VS Code Extensions panel (
Cmd+Shift+XorCtrl+Shift+X). - Search for Roo Code and click Install.
- Restart VS Code.
Configure
1
Open the settings
Click the Roo Code icon in the sidebar, then the gear icon.
2
Select the provider
Set API Provider to OpenAI Compatible.
3
Fill in the fields
4
Set model capabilities
Set Context Window and Max Output Tokens from active models. Enable Image Support only for vision models.
Recommended models
Modes
Roo Code ships five built-in modes. Switch with the dropdown left of the chat input, a slash command, orCmd+. on macOS / Ctrl+. on Windows and Linux.
Per-mode models
Roo Code supports one API configuration profile per mode, so each mode can run a different model. Create a profile per row above under API Configuration Profiles in settings, then assign profiles to modes in the mode settings. Every profile uses the same Base URL and API key; only the model differs.Custom modes
Add a.roomodes file to your project root to define specialised modes:

