Human-in-the-loop constructs for agentic workflows in healthcare and life sciences
AWS•How-to••by Pierre de Malliard•AWS Artificial Intelligence Blog
In healthcare and life sciences, AI agents help organizations process clinical data, submit regulatory filings, automate medical coding, and accelerate drug development and commercialization. However, the sensitive nature of healthcare data and regulatory requirements like Good Practice (GxP) compliance require human oversight at key decision points. This is where human-in-the-loop (HITL) constructs become essential. In this post, you will learn four practical approaches to implementing…
Four patterns add human approval to AI agent tool calls: an agent-loop hook, approval inside tools, asynchronous approval via Step Functions and SNS, and MCP elicitation.
Who it is for
Healthcare and life sciences teams building agents on Bedrock AgentCore that need approval gates for sensitive patient-data or discharge actions.
Key points
Code examples in a public GitHub repository, built with Strands Agents, AgentCore Runtime and MCP.
Asynchronous pattern lets approvals that take hours or days run without blocking the agent session.
Examples use a demo setup: sensitive tools need approval, low-risk lookups do not.
AI:Both add human approval or policy checks to agent tool calls via an agent-loop hook, but AWS frames it as approval patterns for healthcare workflows.
Related posts
AWS•How-to••by Aishwarya Pawar, Nitin Goyal and Sairam Vangapally•AWS Artificial Intelligence Blog
AI:A serverless MCP server on ECS Fargate lets AI agents query an enterprise data lake, and new datasets are added by a metadata JSON file instead of code.
AI:Gateway tool calls can reach private ALBs and private API Gateway endpoints through a VPC Lattice resource gateway placed in the network account, so traffic crosses the central firewall in both directions.
AI:Compares three OAuth setups for AgentCore Gateway to reach the Snowflake-managed MCP server: Snowflake OAuth per-user, three-legged with corporate IdP, and two-legged with a shared service user.