Skip to main contentSkip to footer

    Top Rated & Verified

    Top Clutch App Development Company Black Owned United StatesTop Clutch Java Developers France 2026Top Clutch Service Line Blind Company Black Owned 2026Top Clutch App Development Company Minority Owned 2026Top Clutch Web Developers Black Owned 2026Top Clutch App Development Company Black Owned 2026Top Clutch Flutter Developers France 2026Top Clutch Health & Wellness App Developers France 2026Top Clutch Swift Company France 2026Top Clutch Machine Learning Company France 2026Top Clutch Chatbot Company France 2026Top Clutch Artificial Intelligence Company France 2026Top Clutch App Development Company Minority Owned Los Angeles
    Back to Blog
    Compliance Engineering
    August 9, 2026
    27 min read

    HIPAA-Compliant AI AgentArchitecture in 2026

    The engineering guide for building an AI agent that touches protected health information — what the Security Rule requires today, what the January 2025 proposal would add, and the reference architecture, audit trail, and vendor due diligence that hold up under scrutiny.

    HIPAA-compliant AI agent architecture for medical practices in 2026 — PHI data flow, BAAs, audit logging, and human-in-the-loop controls
    July 2027
    Projected final action on the Security Rule NPRM
    Unified Agenda, RIN 0945-AA22
    31
    Published source attributes for Predictive DSIs
    ASTP/ONC HTI-1, §170.315(b)(11)
    81%
    US physicians using AI professionally in 2026
    AMA 2026 Physician AI Sentiment Report
    $160k–$400k+
    Multi-site regulated build with HIPAA posture
    Frenchy Digital scoping 2026

    Key Takeaways

    • There is no HIPAA certification. What you can evidence is a posture: signed BAAs with every vendor in the data path, Security Rule safeguards, and a written risk analysis that names the agent.
    • The Security Rule as it stands today governs an AI agent touching ePHI. The January 2025 NPRM — mandatory MFA, encryption at rest and in transit, annual asset inventory and network map, annual compliance audit, six-month vulnerability scanning, annual penetration testing, 72-hour restoration — is still proposed, with final action projected for July 2027.
    • Build to the proposed standard now anyway. Almost none of it is optional engineering, and retrofitting encryption, MFA, and an asset inventory under a compliance deadline costs more than doing it first.
    • The hard risks are the ones HIPAA never contemplated: prompt injection reaching a chart-reading tool, PHI landing in model-provider logs, vector embeddings as a disclosure surface, and non-determinism defeating traditional change control.
    • Human-in-the-loop is a control only if it is instrumented. Record review time, override and rejection rates, edit diffs, and sampled QA — the OIG's February 2026 guidance makes rubber-stamp review an enforcement theory, not a hypothetical.
    • HTI-1's 31 published source attributes for Predictive DSIs bind certified EHR developers, not practices — which makes them a free, standardized vendor-evaluation artifact for any practice on certified EHR technology.
    • Frenchy Digital cost bands: discovery $9k–$22k; single-workflow agent $25k–$65k; multi-workflow with EHR integration $65k–$160k; multi-site regulated build with full HIPAA posture $160k–$400k+.

    There Is No Such Thing as a HIPAA-Certified AI Agent

    Start here, because almost every bad healthcare AI purchase starts with the opposite assumption. There is no HIPAA certification. HHS does not certify software. The Office for Civil Rights does not certify vendors. No accreditation body issues a HIPAA seal that means anything legally. A vendor that says it is HIPAA-certified is either using shorthand for something real or telling you, unintentionally, that nobody on their team has read the rule.

    What actually exists is a compliance posture — a set of things you can put in front of an auditor. Three of them carry almost all the weight. A signed business associate agreement with every vendor whose systems create, receive, maintain, or transmit ePHI on your behalf. Administrative, physical, and technical safeguards implemented under the Security Rule. And a written risk analysis that names the AI agent specifically, describes its data flows, and records what you decided about the risks you found.

    That last one is where most practices fail. An AI agent is not a feature of an existing system; it is a new system that reads records, calls an external service, holds context, writes derived data into caches and indexes, and produces text that may end up in a chart. If your risk analysis does not name it, you have not analyzed the risk.

    The substitution to make: stop asking vendors whether they are HIPAA-compliant. Ask three questions instead. Will you sign a BAA at the tier we are buying? Can we export our audit logs? What do you retain, for how long, and who can read it? The answers are checkable. A certification claim is not.

    This article is the compliance substrate for the rest of our healthcare AI cluster. Everything downstream — a front-desk voice agent, an assistive coding queue, an EHR integration — assumes the architecture described below. It is written for a CTO, a practice IT lead, or a founder selling into practices, and it assumes you would rather read section numbers than adjectives.

    One framing note before the engineering. Everything here concerns administrative and documentation automation under human review. An AI agent is not practicing medicine, and nothing in this architecture makes it safe to let one do so. The AMA calls this augmented intelligence — assistive by design, enhancing human judgment rather than replacing it. That is not a disclaimer; it is the design constraint that shapes every decision below.

    The January 2025 NPRM: Proposed, Not Required — and Why to Build to It Anyway

    On January 6, 2025, HHS published a notice of proposed rulemaking to strengthen the HIPAA Security Rule at 90 FR 898 (RIN 0945-AA22). It is the most significant proposed change to the Security Rule since it was adopted. It is also, as of today, still a proposal.

    The comment period closed March 7, 2025. The rule has since moved to the Unified Agenda's long-term actions, where the agenda entry projects final action in July 2027. It has not been finalized and it has not been withdrawn. July 2027 is the agency's own non-binding projection, and projections move.

    Say this precisely. Everything in the right-hand column below is as proposed. None of it is a current obligation. A consultant or vendor telling you that MFA or 72-hour restoration is required by HIPAA today is wrong, and that error is a good early filter on who you take advice from.
    AreaToday — Security Rule in forceJanuary 2025 NPRM — as proposed, not in force
    Implementation specificationsSplit into required and addressableThe addressable/required distinction removed — all specifications mandatory
    Multi-factor authenticationNot named in the rule textMandatory MFA
    EncryptionAddressable, at rest and in transitEncryption of ePHI at rest and in transit
    Asset inventory and network mapImplied by risk analysis; not an explicit standardWritten asset inventory and network map, updated annually
    Compliance auditNo fixed cadence in the ruleAnnual compliance audit
    Vulnerability scanningNot specifiedVulnerability scanning every six months
    Penetration testingNot specifiedAnnual penetration testing
    Restoration of critical systemsContingency plan required; no fixed clockRestoration of critical systems within 72 hours
    Legal statusIn forceProposed. Comments closed Mar 7, 2025; moved to long-term actions; final action projected 07/2027 — a non-binding agency projection

    Current Security Rule obligations versus the January 2025 NPRM as proposed. Right-hand column is proposed content only.

    Now the pragmatic argument. Read the proposed column as an engineering specification rather than as law, and almost none of it is objectionable. MFA on every human path is table stakes. Encryption at rest and in transit is what a competent build does by default. An asset inventory and network map is the artifact you need anyway the first time you scope a breach, and if you are running an AI agent you should already know every store where ePHI or its derivatives land — including the vector index, the prompt cache, and the transcript bucket that nobody remembers creating. Vulnerability scanning and penetration testing are what your enterprise customers will ask for in a security review long before a regulator does.

    The 72-hour restoration target is the one that changes architecture rather than process. Meeting it means tested restores, not documented backup jobs, and it means knowing which systems are actually critical — usually a much shorter list than the one in the disaster recovery binder. Build for it now and the finalization, whenever it comes, is a documentation exercise. Retrofit it under a compliance deadline and it is a project.

    What we tell clients about the 2027 projection

    Do not plan a compliance program around a projected date. Plan the engineering around the proposed content, because the proposed content is mostly just good practice with a citation attached. Then, if the rule finalizes on the projected timeline, your work is already done and your remaining task is paperwork. If it slips or changes materially, you have lost nothing — you built a more defensible system either way.

    The one thing to avoid is telling a board, an insurer, or a customer that a proposed requirement is a current one. Misstating a regulatory obligation in a security questionnaire is its own problem.

    Reference Architecture for an AI Agent That Touches PHI

    Here is the layered architecture we deploy for practice-side AI agents. It is deliberately boring. The interesting parts of an AI system are the parts that fail an audit.

    • 1. Boundary and identity: One drawn perimeter. SSO with MFA for every human path; named service principals for the agent itself, never a shared credential. Role matrix maps each agent capability to a minimum-necessary scope — a scheduling agent cannot reach a problem list, and that is enforced at the data layer, not in the prompt.
    • 2. Ingress and classification: Every inbound artifact — portal message, fax, referral letter, voice transcript — is classified before it reaches a model: patient identity resolved, content type tagged, clinical-versus-administrative determined. This tag is what drives state disclosure rules downstream, so it belongs in the data model rather than in a template.
    • 3. Retrieval, scoped: Retrieval is filtered by patient, encounter, and role at query time, not filtered after the fact. Post-retrieval filtering means the wrong records already entered the context window. Log what was retrieved, not only what was used.
    • 4. Prompt construction under minimum necessary: A prompt builder that assembles named fields, not a template that interpolates a whole record. Every field in the prompt should be defensible as necessary for the task. This is the single highest-leverage control in the whole stack and the one most often skipped.
    • 5. Model invocation: Private networking to a covered endpoint. Pinned model version. No traffic over the public internet. Request and response bodies excluded from generic APM capture and routed instead into the controlled audit path.
    • 6. Tool layer with deny-by-default: Tools are allowlisted per workflow. Arguments the human never supplied are rejected rather than inferred. Any tool that can read across patients requires a fresh, explicit human intent — not a model decision.
    • 7. Human review queue: Output lands as a draft in a queue with the source material beside it. Reviewers accept, edit, or reject. The system records the decision, the diff, and the time taken. Nothing writes to a chart without a licensed human signature.
    • 8. Write-back with attribution: Signed, versioned writes. Drafts and signed records are distinct objects. Clinician text is never silently overwritten, and every version is recoverable.
    • 9. Audit and telemetry: Append-only log with actor, purpose, records touched, model and prompt versions, tool calls, and the human decision. Redaction happens before anything reaches general-purpose observability tooling.
    • 10. Retention, deletion, and disaster recovery: Every store has a written retention period — transcripts, audio, prompts, outputs, vectors, caches, logs. Deletion propagates through derived data. Restores are tested on a schedule, not assumed.

    The layers people skip are four, six, nine, and ten — prompt construction, the tool layer, the audit path, and deletion. Those four are exactly the ones an incident or an inquiry will surface. A retrieval bug is a bug; a retrieval bug with no log of what was retrieved is a breach you cannot scope.

    Is your agent a medical device? Usually not — but know why

    Administrative and documentation agents generally fall outside device regulation under the administrative-support-of-a-health-care-facility exclusion at §520(o)(1)(A) of the Federal Food, Drug, and Cosmetic Act. Scheduling, eligibility, intake, reminders, and ambient documentation sit there. No FDA guidance names AI scribes or ambient documentation specifically — none exists.

    Clinical decision support is a different analysis. FDA issued final Clinical Decision Support Software guidance on January 6, 2026 and re-issued it January 29, 2026 (docket FDA-2017-D-6569). The notable change is a new enforcement discretion policy: for software providing a single, clinically appropriate output that otherwise meets all four non-device criteria, FDA intends to exercise enforcement discretion — a reversal of the earlier position that a single directive output made software a device. The four criteria themselves are unchanged, and the fourth is the one that governs your UI: the health care professional must be able to independently review the basis for the recommendation.

    FDA's separate guidance on lifecycle management for AI-enabled device software functions remains in draft as of today. And to be explicit: nothing Frenchy Digital builds is FDA-cleared, and administrative automation is not a clinical decision.

    PHI Data-Flow Mapping and the Minimum-Necessary Prompt

    Before any code, produce a one-page data-flow map. Every box is a system that holds or moves ePHI. Every arrow is labeled with what crosses it, under what contract, over what channel, and with what retention on the far side. The map is the input to the risk analysis, the BAA inventory, and the deletion design all at once, and it takes an afternoon.

    The map immediately surfaces the stores nobody counted: the transcript bucket, the vector index, the provider-side prompt cache, the queue that holds a draft note for eleven days, the error-tracking service that captured a stack trace containing a full request body. Each of those is a copy of ePHI. Each needs a contract and a retention period.

    Then apply minimum necessary to prompt construction. This is a Privacy Rule concept that translates almost perfectly to prompt engineering and is almost universally ignored in practice, because interpolating an entire record into a template is one line of code and assembling named fields is thirty.

    The test: for every field in the prompt, can you state in one sentence why the task cannot be completed without it? If not, remove it. An eligibility-check agent needs a member ID, a date of birth, a payer, and a CPT code. It does not need a medication list, and the day someone asks why the medication list was transmitted to a third party, you want the answer to be that it was not.

    The next decision is what form the data takes when it leaves your boundary. There are five real options and they trade off cleanly.

    StrategyWhat leaves your boundaryBAA required?Where it breaks
    Full identified PHI to a covered endpointIdentified ePHIYes — with the model provider and the hosting platformNothing, if the paperwork is right. This is the normal answer for clinical work.
    Minimum-necessary PHIOnly the fields the task actually needsYesEngineering discipline. Prompt builders drift toward pasting the whole chart because it is easier.
    Tokenization / pseudonymizationSurrogate keys; the re-identification map stays inside your boundaryYes — surrogates are still PHI while you hold the keyFree text the tokenizer never parsed. Narrative notes leak identity the schema does not know about.
    De-identification — Safe Harbor §164.514(b)(2)Records with all 18 identifier categories removedNo — de-identified data falls outside HIPAAClinical notes rarely survive Safe Harbor and remain clinically useful
    De-identification — Expert Determination §164.514(b)(1)Records a qualified expert has determined carry very small re-identification riskNoCost, and the determination has to be redone when the data or the method changes

    PHI handling strategies for model calls, with the failure mode of each — Frenchy Digital, 2026.

    The distinction people get wrong is tokenization versus de-identification. Replacing a name with a surrogate key is a useful engineering control that reduces blast radius. It is not de-identification, and it does not remove the BAA requirement, because you hold the re-identification map. De-identification under §164.514 means either Safe Harbor — removing all 18 categories of identifiers — or an Expert Determination that re-identification risk is very small. Both are real and both are achievable. Neither survives contact with clinical free text as easily as the vendor deck suggests, because narrative notes carry identity in ways a field-level scrubber never sees: an unusual diagnosis, a referring provider's name, a specific date, an employer mentioned in a social history.

    For most clinical workloads, the honest answer is: sign the BAA, apply minimum necessary aggressively, and stop trying to engineer your way out of a contract you should have anyway.

    BAAs, Private Networking, and No-Training Terms Across Model Providers

    BAA availability across model providers changes by quarter, by product, and by tier, so treat any list of vendor names as perishable and verify in writing before you build. What does not change is the structure of the decision. There are five routes to a model, and each puts the business associate in a different place.

    Deployment routeWho the business associate isVerify in writing before you build
    Model endpoint inside your own hyperscaler accountThe cloud provider, under your existing BAA — if that specific service is in scopeThat the exact service name and region are listed as in-scope. Service scope changes; last year's list is not evidence.
    A model provider's API, called directlyThe model providerSigned BAA at the tier you are actually buying, a no-training-on-your-data clause, stated log retention, and who inside the vendor can read those logs
    Consumer or free chat tier of a general assistantNobody. Assume no BAA.Do not route PHI here. This is the most common shadow-IT exposure inside a practice, and the easiest to prevent with policy plus egress controls.
    An application vendor that embeds a modelThe application vendor, who needs a downstream BAA with the model providerTheir subcontractor chain, in writing. §164.308(b)(2) makes it their obligation — but it becomes your breach notification.
    Self-hosted open-weights modelYouNothing external. You have moved the risk in-house, not eliminated it: patching, isolation, and evaluation are now yours.

    Model deployment routes and where business associate responsibility lands. Confirm current scope with each vendor — coverage varies by product and tier.

    The recurring trap is tier mismatch. A vendor genuinely offers a BAA — on the enterprise plan. The pilot runs on the self-serve plan because that is what a card can buy on a Tuesday. Six weeks of real patient data has now moved under an agreement that does not cover it, and no amount of later paperwork fixes the disclosures that already happened. This is why we tell every practice the same thing: the BAA is signed before the pilot, or the pilot uses synthetic data.

    Beyond the BAA itself, these are the contract terms that carry real architectural weight. Get them in the agreement, not in a support-page FAQ that can be edited without notice.

    • No training on your data: An explicit clause, not a settings toggle. Toggles get reset by migrations, plan changes, and new team members.
    • Retention window per artifact: Separate numbers for prompts, outputs, audio, transcripts, and telemetry. Zero retention is achievable with several providers; where it is not, get the number in days.
    • Human review of your data: If the vendor performs abuse monitoring or quality review that involves humans reading content, that is a disclosure. It needs a stated purpose, a stated population, and a retention period.
    • Private networking: Private endpoints or equivalent so requests do not traverse the public internet. This also simplifies the transmission-security story considerably.
    • Data residency with no silent failover: Named regions, contractually fixed. Texas SB 1188 bars offshore storage of electronic medical records, which turns a preference into a constraint for any practice with Texas patients.
    • Subprocessor list and change notification: You cannot manage a supply chain you cannot see, and their subcontractor breach becomes your notification obligation.
    • Breach notification clock to you: HIPAA's outer bound is 60 days from discovery for covered entities. Your BAA should give you a materially tighter number from the vendor, because your clock starts when theirs does.
    • Deletion on termination, with certification: Written confirmation, within a stated window, covering derived data — indexes, embeddings, caches — and not just the primary records.

    Read the Breach Notification Rule once with your architecture diagram in front of you. It clarifies the design fast: everything the rule asks you to determine after an incident — who was affected, what was disclosed, when, and to whom — is something your logging either can answer or cannot.

    Audit Logging That Survives an OCR Inquiry

    §164.312(b) requires mechanisms that record and examine activity in systems containing ePHI. The rule does not enumerate fields, which is why most implementations are inadequate: they log what engineers found convenient rather than what an investigator will ask for.

    The design target is simple to state. Six months from now, someone will name a date, a patient, and a clinician, and ask what the system did. Your log should answer without anyone having to reason from memory.

    FieldWhy it matters under inquiryThe common miss
    Actor identity and roleAttribution. Unique user identification means the log can name one person, not a shared account.One service account for the agent, so every action reads as system
    Patient and record identifiers touchedScope of a disclosure during a breach investigation or an accounting requestLogging a prompt hash but not the records the retrieval actually pulled
    Purpose of useTreatment, payment, operations, or break-glass. This is what separates lawful access from snooping.No purpose field at all
    Timestamp, timezone, source IP, session, tenantReconstructing who did what, from where, on whose behalfLocal timestamps and no tenant column in a multi-practice deployment
    Model ID, model version, prompt template versionReproducing what the system did on a given datePointing at a latest alias, so the behavior is unreproducible
    Tool calls and their argumentsShowing which capabilities were exercised and against which scopeLogging the final text only, so nobody can explain the output six months later
    Human decision, edit diff, and review durationThe evidence that review actually happenedA single accepted boolean with no timing data
    Immutability and retention scheduleA log a user can edit is not an audit controlAn application-writable log table with no write-once guarantee

    Audit log schema for an AI agent handling ePHI, with the field most implementations omit — Frenchy Digital, 2026.

    Three implementation notes. First, the agent needs an identity, not the application's identity. If every AI action is attributed to a single service account, your log has told you that the system did something — which you already knew. Attribution should chain: this human, acting in this role, for this purpose, invoked the agent, which called these tools against these records.

    Second, immutability is the point. An append-only store with object-lock or equivalent write-once semantics, separate credentials from the application, and a retention schedule that someone actually approved. A log the application can rewrite is documentation, not an audit control.

    Third, redact before you log — including in your own tooling. The most common accidental disclosure we find in healthcare AI code reviews is not the model provider. It is the error tracker, the request-logging middleware, or the debug trace that captured a full prompt containing a full chart, sitting in a SaaS product nobody put a BAA on.

    Design the log by writing the inquiry first. If you cannot answer who accessed this patient's record through the agent last March, and what the agent did with it, the logging is not finished — regardless of how much of it there is.

    Frenchy Digital audit principle

    Retention, Deletion, Break-Glass, and Tenant Isolation

    Retention and deletion. Every store gets a written retention period, and the list is longer than people expect: audio, transcripts, prompt payloads, model outputs, draft notes, vector embeddings, prompt caches, queue messages, backups, and audit logs. Audit logs are the one store that should outlive the data they describe — you cannot investigate a 2026 incident with logs you rotated in 2027.

    Deletion has to propagate. A delete that removes a source row but leaves its embedding in the vector index has not deleted anything meaningful; the semantic content is still queryable. Test the deletion path the way you would test a restore, by actually running it and then searching for what should be gone.

    Break-glass access. §164.312(a)(2)(ii) requires an emergency access procedure, and an AI-mediated workflow makes it more important, not less — the agent will be unavailable at some point, and clinicians will need the underlying record. A break-glass path that works has four properties: it is documented before the emergency; it requires a stated reason at the moment of use; it fires an alert to a named person in real time; and every use gets reviewed after the fact, with the review recorded. Break-glass without post-hoc review is not a control, it is a backdoor with a form on it.

    Tenant isolation for multi-practice deployments. If you are a founder selling an agent to practices, this is the section that determines whether you can pass a security review. A cross-tenant leak in a multi-practice product is not one breach — it is a breach at several covered entities simultaneously, each with its own notification obligation, each of whom will want to know why your query lacked a tenant predicate.

    • Tenant identity on every request and every row: Carried in the request context, enforced at the data layer, and present in every log line. Not derived from a header the client controls.
    • Enforcement at the database, not the ORM: Row-level security or an equivalent server-side predicate, so that a missing filter in application code fails closed rather than returning another practice's data.
    • Per-tenant scoping in the vector index: Namespace or partition per tenant. Metadata filtering alone is a single misconfigured query away from a cross-tenant retrieval.
    • Per-tenant encryption keys where feasible: Limits blast radius and makes tenant offboarding a key-destruction operation rather than a deletion job you have to prove completed.
    • Per-tenant rate and cost caps: Prevents one practice's runaway workflow from degrading another's, and gives you an early signal on abnormal usage.
    • Isolation tests in CI: Automated cases that assert tenant A cannot retrieve, list, or infer tenant B's records through any endpoint, including the agent's tool surface.
    • Per-tenant BAA and log segregation: Each practice can receive its own audit export without seeing anyone else's activity.

    AI-Specific Risks HIPAA Never Contemplated

    The Security Rule was written for a world where an authenticated person makes a request and a system answers it. Generative agents break several assumptions in that sentence at once. These risks are not exotic; they are the ones that actually show up in code review.

    RiskWhy the rule does not address it directlyControl
    Prompt injection reaching a chart-reading toolThe Security Rule assumes an authenticated human makes the request. Here, text inside a fax, portal message, or referral letter becomes the request.Treat retrieved content as data, never instruction. Allowlist tools, deny by default any argument the human never supplied, require fresh human intent for cross-patient reads, and run injection cases in CI.
    PHI leaking into a model provider's logsThe disclosure happens inside a vendor's observability stack, not on your network, and you will not see it in your own telemetry.BAA plus a written zero- or short-retention term, private endpoints, redaction before logging — including in your own tracing tools.
    Vector embeddings of clinical notesEmbeddings are derived data with no exception in the de-identification standard, and they are re-identifiable enough in practice to treat as PHI.Host the index inside your boundary, encrypt at rest, enforce tenant and patient scoping at query time, and route deletions through the index.
    Non-determinism defeating change controlTraditional change control assumes identical input yields identical output. It does not here.Version prompts, tools, and model IDs as code. Pin versions. Golden-set evals in CI. Canary a model upgrade like a schema migration.
    Retrieval over-fetchMinimum necessary was written for people requesting records, not for a retriever pulling the top fifty chunks.Scope retrieval by patient, encounter, and role before the model sees anything, and log what was retrieved, not just what was used.
    Agent memory and prompt cachingLong-lived context windows and provider-side caches are a new copy of ePHI that nobody inventoried.Treat every cache as a data store: encrypt, scope, expire, inventory, and include it in the deletion path.
    Autonomous action without attributionHIPAA assumes a workforce member behind each action; an agent acting alone breaks integrity and attribution at once.Every chart write carries a licensed human signer. No exceptions, no batch auto-sign.

    AI-specific risk register for agents handling ePHI, mapped to architectural controls. Cross-reference the OWASP Top 10 for LLM Applications and the NIST AI Risk Management Framework.

    Prompt injection is the one that keeps us up. In an ordinary application, input arrives from an authenticated user through a form you control. In a healthcare agent, input arrives as a referral letter, a scanned fax, a payer PDF, or a portal message written by someone outside your organization. If that text can influence what the model does, and the model can call a tool that reads charts, then an outside party has partial control over a chart-reading capability. The mitigation is not a better system prompt. It is architecture: retrieved content is data, tools are allowlisted per workflow, arguments the human never supplied are rejected, and any cross-patient read requires fresh explicit human intent.

    Non-determinism versus change control is the subtler one. Traditional change management assumes that if you did not deploy, nothing changed. With a model behind a floating alias, behavior can shift underneath you without a single commit. The fix is to make the AI system look like ordinary software to your change process: pin model versions explicitly, keep prompts and tool definitions in the repository under review, maintain a golden evaluation set of real cases, run it in CI on every change to a prompt or model ID, and canary model upgrades on a fraction of traffic while watching override and rejection rates. Then a model upgrade is a deploy with a rollback, and the answer to what the system did on a given date is a commit hash.

    Under-appreciated: transcription and note-generation quality is a patient-safety surface, not just a UX one. A pilot review of 356 ambient-generated notes found omissions in 18% and hallucinations in 11.5%, with most errors mild to moderate — but 5.3% of the notes containing errors were rated potentially seriously harmful. Separate research on the Whisper speech model (13,140 audio segments) found hallucinations in 1.4% of segments, with 38% of those hallucinations containing explicit harms, disproportionately affecting speakers with longer non-vocal pauses. That is a design constraint on your review queue, not a footnote.

    Human-in-the-Loop as a Documented Control, Not a Slogan

    Every healthcare AI deck says human-in-the-loop. Almost none of them can produce the data that proves it happened. That gap is now an enforcement theory rather than a hypothetical.

    In February 2026, the HHS Office of Inspector General published Medicare Advantage industry compliance program guidance that explicitly names, among potentially abusive practices, querying physicians via electronic medical record platforms — including prompts generated by artificial intelligence algorithms — to add risk-adjusting diagnoses. That is the clearest statement to date that a regulator is looking at AI prompts inside clinical software as a compliance surface.

    The reasoning behind it generalizes well beyond risk adjustment. If a reviewer accepts the overwhelming majority of AI suggestions at a fraction of a second per item, no meaningful review occurred. Automation bias becomes the compliance failure. The defense is not a policy document asserting that clinicians review output; it is telemetry showing that they did.

    InstrumentWhat to recordWhat good looks like
    Review time per itemMilliseconds between presentation and decisionA distribution, not an average. Investigate the sub-two-second tail before a regulator does.
    Override / edit rateShare of items the reviewer changed before acceptingA rate that never moves is a broken control, not a perfect model
    Rejection rateShare of items discarded outrightTracked per reviewer, per workflow, and per model version
    Edit diffThe actual delta between the draft and what was signedStored, sampled, and reviewed by a supervisor on a written cadence
    Sampled QAA fixed percentage independently re-reviewedA written sampling rate, a written cadence, findings logged and remediated
    Attribution of the final recordWho signed, under what credential, at what timeThe signer is always a licensed human, and the log proves it

    Human-in-the-loop instrumentation — the measurements that turn review from a claim into a control.

    Two design details make the difference. First, report review time as a distribution rather than an average, because an average hides exactly the behavior you are trying to detect. A workflow with a healthy median and a fat sub-two-second tail is a workflow where some reviewers have stopped reading. Second, treat a flat override rate as a signal, not an achievement. If the edit rate never moves across model versions, specialties, or reviewers, the most likely explanation is that the review step has become a click.

    Adoption is not the bottleneck here — evidence is. The AMA's 2026 Physician AI Sentiment Report (n=1,692, fielded January 15 to February 2, 2026) found 81% of physicians using AI professionally, up from 38% in 2023. The tools are already in the building. What is usually missing is the instrumentation that would let a practice demonstrate, to a payer or a regulator, how they were used.

    A human-in-the-loop control you cannot measure is a human-in-the-loop claim. Instrument review time, override rate, rejection rate, and edit diffs from day one — retrofitting them means you have no history for the period anyone will ask about.

    Frenchy Digital compliance principle

    HTI-1 DSI Transparency: A Free Due-Diligence Artifact Most Practices Ignore

    This is the most useful under-covered point in healthcare AI procurement, and it costs nothing to use.

    ASTP/ONC's HTI-1 final rule (89 FR 1192) replaced the old clinical decision support certification criterion with §170.315(b)(11), the Decision Support Interventions criterion. Certified health IT developers had to deliver updated technology by December 31, 2024; from January 1, 2025 only (b)(11) counts toward the Base EHR definition, and the predecessor criterion expired. Maintenance of Certification obligations began January 1, 2025.

    The substance is the transparency requirement. Developers must make source attributes available: 13 for evidence-based DSIs, and 31 for Predictive DSIs across nine categories — details and output, purpose, cautioned out-of-scope use, development details and input features, fairness in development, external validation, quantitative performance, ongoing maintenance, and update and validation schedule. Developers must also perform Intervention Risk Management for each Predictive DSI they supply — risk analysis, risk mitigation, and governance addressing validity, reliability, robustness, fairness, intelligibility, safety, security, and privacy — and a summary is provided to the ONC-ACB and publicly posted.

    The scoping point everyone misses: HTI-1 binds certified EHR developers, not practices. You have no HTI-1 obligation. But if you use certified EHR technology for MIPS or Promoting Interoperability, this disclosure already exists for the predictive features inside your EHR — externally validated performance, fairness in development, out-of-scope cautions, maintenance cadence — published, standardized, and free to read. It is the best-structured vendor-evaluation artifact in US health IT, and most practices have never opened it.

    Two ways to use it. First, read the published attributes for the predictive features already running in your EHR, because they are running whether or not anyone evaluated them. Look specifically at cautioned out-of-scope use and external validation — the two that most often reveal that a model was validated on a population unlike yours.

    Second, use the 31 attributes as your question set for every AI vendor outside the EHR, none of whom are bound by the rule. A vendor that can answer all nine categories has done the work. A vendor that cannot say what population its model was validated on, or what its cautioned out-of-scope uses are, has told you something important. This is the cheapest, most defensible due-diligence instrument available, and it has the advantage of being a federal standard rather than a checklist you invented.

    The State Overlay on Top of HIPAA

    HIPAA is a floor, not a ceiling, and the state layer is where most architectural surprises come from. What follows is the overlay that changes engineering decisions rather than the full 2026 legislative landscape. Jurisdiction generally follows the patient, not your servers.

    JurisdictionRuleStatusWhat it changes in the build
    California — AB 3030 (H&SC §1339.75)Generative AI communications about patient clinical information need an AI disclaimer plus clear instructions for contacting a human provider. Administrative matters — appointment scheduling, billing, other clerical or business matters — are expressly excluded. No requirement where a licensed human reads and reviews the communication.Effective Jan 1, 2025A disclosure layer keyed to message classification, plus placement rules: written at the beginning, chat displayed throughout, audio spoken at the start and the end, video displayed throughout
    California — AB 489AI may not use terms, post-nominals, or design elements implying licensure. Each use is a separate violation; licensing boards enforce.Effective Jan 1, 2026Persona and copy review. No doctor, nurse, or clinician-guided framing in agent output, UI chrome, or voice prompts.
    California — SB 1120AI may not be the sole basis to deny, delay, or modify care; medical-necessity determinations rest with a licensed physician or competent professional.Effective Jan 1, 2025Payer-facing, but it sets the architectural tone: no autonomous adverse determinations anywhere in the stack
    Texas — HB 149 (TRAIGA)Health care providers must clearly and conspicuously disclose use of an AI system in a patient's diagnosis or treatment, before or at the time of the interaction; in an emergency, as soon as reasonably possible. Disclosure may be folded into intake forms. AG-exclusive enforcement.In force since Jan 1, 2026Intake and consent plumbing, plus a durable record that the disclosure was made and when
    Texas — SB 1188Practitioners may use AI in diagnosis or treatment only within licensure scope and must review AI-generated records per Texas Medical Board standards. Also bars offshore storage of electronic medical records.Effective Sep 1, 2025Data residency becomes a hard architectural constraint. Pin regions; verify your model endpoint does not fail over abroad.
    Utah — AI Policy Act as amended by SB 226In a regulated occupation, disclose that the consumer is interacting with generative AI at the start of the interaction — orally where the interaction is verbal. Division of Consumer Protection fines up to $2,500 per violation; AG and courts up to $5,000 per violation.Effective May 7, 2025A spoken disclosure in the first turn of any voice agent, emitted before any data collection, and logged as an event
    Colorado — SB 26-189Repealed and replaced SB 24-205, which never took effect. Regulates automated decision-making technology in consequential decisions — health care services among them — through pre-decision notice, post-decision disclosure, and consumer rights. Risk-management programs and annual impact assessments are gone. AG-only enforcement; rulemaking pending.Signed May 14, 2026; effective Jan 1, 2027Nothing today. Build notice and disclosure hooks now so January 2027 is a configuration change, not a project.

    State-law overlay for AI agents in medical practices, and the architectural consequence of each — as of August 2026.

    The AB 3030 clinical-versus-administrative line is the one worth internalizing, because it determines whether an entire disclosure regime applies to your agent. The statute defines patient clinical information as information about a patient's health status and expressly excludes administrative matters, including appointment scheduling, billing, and other clerical or business matters. A generative front-desk agent booking an appointment is outside AB 3030. The same agent discussing symptoms or results is inside it. That is a classification decision your ingress layer has to make explicitly, which is why message classification belongs in the data model rather than in a prompt.

    On Colorado, be precise, because a lot of published guidance is stale. The original Colorado AI Act (SB 24-205) never took effect; it was delayed, then repealed and replaced by SB 26-189, signed May 14, 2026 and effective January 1, 2027. The new law drops the high-risk-AI and algorithmic-discrimination framework in favor of regulating automated decision-making technology in consequential decisions through notice, disclosure, and consumer rights, with AG-only enforcement and rulemaking still pending. Colorado is not an operative healthcare-AI compliance regime today. Design the notice hooks now so that January 2027 is a configuration change.

    One more surface that HIPAA does not cover at all: recording consent. HIPAA treats scribe use as a permitted treatment activity requiring no separate authorization — but that does not preempt state wiretap law, and roughly 13 states require all-party consent, including California, Illinois, Pennsylvania, Florida, and Massachusetts. A proposed class action filed in April 2026, Washington et al. v. Sutter Health et al. (N.D. Cal. No. 4:26-cv-03012), alleges that health systems used an ambient AI scribe to record visits without consent, bringing claims under the California Invasion of Privacy Act, the Confidentiality of Medical Information Act, the UCL, and the federal Wiretap Act. CIPA carries $5,000 in statutory damages per interception. The case is at the complaint stage and the allegations are unproven — but the exposure math is why consent capture belongs in the architecture, with a per-encounter record of who consented, when, and to what.

    The Vendor Due-Diligence Checklist

    Ten questions. Send them before the demo, not after the pilot. The answers separate vendors who have built for healthcare from vendors who have built for demos.

    QuestionAcceptable answerDisqualifying answer
    Will you sign a BAA at the tier we are actually buying?Yes, before any pilot data moves. Here is the template.At the enterprise tier only, or after the pilot concludes
    Do you train on our data?No, and here is the contract clause that says soOnly de-identified data — with no expert determination or Safe Harbor method on file
    Which subcontractors touch ePHI?A written list, with downstream BAAs available on requestThat is proprietary
    What do you retain, for how long, and who can read it?A stated window per artifact — audio, transcript, prompt, output, telemetry — and a named internal access processVague industry-standard language with no numbers
    Can we export our audit logs?Yes, on demand, in a machine-readable format, including tool callsYou can view them in our dashboard
    What happens to our data on termination?Deletion within a stated window, with written certification, including derived indexesRetained indefinitely for service improvement
    Where does data live and process?Named regions, contractually fixed, with no silent cross-region failoverWherever we have capacity
    How do you version models and notify us of changes?Pinned versions, advance notice, a published changelog, and a rollback pathWe always run the latest model
    Show us your published DSI source attributesA link to the ONC-ACB-posted disclosure for the predictive featureWe are not sure what that is
    What is your breach notification clock to us?A number in days, tighter than the 60-day outer bound, with a named contactAs required by law

    Frenchy Digital vendor due-diligence question set for healthcare AI, 2026.

    Add the 31 HTI-1 Predictive DSI source attributes to this list for any vendor whose product makes a prediction — risk scores, no-show likelihood, denial prediction, triage suggestions. They are not obligated to answer unless they are a certified health IT developer. Their willingness to answer anyway is the signal.

    Finally, ask for one artifact rather than a document set: a redacted audit-log export for a single workflow, covering a single day. It answers more questions than a security questionnaire, because a vendor that cannot produce it does not have the logging, whatever the questionnaire says.

    Red Flags in Healthcare AI Procurement

    Every one of these has appeared in a real evaluation we have run for a practice or a health-tech company. None of them are hypothetical.

    Red flagWhy it matters
    We are HIPAA-certifiedThere is no such certification. The claim is a reliable signal that nobody at the vendor has read the rule.
    A BAA offered only after the pilotThe pilot is when PHI moves. A BAA that arrives later does not retroactively cover what already happened.
    A free tier used with real patientsFree tiers frequently exclude the BAA. This is the most common shadow-IT exposure in a practice.
    No model version pinningClinical behavior changes without a change-control record, and you cannot reproduce last quarter's output.
    Audit logs you can view but not exportYou cannot answer an OCR inquiry from a vendor dashboard you do not control and cannot preserve.
    Training on customer data with an opt-out buried in settingsConsent by default is not consent. Get the clause into the contract or walk.
    Human review with no timing dataYou cannot prove review happened, and OIG has already framed accepting output at machine speed as no review at all.
    Chart writes without an attributable human signatureIntegrity and attribution both fail, and the medical record becomes difficult to defend.
    No tenant isolation in a multi-practice productOne misconfigured query becomes a breach across multiple covered entities at once.
    Our model is FDA-approvedVague at best. Ask for the specific clearance number, or the specific basis for being outside device regulation.

    The Frenchy Digital red-flag list for healthcare AI buyers, 2026.

    A vendor that will not put BAA scope, retention windows, subprocessors, model versioning, and log export into a contract before you sign will not put them into the product after you sign either.

    Frenchy Digital buyer’s principle

    What It Costs to Build This Properly

    These are the bands Frenchy Digital uses to scope healthcare AI engagements in 2026. They assume the compliance work described above is in scope, not bolted on afterward — because bolting it on afterward is what makes it expensive.

    EngagementRangeTimelineTypical scope
    Discovery + workflow audit$9k–$22k2–4 weeksPHI data-flow map, BAA inventory, risk-analysis input, prioritized workflow shortlist
    Single-workflow agent (intake, reminders, eligibility)$25k–$65k4–9 weeksOne workflow end to end, minimum-necessary prompt construction, audit logging, HITL review queue
    Multi-workflow practice automation with EHR integration$65k–$160k9–16 weeksSeveral workflows, EHR read/write, retrieval layer, evals in CI, role matrix, break-glass
    Multi-site / regulated build, HIPAA posture + HITL + audit logging$160k–$400k+14–24 weeksMulti-tenant isolation, per-tenant keys, full audit pipeline, DR and restoration testing, documentation package

    Frenchy Digital cost bands for healthcare AI agent engagements, 2026.

    Senior-led delivery runs $150 to $225 per hour, and ongoing retainers run $2,500 to $9,500 per month covering model and dependency upgrades, eval expansion, incident response, and a quarterly technical review. Every engagement carries a 30-day post-launch warranty, and you receive a written scope with a fixed-price phased proposal within 5 business days of the discovery call.

    Included at every tier: the PHI data-flow map, the BAA inventory, minimum-necessary prompt construction, audit logging with tool-call capture, a human-in-the-loop review queue with instrumentation, retention and deletion design, and full source-code and IP ownership transferred to your practice at delivery. Frenchy Digital is a senior-led Black-owned Los Angeles agency and we do not build lock-in.

    One budgeting note that surprises people. The compliance substrate is largely a fixed cost, paid once, and reused by every subsequent workflow. The first agent carries the boundary, the identity model, the audit pipeline, and the review queue. The fourth agent inherits all of it and costs a fraction of the first. Practices that sequence their automation get considerably better economics than practices that pilot four disconnected vendors in parallel.

    Limitations and Honest Failure Modes

    A compliance architecture makes an AI agent defensible. It does not make it effective, and the published evidence on clinical AI deployments is more mixed than the vendor decks suggest. If you are building a business case, build it on this.

    • Time savings are real but inconsistent: A randomized trial published in NEJM AI in December 2025 (238 physicians across 14 specialties, three arms) found one ambient documentation tool reduced time-in-note by 9.5% versus control (P=0.02) while another showed no significant reduction (P=0.66). Both improved burnout metrics. Clinically significant inaccuracies were noted occasionally on both, with one mild adverse event.
    • The largest deployments show the smallest per-encounter gains: The Permanente Medical Group's deployment showed roughly 18 seconds saved per appointment versus non-users, and an Intermountain Health matched-cohort analysis found no statistically significant productivity gains, as reported in npj Digital Medicine in 2026. Mass General Brigham reported median total EHR time down 5.6 minutes per appointment.
    • Independent assessment is cautious: PHTI's March 2025 assessment concluded that ambient scribes reduce cognitive load and likely burnout, but do not uniformly reduce after-hours documentation or produce financial returns, with uneven adoption and few peer-reviewed studies.
    • Capacity gains are not the ROI: In KLAS Arch Collaborative's 2025 ambient speech study (900+ clinicians, 24 organizations), over 80% of providers declined to see more patients and only 18% wanted added volume. Any business case built on incremental visit volume is building on a preference clinicians do not share.
    • Training is the quiet failure: KLAS Arch Collaborative's 2026 data found under 25% of AI-adopting clinicians said they received adequate training, and satisfaction plateaus past roughly four AI tools. Adding a fifth tool is usually worse than improving the second.
    • Output quality is a safety surface: A pilot review of 356 ambient-generated notes found omissions in 18%, hallucinations in 11.5%, and accidental inclusions in 9.3%; most errors were mild to moderate, but 5.3% of notes with errors were rated potentially seriously harmful. A 2026 JMIR research letter separately documented propagation of interpreter errors by ambient scribes.
    • There is no reimbursement pathway: In the CY2026 Medicare Physician Fee Schedule, CMS solicited comment on paying for software algorithms under the PFS but finalized no general AI payment pathway. Ambient documentation and administrative agents are cost-side plays, not revenue codes.

    None of this argues against building. It argues for building the measurement alongside the agent, choosing one workflow with a defensible baseline, and being honest with your own organization about what the evidence supports. The practices that get value from AI agents are the ones that instrumented the before-state.

    And the boundary holds regardless of the evidence: these are administrative and documentation systems operating under human review. They are not clinical decision-makers, they are not FDA-cleared, and no amount of architecture makes it appropriate for one to practice medicine.

    Building an AI Agent That Touches PHI?

    Book a free 60-minute discovery call with Frenchy Digital — a senior-led Black-owned LA agency. You leave with a PHI data-flow map, a BAA inventory, and a fixed-price phased proposal within 5 business days. Call +1 (424) 272-5601.

    Building an AI Agent That Touches PHI?

    Book a free 60-minute discovery call. You leave with a PHI data-flow map, a BAA inventory, and a fixed-price phased proposal within 5 business days.

    1517 S Bentley Ave Unit 204, Los Angeles CA 90025

    Frequently Asked Questions

    Sources & References

    Chris Machetto - CEO & Founder of Frenchy Digital

    Chris Machetto

    CEO & Founder of Frenchy Digital. Building apps and digital products since 2019 for startups and enterprises across LA, San Francisco, Paris, Geneva, and more globally.