Kilo Code

Kilo Code is an open-source AI coding tool and agent harness developed by Kilo-Org. Designed to streamline multi-file software engineering tasks, it integrates agentic execution directly into developer environments with terminal-level task handling, Git worktree orchestration, and IDE integration. In practical workflows, Kilo Code executes coding instructions across project repositories by coordinating shell environments via PTY sessions and inspecting directory trees. It supports integration with IDE extensions including JetBrains and VS Code alongside terminal execution, allowing developers to manage task state, execute commands, inspect transcripts, and switch contexts across remote environments like WSL and Dev Containers. What differentiates Kilo Code is its deep integration with IDE and Git workflows, featuring native worktree management (such as launching sessions from specific branches or pull requests), extensible agent skills, and robust terminal session bridging. Rather than restricting developers to standalone CLI silos, it bridges local and remote development setups with structured session state management. Kilo Code is open-source software distributed via GitHub with an active commit history and community ecosystem. It accommodates standard AI model backends and custom configurations for multi-step agent execution.

Tags: ai agent, cli, code assistant, coding agent, developer tools, OpenSource

Visit Kilo Code

Key features

  • IDE and Terminal Integration — Supports direct execution and session monitoring within terminal interfaces, JetBrains IDEs, and VS Code environments. - Git Worktree Orchestration — Features built-in workflows for spinning up sessions from isolated Git branches and pull requests. - PTY Session Handling — Manages automated shell commands and interactive execution loops through integrated pseudo-terminal bridges. - Extensible Skills Architecture — Supports modular skill definitions for automated testing, visual regression, and custom domain tasks. - WSL and Dev Container Awareness — Detects workspace environments and assists with routing sessions through local filesystems or remote gateways.

Use cases

Use Case: Git Worktree Task Isolation A developer needs to test an experimental feature or pull request without dirtying their main branch. Kilo Code initializes an isolated worktree directly from the PR or target branch, executes changes, and validates them independently.

Use Case: Cross-Environment Development A developer working inside WSL or containerized workspaces requires agentic task execution. Kilo Code identifies virtual environment boundaries and manages session transcript lifecycles across local systems and JetBrains Gateway environments.

Use Case: Automated Skill-Based Testing A team automates repetitive visual and functional regression checks. Using Kilo Code's skill system, the agent executes target CLI verification scripts and terminal commands directly inside the project runtime.

Who it is for

Kilo Code is built for full-stack and backend software engineers who work across complex Git workflows, JetBrains IDEs, VS Code, and terminal environments. It is ideal for developers seeking deep IDE and container-aware agent tooling rather than bare-bones single-file prompt interfaces.

Install guide

Installation To clone and build Kilo Code from source: bash git clone https://github.com/Kilo-Org/kilocode.git cd kilocode npm install npm run build (Note: Check the repository releases page for pre-packaged CLI binaries and IDE plugin bundles.)

First Run Configure your environment and API credentials in your shell configuration or .kilo workspace file: bash export OPENAI_API_KEY="your-api-key" # or set up your preferred provider endpoint in ~/.kilo/config kilocode --version

Example Session Start an interactive agent session to inspect and refactor a module in a Git repository: bash kilocode run "Analyze the auth middleware and add rate limiting unit tests"

Part of CLI Coding Agents

Categories: AI Coding Agents, Code Assistants, Developer Tools

Related CLI agents

  • Plandex — Plandex is an open-source terminal-based AI coding agent designed to handle complex, multi-file engineering tasks in large codebases. Created by…
  • OpenCode — OpenCode is an open-source AI coding agent developed by Anomaly that operates across terminal environments, desktop applications, and IDE extensions.…
  • OpenHands — OpenHands (formerly OpenDevin) is an open-source autonomous AI software development agent and orchestration platform. It provides an extensible runtime environment…
  • Subtask — Subtask is an open-source CLI agent harness and orchestration tool developed by zippoxer in Go. It is built to coordinate…
  • EchoCoding — EchoCoding is an open-source agent harness and audio-augmented developer tooling layer created by launsion-boop. Designed to run alongside AI coding…
  • pi-reflect — pi-reflect is an open-source agent harness and self-improvement extension for pi coding agents, developed by jo-inc. It inspects agent session…
  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories