Kilo Code Tutorial: Agentic Engineering from IDE and CLI Surfaces

June 15, 2026 ยท View on GitHub

Learn how to use Kilo-Org/kilocode for high-throughput coding workflows with multi-mode operation, agent-loop controls, and extensible CLI/IDE integration.

GitHub Repo License Release

Why This Track Matters

Kilo is one of the fastest-growing coding-agent stacks and combines IDE-centric workflows with a CLI architecture designed for agent orchestration and extension.

This track focuses on:

  • installation and first-run operational baseline
  • agent loop state handling and user-interaction checkpoints
  • mode, onboarding, and provider selection
  • extensibility and contributor architecture patterns

Current Snapshot (auto-updated)

  • repository: Kilo-Org/kilocode
  • stars: about 20.1k
  • GitHub release reference: v7.3.46 (checked 2026-06-15; release metadata on GitHub)

Mental Model

flowchart LR
    A[Task Prompt] --> B[Kilo Agent Loop]
    B --> C[Tool Calls and Ask Flow]
    C --> D[Approval or Auto Mode]
    D --> E[Execution and State Updates]
    E --> F[Session Persistence]

Chapter Guide

ChapterKey QuestionOutcome
01 - Getting StartedHow do I install and run Kilo quickly?Working baseline
02 - Agent Loop and State ModelHow does Kilo track running/streaming/waiting states?Strong runtime mental model
03 - Modes, Prompts, and Approval WorkflowHow do execution modes and ask handling influence reliability?Better execution control
04 - Authentication and Provider RoutingHow do login and provider settings affect operation?Stable onboarding path
05 - Session, History, and Context PersistenceHow does Kilo persist and restore CLI context?Durable workflow continuity
06 - Extensions, MCP, and Custom ModesHow do I extend Kilo capabilities safely?Extensibility strategy
07 - CLI/TUI Architecture for ContributorsWhat are the key architecture components for advanced customization?Contributor-level understanding
08 - Production Operations and GovernanceHow should teams standardize Kilo usage at scale?Governance baseline

What You Will Learn

  • how to run Kilo across interactive and automated workflows
  • how to reason about loop state and ask/approval transitions
  • how to configure onboarding/auth/provider behavior for teams
  • how to extend and operate Kilo in production environments

Source References


Start with Chapter 1: Getting Started.

Full Chapter Map

  1. Chapter 1: Getting Started
  2. Chapter 2: Agent Loop and State Model
  3. Chapter 3: Modes, Prompts, and Approval Workflow
  4. Chapter 4: Authentication and Provider Routing
  5. Chapter 5: Session, History, and Context Persistence
  6. Chapter 6: Extensions, MCP, and Custom Modes
  7. Chapter 7: CLI/TUI Architecture for Contributors
  8. Chapter 8: Production Operations and Governance

Generated by AI Codebase Knowledge Builder