mirror of
https://github.com/awslabs/amazon-bedrock-agentcore-samples.git
synced 2025-09-08 20:50:46 +00:00
* updated to Sonnet 3.7 updated to Sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * uodated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * fixed the issue related to passing timeout value to the streamablehttp_client Signed-off-by: dendilaws <dendilaws@gmail.com> * fixed the issue with agent.tool_config Signed-off-by: dendilaws <dendilaws@gmail.com> * fixed the issue with agent.tool_config Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * updated to pip install from uv add Signed-off-by: dendilaws <dendilaws@gmail.com> * overriding the default model used for the agent with sonnet 3.7 Signed-off-by: dendilaws <dendilaws@gmail.com> * Changing runtime to role auto creation * Changing runtime to role auto creation * Changing mcp host on runtime to role auto creation * Changing advance labs on runtime to role auto creation --------- Signed-off-by: dendilaws <dendilaws@gmail.com> Co-authored-by: Maira Ladeira Tanke <mttanke@amazon.com>
Hosting Strands Agents with Amazon Bedrock models in Amazon Bedrock AgentCore Runtime
Overview
In this tutorial we will learn how to host your existing agent, using Amazon Bedrock AgentCore Runtime.
We will focus on a Strands Agents with Amazon Bedrock model example. For LangGraph with Amazon Bedrock model check here and for a Strands Agents with an OpenAI model check here.
Tutorial Details
Information | Details |
---|---|
Tutorial type | Conversational |
Agent type | Single |
Agentic Framework | Strands Agents |
LLM model | Anthropic Claude Sonnet 3.7 |
Tutorial components | Hosting agent on AgentCore Runtime. Using Strands Agent and Amazon Bedrock Model |
Tutorial vertical | Cross-vertical |
Example complexity | Easy |
SDK used | Amazon BedrockAgentCore Python SDK and boto3 |
Tutorial Architecture
In this tutorial we will describe how to deploy an existing agent to AgentCore runtime.
For demonstration purposes, we will use a Strands Agent using Amazon Bedrock models
In our example we will use a very simple agent with two tools: get_weather
and get_time
.
Tutorial Key Features
- Hosting Agents on Amazon Bedrock AgentCore Runtime
- Using Amazon Bedrock models
- Using Strands Agents