# Cline vs Kilo Code

_Both are free, open source agents for VS Code, JetBrains and the terminal. Cline asks before each edit and command. Kilo allows most actions and adds an optional sandbox._

Cline and Kilo Code are [coding agents](/learn/concepts/ai-engineering/coding-agents) that run almost any model inside the editor you already use. They share a family tree: Roo Code forked from Cline, and Kilo started as a Roo Code fork in 2025. Kilo has since rebuilt its extension on an OpenCode-based core shared with its CLI and cloud agents. Facts on this page were checked against each tool's own docs, pricing page and repository as of December 5, 2026.

## Decision Table

| | Cline | Kilo Code |
| --- | --- | --- |
| License | Apache 2.0 | MIT |
| Where it runs | VS Code, JetBrains IDEs, Cursor, Windsurf, Zed, a CLI, a desktop app | VS Code, JetBrains IDEs, the `kilo` CLI and Cloud Agents |
| Price | Free. Optional ClinePass at $9.99 per month | Free. Optional Kilo Pass from $19 per month, Teams at $15 per user per month |
| Default approvals | Asks before each edit and command until you turn on Auto Approve | Allows most tools. Asks for `.env` reads and files outside the project |
| OS sandbox | None documented for local runs | Optional, off by default, on macOS and Linux |
| Best for | Developers who want to approve each step | Teams who want the same agent in the editor, terminal and cloud |

## At a Glance

| | Cline | Kilo Code |
| --- | --- | --- |
| Models | Anthropic, OpenAI, Google, OpenRouter and others, any OpenAI-compatible API, local models | 500+ models through Kilo Gateway, your own keys, or local models |
| Subscriptions | ClinePass $9.99 per month for open coding models | Kilo Pass Starter $19, Pro $49, Expert $199 per month, paid out as usage credits |
| Modes | Plan and Act | Code, Plan, Ask and Debug, plus custom agents |
| Approve everything | YOLO mode | A shield toggle that approves pending prompts |
| Undo | Checkpoints in a shadow git repository after each tool use | Git-based snapshots before and after agent edits |
| Parallel work | Kanban board for many agents at once | Agent Manager runs several agents side by side |
| Headless and CI | `cline --json`, piped input | `kilo run`, with `--auto` to skip prompts |

## Models and Cost

Neither project charges for the agent. Cline bills model usage through its own credits, through ClinePass, or through your own provider key. ClinePass costs $9.99 per month and covers open coding models such as DeepSeek V4 Pro, Kimi K3 and GLM-5.3, with 2 to 5 times the standard rate limits.

Kilo Gateway bills model usage at the provider's rate with no markup, and Kilo adds a 5% processing fee when you buy credits. Kilo Pass prepays credits with a bonus: Starter costs $19 and gives up to $26.60 in credits per month. You can also bring your own keys or run local models at no charge from Kilo. The Teams plan at $15 per user per month adds shared billing, shared custom agents and usage analytics. Cloud agents bill compute per second on top of model usage.

## Approvals and Sandboxing

The two tools start from opposite ends. The Cline extension asks before every file edit and terminal command. Its docs recommend turning on only Read project files in Auto Approve, and leaving edits, commands, browser and MCP off until you have a reason. YOLO mode approves everything with no confirmation. The Cline CLI defaults `--auto-approve` to `true`, so check it before you script Cline.

Kilo sets `allow`, `ask` or `deny` per tool and allows most tools by default. It asks before reading `.env` files, before touching files outside the project, and when the agent repeats the same failing step. In the JetBrains plugin it also asks before edits.

Kilo adds an optional OS sandbox. It uses Seatbelt on macOS and Bubblewrap on Linux, and it is not available on Windows. Turned on with `sandbox.enabled`, it limits writes to the workspace and blocks network access from commands unless a host is on `sandbox.allowed_hosts`. Cline documents no sandbox for local runs, so its safety rests on the approval prompts.

## Undo

Cline saves a checkpoint to a shadow git repository after each tool use, separate from your project's history. You can restore the files, the conversation, or both. Kilo takes git-based snapshots before and after agent edits and lets you revert a message's changes from the chat.

## When to Pick Which

- **Pick Cline** if you want to approve each edit and command, want Plan and Act modes, or use Zed or Windsurf.
- **Pick Kilo Code** if you want fewer prompts with an optional sandbox, the same agent in the editor, terminal and cloud, or a team plan with shared billing.
- **Coming from Roo Code?** Kilo is the closer match. It began as a Roo Code fork and publishes a guide that converts `.roomodes` into Kilo custom agents. See [Roo Code vs Kilo Code](./roo-code-vs-kilo-code.mdx).

## Alternatives

- **OpenCode:** the MIT-licensed terminal agent Kilo's CLI forked from. See [OpenCode vs Kilo Code](./opencode-vs-kilo-code.mdx) and [OpenCode vs Cline](./opencode-vs-cline.mdx).
- **Claude Code:** Anthropic's agent for Claude models. See [Claude Code vs Cline](./claude-code-vs-cline.mdx).
- **Roo Code:** shut down on May 15, 2026. See [Cline vs Roo Code](./cline-vs-roo-code.mdx).

## Running Several Agents at Once

Cline's Kanban board and Kilo's Agent Manager both run several agents from one window. To compare the two agents on the same task, give each its own [git worktree](/learn/concepts/git/git-worktrees). Treq runs either agent in an isolated [workspace](/docs/concepts/workspaces) and stacks dependent changes for review.

## Sources

Checked December 5, 2026:

- [Cline repository](https://github.com/cline/cline), [Cline overview](https://docs.cline.bot/cline-overview), [Cline pricing](https://cline.bot/pricing), [ClinePass](https://docs.cline.bot/getting-started/clinepass), [Auto Approve](https://docs.cline.bot/features/auto-approve), [Checkpoints](https://docs.cline.bot/core-workflows/checkpoints), [CLI overview](https://docs.cline.bot/usage/cli-overview)
- [Kilo Code repository](https://github.com/Kilo-Org/kilocode), [Kilo pricing](https://kilo.ai/pricing), [Kilo CLI](https://kilo.ai/docs/code-with-ai/platforms/cli), [Auto-approving actions](https://kilo.ai/docs/getting-started/settings/auto-approving-actions), [Sandboxing](https://kilo.ai/docs/getting-started/settings/sandboxing), [What's new in VS Code](https://kilo.ai/docs/code-with-ai/platforms/vscode/whats-new), [Roo to Kilo migration guide](https://kilo.ai/articles/roo-to-kilo-migration-guide)

## Next Steps

- [Cline Pricing](/learn/guides/cline-pricing): what Cline costs with each model option
- [Kilo Code Pricing](/learn/guides/kilo-code-pricing): Kilo Pass, Gateway and Teams in detail
- [Best Coding Agent CLIs](./best-coding-agent-clis.mdx): every current terminal agent in one table
