From e3d995598510d0f31102922a9331db73877422f3 Mon Sep 17 00:00:00 2001 From: Kevin van Dijk Date: Tue, 19 Aug 2025 15:42:33 +0200 Subject: [PATCH 1/2] Add warning about anthropic api key usage --- docs/providers/claude-code.md | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/docs/providers/claude-code.md b/docs/providers/claude-code.md index ac118ba..5024364 100644 --- a/docs/providers/claude-code.md +++ b/docs/providers/claude-code.md @@ -14,12 +14,20 @@ Claude Code is Anthropic's official CLI that provides direct access to Claude mo 2. **Authenticate:** Run `claude` in your terminal. Claude Code offers multiple authentication options including the Anthropic Console (default), Claude App with Pro/Max plans, and enterprise platforms like Amazon Bedrock or Google Vertex AI. See [Anthropic's authentication documentation](https://docs.anthropic.com/en/docs/claude-code/setup) for complete details. 3. **Verify Installation:** Test that everything works by running `claude --version` in your terminal. +:::warning Environment Variable Usage +The `claude` command-line tool, like other Anthropic SDKs, can use the `ANTHROPIC_API_KEY` environment variable for authentication. This is a common method for authorizing CLI tools in non-interactive environments. + +If this environment variable is set on your system, the `claude` tool may use it for authentication instead of the interactive `/login` method. When Kilo Code executes the tool, it will accurately reflect that an API key is being used, as this is the underlying behavior of the `claude` CLI itself. +::: + +**Website:** [https://docs.anthropic.com/en/docs/claude-code/setup](https://docs.anthropic.com/en/docs/claude-code/setup) + ## Supported Models Kilo Code supports the following Claude models through Claude Code: -* `claude-sonnet-4` (Recommended) -* `claude-4-opus` +- `claude-sonnet-4` (Recommended) +- `claude-4-opus` The specific models available depend on your Claude subscription and plan. See [Anthropic's Model Documentation](https://docs.anthropic.com/en/docs/about-claude/models) for more details on each model's capabilities. @@ -32,16 +40,16 @@ The specific models available depend on your Claude subscription and plan. See [ ## Tips and Notes -* **No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys. -* **Cost Transparency:** Usage costs are reported directly by the Claude CLI, giving you clear visibility into your spending. -* **Advanced Reasoning:** Full support for Claude's thinking modes and reasoning capabilities when available. -* **Context Windows:** Claude models have large context windows, allowing you to include significant amounts of code and context in your prompts. -* **Enhance Prompt Feature:** Full compatibility with Kilo Code's Enhance Prompt feature, allowing you to automatically improve and refine your prompts before sending them to Claude. -* **Custom Paths:** If you installed Claude Code in a non-standard location, you can specify the full path in the settings. Examples: - * Windows: `C:\tools\claude\claude.exe` - * macOS/Linux: `/usr/local/bin/claude` or `~/bin/claude` +- **No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys. +- **Cost Transparency:** Usage costs are reported directly by the Claude CLI, giving you clear visibility into your spending. +- **Advanced Reasoning:** Full support for Claude's thinking modes and reasoning capabilities when available. +- **Context Windows:** Claude models have large context windows, allowing you to include significant amounts of code and context in your prompts. +- **Enhance Prompt Feature:** Full compatibility with Kilo Code's Enhance Prompt feature, allowing you to automatically improve and refine your prompts before sending them to Claude. +- **Custom Paths:** If you installed Claude Code in a non-standard location, you can specify the full path in the settings. Examples: + - Windows: `C:\tools\claude\claude.exe` + - macOS/Linux: `/usr/local/bin/claude` or `~/bin/claude` ## Troubleshooting -* **"Claude Code process exited with error":** Verify Claude Code is installed (`claude --version`) and authenticated (`claude auth login`). Make sure your subscription includes the selected model. -* **Custom path not working:** Use the full absolute path to the Claude executable and verify the file exists and is executable. On Windows, include the `.exe` extension. +- **"Claude Code process exited with error":** Verify Claude Code is installed (`claude --version`) and authenticated (`claude auth login`). Make sure your subscription includes the selected model. +- **Custom path not working:** Use the full absolute path to the Claude executable and verify the file exists and is executable. On Windows, include the `.exe` extension. From ed4b572e512f5d6e9aec4a0837f5ba9e6b381e77 Mon Sep 17 00:00:00 2001 From: Kevin van Dijk Date: Tue, 19 Aug 2025 16:11:46 +0200 Subject: [PATCH 2/2] Update supported claude code models --- docs/providers/claude-code.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/providers/claude-code.md b/docs/providers/claude-code.md index 5024364..69debe6 100644 --- a/docs/providers/claude-code.md +++ b/docs/providers/claude-code.md @@ -26,8 +26,12 @@ If this environment variable is set on your system, the `claude` tool may use it Kilo Code supports the following Claude models through Claude Code: -- `claude-sonnet-4` (Recommended) -- `claude-4-opus` +- **Claude Opus 4.1** (Most capable) +- **Claude Opus 4** +- **Claude Sonnet 4** (Latest, recommended) +- **Claude 3.7 Sonnet** +- **Claude 3.5 Sonnet** +- **Claude 3.5 Haiku** (Fast responses) The specific models available depend on your Claude subscription and plan. See [Anthropic's Model Documentation](https://docs.anthropic.com/en/docs/about-claude/models) for more details on each model's capabilities.