You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 27, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: docs/providers/claude-code.md
+24-12Lines changed: 24 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,24 @@ Claude Code is Anthropic's official CLI that provides direct access to Claude mo
14
14
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.
15
15
3.**Verify Installation:** Test that everything works by running `claude --version` in your terminal.
16
16
17
+
:::warning Environment Variable Usage
18
+
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.
19
+
20
+
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.
Kilo Code supports the following Claude models through Claude Code:
20
28
21
-
*`claude-sonnet-4` (Recommended)
22
-
*`claude-4-opus`
29
+
-**Claude Opus 4.1** (Most capable)
30
+
-**Claude Opus 4**
31
+
-**Claude Sonnet 4** (Latest, recommended)
32
+
-**Claude 3.7 Sonnet**
33
+
-**Claude 3.5 Sonnet**
34
+
-**Claude 3.5 Haiku** (Fast responses)
23
35
24
36
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.
25
37
@@ -32,16 +44,16 @@ The specific models available depend on your Claude subscription and plan. See [
32
44
33
45
## Tips and Notes
34
46
35
-
***No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys.
36
-
***Cost Transparency:** Usage costs are reported directly by the Claude CLI, giving you clear visibility into your spending.
37
-
***Advanced Reasoning:** Full support for Claude's thinking modes and reasoning capabilities when available.
38
-
***Context Windows:** Claude models have large context windows, allowing you to include significant amounts of code and context in your prompts.
39
-
***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.
40
-
***Custom Paths:** If you installed Claude Code in a non-standard location, you can specify the full path in the settings. Examples:
41
-
* Windows: `C:\tools\claude\claude.exe`
42
-
* macOS/Linux: `/usr/local/bin/claude` or `~/bin/claude`
47
+
-**No API Keys Required:** Claude Code uses your existing CLI authentication, so you don't need to manage separate API keys.
48
+
-**Cost Transparency:** Usage costs are reported directly by the Claude CLI, giving you clear visibility into your spending.
49
+
-**Advanced Reasoning:** Full support for Claude's thinking modes and reasoning capabilities when available.
50
+
-**Context Windows:** Claude models have large context windows, allowing you to include significant amounts of code and context in your prompts.
51
+
-**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.
52
+
-**Custom Paths:** If you installed Claude Code in a non-standard location, you can specify the full path in the settings. Examples:
53
+
- Windows: `C:\tools\claude\claude.exe`
54
+
- macOS/Linux: `/usr/local/bin/claude` or `~/bin/claude`
43
55
44
56
## Troubleshooting
45
57
46
-
***"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.
47
-
***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.
58
+
-**"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.
59
+
-**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.
0 commit comments