You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update custom instructions in .roomodes to enhance clarity and add image placeholder guidance
* docs: enhance installation instructions for Roo Code extension
* docs: update connecting API provider instructions and add images for clarity
* docs: enhance 'Your First Task' guide with clearer instructions and new images
* docs: update installation instructions for Roo Code extension to clarify development builds and troubleshooting steps
* Update docs/getting-started/installing.md
Co-authored-by: Matt Rubens <[email protected]>
* Update docs/getting-started/installing.md
Co-authored-by: Matt Rubens <[email protected]>
* docs: add manual installation instructions for VSIX file in installation guide
---------
Co-authored-by: Matt Rubens <[email protected]>
Copy file name to clipboardExpand all lines: .roomodes
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
"slug": "docs",
5
5
"name": "Documentation Writer",
6
6
"roleDefinition": "You are a technical documentation writer who is a seasoned, straightforward, and technically precise expert who prioritizes clarity and efficiency. With 24 years of coding and documentation writing experience, you have a natural conversational style that values concise, no-nonsense communication. Your approach is authentic and candid, focusing relentlessly on user comprehension without overselling features or using ambiguous language. You avoid fluff, ensuring every sentence provides clear value, practical guidance, or actionable steps. The tone remains professional yet approachable, fostering immediate trust through reliability and transparency. You specialize in writing technical documentation for the Visual Studio Code extension Roo Code, using Docusaurus to structure, format, and publish content efficiently. With deep expertise in Markdown and MDX, you optimize documentation for readability, accessibility, and seamless navigation within a static-site environment built on React. It is important to ensure the content is accessible to readers with varying technical proficiencies, including those who may have learning disabilities such as ADD/ADHD, by maintaining clear structure, logical flow, and avoiding unnecessary complexity.",
7
-
"customInstructions": "Directness and Clarity: Each documentation entry must begin directly with what users need to know, avoiding introductory filler phrases or unnecessary context.\n\nPrecision and Brevity: Prioritize short, precise explanations and actionable steps. Users should quickly grasp concepts without needing additional clarification.\n\nAuthentic and Natural Tone: Use conversational language that reflects Roo's personality—straightforward, reliable, and trustworthy—without marketing jargon or generic phrases.\n\nPractical Examples: Include practical, realistic examples relevant to experienced developers, avoiding overly basic scenarios or clichéd tasks. Code snippets must be accurate, concise, and ready for immediate use.\n\nConsistent Formatting: Maintain a consistent format throughout, utilizing structured headings, bullet points, and brief paragraphs that facilitate quick scanning and easy comprehension.\n\nAvoid Over-explaining: Assume a reasonable level of technical competence. Do not over-explain basic coding concepts unless essential to understanding a unique Roo Code feature.\n\nProactive Anticipation: Anticipate common questions or misunderstandings proactively. Address potential issues or complexities directly within the relevant sections.\n\nMinimalism in Wording: Eliminate unnecessary adjectives, adverbs, or overly descriptive phrases. Prioritize functional language that enhances clarity and reduces cognitive load.\n\nInternal Links: Always use relative paths for internal links without including .md file extensions.\n\nCode Examples: Ensure all code snippets are clearly formatted and easy to copy-paste, maintaining consistent syntax highlighting and structure.",
7
+
"customInstructions": "Directness and Clarity: Each documentation entry must begin directly with what users need to know, avoiding introductory filler phrases or unnecessary context.\n\nPrecision and Brevity: Prioritize short, precise explanations and actionable steps. Users should quickly grasp concepts without needing additional clarification.\n\nAuthentic and Natural Tone: Use conversational language that reflects Roo's personality—straightforward, reliable, and trustworthy—without marketing jargon or generic phrases.\n\nPractical Examples: Include practical, realistic examples relevant to experienced developers, avoiding overly basic scenarios or clichéd tasks. Code snippets must be accurate, concise, and ready for immediate use.\n\nConsistent Formatting: Maintain a consistent format throughout, utilizing structured headings, bullet points, and brief paragraphs that facilitate quick scanning and easy comprehension.\n\nAvoid Over-explaining: Assume a reasonable level of technical competence. Do not over-explain basic coding concepts unless essential to understanding a unique Roo Code feature.\n\nProactive Anticipation: Anticipate common questions or misunderstandings proactively. Address potential issues or complexities directly within the relevant sections.\n\nMinimalism in Wording: Eliminate unnecessary adjectives, adverbs, or overly descriptive phrases. Prioritize functional language that enhances clarity and reduces cognitive load.\n\nInternal Links: Always use relative paths for internal links without including .md file extensions.\n\nCode Examples: Ensure all code snippets are clearly formatted and easy to copy-paste, maintaining consistent syntax highlighting and structure.\n\nInsert image placeholder where we need to add images, make sure to include a description of what the photo should be under the placeholder. The final version of the image in the code will always be `<img src=\"/img/installing/installing-2.png\" alt=\"VS Code's Install from VSIX dialog\" width=\"600\" />` and with the folder starting with `/img/`",
Copy file name to clipboardExpand all lines: docs/getting-started/connecting-api-provider.md
+46-31Lines changed: 46 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,58 +4,73 @@ sidebar_label: Connecting To A Provider
4
4
5
5
# Connecting Your First AI Provider
6
6
7
-
To get started, you'll need to connect Roo Code to an AI model provider. We recommend starting with one of these options, which all offer access to Anthropic's powerful **Claude 3.7 Sonnet** model:
7
+
Roo Code requires an API key from an AI model provider to function. We recommend these options for accessing the powerful **Claude 3.7 Sonnet** model:
8
8
9
-
1.**OpenRouter (Recommended):** A platform that provides access to multiple AI models, including Claude 3.7 Sonnet. This is often the easiest option for getting started.
10
-
11
-
2.**Anthropic:** Direct access to Claude models from Anthropic. Requires applying for API access, and may be rate limited depending on your tier.
12
-
13
-
Choose one of these options and follow the instructions below to obtain an API key.
9
+
-**OpenRouter (Recommended):** Provides access to multiple AI models through a single API key. Ideal for getting started quickly with minimal setup. [View pricing](https://openrouter.ai/models?order=pricing-low-to-high).
10
+
-**Anthropic:** Direct access to Claude models. Requires API access approval and may have [rate limits depending on your tier](https://docs.anthropic.com/en/api/rate-limits#requirements-to-advance-tier). See [Anthropic's pricing page](https://www.anthropic.com/pricing#anthropic-api) for details.
14
11
15
12
## Getting Your API Key
16
13
17
-
### Option 1: Using an LLM router
14
+
### Option 1: LLM Routers
18
15
19
-
LLM routers allow you to use multiple models via a single provider, simplifying cost and API key management.
16
+
LLM routers let you access multiple AI models with one API key, simplifying cost management and switching between models. They often offer [competitive pricing](https://openrouter.ai/models?order=pricing-low-to-high) compared to direct providers.
20
17
21
18
#### OpenRouter
22
19
23
-
1.**Go to the OpenRouter website:**[https://openrouter.ai/](https://openrouter.ai/)
24
-
2.**Sign in** with your Google or GitHub account.
25
-
3.**Get an API Key:** Go to the [keys page](https://openrouter.ai/keys) and create a key. Copy the key.
20
+
1. Go to [openrouter.ai](https://openrouter.ai/)
21
+
2. Sign in with your Google or GitHub account
22
+
3. Navigate to the [API keys page](https://openrouter.ai/keys) and create a new key
23
+
4. Copy your API key - you'll need this for Roo Code setup
24
+
25
+
<imgsrc="/img/connecting-api-provider/connecting-api-provider-4.png"alt="OpenRouter API keys page"width="600" />
26
+
27
+
*OpenRouter dashboard with "Create key" button. Name your key and copy it after creation.*
26
28
27
29
#### Requesty
28
30
29
-
1.**Go to the Requesty website:**[https://requesty.ai/](https://requesty.ai/)
30
-
2.**Sign in** with your Google or email account
31
-
3.**Get an API Key:** Go to the [API management page](https://app.requesty.ai/manage-api) and create a key. **Important:** Copy the key immediately, as you won't be able to see it again.
31
+
1. Go to [requesty.ai](https://requesty.ai/)
32
+
2. Sign in with your Google account or email
33
+
3. Navigate to the [API management page](https://app.requesty.ai/manage-api) and create a new key
34
+
4.**Important:** Copy your API key immediately as it won't be displayed again
35
+
36
+
<imgsrc="/img/connecting-api-provider/connecting-api-provider-7.png"alt="Requesty API management page"width="600" />
37
+
38
+
*Requesty API management page with "Create API Key" button. Copy your key immediately - it's shown only once.*
32
39
33
-
### Option 2: Using an LLM provider directly
40
+
### Option 2: Direct Providers
34
41
35
-
If you prefer to use a specific LLM provider directly, that is always an option.
42
+
For direct access to specific models from their original providers, with full access to their features and capabilities:
36
43
37
44
#### Anthropic
38
45
39
-
1.**Go to the Anthropic Console:**[https://console.anthropic.com/](https://console.anthropic.com/)
40
-
2.**Sign up** for an account or log in.
41
-
3.**Create an API Key:** Go to the API keys page (you may need to navigate through the dashboard) and create a new key. **Important:** Copy the key immediately, as you won't be able to see it again.
46
+
1. Go to [console.anthropic.com](https://console.anthropic.com/)
47
+
2. Sign up for an account or log in
48
+
3. Navigate to the [API keys section](https://console.anthropic.com/settings/keys) and create a new key
49
+
4.**Important:** Copy your API key immediately as it won't be displayed again
42
50
43
-
#### OpenAI
51
+
<imgsrc="/img/connecting-api-provider/connecting-api-provider-5.png"alt="Anthropic console API Keys section"width="600" />
44
52
45
-
1.**Go to the OpenAI Console:**[https://platform.openai.com/](https://platform.openai.com/)
46
-
2.**Sign up** for an account or log in.
47
-
3.**Create an API Key:** Go to the API keys page (you may need to navigate through the dashboard) and create a new key. **Important:** Copy the key immediately, as you won't be able to see it again.
53
+
*Anthropic console API Keys section with "Create key" button. Name your key, set expiration, and copy it immediately.*
48
54
49
-
##Configuring Roo Code in VS Code
55
+
#### OpenAI
50
56
51
-
1.**Open the Roo Code Sidebar:** Click the Roo Code icon (<Codiconname="rocket" />) in the VS Code Activity Bar. You should see the welcome screen.
57
+
1. Go to [platform.openai.com](https://platform.openai.com/)
58
+
2. Sign up for an account or log in
59
+
3. Navigate to the [API keys section](https://platform.openai.com/api-keys) and create a new key
60
+
4.**Important:** Copy your API key immediately as it won't be displayed again
52
61
53
-
2.**Select your API Provider:** In the "API Provider" dropdown, choose your API provider.
62
+
<imgsrc="/img/connecting-api-provider/connecting-api-provider-6.png"alt="OpenAI API keys page"width="600" />
54
63
55
-
3.**Enter your API Key:** Paste your API key into the "API Key" field.
64
+
*OpenAI platform with "Create new secret key" button. Name your key and copy it immediately after creation.*
65
+
66
+
## Configuring Roo Code in VS Code
56
67
57
-
4.**Select your Model:**
58
-
* If you're using **OpenRouter**, select `anthropic/claude-3.7-sonnet`.
59
-
* If you're using **Anthropic**, select `claude-3-7-sonnet-20250219`.
68
+
Once you have your API key:
60
69
61
-
5.**Click "Let's go!":** Roo Code will save your settings, and you'll be ready to start coding!
70
+
1. Open the Roo Code sidebar by clicking the Roo Code icon (<Codiconname="rocket" />) in the VS Code Activity Bar
71
+
2. In the welcome screen, select your API provider from the dropdown
72
+
3. Paste your API key into the appropriate field
73
+
4. Select your model:
74
+
- For **OpenRouter**: select `anthropic/claude-3.7-sonnet` ([model details](https://openrouter.ai/anthropic/claude-3.7-sonnet))
75
+
- For **Anthropic**: select `claude-3-7-sonnet-20250219` ([model details](https://www.anthropic.com/pricing#anthropic-api))
76
+
5. Click "Let's go!" to save your settings and start using Roo Code
Roo Code is a VS Code extension that brings AI-powered coding assistance to your editor. There are three main ways to install it:
7
+
Roo Code is a VS Code extension that brings AI-powered coding assistance directly to your editor. Install using one of these methods:
8
+
1.**VS Code Marketplace (Recommended)** - fastest method for standard VS Code and Cursor users
9
+
2.**Open VSX Registry** - for VS Code-compatible editors like VSCodium
8
10
9
-
1.**From the VS Code Marketplace (Recommended)**
10
-
2.**From the Open VSX Registry**
11
-
3.**From a VSIX file (Advanced)**
11
+
## VS Code Marketplace
12
12
13
-
## 1. Installation from the VS Code Marketplace
13
+
1. Open VS Code
14
+
2. Access Extensions: Click the Extensions icon in the Activity Bar or press `Ctrl+Shift+X` (Windows/Linux) or `Cmd+Shift+X` (macOS)
15
+
3. Search for "Roo Code"
16
+
4. Select "Roo Code" by RooVeterinaryInc and click **Install**
17
+
5. Reload VS Code if prompted
14
18
15
-
This is the easiest and recommended method for most users.
19
+
After installation, find the Roo Code icon (<Codiconname="rocket" />) in the Activity Bar to open the Roo Code panel.
16
20
17
-
1.**Open VS Code.**
18
-
2.**Open the Extensions View:**
19
-
* Click the Extensions icon in the Activity Bar on the side of VS Code. (It looks like four squares, with one detached.)
20
-
* Or, use the keyboard shortcut: `Ctrl+Shift+X` (Windows/Linux) or `Cmd+Shift+X` (macOS).
21
-
3.**Search for Roo Code:** In the Extensions view search box, type `Roo Code`.
22
-
4.**Install:** Find "Roo Code" in the search results (by RooVeterinaryInc). Click the **Install** button.
23
-
5.**Reload (if required):** VS Code may prompt you to reload. If so, click the **Reload** button.
21
+
<imgsrc="/img/installing/installing.png"alt="VS Code marketplace with Roo Code extension ready to install"width="400" />
22
+
*VS Code marketplace with Roo Code extension ready to install*
24
23
25
-
Once installed, you'll see the Roo Code icon (<Codiconname="rocket" />) in the Activity Bar. Click it to open the Roo Code panel.
24
+
## Open VSX Registry
26
25
27
-
## 2. Installation from the Open VSX Registry
26
+
For VS Code-compatible editors without Marketplace access (like VSCodium and Windsurf):
28
27
29
-
If you're using a VS Code-compatible editor that doesn't have access to the VS Code Marketplace (like VSCodium), you can install Roo Code from the Open VSX Registry.
28
+
1. Open your editor
29
+
2. Access the Extensions view
30
+
3. Search for "Roo Code"
31
+
4. Select "Roo Code" by RooVeterinaryInc and click **Install**
32
+
5. Reload if prompted
30
33
31
-
1.**Open your editor.**
32
-
2.**Open the Extensions View.**
33
-
3.**Search for Roo Code:** Type `Roo Code` in the Extensions view search box.
34
-
4.**Install:** Find "Roo Code" in the search results (by RooVeterinaryInc). Click the **Install** button.
35
-
5.**Reload (if required):** Your editor may prompt you to reload. If so, click the reload button.
34
+
<imgsrc="/img/installing/installing-1.png"alt="Open VSX Registry with Roo Code extension ready to install"width="400" />
35
+
*Open VSX Registry with Roo Code extension ready to install*
36
+
## Manual Installation from VSIX
36
37
37
-
## 3. Installation from a VSIX File (Advanced)
38
+
If you prefer to download and install the VSIX file directly:
38
39
39
-
This method is useful if you're developing Roo Code, testing a specific build, or need to install it offline.
40
+
1.**Download the VSIX file:**
41
+
* Find official releases on the [Roo Code GitHub Releases page](https://github.com/RooVetGit/Roo-Code/releases)
42
+
* Download the `.vsix` file from the latest release
40
43
41
-
1.**Download the VSIX file:**
42
-
***Releases:** You can find official releases on the [Roo Code GitHub Releases page](https://github.com/RooVetGit/Roo-Code/releases). Download the `.vsix` file from the latest release.
43
-
***Development Builds:** If you're building the extension yourself, the `.vsix` file is located in the `bin/` directory after running `npm run package`.
44
+
2.**Install in VS Code:**
45
+
* Open VS Code
46
+
* Access Extensions view
47
+
* Click the "..." menu in the Extensions view
48
+
* Select "Install from VSIX..."
49
+
* Browse to and select your downloaded `.vsix` file
44
50
45
-
2.**Open VS Code.**
46
-
3.**Open the Extensions View.**
47
-
4.**Install from VSIX:**
48
-
* Click the **"..."** (Views and More Actions...) menu in the top-right corner of the Extensions view.
49
-
* Select **"Install from VSIX..."**
50
-
* Browse to the downloaded `.vsix` file and select it.
51
-
5.**Reload (if required):** VS Code may prompt you to reload. If so, click the **Reload** button.
51
+
<imgsrc="/img/installing/installing-2.png"alt="VS Code's Install from VSIX dialog"width="400" />
52
+
*Installing Roo Code using VS Code's "Install from VSIX" dialog*
52
53
53
-
## Troubleshooting Installation
54
+
## Development Builds
54
55
55
-
***Extension Doesn't Appear:**
56
-
* Make sure you've restarted VS Code after installation.
57
-
* Check the Extensions view to see if Roo Code is listed and enabled.
58
-
* Try disabling and re-enabling the extension.
59
-
* Check for any error messages in the VS Code Output panel (View -> Output, then select "Roo Code" from the dropdown).
60
-
***Marketplace Issues:**
61
-
* If you're having trouble with the VS Code Marketplace, try installing from a VSIX file (see instructions above).
62
-
* Ensure you have a stable internet connection.
63
-
***Compatibility:** Roo Code requires VS Code version 1.84.0 or later.
56
+
:::note Developer Information Only
57
+
This section is intended only for developers contributing to Roo Code.
58
+
:::
64
59
65
-
If you continue to experience problems, please visit our [GitHub Issues page](https://github.com/RooVetGit/Roo-Code/issues) or [Reddit community](https://www.reddit.com/r/RooCode) to report the issue or ask for help.
60
+
If you're building Roo Code from source:
61
+
62
+
1. Run `npm run build` in the project directory
63
+
2. Find the generated VSIX file in the `bin/` directory
64
+
3. In VS Code, open Extensions view and select "Install from VSIX..." from the "..." menu
65
+
4. Browse to and select your generated `.vsix` file
66
+
67
+
<imgsrc="/img/installing/installing-2.png"alt="VS Code's Install from VSIX dialog"width="400" />
68
+
*Installing a development build using VS Code's "Install from VSIX" dialog*
0 commit comments