Healthcare scheduling has long been a friction point where human error and administrative overhead collide. For cancer patients, the process of arranging a blood draw is not just a logistical hurdle but a source of anxiety. Until recently, the industry relied on manual call centers or rigid IVR systems that lacked the nuance to handle complex patient needs. This week, the conversation shifted toward high-precision autonomous agents capable of managing these interactions with human-like fluidity and surgical accuracy.
The Architecture of Medical-Grade Voice Automation
Natera has deployed a voice agent powered by Amazon Bedrock AgentCore specifically to automate the scheduling of blood draw appointments for cancer patients. To ensure the system met the rigorous demands of healthcare, the team conducted 500 end-to-end call simulations. The results were definitive: the agent achieved 100% accuracy in tool-calling. This means that every time the agent needed to verify patient information or trigger a scheduling API, it did so without a single failure, effectively eliminating the risk of manual data entry errors that often plague medical coordination.
From a financial perspective, the efficiency gains are stark. Natera reduced the operational cost to under $0.01 per completed call. By moving away from human-operated scheduling, the company has decoupled its growth from linear increases in labor costs, ensuring that a surge in call volume does not lead to a proportional spike in spending. The system also addresses the critical issue of perceived latency, keeping response times under 7 seconds. To prevent the awkward silences typical of AI voice bots, Natera leverages Bedrock foundation models to generate context-aware filler responses, maintaining a conversational rhythm that mimics a human agent.
Technical execution relies on a Dual-WebSocket bridge pattern to handle real-time audio streaming. The agent establishes a first WebSocket connection with Twilio for telephony and a second WebSocket connection with a real-time voice processing API. This creates a dedicated relay for audio data. The inbound path streams patient voice data from Twilio directly to the processing service for intent recognition, while the outbound path takes the synthesized audio response and routes it back through the agent to Twilio. To personalize the experience, a built-in memory management system stores and retrieves patient history instantly, ensuring the agent knows exactly who it is talking to and why.
The Pivot from Containers to Serverless MicroVMs
While the performance metrics are impressive, the real technical shift occurred in the underlying infrastructure. Natera originally operated its voice orchestration logic within Amazon ECS, utilizing self-managed containers. This required the engineering team to maintain a significant amount of boilerplate infrastructure code, including health check endpoints, auto-scaling policies, and complex deployment manifests. The transition to Bedrock AgentCore replaced this overhead with a fully managed serverless runtime that provides isolated microVMs equipped with dedicated CPU, memory, and file systems.
This migration required a fundamental refactoring of the codebase. The team stripped away the HTTP server initialization logic that characterized the ECS environment and replaced it with an AgentCore handler pattern that executes only when specific events are triggered. By decoupling the business logic from the infrastructure code, Natera eliminated the need to manage ports or server configurations, allowing the team to focus entirely on the conversation flow and API integrations.
However, moving to a serverless model introduced a new challenge: session state management. In the ECS environment, conversation states were stored in local container memory. This was fragile, as any container restart or scale-out event would result in the loss of the current session state. Natera solved this by implementing an externalized storage structure using Actor ID-based memory within Bedrock AgentCore. This ensures that session persistence is maintained regardless of which microVM handles the request.
There was also a conflict between the computing lifecycles of the two systems. ECS tasks run indefinitely, but AgentCore microVMs are ephemeral, existing only for the duration of a single invocation. This volatility threatened the stability of the long-lived WebSocket connections required for a phone call. Natera resolved this by implementing connection pooling within the runtime context. By reusing pre-established communication channels, the system maintains a stable WebSocket session for the entire duration of a call, even as the underlying microVMs cycle through invocations.
This architectural choice became even more critical when compared to off-the-shelf solutions like Amazon Connect Health. While Connect Health offers standardized integration with medical record systems like Epic or Cerner, Natera required a level of granularity that a pre-built agent could not provide. Specifically, they needed to dynamically adjust appointment slots from external vendor systems in real-time and implement a complex authentication flow involving patient identifiers and SMS verification codes. AgentCore provided the flexibility to build these custom guardrails.
Furthermore, the observability provided by AgentCore is a decisive advantage for medical applications. The platform captures detailed traces of every execution step, allowing developers to analyze tool calls and latency in millisecond increments. Engineers can pinpoint exactly why a model chose a specific answer by tracing the execution path through model inference, external tool execution, and memory retrieval. This level of transparency is essential for auditing AI behavior in a healthcare setting where a wrong turn in a conversation can have real-world consequences.
Natera's implementation demonstrates that the choice between a turnkey solution and a custom serverless framework depends on the standardization of the target APIs and the complexity of the session state. For legacy systems without standard APIs or environments requiring absolute traceability, the custom serverless approach offers a path to high reliability without the burden of infrastructure management.



