What is Roo Code?
Roo Code is an open-source, AI-powered coding agent that puts an entire AI dev team right in your editor and in the cloud.
Roo Code goes far beyond simple autocompletion. It reads and writes across multiple files, executes terminal commands, runs your tests, opens a browser for integration testing, and adapts to the way you work. Think of it as having a team of specialized AI developers working for you, both in the cloud and inside your editor.
Roo Code Cloud provides autonomous AI agents that handle tasks like planning, coding, PR review, and PR fixing -- triggered from the web, Slack, Linear, or GitHub. Delegate work to your AI team and get results back as pull requests, without being tied to your IDE.
The Roo Code VS Code Extension is completely free and open-source under the Apache 2.0 license. It works with any AI model you choose -- from OpenAI and Anthropic to local models running on your own machine via Ollama. Your code stays on your machine unless you explicitly connect to an external API.
What can Roo Code do?
Roo Code combines deep project understanding with agentic capabilities that go well beyond autocomplete.
Multi-file editing
Reads, refactors, and updates multiple files at once for holistic code changes. Understands your entire codebase structure, not just the current file.
Terminal command execution
Runs commands like npm install, executes your test suites, and manages build tools -- always with your permission or auto-approval if you choose.
Browser testing
Can open a web browser for integration testing and visual verification of changes when approved.
Deep project context
Uses efficient strategies like partial-file analysis and summarization to understand large codebases. Works well with enterprise-scale projects.
Permission-based control
Every file change and command execution requires your approval. Nothing runs without your explicit permission, keeping you in full control.
Extensible via MCP
The Model Context Protocol lets you extend Roo Code with custom tools and resources, connecting it to databases, APIs, and other systems.
Role-specific modes
Modes keep AI models focused on a given task and limit their access to tools relevant to their role. This keeps the context window clearer and avoids surprises. Modes are smart enough to request switching to another mode when stepping outside their responsibilities.
Architect
Plans complex changes and designs system architecture without modifying code.
Code
Implements, refactors, and optimizes code across multiple files.
Ask
Explains functionality, answers questions, and analyzes existing code.
Debug
Diagnoses issues, traces failures, and proposes targeted fixes.
Test
Creates and improves tests without changing the actual functionality.
Plus custom modes you create with their own prompts, tools, and file restrictions.
Model-agnostic by design
“The best model in the world” changes every other week. Providers throttle models with no warning. First-party coding agents only work with their own models. Roo Code works with dozens of models and providers, so you are never locked in.
Bring your own API key from any provider, or use the Roo Code Router for at-cost access to top models with no markup.
Two ways to work with Roo Code
Delegate to cloud agents for autonomous work, or use the extension for hands-on control.
Cloud Agents
For autonomous work
Create your agent team in the cloud, give them access to GitHub, and start delegating tasks:
- Agents: Planner, Coder, Explainer, Reviewer, Fixer
- Trigger tasks from the web, Slack, Linear, or GitHub
- Get PR reviews and fixes automatically
- Collaborate with your team on shared tasks
- Track usage and costs with analytics
VS Code Extension
For interactive work
Run Roo directly in VS Code (or any fork, including Cursor), stay close to the code, and control everything:
- Approve every action or set auto-approval
- Manage the context window directly
- Configure every detail of the AI behavior
- Preview changes live in your editor
- Works with your existing VS Code setup
Why developers choose Roo Code
What sets Roo Code apart.
Open source
Fully auditable under the Apache 2.0 license. See exactly how it works and contribute to its development.
Not locked to one model
Use any AI provider. Switch models freely. Bring your own key or use the Roo Code Router at cost.
Modes keep agents focused
Role-specific modes limit what the AI can do, keeping it on task and avoiding unintended side effects.
Highly configurable
Custom modes, system prompts, auto-approval rules, keyboard shortcuts, and .rooignore for sensitive files.
Private and secure
Code stays local. Permission-based execution. SOC2 Type 2 compliant. Works fully offline with local models.
IDE + Cloud
Work interactively in VS Code or delegate to autonomous cloud agents. No other tool offers both.
Get started in 2 minutes
Install the extension
Search for “Roo Code” in the VS Code Marketplace or install it directly. It works in VS Code and any fork, including Cursor.
Add your AI API key
Connect any supported provider (OpenAI, Anthropic, Google, etc.) in the extension settings, or use the Roo Code Router for at-cost model access.
Start coding with AI
Open the Roo Code panel in VS Code and start typing commands in plain English. Choose a mode (Code, Architect, Debug, etc.) and let Roo help you build.
Try Cloud Agents (optional)
Sign up for Roo Code Cloud to access autonomous agents that handle tasks from the web, Slack, Linear, and GitHub.
Need help getting started? Watch our tutorials or visit the documentation.
Frequently Asked Questions
Everything you need to know about Roo Code and how it can transform your development workflow.