Roo Code
Open-source VS Code autonomous coding agent with role-based mode architecture. Evolved from Cline. 50K+ installations. Architect, Code, Debug, Ask, and Custom modes — each with scoped permissions. Creates sandboxed autonomy where AI operates powerfully within defined limits. Model-agnostic.
Roo Code (formerly Roo Cline) is a VS Code autonomous coding agent that evolved from the Cline fork. Its distinguishing feature: role-based modes with scoped permissions, creating deterministic permission boundaries for autonomous agent operation.
50,000+ VS Code installations.
Mode Architecture
| Mode | Permissions | Use Case |
|---|---|---|
| Architect | Read-only | Planning, codebase analysis |
| Code | Read + write files | Implementation |
| Debug | Read + execute tests | Diagnosis and repair |
| Ask | Read-only, no code | Questions, explanations |
| Custom | User-defined | Domain-specific workflows |
Each mode has explicit tool access. Code mode can write files; Architect mode cannot. This creates sandboxed autonomy: the agent operates powerfully but within defined limits.
Why Role Scoping Matters for Dark Factories
At Level 5, you want the agent doing specific things, not everything. Role scoping provides:
- Predictable behavior: Agent can only do what the mode allows
- Auditable permissions: Clear boundaries for compliance
- Staged autonomy: Move from Ask → Architect → Code incrementally
- Failure containment: If the agent goes wrong in Code mode, it can’t read-only architectural decisions in Architect mode with corrupted state
This maps naturally to StrongDM’s “Shift Work” technique — separating exploratory work (Architect mode) from fully-specified implementation (Code mode).
Model Agnosticism
Like Cline (its ancestor), Roo Code supports:
- Anthropic, OpenAI, Google Gemini
- Mistral, AWS Bedrock
- Ollama (local models)
Best For
Engineers who want role-partitioned autonomous agents with explicit permission scopes. Teams building structured multi-mode workflows. Organizations that need auditable agent permission boundaries.