Skip to content

Fixes : linting and CodeQL alerts#1740

Open
nagagaddamu wants to merge 25 commits into
awslabs:mainfrom
nagagaddamu:usecase-restructure
Open

Fixes : linting and CodeQL alerts#1740
nagagaddamu wants to merge 25 commits into
awslabs:mainfrom
nagagaddamu:usecase-restructure

Conversation

@nagagaddamu

Copy link
Copy Markdown
Contributor

Amazon Bedrock AgentCore Samples Pull Request

Important

  1. We strictly follow a issue-first approach, please first open an issue relating to this Pull Request.
  2. Once this Pull Request is ready for review please attach review ready label to it. Only PRs with review ready will be reviewed.

Issue number:

Concise description of the PR

Updates to resolve linting and CodeQL alerts

User experience

Fixed linting and CodeQL alerts

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • Add your name to CONTRIBUTORS.md
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Are you uploading a dataset?
  • Have you documented Introduction, Architecture Diagram, Prerequisites, Usage, Sample Prompts, and Clean Up steps in your example README?
  • I agree to resolve any issues created for this example in the future.
  • I have performed a self-review of this change
  • Changes have been tested
  • Changes are documented

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

naga-gaddamu and others added 24 commits May 29, 2026 23:33
- 01-features: new 03-web-search folder with setup, raw MCP, Strands,
  and LangChain samples; updated requirements.txt with pinned versions
- 06-workshops: new 03-Agent-Core-web-search workshop with 6 notebooks
  covering gateway setup, Strands agent, LangChain agent, CVE scanner,
  earnings brief, and iterative research pattern
- 06-workshops/05-AgentCore-tools/README.md: added Web Search Tool section
…cy notices

- Add deep-research-agent use case with iterative Plan/Search/Reflect/Synthesize loop
- Add gateway_setup.py with auto-detect/prompt/provision flow (no hard prerequisites)
- Add search privacy callout to all 03-web-search README files
- Fix model ID default to use cross-region inference profile
- Add user-friendly error handling for auth failures
Amazon Bedrock AgentCore new web search feature
security: clean up from setup README
Remove unfinished samples for web-search  workshop (Work in progress)
web search workshop folder clean up + Deep-research-agent added to  README.md
Resolves CodeQL finding: clear-text logging of sensitive information.
Setup scripts now write credentials to .env.web-search (gitignored)
instead of printing secrets to stdout. All READMEs updated to
reference 'source .env.web-search' instead of manual export.
security: write credentials to .env file instead of logging to stdout
- Add timeout=10 to requests.post calls (resolves CodeQL finding)
- Simplify search privacy notice (remove 'licensed content' reference)
fix: add request timeout and update search privacy wording
Signed-off-by: Naga Gaddamu <zigeesha@hotmail.com>
…ed cleanup

- Reorganize 03-web-search/ into standalone samples: 01-raw-mcp, 02-strands-agent, 03-langchain-agent
- Each sample includes setup_gateway.py, demo script, cleanup.py, images, and README
- Remove separate 01-setup-gateway/ and 05-cleanup/ folders
- Move shared setup/cleanup logic to utils/
- Add cleanup.py to deep-research-agent use case
- Update all READMEs to template format (Core Concepts, Tutorials, Quick Start, How It Works)
- Add request timeout to gateway_auth.py
- Pin boto3>=1.38.0 in requirements.txt
…b search + Updated websearch tutorialarchitecture + web search supported regions and note
@github-actions github-actions Bot added 05-AgentCore-tools 01-tutorials/05-AgentCore-tools 02-use-cases 02-use-cases 06-workshops labels Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

02-use-cases 02-use-cases 05-AgentCore-tools 01-tutorials/05-AgentCore-tools 06-workshops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants