工具简介
Kilo Code 是开源的 AI 编程 扩展插件,集成于 VS Code 等IDE,通过自然语言交互加速开发流程。Kilo Code将先进的 AI 模型与IDE深度融合,开发者能用简单的文字描述来完成复杂的编程任务,从代码生成到项目管理都能轻松实现。
如何使用
- 访问 kilo.ai 完成注册,先阅读快速开始文档
- 建立测试项目,按示例跑通第一个用例
- 根据实际需求调整参数与调用方式
- 确认稳定后接入生产流程,并做好错误处理与限流
查看官网原文(英文)
以下为收录时的原文,语言与页面不同,未做翻译。
官网介绍
Kilo is the open source AI coding agent for VS Code, JetBrains, CLI, and Cloud. Access 500+ models, bring your own keys at zero markup, and keep code private with local models.
官方常见问题
- What is Kilo Code?
- Kilo Code is an open source AI coding agent that runs inside VS Code, JetBrains IDEs, and your terminal. It writes, debugs, refactors, and reviews code, automates multi-step tasks across your repo, and gives you direct access to 500+ AI models — including Claude, GPT, Gemini, DeepSeek, and local models via Ollama or LM Studio. Unlike closed alternatives, every prompt is visible, the source is MIT
- Is Kilo Code free?
- Yes. The VS Code extension, JetBrains plugin, and CLI are free to install and open source under the MIT license. You can use Kilo with free models, bring your own API keys at zero markup, or top up pay-as-you-go credits that work across every surface — IDE, CLI, and Cloud Agents. There is no mandatory subscription and no fixed seat price for individual developers.
- How do I install Kilo Code?
- Install the Kilo extension from the VS Code Marketplace, the JetBrains Marketplace, or install the CLI with a single command. Sign in once with your Kilo account to sync settings and credits across every surface. You can also start from kilo.ai/get-started, which walks you through picking your editor and the first run.
- What IDEs and platforms does Kilo support?
- Kilo Code runs in VS Code and every VS Code-based editor (including Cursor forks and Windsurf), in all JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, GoLand, Rider, RubyMine, CLion, and more), and as a standalone CLI in any terminal. It also powers Cloud Agents in the browser, and ships a native Slack integration for team workflows.
- Which AI models does Kilo Code support?
- Kilo gives you access to 500+ AI models through one unified interface, including Claude Sonnet 5, Claude Opus 4.8, GPT-5.5, Gemini 3.1 Pro Preview, DeepSeek, Mistral, xAI Grok, Qwen, Llama, and more via Kilo Gateway. You can also bring your own API keys for any provider, or run fully local models through Ollama or LM Studio when you need to keep code on your machine.
- How does pricing work and can I bring my own API key?
- Kilo Code charges zero markup on AI token usage. You can bring your own API keys for OpenAI, Anthropic, Google, Groq, and any OpenAI-compatible provider, and pay those providers directly at list prices. If you prefer a single bill, top up the Kilo gateway balance pay-as-you-go and pay the same provider rate. Kilo Pass subscribers get bonus credits on top of what they pay.
编程与调试 · 常用提示词
下面这些都能直接复制,把里面的变量换成你自己的情况就能用。
- 慢查询拆解:从执行计划到索引,一步步收敛给出一条慢 SQL 和表结构,产出可验证的优化路径,而不是「加个索引试试」。
- Monorepo 规划:先决定「拆不拆」,再决定怎么拆给出现有仓库结构,判断是否值得上 monorepo,以及包边界怎么划。
- CI/CD 流水线:把「能跑」变成「跑得对」从 lint/test/build/deploy 四段设计流水线,含缓存、并行、失败即停的取舍。
同类工具怎么选
下面是同一类目下已经写好的对比与替代清单。读完这个工具能做什么,接着看它和谁比、有没有更顺手的方案。
AI 编程工具类工具的对比
- CodeGeeX、GitHub Copilot的对比CodeGeeX 和 GitHub Copilot 对比:免费额度、中文注释、补全质量、国内可用性、团队采购,附一句话选型结论。
- MarsCode、GitHub Copilot的对比MarsCode 和 GitHub Copilot 对比:上手门槛、在线 IDE、补全质量、国内可用性、长期稳定性,附适用场景。
- 通义灵码、Cursor的对比通义灵码和 Cursor 的横向对比:IDE 形态、跨文件重构、国内可用性、企业合规、成本,附选型结论。
编程开发类工具的国内替代
- Amazon Q Developer 国内替代Amazon Q Developer 强在和 AWS 生态绑定:查文档、改配置、迁移版本都能在控制台里完成。不上 AWS 的团队用它价值有限。这份清单给出国内云与本地开发场景的对应选择。
- Lovable 国内替代Lovable 用对话直接产出可部署的前端应用。国内同类工具已经能接住大部分原型需求,差别在「生成之后能不能改」和「能不能接自己的后端」。这份清单按落地深度排序。
- Cline 国内替代Cline 是开源的 VS Code 编程 Agent,自己填 API Key、自己承担调用成本。国内有同形态的工具,但多数是托管服务。这份清单说清「开源自托管」与「开箱即用」各自适合谁。
对比结论与替代建议为编辑整理,价格与额度以各工具官网为准。
