Skip to main content
Use AWS Bedrock to access various foundation models on AWS. Manage your access to models on the portal. See all the AWS Bedrock foundational models. Not all Bedrock models support all features. See the supported features for each model. We recommend experimenting to find the best-suited model for your use-case. Here are some general recommendations:
  • For a Mistral model with generally good performance, look at mistral.mistral-large-2402-v1:0.
  • You can play with Amazon Nova models. Use amazon.nova-pro-v1:0 for general purpose tasks.
  • For Claude models, see our Claude integration.
Async usage of AWS Bedrock is not yet supported. When using AwsBedrock with an Agent, you can only use agent.run and agent.print_response.

Authentication

Set your AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and AWS_REGION environment variables. Get your keys from here.

Example

Use AwsBedrock with your Agent:
View more examples here.

Parameters

AwsBedrock is a subclass of the Model class and has access to the same params.