Agentic AI in healthcare is AI that does a piece of work from start to finish instead of answering one prompt. You ask it to draft an appeal, and it reads the denial letter, finds the visit notes, pulls the facts that answer the denial reason, writes the letter, and marks what the chart does not show. Then it stops and hands the result to a person.
That last step is the whole point for a medical practice. An agent that works across patient files is only as safe as the rules around it. This guide explains what AI agents are, where they already work in practices like yours, and the layer that keeps them in line, which we call the clinical AI harness.
ClinicFrame publishes this guide and builds agents for small and medium clinics. The examples use our product and fictional patients. Other vendors are named where they publish their own agent work.
What Is Agentic AI in Healthcare?
A chatbot answers. An agent works. The difference is a loop. An agent receives a goal, plans the steps, calls a tool for each step, checks what came back, and decides what to do next. It keeps going until the goal is met or it reaches something it is not allowed to do.
Take a fictional request from a medical assistant: "When was Daniel's metformin reduced, and why?" A plain chat model can only answer from what you paste in. An agent can search the patient's saved files, find the medication history on page 118 of a 312-page referral packet, read the lines around it, and answer with the date, the reason, and the page.
Four parts make that possible:
- A model that reads and writes text.
- Tools the model can call, such as a file reader, an evidence search, or a code sandbox for spreadsheets.
- Context, meaning the patient's notes and files, scoped to the right patient.
- Rules that decide what the agent may see, what it may do, and what gets logged.
The first part gets the headlines. The other three decide whether the agent belongs anywhere near a chart.
Agents, Chatbots, and AI Scribes
The three get lumped together. They do different work and carry different risks.
| Chatbot | AI scribe | AI agent | |
|---|---|---|---|
| Starts from | One prompt | The visit audio or dictation | A goal, like "draft the appeal" |
| Steps | One answer per prompt | Transcribe, then draft the note | Plans and runs several steps |
| Tools | Usually none | Transcription and a note template | File readers, search, code, connectors |
| Patient context | Whatever you paste | The current visit | The patient's notes and saved files |
| Output | Text in a chat | A draft note | A document, table, or answer with sources |
| Main risk | Answers with no source | Wrong facts in the note | Acting on the wrong data or the wrong patient |
The lines are blurring. Scribes now draft the letters that follow a visit. Chat tools now read uploaded files. What makes a product agentic is not the label. It is whether the software chains steps and tools on its own between your request and its answer.
Where AI Agents Already Work in a Practice
Agents earn their keep on work with many steps and a clear finish line. In a small or medium practice, five jobs fit that shape today.
Summarizing a Long Record
A referral packet arrives with 300 pages. The agent reads it, builds a timeline of diagnoses, admissions, and results, and cites the page for each event. The clinician reads two screens instead of three hundred pages and opens the pages that matter.
Drafting an Insurance Appeal
Billing uploads the denial letter and the visit notes. The agent quotes the denial reason, answers it with what the notes document, and leaves marked gaps for anything the chart does not show. In a fictional ClinicFrame example, the agent worked for 31 seconds and returned a Word file citing pages 3 and 14 of the visit notes.
Analyzing a Month of Exports
A practice manager uploads a denials export as a CSV and asks which payers drove denials this quarter. The agent writes and runs code over the file and returns a table, a chart, and an Excel file. Because the math runs as code, the same file gives the same numbers every time.
Preparing Tomorrow's Visits
Before a follow-up, the agent reads past notes and saved files and writes a short brief. It covers what changed, the latest scores, risks noted in the record, and items to cover. Each point names the visit it came from.
Phone Calls and Front-Desk Work
Outside the clinical record, other vendors run voice agents that call payers or answer patients. Infinitus, for one, describes agents that check prior authorization status and collect missing information by phone. Notable sells agents for intake, prior authorization, and appeal letters to health systems. These are real deployments, mostly at large organizations with integration teams.
Across all five, the pattern holds. The agent handles the reading, searching, and drafting. A person checks the result and decides what happens next.
What Is a Clinical AI Harness?
A clinical AI harness is the layer around the model that turns it into something safe to use with patient data. We define it this way on our AI medical harness page:
An AI medical harness is the layer that turns an AI model into a clinical worker a practice can trust. The model writes and reasons. The harness decides what it can see, which tools it can use, and where every answer comes from. It keeps the clinician in charge of every decision. In ClinicFrame, the harness runs inside ClinicFrame OS under the same BAA.
The word comes from engineering, where a harness is the code that runs and constrains an agent. Researchers are starting to apply it to clinical agents. A 2026 JMIR viewpoint argues for harness-centered design of clinical AI agents. Two products running the same model can behave very differently, because the harness decides what the model sees and what it may do.
The Harness in ClinicFrame OS
ClinicFrame OS is the engine that runs the ClinicFrame platform. The harness is one of its seven layers. Seeing all seven shows where an agent sits and what surrounds it.
| Layer | What it does in ClinicFrame OS |
|---|---|
| AI Models | Large language models listen, read, and draft under every feature. ClinicFrame picks the model for each task. |
| Agentic Harness | Breaks a request into steps, calls the right tools, and brings back one answer for a person to review. |
| Connections | Google Calendar, Google Drive, and Dropbox, read-only. Missing a tool? Request a connector from Settings. |
| Context and Memory | One workspace per patient for notes and files, shared by the team. |
| Notes and Documents | Drafts notes from visits or dictation, plus the letters, plans, and appeals that follow. |
| Healthcare Capabilities | Answers over patient files with the source page, Evidence mode, and spreadsheet analysis run as code. |
| Security | A signed BAA on every plan, field-level encryption, and visit audio discarded after transcription. |
The EHR stays the system of record. ClinicFrame OS runs the work around it, which is the idea behind a clinical operating system.
The Harness: Context, Tools, Permissions, Audit
A useful way to judge any agent, ours included, is to ask what its harness does in four areas.
Context
The agent should see the right patient and nothing else. In ClinicFrame, each patient gets one workspace. A question runs inside that workspace, over the notes and files saved there. The harness finds the relevant passages and passes only those to the model. A medication question gets medication lines, not the whole packet.
Tools
The agent should only call tools that were approved for the job. ClinicFrame's agents can search a fixed list of medical sources, read files page by page, and run Python in a separate sandbox for spreadsheets, with your files read-only. They do not submit claims or write into an EHR.
Permissions
The answer should only reach people allowed to see it. ClinicFrame has four team roles: Owner, Clinical admin, Clinician, and IT admin. Permissions are checked on the server on every request. An IT admin can manage members without seeing clinical records.
Audit
Someone should be able to reconstruct what happened. ClinicFrame logs opens, downloads, and changes, without the clinical content, and keeps the log for six years. Answers over patient files name the file and page, so the output carries its own trail.
How Agents Fail, and What the Harness Does About It
Agents fail in ways a single chat answer cannot, because each step builds on the last. Knowing the failure modes tells you which harness controls to look for.
| Failure | Fictional example | Harness control |
|---|---|---|
| Wrong patient | A summary mixes two patients with the same last name | Every request runs inside one patient's workspace |
| Invented fact | An appeal states a prior treatment the chart never mentions | Answers over files cite file and page, and gaps are marked |
| Wrong math | A denial total is off because the model estimated instead of calculating | Spreadsheets run as code in a sandbox, so results are exact and repeatable |
| Overreach | An agent tries to send a result outside the practice | Only approved tools are callable, and nothing writes into other systems |
| Wrong reader | A team member without clinical access sees a record summary | Roles are checked on the server on every request |
| No trail | Nobody can tell who asked for a document last month | Opens, downloads, and changes are logged for six years |
No harness makes an agent perfect. It makes failures visible and bounded, which is what a practice needs to trust the output enough to review it instead of redoing it.
One Request Through the Harness
Here is the fictional metformin question from earlier, step by step.
- A medical assistant opens the workspace of Daniel Okafor, a fictional patient, and asks when his metformin was reduced and why.
- The harness checks that the assistant's role can see this patient.
- It searches the three files saved to his workspace and finds the medication passages.
- It passes only those passages to the model, each tagged with its file and page.
- The model answers that metformin went from 1000 mg to 500 mg twice daily after GI intolerance was documented in May 2024, citing page 118.
- The harness logs the request. The assistant opens page 118 to confirm before adding anything to the chart.
Remove any one of those steps and the answer gets worse. Without scoping, the model might mix two patients. Without passages tied to pages, there is nothing to check. Without the log, nobody can tell later who asked what.
Risks to Check Before You Deploy One
Agents add risks a chatbot does not have, because they act across files and steps. Run this checklist on any vendor before patient data goes in.
- Ask for a signed BAA that covers the agent features, not only the core product.
- Ask what the agent can read. One patient's workspace, or everything in the account?
- Ask what the agent can do. Read only, or also send, submit, or write into other systems?
- Ask whether every answer over patient data cites its source.
- Ask what happens when the agent cannot find something. It should mark the gap, not fill it.
- Ask who can see the output and how roles are enforced.
- Ask for the audit log and how long it is kept.
- Ask whether patient content trains models. The answer should be no, in writing.
- Decide who reviews each kind of output, and write it down before rollout.
The last item is not about the vendor. An agent shifts work from typing to reviewing. If nobody owns the review, the shift turns into risk.
Start with one job, such as record summaries or appeal drafts, and measure time to a reviewed result. Expand when that job holds up. For the bigger picture of where agents fit in medicine, start with our guide to clinical AI.

