Skip to main content
Kilo Code CLI
$ cat ./kilo-code-cli.md

Kilo Code CLI

Kilo Code CLI is a powerful command-line interface tool designed to streamline code analysis, project management, and development workflows. It provides developers with essential features including code metrics calculation, project structure analysis, dependency tracking, and automated code quality assessments. The tool offers seamless integration with existing development environments, enabling rapid project insights through comprehensive reporting and visualization capabilities. Key benefits include accelerated code reviews, improved maintainability tracking, and enhanced team collaboration through standardized project analysis. Ideal for software teams, DevOps engineers, and individual developers seeking efficient project monitoring and code base optimization across multiple programming languages and frameworks.

28,132 stars 3,398 forks TypeScript MIT License
Kilo-Org 1975 Jan 2, 2026
Login with GitHub to like and favorite this CLI tool
$ git release --latest

Latest Releases

All releases

VS Code
7.8.32
#### Patch Changes
  • [#14982](https://github.com/Kilo-Org/kilocode/pull/14982) [fe67f44](https://github.com/Kilo-Org/kilocode/commit/fe67f4478855977eeabd06b33c9f80c9b25b34a7) Thanks [@ykakade](https://github.com/ykakade)! - Prevent held keys and repeated close commands from confirming worktree deletion in Agent Manager. Use the Delete confirmation button or a separate Backspace or Delete press to confirm.

7.8.31
#### Minor Changes
  • [#16342](https://github.com/Kilo-Org/kilocode/pull/16342) [182a5f9](https://github.com/Kilo-Org/kilocode/commit/182a5f9f501d4d2bff2b5a4372d6f06065cf9904) - Change the Kilo telemetry preference from VS Code's About tab or the core telemetry API. Telemetry stays off if Kilo config, VS Code, or the environment disables it.

7.8.30
#### Minor Changes
  • [#16080](https://github.com/Kilo-Org/kilocode/pull/16080) [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121) - Retire the Mercury Edit 2 autocomplete models and Next Edit. Codestral is now the default autocomplete model, and saved Mercury or Inception selections use Codestral. The SDK no longer has client.kilo.edit, and @kilocode/kilo-gateway no longer exports ./edit or ./edit-prompt.

#### Patch Changes
  • Updated dependencies [[37b2900](https://github.com/Kilo-Org/kilocode/commit/37b2900fcb6223fec33c2bd5f59263e93682c670), [8a762f8](https://github.com/Kilo-Org/kilocode/commit/8a762f8487734a5db566cbd8938f84dec9076379), [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121)]:
- @kilocode/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @opencode-ai/[email protected] - @opencode-ai/[email protected] - @kilocode/[email protected]
CLI
7.8.31
#### Minor Changes
  • [#16342](https://github.com/Kilo-Org/kilocode/pull/16342) [182a5f9](https://github.com/Kilo-Org/kilocode/commit/182a5f9f501d4d2bff2b5a4372d6f06065cf9904) - Change the Kilo telemetry preference from VS Code's About tab or the core telemetry API. Telemetry stays off if Kilo config, VS Code, or the environment disables it.

#### Patch Changes
  • [#16346](https://github.com/Kilo-Org/kilocode/pull/16346) [f35ba50](https://github.com/Kilo-Org/kilocode/commit/f35ba505e8b232012b02ab52952d8a195c89d7a6) Thanks [@rgbkrk](https://github.com/rgbkrk)! - Fix Gemini requests failing when an MCP tool declares a nullable enum or a multi-type parameter.

7.8.30
#### Minor Changes
  • [#16198](https://github.com/Kilo-Org/kilocode/pull/16198) [37b2900](https://github.com/Kilo-Org/kilocode/commit/37b2900fcb6223fec33c2bd5f59263e93682c670) - Expose hosted workspace change snapshots, revision-fenced per-file reads, explicit refresh, and verified linked-pull-request diffs through Session Host and the generated SDK.

  • [#16184](https://github.com/Kilo-Org/kilocode/pull/16184) [8a762f8](https://github.com/Kilo-Org/kilocode/commit/8a762f8487734a5db566cbd8938f84dec9076379) - Expose hosted workspace pull request summaries and explicit refresh through Session Host, preserving partial observations and distinct authorization, connectivity, and rate-limit states.

  • [#16080](https://github.com/Kilo-Org/kilocode/pull/16080) [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121) - Retire the Mercury Edit 2 autocomplete models and Next Edit. Codestral is now the default autocomplete model, and saved Mercury or Inception selections use Codestral. The SDK no longer has client.kilo.edit, and @kilocode/kilo-gateway no longer exports ./edit or ./edit-prompt.

#### Patch Changes
  • [#15988](https://github.com/Kilo-Org/kilocode/pull/15988) [b69e4d6](https://github.com/Kilo-Org/kilocode/commit/b69e4d64e78d2c1ad18c5273a6f9f482d86adf37) - Fix Cloud Agent CLI authentication by exchanging login credentials for a Cloud Agent control token.

  • [#16210](https://github.com/Kilo-Org/kilocode/pull/16210) [41b8ffa](https://github.com/Kilo-Org/kilocode/commit/41b8ffae4f32b2f84b44b5fa6c2c7c9f8e9fddec) Thanks [@WebReflection](https://github.com/WebReflection)! - Update hono to 4.13.18 and @hono/node-server to 2.1.7 to fix security issues flagged by Dependabot alerts.

  • [#15599](https://github.com/Kilo-Org/kilocode/pull/15599) [c153a86](https://github.com/Kilo-Org/kilocode/commit/c153a86705ad856843960f1339c5b973e56f56ce) - Create local and Cloud tasks from a unified Add menu in the JetBrains Agent Manager. Group Cloud workspaces, open them in the correct organization in your browser, close and reopen sessions, and delete whole workspaces with progress and retry. Allow Cloud workspaces without a profile, preselect and mark personal and organization default profiles, switch back to the default profile, show a standard border around the dialog prompt, and create a Cloud workspace with an empty prompt. Show submitted prompts immediately, show preparation progress while a Cloud workspace starts, wait for preparation to finish before loading chat history, and keep Cloud-generated session titles in sync in both the session header and the workspace list. Keep newly created Cloud workspaces visible while discovery catches up, and remove deleted ones immediately. Report setup failures with command output and retry even when chat history is unavailable, and show Cloud load failures in plain language with Retry for transient errors instead of Dismiss for permanent errors.

  • [#16098](https://github.com/Kilo-Org/kilocode/pull/16098) [b11ecb4](https://github.com/Kilo-Org/kilocode/commit/b11ecb4d7191585fe5059bcf03b43b06e34542ec) - Show what Kilo Gateway charged as the session cost, and the provider's inference cost only for requests that use your own API key.

  • [#16212](https://github.com/Kilo-Org/kilocode/pull/16212) [83e2ae6](https://github.com/Kilo-Org/kilocode/commit/83e2ae62ca5e69d986435f9a9ec2cd30b27d5203) Thanks [@WebReflection](https://github.com/WebReflection)! - Update node-forge to 1.4.3 to fix security issues flagged by Dependabot alerts.

  • [#15987](https://github.com/Kilo-Org/kilocode/pull/15987) [2cf9750](https://github.com/Kilo-Org/kilocode/commit/2cf9750397fe6c95d41378eecbca4bc527b0d405) - Keep questions open while background tasks finish so answers are not dismissed while typing.

  • Updated dependencies [[37b2900](https://github.com/Kilo-Org/kilocode/commit/37b2900fcb6223fec33c2bd5f59263e93682c670), [8a762f8](https://github.com/Kilo-Org/kilocode/commit/8a762f8487734a5db566cbd8938f84dec9076379), [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121)]:
- @kilocode/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @opencode-ai/[email protected] - @opencode-ai/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @opencode-ai/[email protected]
7.8.28
#### Minor Changes
  • [#15929](https://github.com/Kilo-Org/kilocode/pull/15929) [f15aff8](https://github.com/Kilo-Org/kilocode/commit/f15aff8f3d186e3ed459775d0b164bed7782e320) - Expose hosted workspace profile defaults through the Session Host API. Clients can create an empty hosted workspace without an initial prompt or profile, list personal and organization profiles with their default flags, and set or clear the personal default profile.

#### Patch Changes
  • [#15921](https://github.com/Kilo-Org/kilocode/pull/15921) [8116541](https://github.com/Kilo-Org/kilocode/commit/8116541a9b71fc855ee199a9d6f8e044ad6e32bb) Thanks [@zfralish](https://github.com/zfralish)! - Skip plugin tools whose arguments cannot be converted to JSON Schema instead of failing every prompt in the session

Added
  • Added native Cloud workspace diffs, so Cloud sessions can show their changes in the IDE diff viewer.
  • Agent Manager now shows pull request status for Cloud workspaces.
  • Added a core telemetry level API so the plugin reports telemetry at the level configured in Kilo Core.
  • Bundled Kilo Core CLI provides the new core telemetry level API.

Fixed
  • Fixed reused worktrees inheriting old history from previous sessions.
  • Fixed Cloud sessions not recovering and reloading after reconnect.
  • Fixed collapsed Agent Manager sections expanding again after a refresh.
  • Fixed the dictation button not showing its recording indicator.
  • Fixed Gemini type arrays leaving sibling keywords on anyOf in generated tool schemas.

Changed
  • Bundled Kilo Core CLI updated to 7.8.31.

VS Code
Minor Changes
  • [#16342](https://github.com/Kilo-Org/kilocode/pull/16342) [182a5f9](https://github.com/Kilo-Org/kilocode/commit/182a5f9f501d4d2bff2b5a4372d6f06065cf9904) - Change the Kilo telemetry preference from VS Code's About tab or the core telemetry API. Telemetry stays off if Kilo config, VS Code, or the environment disables it.

CLI
Minor Changes
  • [#16342](https://github.com/Kilo-Org/kilocode/pull/16342) [182a5f9](https://github.com/Kilo-Org/kilocode/commit/182a5f9f501d4d2bff2b5a4372d6f06065cf9904) - Change the Kilo telemetry preference from VS Code's About tab or the core telemetry API. Telemetry stays off if Kilo config, VS Code, or the environment disables it.

Patch Changes
  • [#16346](https://github.com/Kilo-Org/kilocode/pull/16346) [f35ba50](https://github.com/Kilo-Org/kilocode/commit/f35ba505e8b232012b02ab52952d8a195c89d7a6) Thanks [@rgbkrk](https://github.com/rgbkrk)! - Fix Gemini requests failing when an MCP tool declares a nullable enum or a multi-type parameter.

Added
  • Cloud sessions now show status for the pull request linked to a hosted workspace, keeping partial or temporarily unavailable results distinct from having no pull request.
  • Cloud sessions can review workspace changes: committed, uncommitted, and pull-request-published diffs are shown separately, with revision-checked file reads, an explicit refresh, and verified linked pull request patches in the native diff editor.

Changed
  • Bundled Kilo Core CLI updated to 7.8.30.
  • Markdown rendering libraries updated to 0.32.0.

VS Code
Minor Changes
  • [#16080](https://github.com/Kilo-Org/kilocode/pull/16080) [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121) - Retire the Mercury Edit 2 autocomplete models and Next Edit. Codestral is now the default autocomplete model, and saved Mercury or Inception selections use Codestral. The SDK no longer has client.kilo.edit, and @kilocode/kilo-gateway no longer exports ./edit or ./edit-prompt.

Patch Changes
  • Updated dependencies [[37b2900](https://github.com/Kilo-Org/kilocode/commit/37b2900fcb6223fec33c2bd5f59263e93682c670), [8a762f8](https://github.com/Kilo-Org/kilocode/commit/8a762f8487734a5db566cbd8938f84dec9076379), [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121)]:
- @kilocode/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @opencode-ai/[email protected] - @opencode-ai/[email protected] - @kilocode/[email protected]
CLI
Minor Changes
  • [#16198](https://github.com/Kilo-Org/kilocode/pull/16198) [37b2900](https://github.com/Kilo-Org/kilocode/commit/37b2900fcb6223fec33c2bd5f59263e93682c670) - Expose hosted workspace change snapshots, revision-fenced per-file reads, explicit refresh, and verified linked-pull-request diffs through Session Host and the generated SDK.

  • [#16184](https://github.com/Kilo-Org/kilocode/pull/16184) [8a762f8](https://github.com/Kilo-Org/kilocode/commit/8a762f8487734a5db566cbd8938f84dec9076379) - Expose hosted workspace pull request summaries and explicit refresh through Session Host, preserving partial observations and distinct authorization, connectivity, and rate-limit states.

  • [#16080](https://github.com/Kilo-Org/kilocode/pull/16080) [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121) - Retire the Mercury Edit 2 autocomplete models and Next Edit. Codestral is now the default autocomplete model, and saved Mercury or Inception selections use Codestral. The SDK no longer has client.kilo.edit, and @kilocode/kilo-gateway no longer exports ./edit or ./edit-prompt.

Patch Changes
  • [#15988](https://github.com/Kilo-Org/kilocode/pull/15988) [b69e4d6](https://github.com/Kilo-Org/kilocode/commit/b69e4d64e78d2c1ad18c5273a6f9f482d86adf37) - Fix Cloud Agent CLI authentication by exchanging login credentials for a Cloud Agent control token.

  • [#16210](https://github.com/Kilo-Org/kilocode/pull/16210) [41b8ffa](https://github.com/Kilo-Org/kilocode/commit/41b8ffae4f32b2f84b44b5fa6c2c7c9f8e9fddec) Thanks [@WebReflection](https://github.com/WebReflection)! - Update hono to 4.13.18 and @hono/node-server to 2.1.7 to fix security issues flagged by Dependabot alerts.

  • [#15599](https://github.com/Kilo-Org/kilocode/pull/15599) [c153a86](https://github.com/Kilo-Org/kilocode/commit/c153a86705ad856843960f1339c5b973e56f56ce) - Create local and Cloud tasks from a unified Add menu in the JetBrains Agent Manager. Group Cloud workspaces, open them in the correct organization in your browser, close and reopen sessions, and delete whole workspaces with progress and retry. Allow Cloud workspaces without a profile, preselect and mark personal and organization default profiles, switch back to the default profile, show a standard border around the dialog prompt, and create a Cloud workspace with an empty prompt. Show submitted prompts immediately, show preparation progress while a Cloud workspace starts, wait for preparation to finish before loading chat history, and keep Cloud-generated session titles in sync in both the session header and the workspace list. Keep newly created Cloud workspaces visible while discovery catches up, and remove deleted ones immediately. Report setup failures with command output and retry even when chat history is unavailable, and show Cloud load failures in plain language with Retry for transient errors instead of Dismiss for permanent errors.

  • [#16098](https://github.com/Kilo-Org/kilocode/pull/16098) [b11ecb4](https://github.com/Kilo-Org/kilocode/commit/b11ecb4d7191585fe5059bcf03b43b06e34542ec) - Show what Kilo Gateway charged as the session cost, and the provider's inference cost only for requests that use your own API key.

  • [#16212](https://github.com/Kilo-Org/kilocode/pull/16212) [83e2ae6](https://github.com/Kilo-Org/kilocode/commit/83e2ae62ca5e69d986435f9a9ec2cd30b27d5203) Thanks [@WebReflection](https://github.com/WebReflection)! - Update node-forge to 1.4.3 to fix security issues flagged by Dependabot alerts.

  • [#15987](https://github.com/Kilo-Org/kilocode/pull/15987) [2cf9750](https://github.com/Kilo-Org/kilocode/commit/2cf9750397fe6c95d41378eecbca4bc527b0d405) - Keep questions open while background tasks finish so answers are not dismissed while typing.

  • Updated dependencies [[37b2900](https://github.com/Kilo-Org/kilocode/commit/37b2900fcb6223fec33c2bd5f59263e93682c670), [8a762f8](https://github.com/Kilo-Org/kilocode/commit/8a762f8487734a5db566cbd8938f84dec9076379), [54de37a](https://github.com/Kilo-Org/kilocode/commit/54de37a85dfef8feb828382d8a71f84139857121)]:
- @kilocode/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @opencode-ai/[email protected] - @opencode-ai/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @kilocode/[email protected] - @opencode-ai/[email protected]

Installation

npm install -g @kilocode/cli
$ tail ./comments.log

Comments (0)

Login with GitHub to post a comment
No comments yet. Be the first to comment!