| title | AWS Bedrock |
|---|---|
| description | Configure Strix with models via AWS Bedrock |
export STRIX_LLM="bedrock/anthropic.claude-sonnet-4-6"
export AWS_REGION_NAME="us-east-1" # Region where Bedrock is enabledNo API key required—uses AWS credentials from environment.
Note: Strix includes boto3 as a dependency. If you installed via the binary installer and encounter issues, consider installing from source: uv tool install git+https://github.com/usestrix/strix.git
export AWS_PROFILE="your-sso-profile"
export AWS_REGION_NAME="us-east-1"
# Ensure SSO session is active
aws sso login --profile your-sso-profile
# Verify credentials
aws sts get-caller-identity --profile your-sso-profileImportant: Use AWS_REGION_NAME (not AWS_REGION or AWS_DEFAULT_REGION) for LiteLLM compatibility.
export AWS_PROFILE="your-profile"
export AWS_REGION_NAME="us-east-1"export AWS_ACCESS_KEY_ID="AKIA..."
export AWS_SECRET_ACCESS_KEY="..."
export AWS_REGION_NAME="us-east-1"Automatically uses instance role credentials.
| Model | Description |
|---|---|
bedrock/anthropic.claude-sonnet-4-6 |
Claude 4.6 Sonnet (recommended) |
bedrock/anthropic.claude-opus-4-6 |
Claude 4.6 Opus |
bedrock/anthropic.claude-4-5-sonnet-20251022-v1:0 |
Claude 4.5 Sonnet (versioned) |
bedrock/anthropic.claude-4-5-opus-20251022-v1:0 |
Claude 4.5 Opus (versioned) |
bedrock/anthropic.claude-4-5-haiku-20251022-v1:0 |
Claude 4.5 Haiku (versioned) |
bedrock/amazon.titan-text-premier-v2:0 |
Amazon Titan Premier v2 |
Note: Use the simplified model IDs (e.g., claude-sonnet-4-6) rather than cross-region inference IDs (e.g., eu.anthropic.claude-sonnet-4-6-v1).
- Enable model access in the AWS Bedrock console
- Ensure your IAM role/user has
bedrock:InvokeModelpermission boto3package (included as dependency in Strix 1.0.5+)
# Set environment variables
export AWS_PROFILE="your-sso-profile"
export AWS_REGION_NAME="eu-west-2"
export STRIX_LLM="bedrock/anthropic.claude-sonnet-4-6"
# Ensure SSO session is active
aws sso login --profile $AWS_PROFILE
# Run scan
strix -n -t https://example.com --scan-mode quick# Use --mount to bind-mount instead of copying
strix -n -t ./ --mount ./ --scan-mode standardaws bedrock list-foundation-models \
--region eu-west-2 \
--query "modelSummaries[?contains(modelId,'claude')].modelId" \
--output tableIf you see ModuleNotFoundError: No module named 'boto3':
# For uv tool install
uv pip install boto3 --python ~/.local/share/uv/tools/strix-agent/bin/python3
# Or reinstall from source
uv tool uninstall strix-agent
uv tool install git+https://github.com/usestrix/strix.gitaws sso login --profile your-profileEnsure the region matches where you enabled Bedrock models:
export AWS_REGION_NAME="us-east-1" # Not AWS_REGION or AWS_DEFAULT_REGION