Roo Code — AI Coding Agent with Custom Modes
Fork of Cline with custom agent modes, boomerang orchestration, and multi-model routing. Create specialized AI agents for coding, review, and architecture tasks.
Instalación con revisión previa
Este activo requiere revisión. El prompt copiado pide dry-run, muestra escrituras y continúa solo tras confirmación.
npx -y tokrepo@latest install baddacd0-3bbf-4076-96d5-f6cb2d54d145 --target codexPrimero dry-run, confirma las escrituras y luego ejecuta este comando.
What it is
Roo Code is a fork of Cline, the popular VS Code AI coding extension, that adds custom agent modes, boomerang orchestration, and multi-model routing. You can create specialized agents for different tasks: one mode for writing code, another for reviewing, another for architecture decisions. Each mode can use a different LLM and set of rules.
This tool is built for developers who want fine-grained control over how AI assists them. Instead of one generic coding assistant, you get a team of specialized agents.
How it saves time or tokens
By routing tasks to specialized modes, Roo Code avoids sending expensive context to the wrong model. A quick formatting fix can go to a fast, cheap model while a complex architecture question routes to a stronger one. The estimated token cost is around 4,000 tokens per session. Boomerang orchestration chains agents so the output of one becomes the input of the next, reducing manual copy-paste between tools.
How to use
- Install Roo Code from the VS Code marketplace or build from source.
- Configure your LLM API keys for the models you want to use.
- Define custom modes with specific system prompts and model assignments.
- Switch between modes during development using the command palette.
{
"roo.modes": [
{
"name": "architect",
"model": "claude-sonnet-4-20250514",
"systemPrompt": "You are a senior software architect. Focus on design patterns, scalability, and maintainability."
},
{
"name": "coder",
"model": "claude-sonnet-4-20250514",
"systemPrompt": "You are a senior developer. Write clean, tested code following project conventions."
},
{
"name": "reviewer",
"model": "claude-haiku-4-20250514",
"systemPrompt": "You are a code reviewer. Find bugs, security issues, and style violations."
}
]
}
Example
Boomerang orchestration chains modes:
1. [architect] Design the API schema for user authentication
-> Output: API spec with endpoints and data models
2. [coder] Implement the API based on the architect output
-> Output: Working code with tests
3. [reviewer] Review the implementation for security issues
-> Output: Review comments and suggested fixes
Each step uses the optimal model for that task type.
Related on TokRepo
- AI coding tools — More AI-assisted development tools
- Multi-agent frameworks — Compare multi-agent orchestration approaches
Common pitfalls
- Too many custom modes creates decision paralysis. Start with 2-3 modes and add more only when you identify clear use cases.
- Boomerang orchestration requires well-defined handoff points. Vague output from one mode degrades the next mode's input quality.
- Different models have different context window sizes. Ensure your mode configuration accounts for the model's limits.
- Custom system prompts add token overhead to every request. Keep them concise and focused.
- Roo Code is a fork of Cline, so upstream Cline updates may not merge automatically. Check compatibility when updating.
Preguntas frecuentes
Roo Code is a fork of Cline that adds custom agent modes, boomerang orchestration for chaining agents, and multi-model routing. While Cline uses one model for all tasks, Roo Code lets you assign different models and system prompts to different task types.
Roo Code supports any model accessible via API: OpenAI, Anthropic Claude, Google Gemini, local models via Ollama, and others. Each custom mode can use a different model, so you can mix providers.
Boomerang orchestration chains multiple agent modes in sequence. The output of one mode becomes the input of the next. For example, an architect mode designs a solution, then a coder mode implements it, then a reviewer mode checks the result.
Yes. Mode configurations are stored in VS Code settings files that can be committed to your repository. This ensures the entire team uses the same agent configurations.
Roo Code is primarily a VS Code extension. It requires the VS Code editor or compatible forks like Cursor or VSCodium. There is no standalone CLI version.
Referencias (3)
- Roo Code GitHub— Roo Code is a fork of Cline with custom modes
- Cline GitHub— Cline AI coding assistant for VS Code
- Anthropic Model Selection Docs— Multi-model routing for AI applications
Relacionados en TokRepo
Fuente y agradecimientos
Created by Roo Code Team. Licensed under Apache 2.0.
RooVetGit/Roo-Code — 10k+ stars
Discusión
Activos relacionados
Roo Code Modes — Architect, Code, Ask & Debug Agents
Roo Code's Modes feature splits the agent into 4 specialists with their own prompts and tool whitelists. Boomerang task delegation between modes built in.
Ludwig — Low-Code Framework for Building Custom AI Models
Ludwig is a declarative deep learning framework that lets you build, train, and deploy custom AI models without writing code. Define your model architecture in a YAML config, point it at your data, and Ludwig handles preprocessing, training, hyperparameter search, and serving.
Roo Code — AI Coding Team Inside VS Code
Open-source AI coding extension with custom agent modes, MCP support, and cloud agents. Fork of Cline with 22K+ stars.
AGENTS.md — Open Format for Coding Agent Instructions
AGENTS.md defines a predictable instruction file for coding agents: dev env tips, tests, PR rules, and repo context. Drop it at repo root.