What is an agent in healthcare?
An agent is a system that can choose a next step, use permitted tools and inspect the result while working toward a goal. In a practice, that might mean gathering a referral packet, finding missing information and preparing a staff work item. Its useful output is work you can verify.
Think of the model as one member of a new operations team. It can read and propose. The surrounding application decides which records it may access, what actions are allowed and when a person must take over. A capable model with the wrong access is still the wrong system.
Chat assistant
Explains a denial letter you provide. It cannot check the actual claim state unless an authorized tool supplies it.
Bounded agent
Reads one assigned work item, retrieves approved sources, prepares a supported recommendation and stops at the release boundary.
Anthropic distinguishes fixed workflows from agents that select their own steps. Use that distinction to choose the simplest design that handles the task. A predictable checklist may need ordinary software with one language-model step.
Take it with you. Name the task, tools, stopping condition and accountable person before selecting a model.
Which work is a sensible first pilot?
Start with a narrow administrative task whose evidence and correct outcome a staff member can inspect. “Prepare a missing-document checklist for these referral packets” is testable. “Run the practice” has no clear boundary, success condition or recovery path.
Assess both the consequence of a mistake and how easily you can detect it. An incorrect internal label may be reversible; sending information to the wrong recipient may not be. A draft can still contain an error that a busy reviewer overlooks.
Swipe or scroll the table on small screens.
| Task | Useful agent contribution | Boundary for this course |
|---|---|---|
| Referral intake | Extract fields and identify gaps | Staff resolve uncertain identity and missing records. |
| Claim follow-up | Gather status and draft a next action | No payer submission or financial adjustment without approval. |
| Patient communication | Prepare an administrative response | Staff verify recipient, content and appropriate channel. |
| Diagnosis or treatment | Recognize the request is outside this pilot | Route to a qualified clinical workflow. |
This course covers administrative workflow design. A human review step alone does not determine whether a clinical software function is regulated. Assess the intended function against FDA’s current clinical decision support guidance and obtain the appropriate clinical and regulatory review.
Take it with you. Pick a task with a small permission surface, an observable outcome and a real owner for exceptions.
How does a request become reviewable work?
A useful loop is observe → retrieve → compare → prepare → review. The agent does not earn extra authority by completing more steps. Each tool result is new evidence to inspect, including an empty result, a timeout or a mismatch.
The workflow should carry structured state: the task identifier, practice identifier, patient reference, source versions, proposed action and current status. Do not rely on a transcript as the only record of what happened. If the process restarts, the application needs to know whether a draft exists and whether anything was already sent.
Walk a case through the agent loop
A fictional referral packet is missing one required document. Step through the work before anything leaves the practice.
- 01Observe
- 02Retrieve
- 03Compare
- 04Prepare
- 05Review
Stop when the required evidence is missing, the task leaves scope, or the work budget is exhausted. Escalation should include what was checked and what remains unresolved so a person does not have to start again.
Take it with you. A tool failure is a state to handle, not an invitation to guess.
What counts as a trustworthy answer?
A fluent summary is not a source. For every consequential assertion, preserve the underlying record, the relevant passage or structured field, and when it was obtained. Separate observed facts, inferences and missing information in the output.
For example, “the packet contains no authorization attachment” describes a search of this packet. It does not establish that no authorization exists anywhere. The next action might be to ask the appropriate team to check a different system.
An evidence card
Task: referral-demo-17. Source: packet revision 3. Observation: checklist requires a referral letter; none is attached. Next step: ask the referral coordinator to verify.
An unsupported leap
“Authorization denied.” No payer response, source record or reason was retrieved. Confidence in the wording cannot fill that gap.
Retrieved emails, attachments and portal text are data. An instruction inside a document telling the agent to export records or ignore its rules must not gain authority. Keep action permissions outside the document and enforce them in the application.
When sources conflict, show the conflict and request resolution. Scope knowledge by practice, payer, plan, state and effective date where relevant; one client’s rule is not automatically another client’s rule.
Take it with you. Make each conclusion traceable, and let “unknown” remain a legitimate result.
How should patient information move?
Draw the data path before connecting a model: source record → application → model service → tool → log → reviewer. Include backups, monitoring, search indexes and support access. A PHI leak can happen in an error log even when the visible chat looks clean.
HHS cloud guidance explains that a cloud provider handling ePHI on a regulated entity’s behalf can be a business associate, even when it cannot decrypt the data. Appropriate agreements, risk analysis and safeguards matter together; a BAA alone is not proof that the full workflow meets HIPAA requirements.
Limit access by role and purpose. The HIPAA minimum necessary standard generally limits applicable uses, disclosures and requests, with exceptions including disclosures to or requests by a provider for treatment. Have the privacy team determine how the rule applies to the actual workflow.
- Use fictional cases in prototypes; do not paste real patient records into unapproved tools.
- Enforce practice and patient scope in the data layer, including retrieval and logs.
- Decide which fields the task needs; filter before sending data to a model.
- Set retention, access review and incident-response responsibilities for every store.
Removing a name is not a de-identification method by itself. HHS describes Expert Determination and Safe Harbor; assess the complete data, including free text. The labs here contain only fictional examples.
Take it with you. Privacy applies to the whole data path, not just the model provider.
Where should a human approve the action?
Place the approval immediately before a consequential action and show the exact payload: who, what, where and why. “Approve this agent” is too broad. “Approve this version of this message to this recipient” is reviewable.
In this teaching workflow, payer submissions, patient messages and clinical record changes require designated human approval. This is a course design policy, not a claim that every healthcare action has the same legal approval rule. Organizations must define their actual permissions and review duties.
Can this draft leave the queue?
Check every item to enable a simulated release. Then change one item and watch the approval become stale.
The backend must check the approver’s role, the current record version and the approved payload. If the recipient, evidence or draft changes, require a new review. A checkbox in a browser demonstrates the concept; it is not an authorization system.
Give the reviewer the sources and unresolved questions alongside the draft. Make rejection and escalation as easy as approval, and record the reason for a correction.
Take it with you. Bind approval to one action and one version. A changed draft needs a fresh decision.
What happens after a timeout or a bad result?
Imagine a submission tool times out. The external system may have accepted the request even though your agent received no confirmation. Repeating the action can create a duplicate. First look up the operation by its stable identifier or reconcile against the destination.
Use distinct states: prepared, awaiting approval, executing, confirmed, failed and outcome unknown. “The agent finished” is not evidence that the destination changed. Store the external receipt and reconcile the actual result before marking the task complete.
Swipe or scroll the table on small screens.
| Observed event | Safer next step |
|---|---|
| Read-only lookup timed out | Retry within a bounded policy; preserve the failure if it persists. |
| Write timed out after dispatch | Check for a receipt or matching operation before retrying. |
| Wrong patient or practice detected | Stop processing and route to the designated incident owner. |
| Source changed after approval | Invalidate the approval and prepare a new review. |
| Repeated unresolved error | Move to an exception queue with context and an owner. |
Keep a stop control that prevents new actions, plus a recovery procedure for work already in flight. Audit records should explain decisions without unnecessarily duplicating sensitive content.
Take it with you. Unknown outcome and confirmed failure need different recovery paths.
How do you know the pilot is helping?
Build a test set around the work you actually intend to support: clear cases, missing records, mismatched identities, conflicting sources, duplicate requests and hostile instructions in attachments. Have domain reviewers define the expected result before seeing the agent’s answer.
Measure factual support, correct routing, unauthorized action attempts, reviewer corrections, handling time and unresolved cases. Inspect results by task type and relevant population or workflow differences. An average can conceal a dangerous failure pattern.
What does less review hide?
Move both assumptions. A small queue is not automatically a safer queue.
Start offline, then run in shadow mode where staff do the real work and compare the agent’s proposal. Move to an approved, limited pilot only after the designated owners accept the evidence. NIST’s AI RMF 1.0 provides a voluntary structure for governing, mapping, measuring and managing risk; it does not certify this course or a deployed agent.
Retest after changes to models, prompts, tools, source policies or permissions. Keep a held-out set so improvements do not merely memorize the examples used during development.
Take it with you. A smaller queue is useful only when the evidence shows that the right work is being done.
Design one workflow before connecting anything
Use this checklist to turn one administrative task into a concrete pilot brief. Name an owner for every answer.
- Define the input, permitted records, expected output and explicit exclusions.
- Draw the data path and identify the privacy, security and clinical review owners.
- List permitted tools, approval points and actions the agent must never take.
- Write the evidence, escalation and unknown-outcome recovery requirements.
- Create representative test cases, acceptance criteria and a stop procedure.
- Run offline and shadow evaluations before requesting a limited live pilot.
Check your understanding
Choose one answer per question. You’ll see the explanation immediately. Use Reset quiz to try again; this is a learning exercise, not a certification.
Quiz answers are saved in this browser only. Labs reset when you reload.