Mode-based coding agent
How to use
Roo Code.
Planning, implementing, debugging, and explaining repository changes with specialized modes and visible approval of file, command, browser, and MCP actions.
Roo Code is a open-source AI coding agent extension for VS Code. Planning, implementing, debugging, and explaining repository changes with specialized modes and visible approval of file, command, browser, and MCP actions. This guide covers the whole path in one place: official access, a first session that produces something reviewable, the checks that make output trustworthy, and the permissions worth limiting before you connect real work.
AI should make the work easier to inspect. If the workflow removes the source, the owner, or the review step, redesign the workflow.
Access & setup
Find, install, and sign in to Roo Code
Get into the official Roo Code experience with the right account and a setup you understand.
- 01
Start at https://roocode.com/ and confirm the domain before entering account or payment information.
- 02
Availability: Roo Code runs as a VS Code extension with built-in and custom modes, multiple model providers, terminal and browser tools, MCP support, and per-action approvals.
- 03
VS Code or a compatible editor, the official extension, and a configured cloud or local model provider with an approved policy for code and tool access.
- 04
Sign in with the account you intend to keep using, then review plan, data, notification, and permission settings.
- 05
Run one low-risk test task before connecting sensitive files, repositories, or workspace data.
- Use official download pages.
- Review permissions during setup.
- Keep installers and applications updated.
First session
Your first useful Roo Code session
Learn the interaction loop using a small task with a clear outcome.
- 01
Install the official extension and configure one approved model provider without placing credentials in the repository.
- 02
Open a clean branch, select the appropriate mode, and provide the task, constraints, and validation commands.
- 03
Keep auto-approval off while Roo inspects the codebase and proposes a minimal plan.
- 04
Review every tool request, changed file, command, test result, and final diff before committing.
- State the outcome before the background.
- Provide the real source material.
- Review the result before expanding the task.
Quality control
Check the quality of Roo Code output
Turn generated code into a change you would put your name on in review.
- 01
Restate the intended behaviour and the acceptance criteria before reading a single generated line.
- 02
Read the diff rather than the chat summary; the summary describes intent, the diff describes what actually changed.
- 03
Run the test suite, then write a test that would fail if the change were wrong, and confirm it passes for the right reason.
- 04
Check the edges the model tends to skip: error paths, null and empty cases, concurrency, and migration or rollback behaviour.
- 05
Trace every new dependency, network call, and file write, and confirm each one is genuinely required.
- Review the diff, never the description of the diff.
- A passing test suite proves the tests pass, not that the change is correct.
- Keep changes small enough that a human can actually review them.
Privacy & permissions
Use Roo Code safely
Give the tool enough repository access to help, and no more than that.
- 01
Decide what the tool may read and what it may write before connecting a repository.
- 02
Scope tokens and integrations to the narrowest repository, branch, and permission set that still works.
- 03
Keep secrets out of the context window: use environment variables and secret stores, never inline credentials.
- 04
Require review before generated code touches authentication, payments, permissions, migrations, or deletion paths.
- 05
Audit what the integration retained after the session, and revoke access that is no longer needed.
- Roo can read and edit files, execute terminal commands, browse, call MCP servers, switch modes, and create subtasks. Keep auto-approval disabled or narrowly allowlisted, treat repository and web content as untrusted, isolate consequential work, restrict MCP tools and credentials, review cost limits and provider data handling, inspect every diff and command, and never delegate merges, deployments, migrations, or destructive actions without explicit authorization.
- Follow your organisation's approved-use policy.
- Never treat fluent output as authorization to act.
Core workflows
Step-by-step ways to use Roo Code for the work it does best.
Each workflow is a separate guide with its own steps and review checkpoints.
Move from a precise issue to a tested diff while reviewing every file, command, browser, and MCP action.
↗ 02 WorkflowCreate a least-privilege custom mode in Roo CodeTailor instructions and tool groups to one recurring role instead of giving every session full coding authority.
↗Official references
Check the current product documentation.
Features, plan limits, availability, and data controls change. These official pages are the starting points used for this guide.