60 Commits

Author SHA1 Message Date
claumazz
3bfc684975 semantic-kernel-sample 2025-08-05 00:50:53 -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
mvangara10
3b3bca0c82
Runtime Observability: auto_create_role (#201)
* 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

---------

Signed-off-by: mvangara10 <mvangara@amazon.com>
2025-08-04 22:47:47 -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
Dean Schmigelski
82c65d62d4
fix: bump aws-opentelemetry-distro to 0.10.1 across all samples (#190) 2025-08-04 13:01:05 -07: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
Dheeraj Oruganty
e346e83bf1
fix(02-use-cases): SRE-Agent Deployment (#179)
* Add missing credential_provider_name parameter to config.yaml.example

* Fix get_config function to properly parse YAML values with inline comments

* Enhanced get_config to prevent copy-paste whitespace errors in AWS identifiers

* Improve LLM provider configuration and error handling with bedrock as default

* Add OpenAPI templating system and fix hardcoded regions

* Add backend template build to Readme

* delete old yaml files

* Fix Cognito setup with automation script and missing domain creation steps

* docs: Add EC2 instance port configuration documentation

- Document required inbound ports (443, 8011-8014)
- Include SSL/TLS security requirements
- Add AWS security group best practices
- Provide port usage summary table

* docs: Add hyperlinks to prerequisites in README

- Link EC2 port configuration documentation
- Link IAM role authentication setup
- Improve navigation to detailed setup instructions

* docs: Add BACKEND_API_KEY to configuration documentation

- Document gateway environment variables section
- Add BACKEND_API_KEY requirement for credential provider
- Include example .env file format for gateway directory
- Explain usage in create_gateway.sh script

* docs: Add BACKEND_API_KEY to deployment guide environment variables

- Include BACKEND_API_KEY in environment variables reference table
- Mark as required for gateway setup
- Provide quick reference alongside other required variables

* docs: Add BedrockAgentCoreFullAccess policy and trust policy documentation

- Document AWS managed policy BedrockAgentCoreFullAccess
- Add trust policy requirements for bedrock-agentcore.amazonaws.com
- Reorganize IAM permissions for better clarity
- Remove duplicate trust policy section
- Add IAM role requirement to deployment prerequisites

* docs: Document role_name field in gateway config example

- Explain that role_name is used to create and manage the gateway
- Specify BedrockAgentCoreFullAccess policy requirement
- Note trust policy requirement for bedrock-agentcore.amazonaws.com
- Improve clarity for gateway configuration setup

* docs: Add AWS IP address ranges for production security enhancement

- Document AWS IP ranges JSON download for restricting access
- Reference official AWS documentation for IP address ranges
- Provide security alternatives to 0.0.0.0/0 for production
- Include examples of restricted security group configurations
- Enable egress filtering and region-specific access control

* style: Format Python code with black

- Reformat 14 Python files for consistent code style
- Apply PEP 8 formatting standards
- Improve code readability and maintainability

* docs: Update SRE agent prerequisites and setup documentation

- Convert prerequisites section to markdown table format
- Add SSL certificate provider examples (no-ip.com, letsencrypt.org)
- Add Identity Provider (IDP) requirement with setup_cognito.sh reference
- Clarify that all prerequisites must be completed before setup
- Add reference to domain name and cert paths needed for BACKEND_DOMAIN
- Remove Managing OpenAPI Specifications section (covered in use-case setup)
- Add Deployment Guide link to Development to Production section

Addresses issues #171 and #174

* fix: Replace 'AWS Bedrock' with 'Amazon Bedrock' in SRE agent files

- Updated error messages in llm_utils.py
- Updated comments in both .env.example files
- Ensures consistent naming convention across SRE agent codebase

---------

Co-authored-by: dheerajoruganty <dheo@amazon.com>
Co-authored-by: Amit Arora <aroraai@amazon.com>
2025-08-01 13:24:58 -04:00
khastation
ca3b973827
feat(02-use-cases): Add insurance assistant - local prototype to agentcore (#106)
* add insurance app - local prototype to agentcore

* update LICENSE/README

* update LICENSE/README

* Fix sys architecture

* add cleanup section and rename bucket

* add instructions to fill env_example

* add instructions to fill env_example
2025-07-31 17:15:09 -04:00
rohillasandeep
17a75597fe
fix (02-use-cases): AWS Operations Agent updated with AgentCore Runtime (#177)
* feat: Add AWS Operations Agent with AgentCore Runtime

- Complete rewrite of AWS Operations Agent using Amazon Bedrock AgentCore
- Added comprehensive deployment scripts for DIY and SDK runtime modes
- Implemented OAuth2/PKCE authentication with Okta integration
- Added MCP (Model Context Protocol) tool support for AWS service operations
- Sanitized all sensitive information (account IDs, domains, client IDs) with placeholders
- Added support for 17 AWS services: EC2, S3, Lambda, CloudFormation, IAM, RDS, CloudWatch, Cost Explorer, ECS, EKS, SNS, SQS, DynamoDB, Route53, API Gateway, SES, Bedrock, SageMaker
- Includes chatbot client, gateway management scripts, and comprehensive testing
- Ready for public GitHub with security-cleared configuration files

Security: All sensitive values replaced with <YOUR_AWS_ACCOUNT_ID>, <YOUR_OKTA_DOMAIN>, <YOUR_OKTA_CLIENT_ID> placeholders

* Update AWS Operations Agent architecture diagram

---------

Co-authored-by: name <alias@amazon.com>
2025-07-31 14:59:30 -04:00
Eashan Kaushik
cc5db09702
Customer Support Assistant v1.1 (#112)
* feat(customer-support): updated code

* Delete 02-use-cases/customer-support-assistant/Dockerfile

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

* Update .gitignore

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

* identity

* /app/customersupport/agentcore/runtime_iam_role name changed issue#154

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

* Update README.md

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

* Update README.md

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

* Update README.md

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

---------

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>
2025-07-28 13:45:12 -04:00
Jeff Nunn
e5b8c94e68
fix(01-tutorials): Fixe broken links to notebooks. Remove reference to missing architecture image. (#79) 2025-07-28 10:31:33 -04:00
Kamal Manchanda
9af9847bc1
fix(01-tutorials): Updated MCP Client to version >=1.10.0 as lower versions can lead to uncaught ClosedResourceError on the server side (#129) 2025-07-28 10:28:52 -04:00
aristsakpinis93
43c3dd8a27
fix(01-tutorials): config directory creation (#146)
* fix config directory creation

* update dependencies

* unpin crewai[tools]
2025-07-28 10:27:31 -04:00
Dustin Liu
4d3ec6c6a2
fix(01-tutorials): Update utils.py to fix syntax error caused by space (#160)
It should be 
"ecr:BatchGetImage",
"ecr:GetDownloadUrlForLayer"

rather than:

"ecr: BatchGetImage",
"ecr: GetDownloadUrlForLayer"

There is an extrac space

Signed-off-by: Dustin Liu <liucong.haonan@gmail.com>
2025-07-28 10:26:21 -04:00
Amit Arora
00893cd175
feat(SRE Agent): Update SRE Agent architecture diagram to use Amazon Bedrock AgentCore icons (#163)
- Replace mermaid diagram with new architecture image using official AWS icons
- Add AgentCore Runtime, Gateway, Identity, Memory, and Observability components
- Show clear integration with Amazon Bedrock LLMs and Amazon Cognito
- Display all 4 MCP tools (k8s-api, logs-api, metrics-api, runbooks-api)
- Create docs/images directory for architecture diagrams

Fixes #162
2025-07-28 09:52:35 -04:00
Amit Arora
dff915fabb
fix(SRE Agent)- Deploy SRE Agent on Amazon Bedrock AgentCore Runtime with Enhanced Architecture (#158)
* feat: Deploy SRE agent on Amazon Bedrock AgentCore Runtime

- Add agent_runtime.py with FastAPI endpoints for AgentCore compatibility
- Create Dockerfile for ARM64-based containerization
- Add deployment scripts for automated ECR push and AgentCore deployment
- Update backend API URLs from placeholders to actual endpoints
- Update gateway configuration for production use
- Add dependencies for AgentCore runtime support

Implements #143

* chore: Add deployment artifacts to .gitignore

- Add deployment/.sre_agent_uri, deployment/.env, and deployment/.agent_arn to .gitignore
- Remove already tracked deployment artifacts from git

* feat: Make ANTHROPIC_API_KEY optional in deployment

- Update deploy_agent_runtime.py to conditionally include ANTHROPIC_API_KEY
- Show info message when using Amazon Bedrock as provider
- Update .env.example to clarify ANTHROPIC_API_KEY is optional
- Only include ANTHROPIC_API_KEY in environment variables if it exists

* fix: Use uv run python instead of python in build script

- Update build_and_deploy.sh to use 'uv run python' for deployment
- Change to parent directory to ensure uv environment is available
- Fixes 'python: command not found' error during deployment

* refactor: Improve deployment script structure and create .env symlink

- Flatten nested if-else blocks in deploy_agent_runtime.py for better readability
- Add 10-second sleep after deletion to ensure cleanup completes
- Create symlink from deployment/.env to sre_agent/.env to avoid duplication
- Move time import to top of file with other imports

* feat: Add debug mode support and comprehensive deployment guide

Add --debug command line flag and DEBUG environment variable support:
- Created shared logging configuration module
- Updated CLI and runtime to support --debug flag
- Made debug traces conditional on DEBUG environment variable
- Added debug mode for container and AgentCore deployments

Enhanced build and deployment script:
- Added command line argument for ECR repository name
- Added help documentation and usage examples
- Added support for local builds (x86_64) vs AgentCore builds (arm64)
- Added environment variable pass-through for DEBUG, LLM_PROVIDER, ANTHROPIC_API_KEY

Created comprehensive deployment guide:
- Step-by-step instructions from local testing to production
- Docker platform documentation (x86_64 vs arm64)
- Environment variable configuration with .env file usage
- Debug mode examples and troubleshooting guide
- Provider configuration for Bedrock and Anthropic

Updated README with AgentCore Runtime deployment section and documentation links.

* docs: Update SRE Agent README with deployment flow diagram and fix directory reference

- Fix reference from 04-SRE-agent to SRE-agent in README
- Add comprehensive flowchart showing development to production deployment flow
- Update overview to mention Amazon Bedrock AgentCore Runtime deployment
- Remove emojis from documentation for professional appearance

* docs: Replace mermaid diagram with ASCII step-by-step flow diagram

- Change from block-style mermaid diagram to ASCII flow diagram
- Show clear step-by-step progression from development to production
- Improve readability with structured boxes and arrows
- Minor text improvements for clarity

* feat: Implement comprehensive prompt management system and enhance deployment guide

- Create centralized prompt template system with external files in config/prompts/
- Add PromptLoader utility class with LRU caching and template variable substitution
- Integrate PromptConfig into SREConstants for centralized configuration management
- Update all agents (nodes, supervisor, output_formatter) to use prompt loader
- Replace 150+ lines of hardcoded prompts with modular, maintainable template system
- Enhance deployment guide with consistent naming (my_custom_sre_agent) throughout
- Add quick-start copy-paste command sequence for streamlined deployment
- Improve constants system with comprehensive model, AWS, timeout, and prompt configs
- Add architectural assessment document to .gitignore for local analysis
- Run black formatting across all updated Python files

* docs: Consolidate deployment and security documentation

- Rename deployment-and-security.md to security.md and remove redundant deployment content
- Enhance security.md with comprehensive production security guidelines including:
  - Authentication and authorization best practices
  - Encryption and data protection requirements
  - Operational security monitoring and logging
  - Input validation and prompt security measures
  - Infrastructure security recommendations
  - Compliance and governance frameworks
- Update README.md to reference new security.md file
- Eliminate redundancy between deployment-guide.md and deployment-and-security.md
- Improve documentation organization with clear separation of concerns

* config: Replace hardcoded endpoints with placeholder domains

- Update OpenAPI specifications to use placeholder domain 'your-backend-domain.com'
  - k8s_api.yaml: mcpgateway.ddns.net:8011 -> your-backend-domain.com:8011
  - logs_api.yaml: mcpgateway.ddns.net:8012 -> your-backend-domain.com:8012
  - metrics_api.yaml: mcpgateway.ddns.net:8013 -> your-backend-domain.com:8013
  - runbooks_api.yaml: mcpgateway.ddns.net:8014 -> your-backend-domain.com:8014
- Update agent configuration to use placeholder AgentCore gateway endpoint
  - agent_config.yaml: Replace specific gateway ID with 'your-agentcore-gateway-endpoint'
- Improve security by removing hardcoded production endpoints from repository
- Enable template-based configuration that users can customize during setup
- Align with existing documentation patterns for placeholder domain replacement
2025-07-27 15:05:03 -04:00
nabaws
ec253e9682
feat(02-use-cases): Text to Python IDE code interpreter sample (#152) 2025-07-27 15:03:19 -04:00
rohillasandeep
ced77e7255
dev (#155)
* Remove .aws-sam build artifacts

Deleted .aws-sam folder as it contains build artifacts that are generated
during sam build and should not be checked into version control.

* Fix MCP 1.10.0 compatibility and add Docker support

- Fix MCP client for 1.10.0 API changes (streamablehttp_client now returns 3-tuple)
- Add comprehensive .gitignore for AWS Operations Agent project
- Add Dockerfiles for agent-lambda and mcp-tool-lambda
- Update requirements.txt to use mcp==1.10.0
- Add fallback DirectMCPClient class for better error handling

* Update documentation and scripts

- Update SETUP.md with latest deployment instructions
- Modify create-target.py script for improved functionality

* Remove .gitignore files from AgentCore samples repository

- Deleted 6 .gitignore files to prevent conflicts with parent repository
- Includes root .gitignore and use-case specific .gitignore files
- Cleaned up: customer-support-assistant, SRE-agent, AWS-operations-agent, and video-games-sales-assistant directories
- Enables consistent gitignore management at repository level

* Update Okta PKCE setup documentation and nginx configuration

- Added nginx installation instructions for macOS with Homebrew
- Referenced official nginx documentation for other platforms
- Updated OAuth parameter configuration to reflect current HTML form structure
- Removed hardcoded absolute paths from nginx configuration and replaced with placeholders
- Updated token usage instructions to use correct entry point (main.py)
- Added instructions for users to update nginx configuration paths


* Improve setup documentation consistency

- Confirmed virtual environment setup is already covered in Step 1
- No duplication needed in gateway creation section
- Documentation structure remains clear and concise
2025-07-25 17:14:29 -07:00
rohillasandeep
bd52ff9c9a
Rohillao dev (#151)
* Remove .aws-sam build artifacts

Deleted .aws-sam folder as it contains build artifacts that are generated
during sam build and should not be checked into version control.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix MCP 1.10.0 compatibility and add Docker support

- Fix MCP client for 1.10.0 API changes (streamablehttp_client now returns 3-tuple)
- Add comprehensive .gitignore for AWS Operations Agent project
- Add Dockerfiles for agent-lambda and mcp-tool-lambda
- Update requirements.txt to use mcp==1.10.0
- Add fallback DirectMCPClient class for better error handling

* Update documentation and scripts

- Update SETUP.md with latest deployment instructions
- Modify create-target.py script for improved functionality

* Remove .gitignore files from AgentCore samples repository

- Deleted 6 .gitignore files to prevent conflicts with parent repository
- Includes root .gitignore and use-case specific .gitignore files
- Cleaned up: customer-support-assistant, SRE-agent, AWS-operations-agent, and video-games-sales-assistant directories
- Enables consistent gitignore management at repository level

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: name <alias@amazon.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-25 10:51:16 -07:00
rameshv29
05ada44c3f
Updated the folder structure and added AgentCore Observability (#139)
* updated the cognito setup, gateway creation using agentcore sdk

* added the config directory with test file

* updated the automation scripts and simplified the approach to install and test it

* updated the tool description in the target creation and updated readme file

* added agentcore observability for agentcore gateway

* updated architecture diagram

* Update observability section in README.md with more concise information

* removed old folder directory

* updated the tool description in the targets
2025-07-24 18:15:45 -07:00
mvangara10
2a8ce3b5e4
AgentCore Observability : Advanced concepts and Runtime updates (#147)
* 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

---------

Signed-off-by: mvangara10 <mvangara@amazon.com>
2025-07-24 18:23:58 -04:00
rohillasandeep
ccbeae72d8
Rohillao dev (#137)
* Remove .aws-sam build artifacts

Deleted .aws-sam folder as it contains build artifacts that are generated
during sam build and should not be checked into version control.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Fix MCP 1.10.0 compatibility and add Docker support

- Fix MCP client for 1.10.0 API changes (streamablehttp_client now returns 3-tuple)
- Add comprehensive .gitignore for AWS Operations Agent project
- Add Dockerfiles for agent-lambda and mcp-tool-lambda
- Update requirements.txt to use mcp==1.10.0
- Add fallback DirectMCPClient class for better error handling

* Update documentation and scripts

- Update SETUP.md with latest deployment instructions
- Modify create-target.py script for improved functionality

---------

Co-authored-by: name <alias@amazon.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-24 09:52:55 -07:00
Shreyas Subramanian
ae857e230e
fixing openai auth example (#134)
* changes to openai + strands + identity client

* changes to openai + strands + identity client
2025-07-23 14:12:58 -04:00
khastation
2e9be85bb7
fix(LICENSE) - LICENSE for README (#107) 2025-07-23 12:28:49 -04:00
Shubhankar Sumar
0b5a3bfb45
docs: modified readme with correction wording (#127)
* modified readme with correction wording

* Spelling mistake in 'In this tutorial can will the Amazon Bedrock AgentCore Python SDK to easily package your artifacts and deploy them to AgentCore runtime.' It's AgentCore not AgentCode

---------

Co-authored-by: Shubhankar Sumar <sssumar@amazon.co.uk>
2025-07-23 11:41:25 -04:00
rahullks
21ab538b7d
chore: change model to sonnet 3.7 and updated the system prompts (#133)
* change model to sonnet 3.7 and upated the system prompts

* cleared cell outputs
2025-07-23 11:38:33 -04:00
bergjaak
3fa81ff6dd
fix(memory): use id instead of memoryid (#131) 2025-07-23 10:45:44 -04:00
Shreyas Subramanian
bf2fb216d9
adding llama index agents example (#132) 2025-07-23 10:25:21 -04:00
Uriel Ramirez
f7c00e901d
fix(02-use-cases): File updates and content (#122)
* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* File updates and content

---------

Co-authored-by: Uriel Ramirez <beralfon@amazon.com>
2025-07-23 09:44:39 -04:00
aristsakpinis93
b345982f93
fix config directory creation (#126) 2025-07-23 08:55:52 -04:00
rohillasandeep
f58e9e362b
Remove .aws-sam build artifacts (#123)
Deleted .aws-sam folder as it contains build artifacts that are generated
during sam build and should not be checked into version control.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: name <alias@amazon.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-22 23:00:46 -07:00
satveerkhurpa
22510cd036
Identity0722 (#119)
* Updated token validity for the cognito user pool client

* Updated token validity for the cognito user pool client

---------

Co-authored-by: Satveer Khurpa <khurpas@amazon.com>
2025-07-22 20:15:56 -04:00
vedashreevinay
f13d794fb7
fixed broken links, added handling CAPTCHA tutorial (#113)
Co-authored-by: Veda Raman <vedashrr@amazon.com>
2025-07-22 16:15:49 -07:00
Shreyas Subramanian
d24a1a8905
feat(02-usecases): Using strands for async shopping, e2e works now with nova act (#117) 2025-07-22 17:02:42 -04:00
Shreyas Subramanian
6b722c5c7b
Update README.md (#105)
Signed-off-by: Shreyas Subramanian <subshrey@amazon.com>
2025-07-22 12:57:57 +02:00
Uriel Ramirez
1c2fb802a0
Data Analyst Assistant Solution with Amazon Bedrock AgentCore (#108)
* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

* Data Analyst Assistant Solution with Amazon Bedrock AgentCore

---------

Co-authored-by: Uriel Ramirez <beralfon@amazon.com>
2025-07-22 06:34:07 -04:00
Eashan Kaushik
88e19eddc9
customer-support-assistant v1 (#103)
* feat(customer-support): updated code

* Delete 02-use-cases/customer-support-assistant/Dockerfile

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

* Update .gitignore

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

---------

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>
2025-07-21 11:34:00 -04:00
Shreyas Subramanian
176ef7bd91
renaming folders (#102) 2025-07-21 10:45:13 -04:00
Maira Ladeira Tanke
41c9d9371b
Cleaning up runtime (#93)
* Clean up of runtime tutorials

* Clean up of runtime tutorials

* Adding streaming example

* Adding handling context example

* adding handling payloads example

* adding handling payloads example
2025-07-21 09:26:13 -04:00
Amit Arora
98df3aeb2e
feat(sre-agent): implement dynamic API key management and security enhancements (#85)
- Add dynamic API key retrieval from AWS Secrets Manager via AgentCore credential providers
- Replace hardcoded API keys in all server files with secure dynamic retrieval
- Add fail-fast authentication (no fallback to default keys)
- Implement pre-commit hook to prevent accidental domain exposure in OpenAPI specs
- Add comprehensive documentation for domain management workflow
- Increase boto3 retry configuration for improved reliability
- Remove unsupported --enable-observability flag
- Add credential provider configuration management

Resolves #84
2025-07-20 20:27:10 -04:00
Shreyas Subramanian
c02089d2e7
Adding OpenAI agents (#91)
* tables

* typos

* cleanup, other integs

* openai agents

* added tables to readme

---------

Signed-off-by: Shreyas Subramanian <shreyas.f117@gmail.com>
2025-07-19 18:48:36 -04:00
mvangara10
bb3d2c5461
add runtime utils.py (#76)
* 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>

---------

Signed-off-by: mvangara10 <mvangara@amazon.com>
2025-07-19 15:17:07 -04:00
dependabot[bot]
7c0c9b6593
build(deps): Bump aiohttp (#65)
Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.1 to 3.12.14.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](https://github.com/aio-libs/aiohttp/compare/v3.9.1...v3.12.14)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.12.14
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-07-19 15:15:32 -04:00
Shreyas Subramanian
8d214a6cdc
Cleanup + ADK integrations (#83)
* tables

* typos

* cleanup, other integs
2025-07-18 20:25:48 -04:00
rahullks
06428bff44
feat(01-tutorials): 1p tools readme updates (#77)
* Update README.md

Signed-off-by: rahullks <rahullks@gmail.com>

* Update README.md

Signed-off-by: rahullks <rahullks@gmail.com>

---------

Signed-off-by: rahullks <rahullks@gmail.com>
2025-07-18 13:00:14 -04:00
Sundar Raghavan
30a712f957
feat(01-tutorials): Improve AgentCore tools examples: (#61)
* Improve AgentCore tools examples:
1. Remove browser references from dynamic_research_agent_langgraph.py
2. Remove unnecessary wait time in run_live_viewer.py
3. Update README files with correct path instructions for running examples
4. Fix step numbering in run_live_viewer.py

* Improve AgentCore tools examples

* Updated research agent example

* Updated research agent example

* Implement robust research agent with Bedrock AgentCore

- Simplify LangGraph workflow to linear execution pattern
- Add direct data generation to avoid file system dependency issues
- Improve error handling with graceful fallback strategies

* fix for sample files path

---------

Co-authored-by: “Sundar” <“sdraghav@amazon.com”>
Co-authored-by: rahullks <rahullks@gmail.com>
2025-07-18 12:44:21 -04:00
Shreyas Subramanian
93c5696d68
fix: tables + typos (#68)
* tables

* typos
2025-07-18 12:04:54 -04:00
Akarsha Sehwag
964e738bd5
chores: Minor fixes (#75)
* chores: add minor fixes.

* fix: minor changes

* chore: remove gitignore
2025-07-18 11:09:46 -04:00
Shreyas Subramanian
6d31a0a1a1
autogen agent (#62)
* adding basic working strands example

* autogen agent

* autogen agent readme

* cleaned up
2025-07-17 14:50:53 -04:00
Eashan Kaushik
94f68ef951
refactor(usecases): update folder names
* search tool added

* search tool added

* rename

* Delete 02-use-cases/02-DB-Performance-Analyzer directory

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

* Delete 02-use-cases/07-AWS-Operations-Agent directory

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>

---------

Signed-off-by: Eashan Kaushik <50113394+EashanKaushik@users.noreply.github.com>
2025-07-17 14:26:27 -04:00