Kilo Code guide

Kilo Code Tutorial: Setup, Free Credits and Roo Migration

The AI coding agent that inherited the Roo Code community: install it in VS Code, claim $20 in bonus credits, connect DeepSeek with your own key, and migrate before your Roo setup goes dark.

TL;DR

  • Roo Code announced its shutdown on April 21, 2026 and its VS Code extension went offline on May 15 — Kilo Code, Roo's own fork, is the official migration path for its 3 million installs.
  • The extension is open source and free with your own API key (BYOK); new accounts get $20 in bonus credits on their first top-up, plus a 14-day enterprise trial with no credit card.
  • DeepSeek connects directly: Settings → Providers → add your DeepSeek API key against https://api.deepseek.com and pick deepseek-flash or deepseek-v4-pro.
  • Migrating is semi-automatic: rename Roo's config files, let the migration wizard convert them, write a minimal kilo.jsonc — and re-authenticate every API key, because keys do not transfer.

Just Signed Up? Your first 14 minutes with Kilo Code

Walkthrough video:Kilo (official)14:02

Watch on YouTube

How to Migrate from Roo to Kilo

Migration video:Kilo (official)2:07

Watch on YouTube

The onboarding walkthrough was recorded in June 2025 on the extension UI that predates the OpenCode-based rewrite (GA April 2, 2026) — menus have moved, but the flow is unchanged. The migration video shows the current UI.

Screenshots are frames from Kilo's official YouTube videos, used with attribution and linked back at each step. This guide's text is our own.

Kilo Code setup and migration, step by step

1 · Meet Kilo Code (and why Roo users are moving)

  1. 1

    Know the backstory: Roo Code is shutting down

    On April 21, 2026 the Roo Code team announced it was shutting the extension down to go all-in on Roomote; the VS Code extension went offline on May 15 and the GitHub repo became a read-only archive. Kilo Code — a fork of Roo — published the official farewell and became the landing spot for Roo's roughly 3 million installs.

    dev.to post announcing the Roo Code shutdown with its 3 million installs headline and a Kilo Code maintainer reply proposing always-approve options in the comment box
    The shutdown announcement, with a Kilo maintainer already answering in the commentsWatch at 0:04
  2. 2

    Meet the five interaction modes

    Kilo Code ships five modes: Code writes and implements, Architect plans before touching code, Ask explains, Debug hunts down errors, and Orchestrator splits a huge task into subtasks. You can also define custom modes of your own — Roo's custom modes map onto these during migration.

    Kilo Code interaction mode dropdown in VS Code listing the Code, Architect, Ask, Debug and Orchestrator modes used to plan, build and debug an app
    The mode picker sits right above the prompt box in the Kilo Code panelWatch at 0:22
  3. 3

    See what one prompt produces

    In the official onboarding walkthrough, a single detailed prompt — app purpose, data shape, sort and search behaviour, UI design — produced a working Note Organizer as a single HTML file, which Kilo then opened in the browser. The whole generation cost about 3 cents of API credit.

    Note Organizer web app that Kilo Code generated from a single prompt, showing note cards, tag filters, instant search and date-created sorting in the browser
    The finished Note Organizer: cards, tags, search and sorting, built from one promptWatch at 5:06
  4. 4

    Let Architect mode ask the questions

    When you don't know what to specify, Architect mode interviews you: for a chess game it asked about rule depth, single- versus two-player, and AI strength, offering clickable answer options. The finished plan — including an architecture diagram — is written to a markdown file before Code mode builds it.

    Kilo Code Architect mode asking what level of chess functionality to implement and offering Full chess implementation or Basic piece movement answer buttons
    Architect mode turns vague ideas into concrete, answerable choicesWatch at 8:12

2 · Install the extension and claim $20 credits

  1. 5

    Install the Kilo Code extension

    In VS Code, search the marketplace for "Kilo Code" or run the CLI command shown here: code --install-extension kilocode.Kilo-Code. The extension is open source and ships for VS Code, JetBrains and a standalone CLI.

    macOS terminal finishing the code --install-extension kilocode.Kilo-Code command that installs the Kilo Code extension after the Roo Code shutdown
    The one-line terminal install from the official migration videoWatch at 0:10
  2. 6

    Claim your sign-up credits

    Right after signing up you get a hosted Kilo Code API profile preloaded with free credits — the onboarding recording below shows a "$20 for free" notice, and kilo.ai/pricing still lists $20 in bonus credits on your first top-up plus a 14-day enterprise trial with no credit card. BYOK stays free forever.

    Kilo Code settings Providers page showing the default Kilo Code API profile with its sign-up credit notice, API key field and Claude 3.7 Sonnet model picker
    Settings → Providers: the default Kilo Code profile with its $20 sign-up creditWatch at 1:18

3 · Connect DeepSeek with your own key

  1. 7

    Add a provider profile for your own key

    Open Settings → Providers and click + to create a New Configuration Profile. Give it a name — "DeepSeek" or "OpenRouter" — and you'll have a second profile you can switch to from the main panel without touching the built-in one.

    New Configuration Profile dialog in Kilo Code settings with the name OpenRouter typed in, the first step of adding a second BYOK provider
    Creating a second configuration profile named OpenRouterWatch at 1:46
  2. 8

    Paste your API key and pick a model

    Choose the provider type, paste its API key and select a model. For DeepSeek direct, follow kilo.ai/docs/ai-providers/deepseek: set the base URL to https://api.deepseek.com and pick deepseek-flash for everyday coding or deepseek-v4-pro for heavy reasoning. Keys are stored securely in VS Code's SecretStorage.

    Kilo Code provider profile switched to OpenRouter with an empty API key raising the You must provide a valid API key warning next to the custom base URL option
    Provider type, API key and model — the same three fields DeepSeek's official Kilo guide fills inWatch at 1:52

4 · Migrate from Roo Code

  1. 9

    Rename Roo's workspace files (per repo)

    The migration wizard does not read Roo-prefixed files, so port them first with the commands from Kilo's migration guide: .roorules → AGENTS.md, .roo/rules/* → .kilo/rules/, .roomodes → .kilocodemodes, .roo/mcp.json → .kilocode/mcp.json, .rooignore → .kilocodeignore. Back up Roo's globalStorage folder before you start.

    VS Code terminal running the porting commands that copy .roorules to AGENTS.md, .roomodes to .kilocodemodes and .roo/mcp.json to .kilocode/mcp.json
    The official porting script: five copy and rename commands per repositoryWatch at 0:34
  2. 10

    Write a minimal kilo.jsonc

    kilo.jsonc replaces Roo's tool groups with explicit permissions — everything is allow, ask or deny, with optional path patterns. Copy the minimal example from the migration guide, set your model, and list your rules files under instructions.

    kilo.jsonc open in VS Code with a model entry and allow or ask permissions that replace Roo Code tool groups after migration
    kilo.jsonc: model choice plus read, edit and bash permissions per actionWatch at 1:10
  3. 11

    Validate with kilo config check

    Run kilo config check in the terminal to confirm the migrated config parses and every referenced file exists. On first launch, the extension's migration wizard also converts legacy files automatically — .kilocodemodes become proper agent markdown files, and .kilo/rules are preserved as a fallback.

    VS Code terminal validating the migrated Kilo Code setup with the kilo config check command beside the repository file tree
    One command confirms the migrated configuration is validWatch at 1:15
  4. 12

    Verify, then disable Roo (don't uninstall)

    Open a repo, pick the Code agent, and ask it to list the custom agents and rules it loaded — the answer should name your migrated agents, rules, model and permissions. When everything checks out, disable Roo in the extensions panel and keep it for about a week as a fallback before removing it.

    Kilo Code answering a list the custom agents and rules request with the agents, style rules, model and permissions it loaded from the migrated config
    The verification answer lists every agent, rule, model and permission Kilo loadedWatch at 1:36

Kilo Code vs Roo Code at a glance

DimensionKilo CodeRoo Code
StatusActive — the official migration path for Roo usersShutdown announced April 21, 2026; extension offline since May 15, 2026
LineageFork of Roo Code (which itself forked Cline), continued by an independent companyFork of Cline; the original team moved on to Roomote
Current extensionRebuilt on the OpenCode server — GA April 2, 2026 — plus JetBrains, CLI and cloud companionsLegacy v5.x line frozen at the shutdown; GitHub repo archived read-only
Migration pathRename-and-wizard flow, kilo.jsonc permissions, provider re-authentication requiredNone — workspace files stay in .roo paths; billing questions go to billing@roocode.com

Kilo Code FAQ

Related guides