aider/docs/llms/bedrock
Amazon Bedrock | aider
- for usage with Okta consider aws_okta_keyman; docs don't say how, but presumably something with mise might work
Installing AWS/py/boto3
with uv/tool/run
- [FEATURE] Support Amazon Bedrock Claude Sonnet 3.5 · Issue #713 · Aider-AI/aider
- For anyone, if you authenticate through the role assumption, i.e. profile then to access Bedrock you simply need to pass AWS profile, e.g.
AWS_PROFILE=devand thenaider --model=bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0will access AWS Bedrock - A note that this does not work for me. I set AWS_REGION and AWS_PROFILE in my .env file, but aider complains on startup that I do not have AWS_ACCESS_KEY_ID or AWS_SECRET_ACCESS_KEY set. If I set these in my .env and restart things work, but ideally I only need to set the AWS_REGION and then boto picks up all of the other keys it needs directly from my ~/.aws/credentials file.
- I'm on aider 0.62.1.
- For anyone, if you authenticate through the role assumption, i.e. profile then to access Bedrock you simply need to pass AWS profile, e.g.