The Workshop · 12 min mission

Cline & Roo Code: Open-Source Agents Inside VS Code

Master the two open-source, MCP-first VS Code agents — Cline's Plan/Act gears and Roo Code's role modes — and why Roo's extension is now the Zoo Code fork.

ide-agentsclineroo-codezoo-codemcpplan-and-actopen-sourcebyokFact-checked 2026-06-15
On this page

Cline and Roo Code are open-source, Apache-2.0, MCP-first AI coding agents that run a read-files / write-files / run-commands loop inside VS Code. You bring your own model from any provider and approve each step (or enable auto-approve). Cline has two gears: Plan (read-only) and Act (execute). Roo Code forked Cline and added role-based modes. As of 2026-06-15, Cline is current (v3.89.2); the Roo Code VS Code extension was shut down 2026-05-15 and its live successor is the community fork Zoo Code (v3.60.0).

ExtensionStatusCurrent versionInstall?
ClineAlive, most-installed (~4.3M installs)v3.89.2 (2026-05-19)Yes
Roo CodeArchived / shut down 2026-05-15v3.54.0 (last)No — read-only repo
Zoo CodeLive community fork of Roo Codev3.60.0 (2026-06-12)Yes — Roo successor
Kilo CodeSeparate Roo descendant, IDE-committedn/aYes — alternative
Lineage and status as of 2026-06-15. All four share Apache-2.0 ancestry: Cline → Roo Code (fork of Cline) → Zoo Code / Kilo Code (forks of Roo Code).

Cline, Zoo Code, or Kilo Code — which fits you?

Which IDE agent?

Five quick questions about where you code, how much autonomy you want, how you'd rather pay, whether open source matters, and your main language — and you'll get a single agent to start with, the reasoning behind it, and a runner-up. All five contenders are in the legend below.

0/5
Preferred surface· 1 of 5

Where do you want it to live?

The five contenders

Cursorclosed source

An AI-first editor (a VS Code fork) with a strong agent, fast Tab completion, and multi-file edits.

GitHub Copilotclosed source

Drops into the editor you already use — VS Code, JetBrains, Visual Studio, Neovim — with chat, agent mode, and completions.

Windsurfclosed source

An AI-native editor whose "Cascade" agent keeps the whole task in flow — opinionated, polished, and beginner-friendly.

Clineopen source

An open-source, fully autonomous coding agent that lives in VS Code. You bring your own model and pay the provider directly.

Roo Codeopen source

Open-source VS Code agent with role-based "modes" and deep auto-approve control — the tinkerer's pick. BYO model.

Answer a few questions about surface, autonomy, budget, and open-source needs to get a starting recommendation across the IDE-agent field, including the Cline and Roo lineage covered here.

Install Cline in VS Code

  1. Search the Marketplace by extension ID

    Open the Extensions view and search saoudrizwan.claude-dev (publisher saoudrizwan). The claude-dev id is a leftover from the project's original name "Claude Dev" — it is not an official Anthropic product.

  2. Install and open the sidebar

    Install the extension and open the Cline panel from the activity bar. Confirm version v3.89.2 (last updated 2026-05-19).

  3. Add a model provider

    In Settings, pick a provider and paste an API key (BYOK), or use Cline-managed inference at cost. See the provider table below.

  4. Start in Plan mode

    Cline opens with the Plan/Act toggle. Stay in Plan to let it read and propose before any file changes.

Plan vs Act: a permission gate

Cline has exactly two modes, separated by tool permission. Plan mode can read the codebase, run searches, and discuss strategy but cannot modify files or run commands. Act mode retains the full planning context and can now modify files and run commands. Plan mode does not write a plan to a file — it withholds the edit and command tools so the agent can think safely. For a heavier file-aware planning pass that explores the codebase, identifies affected files, and asks clarifying questions, run the /deep-planning slash command.

Plan vs Act — same agent, different tool access

Plan mode

Allowed: read files, search codebase, discuss strategy.

Blocked: modify files, run commands.

Use to build understanding and propose an approach with zero risk to the working tree.

Act mode

Inherits full context from the Plan session.

Allowed: modify files, run commands, execute the agreed strategy.

Every edit/command still needs approval unless auto-approve is on. Checkpoints let you roll back any step.

Set per-mode models (opt-in cost lever)

  1. Enable the split

    In Cline Settings, turn on "Use different models for Plan and Act." Until enabled, both modes use the same model — so trivial edits silently pay reasoning-model prices.

  2. Assign a reasoning model to Plan

    Pick a strong reasoning model for Plan, where thinking is expensive but edits are cheap.

  3. Assign a fast model to Act

    Pick a faster, cheaper model for Act, where you are mostly applying decisions already made. Switching modes auto-switches the model; preferences are stored globally.

ModeTool groupsPurpose
💻 Code (default)read, edit, command, mcpGeneral implementation — full access
❓ Askread, mcp onlyExplanation; no edits, no commands
🏗️ Architectread, mcp, edit (markdown only)Design/planning; can write docs, not code
🪲 Debugread, edit, command, mcpTroubleshooting with the full toolkit
🪃 OrchestratorDelegates via new_taskSplits work into subtasks routed to other modes
Roo Code / Zoo Code built-in role modes and their scoped tool-group access. Zoo Code inherits this design 1:1 as the live successor.
MethodHow
DropdownMode selector menu in the chat input
Slash command/code, /architect, /ask, /debug, /orchestrator
Keyboard shortcut⌘+. (macOS) / Ctrl+. (Windows/Linux)
Agent suggestionAccept the agent's own suggested mode switch
Four ways to switch modes in Roo Code / Zoo Code.

Custom Modes and per-mode MCP allowlists

Custom Modes are the signature Roo/Zoo feature: define a persona (security reviewer, test writer) with custom instructions, scoped tool access, and file-pattern permissions (e.g. a mode that may only edit *.test.ts). Zoo Code v3.60.0 adds per-mode MCP allowlists — restrict which MCP servers are active per mode, so an "Ask" persona cannot reach a server that writes to production. (Documented in the v3.60.0 release notes, not on the marketing site.) Cline has no Custom Modes; behavioral specialization is done via rules files instead.

MCP: connect external tools

Both tools treat the Model Context Protocol (MCP) as core. Cline ships an MCP Marketplace (docs: "Use Cline's MCP Marketplace for one-click install when available") reached via the MCP Servers icon, and can scaffold a custom MCP server from a natural-language description or clone an existing server repo from GitHub as an agent task. Config is plain JSON supporting both transports: a local STDIO server uses command + args; a remote server uses url + optional headers over HTTP/SSE.

~/.cline/mcp.json — a local STDIO server and a remote HTTP server
json
{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "./src"]
    },
    "company-api": {
      "url": "https://mcp.example.com/sse",
      "headers": { "Authorization": "Bearer ${API_TOKEN}" }
    }
  }
}
ProviderMode
Anthropic (Claude), OpenAI, Google (Gemini)BYOK — your own API key
AWS Bedrock, Azure, GCP VertexBYOK — your own cloud endpoint
DeepSeek, xAI (Grok), Mistral, CerebrasBYOK — your own API key
OpenRouterBYOK — 200+ models from any provider
Ollama, LM StudioLocal weights — nothing leaves the machine
Bring-your-own-model providers named on cline.bot, plus "any OpenAI-compatible API" and "200+ models via OpenRouter." Zoo Code is "fully model-agnostic" with the same matrix; its v3.60.0 notes add Claude Fable 5 and OpenAI GPT-5.5.
ToolFree tierPaid option
ClineOpen Source — free; BYOK or Cline-managed inference at costEnterprise (custom): SSO, SLA, JetBrains extension, support
Zoo Codefree and open source forever; BYOKOptional Zoo Gateway — pay-as-you-go credits, single unified API
Pricing tiers as of 2026-06-15.
DimensionClineRoo Code → Zoo Code
Mode modelTwo gears: Plan (read-only), Act (execute)Five role modes + Custom Modes with scoped tools/files
SpecializationRules files (.clinerules), not modesModes; per-mode MCP allowlists in Zoo v3.60.0
Editing styleWhole-file writesDiff-based editing (community-cited token savings)
MCPBuilt-in Marketplace; can scaffold/clone serversConnect servers; per-mode server restrictions
LicenseApache 2.0Apache 2.0
Cline vs the Roo Code lineage. "Roo Code" describes the design; the installable extension carrying it forward is Zoo Code.
plan → approve → act, the Cline loop
… scroll to run this session
Plan mode reads and proposes without touching anything; you flip to Act; each edit still waits for approval.

Knowledge check

A teammate asks you to recommend "Roo Code" for their VS Code setup today (2026-06-15). What is the correct guidance?

Reach the end and this star joins your charted sky.