packages/kilo-docs/pages/ai-providers/bedrock.md
Kilo Code supports accessing models through Amazon Bedrock, a fully managed service that makes a selection of high-performing foundation models (FMs) from leading AI companies available via a single API. This provider connects directly to AWS Bedrock and authenticates with the provided credentials.
Website: https://aws.amazon.com/bedrock/
aws configure
You have three options for configuring AWS credentials:
bedrock:InvokeModel).{% tabs %} {% tab label="VSCode" %}
Open Settings (gear icon) and go to the Providers tab to add AWS Bedrock. The extension uses the AWS credentials chain for authentication — configure your AWS credentials using the AWS CLI or environment variables before adding the provider.
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" %}
Bedrock uses the AWS credentials chain for authentication. Configure your AWS credentials using the AWS CLI or environment variables:
Environment variables:
export AWS_ACCESS_KEY_ID="your-access-key"
export AWS_SECRET_ACCESS_KEY="your-secret-key"
export AWS_REGION="us-east-1"
Or use an AWS profile:
aws configure --profile bedrock
Config file (~/.config/kilo/kilo.json or ./kilo.json):
{
"provider": {
"amazon-bedrock": {},
},
}
Then set your default model:
{
"model": "amazon-bedrock/anthropic.claude-sonnet-4-20250514-v1:0",
}
{% /tab %} {% /tabs %}
bedrock:InvokeModel permission is required.