- Newest
- Most votes
- Most comments
Yes, you can install Strands Agents on Python 3.11 in AWS CloudShell. Since you've already verified that Python 3.11.13 is available, you can proceed with the installation.
To install Strands Agents on Python 3.11, use the following command:
python3.11 -m pip install strands-agents strands-agents-tools
This will install the Strands Agents SDK specifically for your Python 3.11 environment.
After installation, you can create a Python script (e.g., agent.py) with your agent code and then run it using:
python3.11 -u agent.py
Make sure you have the necessary AWS credentials configured in your CloudShell environment, especially if your agent will be using Amazon Bedrock models. If you're using specific models like Claude from Anthropic, you'll need to ensure you have access to those models in your AWS account.
Remember that AWS CloudShell provides 1 GB of persistent storage, so your installations will persist between sessions.
Sources
cloudshell upgrade | AWS re:Post
Introducing Strands Agents, an Open Source AI Agents SDK | AWS Open Source Blog
Run code in Code Interpreter from Agents - Amazon Bedrock AgentCore
Relevant content
asked a year ago
asked 3 years ago
asked 3 years ago
