How We Used Amazon Bedrock to Prototype an AI Triage Assistant for Home-Based Care
A behind-the-scenes look at building an AI-powered triage assistant using Amazon Bedrock — how Knowledge Bases, Agents, and Guardrails work together to keep a home-care triage system genuinely safe, protocol-grounded, and honest about its own limits.
Home care agencies have a staffing math problem that never quite balances: too few clinical staff, too many patient calls, and a triage process that depends entirely on whoever picks up the phone knowing the right questions to ask. We wanted to see if a Bedrock-based assistant could take a first pass at that triage — not replace a nurse's judgment, but narrow down urgency fast enough that the right calls get escalated immediately instead of sitting in a queue.
Here's what we actually built, and what broke along the way.
Why Bedrock, Specifically
We didn't want to manage our own model infrastructure for a prototype, and we needed something that could sit inside AWS's existing compliance boundary rather than routing patient-adjacent data through a separate third-party API. Bedrock let us keep everything inside our AWS environment — model inference, data storage, and logging all within the same VPC — which mattered a lot given the healthcare context, even at prototype stage.
We picked a Claude model through Bedrock for the core reasoning step, mainly because triage isn't a single-turn classification task — it's a multi-question, adaptive conversation where the next question genuinely depends on the previous answer, and we needed a model that could hold that conversational thread coherently without losing track of earlier symptoms mentioned five turns back.
The Architecture, Roughly
Bedrock Knowledge Bases for triage protocols. Rather than relying on the model's general medical knowledge — which we didn't trust for anything urgency-related — we built a Knowledge Base from our client's actual documented triage protocols and escalation criteria, using Bedrock's built-in RAG pipeline. Every triage recommendation the assistant made had to be groundable in a retrieved protocol chunk, not generated from the model's own judgment alone.
Bedrock Agents for the multi-step flow. We used an Agent to orchestrate the actual conversation — asking a first symptom question, retrieving relevant protocol sections based on the answer, deciding whether enough information had been gathered to reach an urgency tier, and either asking a follow-up or escalating. This is where the "agentic" part earned its keep: a static decision tree couldn't handle the branching combinations of symptoms and patient history we needed to account for.
Guardrails for safety boundaries. This was non-negotiable, not optional. We configured Bedrock Guardrails to block the assistant from ever outputting a definitive diagnosis, a specific treatment recommendation, or a dosage instruction — its job was strictly urgency triage and routing, never clinical decision-making. Anything that even looked like it was drifting toward diagnosis got intercepted and redirected to a standard "a clinician will follow up" response.
Structured escalation output, not free text. Rather than letting the assistant end a conversation with a paragraph, we forced structured output — an urgency tier (immediate, same-day, routine), the protocol reference it used to reach that tier, and a summary of reported symptoms — so the human reviewing the case downstream could verify the reasoning, not just trust a conclusion.
What Actually Broke
The model over-triaged early on. Our first prompt version was too cautious, escalating almost everything to "immediate" — technically safe, but useless in practice, since it defeated the entire point of triage. We had to be much more explicit in the protocol documents about what genuinely warranted each tier, rather than trusting the model to infer appropriate caution from general instructions.
Symptom follow-up questions felt robotic in early testing. Home care patients are often elderly, sometimes confused, and don't always describe symptoms in clinical language. We had to spend real iteration time on the Agent's question-asking behavior — accepting vague or roundabout answers and asking clarifying follow-ups the way a trained intake nurse would, rather than expecting precise symptom terminology.
Knowledge Base retrieval sometimes pulled the wrong protocol section. Early on, questions about medication side effects occasionally retrieved general medication-management protocol text instead of the more specific adverse-reaction escalation criteria. We ended up restructuring how the source documents were chunked — smaller, more topic-isolated chunks improved retrieval precision noticeably.
Where This Stands Now
This is still a prototype, not a production clinical tool, and it's being tested with synthetic and de-identified scenarios before any real patient conversations touch it. The honest summary: agentic AI on Bedrock is genuinely capable of holding a structured, protocol-grounded triage conversation in a way that would have been much harder to build reliably with a static rules engine. But every safety decision — what it's allowed to say, what it must escalate rather than answer, how confident it needs to be before reaching a conclusion — has to be deliberately engineered in, not assumed as a byproduct of using a capable model.
The Knowledge Base and Guardrails combination is doing most of the real safety work here — not the base model's general judgment. That's the part worth remembering if you're building anything similar: the model provides the conversational reasoning, but the protocol grounding and hard safety boundaries are what actually make it trustworthy enough to test with real use cases.
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article