Skip to content
Research
Skill

/hcls-deploy-agent

Use when a developer wants to deploy an HCLS agent to Amazon Bedrock AgentCore, configure Gateway tools as MCP endpoints, set up authentication with Cognito, configure memory, or register an agent in the AgentCore Registry. Also use for deployment troubleshooting.

From plugin
amazon-bedrock-agents-healthcare-lifesciences
27712 skills9 MCP

Claude Code

$ npx -y skills add aws-samples/amazon-bedrock-agents-healthcare-lifesciences --skill hcls-deploy-agent --agent claude-code

SKILL.md

hcls-deploy-agent.SKILL.md
name: hcls-deploy-agent
description: Use when a developer wants to deploy an HCLS agent to Amazon Bedrock AgentCore, configure Gateway tools as MCP endpoints, set up authentication with Cognito, configure memory, or register an agent in the AgentCore Registry. Also use for deployment troubleshooting.

Deploying an HCLS Agent

When to use this skill

  • Developer asks "how do I deploy this agent?"
  • Developer needs to configure AgentCore Gateway, Runtime, Memory, or Identity
  • Developer wants to expose tools as MCP endpoints
  • Developer wants to register an agent in the AgentCore Registry

Deployment Components

AgentCore Deployment
├── Runtime       — Hosts the agent container
├── Gateway       — Exposes tools as MCP endpoints (Lambda targets)
├── Memory        — Conversation persistence (semantic, summary, preferences)
├── Identity      — Cognito OAuth2 authentication
└── Registry      — Agent discovery for multi-agent workflows

Steps

1. Prerequisites

# Install AgentCore CLI
pip install bedrock-agentcore

# Configure
agentcore configure --entrypoint main.py \
  -rf agent/requirements.txt \
  -er <IAM_ROLE_ARN> \
  --name <agent-name>

2. Deploy Infrastructure

Run the prerequisite script (creates Lambda tools, Cognito, Gateway):

./scripts/prereq.sh

This deploys CloudFormation stacks for:

  • Lambda functions (tool handlers)
  • IAM roles (agent execution, Gateway invocation)
  • Cognito user pool (OAuth2 authentication)
  • AgentCore Gateway (MCP endpoint with tool targets)
  • AgentCore Memory (conversation persistence)

3. Deploy Agent Runtime

# Remove stale config
rm -f .agentcore.yaml

# Launch (builds container, pushes to ECR, deploys to Runtime)
agentcore launch

4. Verify

# Invoke the deployed agent
agentcore invoke '{"prompt": "Hello, can you help me?"}'

# Test Gateway tools independently
python tests/test_gateway.py --prompt "Test query"

# Test memory
python tests/test_memory.py load-conversation

5. Register in AgentCore Registry (optional)

For multi-agent discovery, register the agent:

import boto3
client = boto3.client('bedrock-agentcore')

client.create_registry_record(
    registryName="hcls-registry",
    recordName="<agent-name>",
    description="<rich description for semantic search>",
    descriptorType="MCP",  # or "A2A" for agent-to-agent
    descriptors={...}
)

Deployment Templates

| Template | What it deploys | |----------|----------------| | `agentcore_template/` | Backend: Runtime + Gateway + Memory + Streamlit UI | | [FAST](https://github.com/awslabs/fullstack-solution-template-for-agentcore) | Full-stack: React/Amplify + Cognito + AgentCore + CDK |

AWS MCP Servers Used

When deploying, the following AWS MCP servers help:

  • `agentcore-docs` — API reference for Gateway/Runtime/Memory/Registry
  • `aws-mcp` — create IAM roles, manage CloudFormation stacks, configure S3
  • `strands-docs` — framework patterns for agent code

References

  • Deployment scripts: `agentcore_template/scripts/`
  • Full deployment example: `agents_catalog/28-Research-agent-biomni-gateway-tools/scripts/prereq.sh`
  • FAST template deployment: `agents_catalog/35-Terminology-agent/`
Read more
@aws-samples
Ships withamazon-bedrock-agents-healthcare-lifesciences

A library of healthcare and life sciences domain capabilities — reference agents with best practices, reusable skills, and MCP-based tools — serving builders in their IDEs, researchers in Amazon Quick, and developers deploying to AWS.

27712 skills9 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
277
Star history of aws-samples/amazon-bedrock-agents-healthcare-lifesciences on GitHub, a chart by star-history.com

More skills from other plugins.

academic-paper-review

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…

@bytedance@bytedanceInstall Skill
last30days

last30days

Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…

@mvanhorn@mvanhornInstall Skill

Questions about hcls-deploy-agent.

Which coding agents can use hcls-deploy-agent?
hcls-deploy-agent installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.