Multiple options for deploying your Strands agents to production.
| Option | Best For | Setup Time | Cost | Complexity |
|---|---|---|---|---|
| Local | Development, testing | 0 min | Free | ⭐ |
| AgentCore Runtime | AWS-hosted production | 10 min | Pay-per-use | ⭐⭐ |
| """ | |
| In this example you get a Bedrock API key from Amazon Bedrock and load it. | |
| It will look like: AWS_BEARER_TOKEN_BEDROCK=bedrock-api-key-......... | |
| """ | |
| import os | |
| import boto3 | |
| from dotenv import load_dotenv | |
| from pprint import pprint |
I have no idea why this was so complicated to figure out and to find info on.
https://docs.anthropic.com/en/docs/claude-code/mcp
claude mcp add youtube-api --scope user \The Agent class is the core component of the Strands Agent SDK that orchestrates the workflow for AI agents. It handles receiving user input, processing it with a language model, deciding when to use tools, executing those tools, and producing responses.
When creating a new Agent instance, you can configure it with these parameters:
| import threading | |
| import time | |
| import uvicorn | |
| import streamlit as st | |
| from fastapi import FastAPI | |
| # Create FastAPI app | |
| app = FastAPI() | |
| @app.get("/api/data") |
| #!/usr/bin/env python3 | |
| """ | |
| AWS Credentials Sync Tool | |
| Extracts your current AWS credentials and creates/updates .env file | |
| """ | |
| import boto3 | |
| import os | |
| import json | |
| from datetime import datetime, timezone |
These shortcuts will save you time and be more efficient.
NOTE: Before using this commands you must
escfirst.
a to inserts a cell above the current cell.b to inserts a new cell below.m to change the current cell to a markdown celly to change it back to a code cellApache JMeter is an open-source tool designed for performance testing and load testing. It is often used for simulating real-world traffic on web servers, applications, and APIs. In this blog, we'll guide you through installing JMeter on an AWS EC2 instance and using it to perform a simple load test.