在 Kilo Code 中配置 Claude
通过 Claude API Tech 将 Claude 模型接入 Kilo Code。添加自定义 OpenAI 兼容提供商只需几分钟。
开始之前
注册账户并在 Claude API Tech 控制台生成 API 密钥。
获取 API 密钥 →安装 Kilo Code
在 Visual Studio Marketplace 中打开 Kilo Code,点击 Install,并在 VS Code 中确认安装。
Kilo Code: AI Coding Agent, Copilot, and Autocomplete
打开提供商列表
在 VS Code 侧边栏中打开 Kilo Code,点击设置图标并进入 Providers。滚动到底部,选择 Custom provider。
Popular providers
Anthropic
DeepSeek
OpenAI
OpenRouter
Vercel AI Gateway
Custom provider CUSTOM
添加 Claude API Tech
按截图填写提供商表单,然后点击 Submit 保存配置。
Display name
Provider API
Base URL
API key
Optional. Leave empty if you manage auth via headers.
开始使用
选择工作模式,然后在 Kilo Code 中发送第一个任务。
Welcome to Kilo
Choose how you want to work
REVIEW FIRST
Kilo pauses and shows you its plan as it works.
- • Asks before editing files or running commands.
- • Shows full conversation details, including reasoning.
HIGH AUTONOMY
Fewer interruptions, streamlined interface.
- • Edits files and runs commands in the workspace without asking.
- • Details stay collapsed until you expand them.
You can change these options anytime in ⚙ Settings.
New Worktree ⌄
Type a message, @ to mention files... (Enter to send, Shift+Enter for new line)