8 Commits

Author SHA1 Message Date
mvangara10
ed640c243c
fix(01-tutorials): CodeQL: Security fix for Gateway (#278)
* AgentCore Observability

Signed-off-by: mvangara10 <mvangara@amazon.com>

* Update README.md

Signed-off-by: mvangara10 <mvangara@amazon.com>

* Update README.md

Signed-off-by: mvangara10 <mvangara@amazon.com>

* Update README.md

Signed-off-by: mvangara10 <mvangara@amazon.com>

* .env.example

* add runtime utils.py

Signed-off-by: mvangara10 <mvangara@amazon.com>

* AgentCore Observability: Custom Spans

* Update doc

* runtime hosted agent update

* Refactoring and Runtime updates

* Custom span documentation

* Observability runtime: auto_create_role

* Model ID and STM fix

* Model ID update

* Non runtime: strands package update and fix

* DDGS and ModelID upddates

* Claude 3.5 -> 3.7

* CodeQL fix

---------

Signed-off-by: mvangara10 <mvangara@amazon.com>
2025-08-21 15:47:56 -04:00
Akarsha Sehwag
da4db6932c
fix(02-use-cases): minor changes (#237) 2025-08-11 17:36:20 -04:00
Sanghwa Na
547f3bbfda
fix: Add AWS_REGION fallback for gateway notebooks (#200)
* fix: Add AWS_REGION fallback for gateway notebooks

Update AWS_DEFAULT_REGION environment variable setting in AgentCore
gateway notebooks to fall back to AWS_REGION when available,
defaulting to us-east-1 if neither is set.

This change ensures compatibility with different AWS environment
configurations and follows SageMaker best practices.

Files modified:
- 01-tutorials/02-AgentCore-gateway/01-transform-lambda-into-mcp-tools/01-gateway-target-lambda.ipynb
- 01-tutorials/02-AgentCore-gateway/02-transform-apis-into-mcp-tools/02-transform-openapi-into-mcp-tools/01-openapis-into-mcp-api-key.ipynb
- 01-tutorials/02-AgentCore-gateway/02-transform-apis-into-mcp-tools/02-transform-openapi-into-mcp-tools/02-openapis-into-mcp-oauth-enterpris-apis.ipynb
- 01-tutorials/02-AgentCore-gateway/02-transform-apis-into-mcp-tools/03-transform-smithyapis-into-mcp-tools/01-s3-smithy-into-mcp-iam.ipynb

Changed: os.environ['AWS_DEFAULT_REGION'] = 'us-east-1'
To: os.environ['AWS_DEFAULT_REGION'] = os.environ.get('AWS_REGION', 'us-east-1')

* adding requirement files for sm run

* adding requirement files for sm run

* renaming gateway folders

* Remove cell execution output

* renaming gateway folders

* changing pip install for gateway search sample

* remove cell outputs

---------

Co-authored-by: Maira Ladeira Tanke <mttanke@amazon.com>
2025-08-04 22:58:32 -04:00
dendilaws
8f34263946
fixed issues with streamablehttp_client with timeout values & agent.tool_config (#192)
* 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>
2025-08-04 21:15:01 -04:00
dendilaws
c227bf1124
updated primary model references every where to sonnet 3.7 (#191)
* 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>

---------

Signed-off-by: dendilaws <dendilaws@gmail.com>
2025-08-02 11:55:41 -04:00
Eashan Kaushik
fdb8858096
feat(01-tutorials): Amazon Bedrock AgentCore Gateway search added (#59)
* search tool added

* search tool added
2025-07-17 12:16:23 -04:00
Dhawalkumar Patel
78deb7a112
servicename changes (#44)
* Update 01-openapis-into-mcp-api-key.ipynb

changes in the service name

Signed-off-by: Dhawalkumar Patel <dhawalkp@amazon.com>

* Update 02-openapis-into-mcp-oauth-enterpris-apis.ipynb

service name

Signed-off-by: Dhawalkumar Patel <dhawalkp@amazon.com>

---------

Signed-off-by: Dhawalkumar Patel <dhawalkp@amazon.com>
2025-07-16 11:27:21 -07:00
Eashan Kaushik
909eb9901a feat(agentcore): Adding tutorials, samples, and integrations 2025-07-16 14:07:30 -04:00