AI Cloud Architect

Human-in-the-loop constructs for agentic workflows in healthcare and life sciences

AWSHow-to by Pierre de MalliardAWS 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…

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

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.

The same at other vendors

Different approach

GoogleBlog post

Tailor Gemini CLI to your workflow with hooks

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.