GitHunt
TH

thecodebeneath/bedrock-strands-agent

Use Python and the Strands library to create very low-code agents that interact with AWS Bedrock models and services. I'll also use the built-in Strands tools to give the agent more capabilities to: make HTTP calls, lookup the current time, and invoke the AWS CLI

Simple AWS Bedrock Agents

Use Python and the Strands library to create very low-code agents that interact with AWS Bedrock models and services. I'll also use the built-in Strands tools to give the agent more capabilities to: make HTTP calls, lookup the current time, and make AWS CLI calls.

Ref: https://strandsagents.com/latest/documentation/docs/user-guide/concepts/model-providers/amazon-bedrock/

I'm using VS Code with the AWS and Python extensions to keep things easy.

Prereqs:

  1. AWS Console
    1. Request specific Bedrock model access. Be aware that most models are in us-east-1 region currently.
    2. Get the "Model ID" string from the Bedrock "Model catalog"
  2. VS Code environment
    1. Create a python venv in the VS code workspace and activate it
    2. Install Strands Agents SDK and tools
      pip install strands-agents strands-agents-tools
      
    3. Install the required model dependency
      pip install 'strands-agents[anthropic]'
      

Run the Agents from VS Code

Open the Python scripts and click the button "Run Python File". Agent output will be sent to the local terminal.

Languages

Python100.0%

Contributors

Created August 18, 2025
Updated August 18, 2025