packages/kilo-docs/pages/ai-providers/anthropic.md
Anthropic is an AI safety and research company that builds reliable, interpretable, and steerable AI systems. Their Claude models are known for their strong reasoning abilities, helpfulness, and honesty.
Website: https://www.anthropic.com/
{% tabs %} {% tab label="VSCode (Legacy)" %}
{% /tab %} {% tab label="VSCode" %}
Open Settings (gear icon) and go to the Providers tab to add Anthropic and enter your API key.
The extension stores this in your kilo.json config file. You can also edit the config file directly — see the CLI tab for the file format.
{% /tab %} {% tab label="CLI" %}
Set the API key as an environment variable or configure it in your kilo.json config file:
Environment variable:
export ANTHROPIC_API_KEY="your-api-key"
Config file (~/.config/kilo/kilo.json or ./kilo.json):
{
"provider": {
"anthropic": {
"env": ["ANTHROPIC_API_KEY"],
},
},
}
Then set your default model:
{
"model": "anthropic/claude-sonnet-4-20250514",
}
{% /tab %} {% /tabs %}