Skip to content

feat: add AWS Bedrock support as alternative to Anthropic API key - #12

Open
abdulahad wants to merge 1 commit into
composio-community:masterfrom
abdulahad:feature/aws-bedrock-support
Open

feat: add AWS Bedrock support as alternative to Anthropic API key#12
abdulahad wants to merge 1 commit into
composio-community:masterfrom
abdulahad:feature/aws-bedrock-support

Conversation

@abdulahad

Copy link
Copy Markdown

Summary

  • Adds AWS Bedrock as an alternative to using a direct Anthropic API key
  • Users can set CLAUDE_CODE_USE_BEDROCK=1 + AWS credentials in .envno code changes required, the Claude Agent SDK routes through Bedrock automatically
  • Updates .env.example with documented Bedrock configuration options
  • Updates setup.sh with an interactive Bedrock setup flow (region, access keys vs AWS profile)
  • Adds Bedrock-specific troubleshooting entries to README

Motivation

Several users want to use Claude through their existing AWS accounts rather than a separate Anthropic API key. Related to the pattern of issues requesting alternative cloud providers (#10, #11 for Vertex AI).

Changes

File What changed
.env.example Expanded with Bedrock env vars, model pinning options, and clearer structure
README.md New "Using AWS Bedrock" section under Configuration + Bedrock troubleshooting rows
setup.sh Interactive menu: Anthropic API key or AWS Bedrock, with sub-options for access keys vs AWS profile

Users can now use Claude through AWS Bedrock instead of a direct
Anthropic API key by setting CLAUDE_CODE_USE_BEDROCK=1 and AWS
credentials in .env. No code changes required - the Claude Agent
SDK routes through Bedrock automatically.

- Add .env.example with documented Bedrock config options
- Add "Using AWS Bedrock" section to README
- Update setup.sh with interactive Bedrock setup flow
- Add Bedrock troubleshooting entries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant