Skip to content

Conversation

manoj-selvakumar5
Copy link
Collaborator

This PR adds a new tutorial demonstrating how to deploy Strands agents to Amazon Bedrock AgentCore Runtime. The tutorial expands deployment options and shows how to operationalize agents using AgentCore Runtime.

What's Added
  • New tutorial directory: 01-tutorials/03-deployment/03-agentcore-deployment/
  • Jupyter notebook with step-by-step deployment guide
  • Deployment architecture diagram
  • Prerequisites setup scripts and configuration for AWS resources (copied from the Fargate deployment folder)
  • Sample knowledge base files (copied from the Fargate deployment folder)
  • Helper scripts for setup and cleanup (copied from the Fargate deployment folder)
Documentation Updates

Updated main tutorials README to reflect AgentCore deployment (D3) in the deployment section

Copy link

github-actions bot commented Sep 23, 2025

Latest scan for commit: 8ee498d | Updated: 2025-10-06 21:45:08 UTC

✅ Security Scan Report (PR Files Only)

Scanned Files

  • 01-tutorials/03-deployment/03-agentcore-deployment/agent-requirements.txt
  • 01-tutorials/03-deployment/03-agentcore-deployment/architecture.png
  • 01-tutorials/03-deployment/03-agentcore-deployment/cleanup.sh
  • 01-tutorials/03-deployment/03-agentcore-deployment/deploy-agent.ipynb
  • 01-tutorials/03-deployment/03-agentcore-deployment/deploy_prereqs.sh
  • 01-tutorials/03-deployment/03-agentcore-deployment/prereqs/dynamodb.py
  • 01-tutorials/03-deployment/03-agentcore-deployment/prereqs/kb_files/Agave.docx
  • 01-tutorials/03-deployment/03-agentcore-deployment/prereqs/kb_files/Bistro
  • Parisienne.docx
  • 01-tutorials/03-deployment/03-agentcore-deployment/prereqs/kb_files/Botanic
  • ... and 22 more files

Security Scan Results

Critical High Medium Low Info
0 0 0 0 0

Threshold: High

No security issues detected in your changes. Great job!

This scan only covers files changed in this PR.

strands-agents>=0.1.0
strands-agents-tools>=0.1.0
awscli
botocore
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

missing opensearch-py

"metadata": {},
"outputs": [],
"source": "print(\"Deploying prerequisite infrastructure...\")\nprint(subprocess.run(['./deploy_prereqs.sh'], capture_output=True, text=True, check=True).stdout)"
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we replace this with !sh deploy_prereqs.sh - it gives permission denied otherwise.

"metadata": {},
"outputs": [],
"source": [
"%%writefile strands-agent/requirements.txt\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we not simply provide the requirements file ? it's not needed to be created here.

"- AgentCore runtime deployment\n",
"- Configuration management\n",
"\n",
"### Manual Containerization Process (This Tutorial)\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need the manual containerization process ? can we not leverage agentcore-starter-toolkit for that ?

"!aws ecr get-login-password --region {region} | docker login --username AWS --password-stdin {registry}\n",
"!docker push {image_uri}\n",
"\n",
"print(\"Container push completed\")"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            BuildKit is currently disabled; enable it by removing the DOCKER_BUILDKIT=0
            environment-variable.

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Throws an error - it needs a local docker daemon.

"role_name = 'StrandsAgentcoreRuntimeRole'\n",
"\n",
"# Trust policy for AgentCore service\n",
"trust_policy = {\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be put in a seperate file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants