# OpenCode vs Roo Code

_Roo Code shut down on May 15, 2026. OpenCode is a maintained, MIT-licensed terminal agent. Roo Code users who want to stay in the editor have better matches in Kilo Code, Zoo Code and Cline._

OpenCode and Roo Code were both open source [coding agents](/learn/concepts/ai-engineering/coding-agents) that run almost any model. OpenCode is Anomaly's terminal agent with a desktop app in beta. Roo Code was an Apache 2.0 VS Code extension, forked from Cline, with Code, Architect, Ask, Debug and custom modes. Facts on this page were checked against each project's repository and docs as of December 5, 2026.

## What Happened to Roo Code

The Roo Code repository was archived on May 15, 2026 and is read-only. Its notice says "The Roo Code Extension was shut down on May 15th." It points users to Zoo Code, a community fork, and to Cline. The roocode.com domain now redirects to Roomote, the same team's self-hosted agent that takes requests from chat and opens pull requests. Roomote runs OpenCode as its agent.

An archived extension gets no fixes for new models, provider API changes or security issues. If you still run Roo Code, plan a move.

## Decision Table

| | OpenCode | Roo Code |
| --- | --- | --- |
| Status | Maintained | Shut down May 15, 2026. Repository archived |
| License | MIT | Apache 2.0 |
| Where it runs | Terminal UI, plus a desktop app in beta | VS Code extension |
| Price | Free. Optional OpenCode Go at $10 per month | Free. No longer updated |
| Modes | `build`, read-only `plan`, `general` subagent | Code, Architect, Ask, Debug, custom modes |
| Models | Any provider in the models.dev catalog, plus local models | No model updates since shutdown |

## At a Glance

Roo Code no longer changes, so this table lists what OpenCode offers today.

| | OpenCode |
| --- | --- |
| Subscriptions | OpenCode Go $10, Go Plus $40 per month. Sign in with a ChatGPT Plus or Pro plan, GitHub Copilot, or a Claude plan through a local Claude Code login |
| Local models | Ollama, LM Studio and vLLM, discovered on their default ports |
| Permissions | Ordered `allow`, `ask` and `deny` rules. Allows everything except `.env` reads by default |
| OS sandbox | None. Shell commands run with your user's full filesystem, process and network access |
| Undo | Your own git history |
| Headless and CI | `opencode run` |

## Moving From Roo Code to OpenCode

OpenCode fits Roo Code users who are ready to leave the editor sidebar for the terminal. Roo's Architect and Ask modes map to OpenCode's `plan` agent, which denies file edits and asks before shell commands. Code mode maps to `build`. Custom modes have no direct converter, but OpenCode lets you define your own agents with their own permissions.

Expect fewer prompts than Roo Code gave you. OpenCode allows reads, edits and commands by default, including outside the project, and asks only before reading `.env` files. Add `ask` rules for edits and shell commands if you want to approve each step, and commit often, since OpenCode has no checkpoint system of its own.

## If You Want to Stay in the Editor

- **Kilo Code** started as a Roo Code fork, now runs on an OpenCode-based core, and converts `.roomodes` into Kilo custom agents. It runs in VS Code, JetBrains and the terminal. See [Roo Code vs Kilo Code](./roo-code-vs-kilo-code.mdx).
- **Zoo Code** is a community fork that continues Roo Code's modes and publishes a Roo to Zoo migration guide.
- **Cline** is the project Roo Code forked from, with Plan and Act modes and checkpoints after each tool use. See [Cline vs Roo Code](./cline-vs-roo-code.mdx).

## When to Pick Which

- **Pick OpenCode** if you work in the terminal, want to sign in with a ChatGPT, Copilot or Claude plan, or want Roomote's agent on your own machine.
- **Pick Kilo Code** if you want OpenCode's engine inside VS Code or JetBrains and a converter for your Roo modes.
- **Pick Zoo Code** if you want to stay closest to Roo Code.
- **Do not stay on Roo Code.** It receives no updates.

## Alternatives

- **Claude Code:** Anthropic's agent for Claude models. See [Claude Code vs Roo Code](./claude-code-vs-roo-code.mdx).
- **Cline:** an Apache 2.0 agent that asks before each step. See [OpenCode vs Cline](./opencode-vs-cline.mdx).
- **Kilo Code:** the MIT-licensed fork of OpenCode's CLI with editor extensions. See [OpenCode vs Kilo Code](./opencode-vs-kilo-code.mdx).

## Running Several Agents at Once

OpenCode runs one session per checkout, so give each session its own [git worktree](/learn/concepts/git/git-worktrees). Treq runs OpenCode and other agents in isolated [workspaces](/docs/concepts/workspaces) and stacks dependent changes for review.

## Sources

Checked December 5, 2026:

- [OpenCode repository](https://github.com/anomalyco/opencode), [OpenCode Go](https://opencode.ai/go), [Providers](https://opencode.ai/docs/providers/), [Permissions](https://opencode.ai/docs/permissions/)
- [Roo Code repository](https://github.com/RooCodeInc/Roo-Code), [Roomote](https://roomote.dev/), [Zoo Code repository](https://github.com/Zoo-Code-Org/Zoo-Code)
- [Kilo Code repository](https://github.com/Kilo-Org/kilocode), [Roo to Kilo migration guide](https://kilo.ai/articles/roo-to-kilo-migration-guide), [Cline repository](https://github.com/cline/cline)

## Next Steps

- [OpenCode Alternatives](./opencode-alternatives.mdx): other agents and their safety defaults
- [Best Coding Agent CLIs](./best-coding-agent-clis.mdx): every current terminal agent in one table
- [Review AI-Generated PRs](/learn/how-to/review-ai-generated-prs): check agent output before it merges
