tool
Dark Factories Website

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

ModePermissionsUse Case
ArchitectRead-onlyPlanning, codebase analysis
CodeRead + write filesImplementation
DebugRead + execute testsDiagnosis and repair
AskRead-only, no codeQuestions, explanations
CustomUser-definedDomain-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.