Setup Instructions
Environment Variables
| Variable | Required | Description |
|---|---|---|
CLAUDE_CODE_USE_BEDROCK | Yes | Set to 1 to enable Bedrock mode |
AWS_REGION | Yes | AWS region (e.g., us-east-1) |
AWS_BEARER_TOKEN_BEDROCK | Yes | Your AWS bearer token for Bedrock access |
ANTHROPIC_SMALL_MODEL | Yes | Bedrock model ID for small tasks (Haiku) |
ANTHROPIC_MEDIUM_MODEL | Yes | Bedrock model ID for medium tasks (Sonnet) |
ANTHROPIC_LARGE_MODEL | Yes | Bedrock model ID for large tasks (Opus) |
Model Tiers
Shannon uses three model tiers optimized for different tasks:- Small (
claude-haiku-4-5-20251001) — Used for summarization and lightweight tasks - Medium (
claude-sonnet-4-6) — Used for security analysis and vulnerability detection - Large (
claude-opus-4-6) — Used for deep reasoning and complex exploitation
Region-Specific Model IDs
Make sure to use the correct Bedrock model IDs for your AWS region. Model IDs vary by region and may include prefixes likeus.anthropic. for US regions.
Refer to the AWS Bedrock Model IDs documentation for the correct identifiers in your region.
Example Configuration
Here’s a complete.env example for AWS Bedrock in the us-east-1 region:
