How to Control What an AI Agent Can Access in Your Practice
A vendor offers your practice an automation agent that will read incoming documents, file results and keep your records tidy. It sounds useful. Then the real questions arrive: what exactly will it be able to do on my computer? Where does my patients' information go? And if something goes wrong, how would I even know? This guide shows how to control what an AI agent can access before it works for you, with a short list of questions you can ask and answers you can check.
The short version: if you can't switch each of the agent's permissions on and off yourself, can't name exactly which data leaves your premises, and can't read a plain log of every action it took, you are not controlling the agent. You are trusting it.
Why "it's secure" is not an answer
A small practice is often asked to let software read documents straight from its own records system. The usual reassurance sounds like this: "it's secure", "it's compliant", "we use encryption". None of those sentences is wrong, and none of them tells you anything you can check. Encryption protects data on the way somewhere. It does not tell you where it is going, who can read it when it gets there, or how long it stays.
A careful owner asks three things before installing anything: what leaves my computer, who can turn things off, and how long is my data kept. Concrete answers settle those questions. Vague ones only postpone them.
Permissions: one switch per action, held by you
The most common weak spot is a single, broad "allow access" checkbox. Once it is ticked, the agent can do everything it was built to do, and the only way to narrow that is to call the vendor.
A well-designed setup looks different. You see a list of every operation the agent can perform, each with its own switch, and you hold the switches. For example:
- Read incoming documents: on
- File results to the patient chart: on
- Remote access for support: off
Two details matter here. First, what is off by default? Anything risky, remote access above all, should start closed and open only when you decide. Second, can you change a switch yourself, today, without a support ticket? A switch you hold is a control. A promise in a contract is only trust.
Data flow: start from "nothing identifiable leaves"
Ask for a written list of the exact fields that leave your machine, and where each one goes. If the vendor can't produce that list, nobody really knows the answer.
The strongest arrangement is what is often called a sealed, or local-only, mode: the sensitive work, reading the document and stripping out what identifies a patient, happens on your own computer. The starting rule is that nothing identifiable leaves it at all. That turns the question "will patient data reach someone else's server?" into an honest "no" instead of "yes, but…".
Sometimes you will want something to travel out, for instance so you can recognize your own cases when results come back. That is reasonable, as long as three things hold:
- It is masked. What goes out is a stand-in, not the real detail.
- You set the rule. You decide which fields go out and in what masked form, and you can change that rule later.
- It can't be traced back. The safest stand-in is a meaningless reference code, and the key that turns the code back into a person stays on your machine, not the vendor's.
Be wary of shortcuts that only look masked. A first name plus a few digits of an ID or phone number still points to a person, especially when combined with a date or a clinic name. Masking on its own is not anonymity. What makes it safe is that the outside party receives nothing it can trace, and you keep the key.
Finally, ask about retention. How long is anything kept on the vendor's side, and is deletion automatic? A fixed period that erases itself, such as 90 days, is much easier to rely on than "on request". And ask how the vendor helps you meet your own privacy obligations, rather than accepting a general claim that the product is "compliant".
The activity log: how you check the other two
Permissions and data rules are only as good as your ability to verify them. That is the job of the activity log. You should be able to open a complete record of every action the agent took, in plain language, without asking anyone for an export. Each entry should answer:
- What it did (read a lab result, filed it, flagged it for review)
- When it did it
- On which record, shown in a way you can recognize
- Under which permission, so you can see that it stayed inside what you allowed
Remote access belongs in the same log. If someone opens a support session, you should see when it started, when it ended and who it was. A readable log is the difference between knowing and believing.
A checklist to control what an AI agent can access
Get these answers in writing:
- Permissions, one by one. List every action the agent can take. Can I turn each one off myself, without calling you? What is off by default?
- Data flow. Which exact fields leave my machine, and to where? Can the sensitive work run locally, so that by default nothing identifiable goes out? If I choose to send something, can I decide which fields and how they are masked? Who holds the key that turns a masked item back into a person: me or you?
- Retention. How long is anything kept on your side, and is deletion automatic?
- Remote access. Is it closed by default? Who can open it, and will I see when it is used?
- The log. Can I read a complete, plain-language record of every action: what, when, on which record, under which permission?
- Stop. If I want it to stop right now, what single thing do I do?
Rule of thumb: if a vendor can't show you items 1, 2 and 5 working in front of you, you are trusting the agent, not controlling it.
None of this needs a technical audit. It needs six questions and the patience to wait for specific answers. Ask them before you install anything, and keep the written answers next to the switches.
Have a question about this?
Ask us directly. A person reads it; nothing you send is published.
Thanks — your question is on its way. If you left an email, we'll reply there.