← Course library

01 / Agents in practice

Agents in Healthcare

Give an agent a useful job, the right evidence and a clear place to stop. Follow a healthcare work item from request to review, then test the boundaries yourself.

8 lessons4 interactive labs12-question quiz

For practice leaders, healthcare operations teams and builders. Start with AI Fundamentals if agents and models are new to you.

Interactive lab · synthetic examples

What should the agent do next?

Same model. Different task, evidence and authority.

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.

Compare candidate tasks
TaskUseful agent contributionBoundary for this course
Referral intakeExtract fields and identify gapsStaff resolve uncertain identity and missing records.
Claim follow-upGather status and draft a next actionNo payer submission or financial adjustment without approval.
Patient communicationPrepare an administrative responseStaff verify recipient, content and appropriate channel.
Diagnosis or treatmentRecognize the request is outside this pilotRoute 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.

Interactive lab · synthetic examples

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.

  1. 01Observe
  2. 02Retrieve
  3. 03Compare
  4. 04Prepare
  5. 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.

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.

Interactive lab · synthetic examples

Can this draft leave the queue?

Check every item to enable a simulated release. Then change one item and watch the approval become stale.

Evidence required for this exercise

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.

Recovery decisions
Observed eventSafer next step
Read-only lookup timed outRetry within a bounded policy; preserve the failure if it persists.
Write timed out after dispatchCheck for a receipt or matching operation before retrying.
Wrong patient or practice detectedStop processing and route to the designated incident owner.
Source changed after approvalInvalidate the approval and prepare a new review.
Repeated unresolved errorMove 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.

Interactive lab · synthetic examples

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.

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.