Build AI Agents with AWS Bedrock
AWS-managed AI service offering multiple foundation models with AWS security and scaling.
Available AWS Bedrock Models
| Model | ID |
|---|---|
| Claude 3.5 Sonnet | anthropic.claude-3-5-sonnet-20241022-v2:0 |
| Amazon Nova Pro | amazon.nova-pro-v1:0 |
| Llama 3 70B | meta.llama3-70b-instruct-v1:0 |
Why use AWS Bedrock for AI agents?
AWS integration
Multi-model access
Pay-per-use
Enterprise security
Best use cases
- AWS-native deployments
- Multi-model strategies
- Enterprise scale
- Cost management
Quick start code
agent.py
from agno.agent import Agent
from agno.models.aws.bedrock import Bedrock
agent = Agent(
name="My AWS Bedrock Agent",
model=Bedrock(id="anthropic.claude-3-5-sonnet-20241022-v2:0"),
instructions=["You are a helpful assistant."],
markdown=True,
)
agent.print_response("Hello! What can you help me with?")Install: pip install agno Then set AWS_ACCESS_KEY_ID