kilocode
Kilo is the all-in-one agentic engineering platform. Build, ship, and iterate faster with the most popular open source coding agent.
原始仓库简介 · 中文摘要待补充 · ai / ai-age / ai-coding / ai-developer-tools / chatgpt / claude
README / 项目原文
English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά | Tiếng Việt
The open source coding agent for building with AI in VS Code, JetBrains, or the CLI.
Kilo Code is an AI coding agent that meets you everywhere you work: VS Code, JetBrains, and the CLI. It's open source with open pricing. You pick from 500+ models, switch between them mid-task, and pay the model provider's rate with zero markup. No API keys required to start.
Installation
Pick where you want to run Kilo.
VS Code
Install the Kilo Code extension directly, or grab it from the VS Code Marketplace. Create an account and you'll have access to 500+ models including GPT-6 Astra, Claude Fable 5.1, Gemini 3.8 Flash, Grok 4.6, and DeepSeek V4.1 Flash, all at provider pricing.
CLI
# npm
npm install -g @kilocode/cli
# curl
curl -fsSL https://kilo.ai/cli/install | bash
# pnpm
pnpm add -g @kilocode/cli
# bun
bun add -g @kilocode/cli
# Homebrew (macOS / Linux)
brew install Kilo-Org/tap/kilo
# Arch Linux (AUR)
paru -S kilo-bin
Then run kilo in any project directory to start.
JetBrains
Install the Kilo Code plugin from the JetBrains Marketplace, or search "Kilo Code" in Settings → Plugins inside any JetBrains IDE.
Install the CLI from GitHub Releases (binaries)
Download the latest binary from the Releases page.
| Platform | Asset |
|---|---|
| Windows (most PCs) | kilo-windows-x64.zip |
| macOS (Apple Silicon) | kilo-darwin-arm64.zip |
| macOS (Intel) | kilo-darwin-x64.zip |
| Linux x64 | kilo-linux-x64.tar.gz |
| Linux ARM | kilo-linux-arm64.tar.gz |
Notes: x64-baseline is a compatibility build for older CPUs without AVX. musl is the statically linked build for Alpine or minimal Docker images without glibc. kilo-vscode-*.vsix is the VS Code extension package, not the CLI. Source code archives are for building from source.
Agents
Kilo ships with specialized agents you switch between depending on the task. You can also build your own custom agents.
- Code - The default. Implements and edits code from natural language.
- Plan - Designs architecture and writes implementation plans before any code gets written.
- Ask - Answers questions about your codebase without touching any files.
- Debug - Troubleshoots and traces issues.
Learn more about agents and custom agents.
What it does
- Code generation from natural language, across multiple files.
- Inline autocomplete with ghost-text suggestions and tab to accept.
- Self-checking so the agent reviews and corrects its own work.
- Terminal and browser control to run commands and automate the web.
- Kilo Marketplace to install agents, skills, MCP servers, and plugins that extend what the agent can do.
- 500+ models with mid-task switching, so you can match latency, cost, and reasoning to the job.
Autonomous Mode (CI/CD)
Run kilo run with --auto for fully autonomous operation with no prompts, built for CI/CD pipelines:
kilo run --auto "run tests and fix any failures"
--auto auto-approves permission prompts unless a rule explicitly denies the action. Only use it in trusted environments.
Documentation
For configuration and everything else, head over to the docs.
Contributing
Contributions are welcome from developers, writers, and everyone in between. Start with the Contributing Guide for environment setup, coding standards, and how to open a pull request. See RELEASING.md for the VS Code extension and CLI release process, and packages/kilo-jetbrains/RELEASING.md for the JetBrains plugin.
Please review our Code of Conduct before getting involved.
License
MIT. You're free to use, modify, and distribute this code, including commercially, as long as you keep the attribution and license notices. See License.
FAQ
Where did Kilo CLI come from?
Kilo CLI is a fork of OpenCode, enhanced to work within the Kilo agentic engineering platform.
English | 简体中文 | 繁體中文 | 한국어 | Deutsch | Español | Français | Italiano | Dansk | 日本語 | Polski | Русский | Bosanski | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська | বাংলা | Ελληνικά | Tiếng Việt
用于在 VS Code、JetBrains 或 CLI 中借助 AI 构建的开源编码代理。
Kilo Code 是一个 AI 编码代理,可以在你工作的任何地方使用:VS Code、JetBrains 和 CLI。它是开源的,并采用开放定价。你可以从 500 多个模型中选择,在任务中途切换模型,并按模型提供商的价格付费,没有加价。开始使用无需 API 密钥。
安装
选择你想运行 Kilo 的位置。
VS Code
直接安装 Kilo Code 扩展,或从 VS Code Marketplace 获取。创建账户后,你可以按提供商价格访问 500 多个模型,包括 GPT-5.5、Claude Opus 4.7、Claude Sonnet 4.6 和 Gemini 3.1 Pro Preview。
CLI
# npm
npm install -g @kilocode/cli
# curl
curl -fsSL https://kilo.ai/cli/install | bash
# pnpm
pnpm add -g @kilocode/cli
# bun
bun add -g @kilocode/cli
# Homebrew (macOS / Linux)
brew install Kilo-Org/tap/kilo
# Arch Linux (AUR)
paru -S kilo-bin
然后在任意项目目录中运行 kilo 即可开始。
JetBrains
从 JetBrains Marketplace 安装 Kilo Code 插件,或在任意 JetBrains IDE 的 Settings → Plugins 中搜索 "Kilo Code"。
从 GitHub Releases 安装 CLI(二进制文件)
从 Releases 页面 下载最新二进制文件。
| 平台 | 资源 |
|---|---|
| Windows(大多数 PC) | kilo-windows-x64.zip |
| macOS(Apple Silicon) | kilo-darwin-arm64.zip |
| macOS(Intel) | kilo-darwin-x64.zip |
| Linux x64 | kilo-linux-x64.tar.gz |
| Linux ARM | kilo-linux-arm64.tar.gz |
说明:x64-baseline 是面向不支持 AVX 的旧 CPU 的兼容构建。musl 是面向 Alpine 或无 glibc 的极简 Docker 镜像的静态链接构建。kilo-vscode-*.vsix 是 VS Code 扩展包,不是 CLI。Source code 压缩包用于从源码构建。
Agents
Kilo 内置了可按任务切换的专用 Agents。你也可以构建自己的自定义 Agents。
- Code - 默认模式。根据自然语言实现和编辑代码。
- Plan - 在编写任何代码之前设计架构并编写实现计划。
- Ask - 回答有关代码库的问题,不修改任何文件。
- Debug - 排查并追踪问题。
- Review - 审查你的更改,并从性能、安全、风格和测试覆盖率等方面发现问题。
了解更多关于 agents 和自定义 agents 的信息。
功能
- 代码生成:基于自然语言跨多个文件生成代码。
- 内联自动补全:提供 ghost-text 建议,按 Tab 接受。
- 自检:让代理审查并修正自己的工作。
- 终端和浏览器控制:运行命令并自动化网页操作。
- MCP 市场:查找并连接 MCP 服务器,扩展代理能力。
- 500 多个模型:支持任务中途切换,让你根据延迟、成本和推理能力匹配任务。
自主模式(CI/CD)
使用 --auto 运行 kilo run,可在 CI/CD 流水线中实现无提示的完全自主操作:
kilo run --auto "run tests and fix any failures"
--auto 会禁用所有权限提示,并允许代理在无需确认的情况下执行任何操作。仅在可信环境中使用。
文档
关于配置和其他内容,请查看文档。
贡献
欢迎开发者、写作者以及所有人参与贡献。请先阅读 Contributing Guide,了解环境设置、编码标准以及如何创建 Pull Request。VS Code 扩展和 CLI 的发布流程请参阅 RELEASING.md,JetBrains 插件请参阅 packages/kilo-jetbrains/RELEASING.md。
参与前请阅读我们的 Code of Conduct。
许可证
MIT。你可以使用、修改和分发此代码,包括商业用途,只要保留署名和许可证声明。参见 License。
FAQ
Kilo CLI 从哪里来?
Kilo CLI 是 OpenCode 的一个 fork,并增强为可在 Kilo agentic engineering 平台中使用。