
Essay BAA Requirements
HIPAA Compliance Triggers for AI-Native Startups That Are Not Covered Entities but Still Touch PHI
AI startups handling health data need a business associate agreement and gateway controls.
An AI-native startup can become a HIPAA business associate when it handles protected health information on behalf of a covered entity, even if it never treats patients or processes claims. A HIPAA-compliant AI gateway for teams that handle PHI must control routing, access, redaction, and audit records under a business associate agreement that covers that work.
Why an AI startup with no patients, claims, or billing can still be a HIPAA business associate
A B2B SaaS startup may sell a standard productivity tool to a hospital or health plan. If that customer sends PHI through the tool as part of the service, the startup’s obligations change. Its product category does not determine its status. Its status depends on whether it creates, receives, maintains, or transmits PHI on the customer’s behalf.
HIPAA’s Privacy Rule defines business associates by that function, excluding members of the covered entity’s workforce. HHS’s explanation and the 2013 Omnibus Rule establish that the definition reaches entities performing those data-handling activities. For AI vendors, the exposure extends beyond a document deliberately uploaded for analysis. Inference pipelines receive prompts, logging layers retain content, and retrieval systems maintain customer information as part of normal operation. No model is inherently compliant, so the startup remains responsible for how its service is deployed and governed.
The five operational scenarios that flip the business associate switch
The first scenario is direct receipt of PHI in an inference request. A transcribed clinical conversation, radiology summary, or draft patient letter enters the model as a prompt. A summary can still contain protected health information. HIPAA has no small-volume exemption, so even a single request containing a patient identifier can create the obligation when processed on a covered entity’s behalf.
The second scenario is retention in the logging layer. A prompt-and-response log that contains PHI maintains that information even after inference ends. Storing that information brings its own duties to protect it under the Security Rule. Audit controls must record and examine what happens in systems that contain or use electronic PHI, so the audit design must account for prompts, retrievals, and generated outputs.
The third scenario is a PHI-bearing vector store or retrieval index built from customer documents. Patient intake forms and EHR exports can turn a retrieval system into a repository of protected information. The content determines the exposure. The minimum necessary standard requires reasonable efforts to limit PHI to the intended purpose, so indexing entire records creates a scoping problem when a task needs only selected elements.
The fourth scenario is an autonomous agent operating over PHI-bearing systems. An agent that queries lab results, drafts clinical summaries, or triages claims needs access constrained to its task. Broad API permissions undermine that boundary at runtime. Persistent memory can also accumulate PHI across sessions beyond the purpose that justified the original access, while ordinary application permissions leave that accumulation unchecked.
The fifth scenario is PHI entering an uncovered self-serve or free product surface. A clinician or developer may paste a clinical note into an interface without realizing that the company’s BAA does not cover it. Coverage belongs to the specific surface. The resulting disclosure creates compliance exposure even when another tier is BAA-eligible, making this both a covered entity workforce-training problem and a vendor product-design problem.
What the business associate obligation actually requires once it attaches
A signed BAA must precede the first transmission of PHI. Signing after a customer requests one does not repair the original gap. The agreement’s scope deserves equally close attention. Coverage for the core application can still exclude logs, integrations, or support tooling, leaving PHI-handling surfaces outside the contract precisely where secondary copies arise.
Access controls must then limit what both people and machines can do. Unique user IDs establish accountability, while role-based permissions and runtime scoping limit what a model or agent can retrieve. Application access alone is not enough for this purpose. The operational requirements also include audit records of PHI access and safeguards for retained data, rather than treating the BAA as a substitute for technical controls.
For an AI workflow, useful audit records identify who accessed which information, when access occurred, and what action followed. Records for an agent must include its retrievals and tool calls. Immutable records help show who did what, and retention and export rules set how those records can be used later. Any prompt or output kept with PHI in it is still protected data at rest.
Training exclusions belong in the signed agreement as well. A marketing FAQ is not an enforceable contractual commitment. The agreement should state that PHI is excluded from model training and human review, and retention terms should set how long the content is kept and exposed to storage risk. These requirements operate together, because a training exclusion does not protect an ungoverned log.
Why the subprocessor chain extends every obligation downstream
A startup’s BAA with its customer does not automatically cover the services beneath its application. Cloud infrastructure, third-party compute, and separate inference providers can each receive PHI as they do their part of the service. Each relevant subcontractor needs appropriate contractual coverage and safeguards. The primary vendor therefore has an engineering and procurement obligation to identify the actual data path.
A provider selected as an automatic fallback can receive the same PHI as the preferred endpoint. Uptime does not justify an uncovered destination. Production routing must therefore restrict PHI-bearing requests to BAA-covered endpoints, including during outages, rather than applying compliance checks only to the default provider.
HHS has not issued definitive guidance on whether model weights trained on PHI contain PHI. The BAA should address that uncertainty directly, specifying how resulting weights are treated and what obligations attach. This defines the additional responsibility when PHI-based training is part of the agreed service.
HIPAA’s Privacy Rule defines business associates by that function, excluding members of the covered entity’s workforce.
Where the gateway layer must enforce controls — and what happens when it does not
An LLM gateway that only forwards requests leaves compliance decisions dispersed across integrations. A gateway designed for PHI instead serves as a control plane before requests reach model providers. Identity-aware access integrates with the organization’s identity provider. Redaction, per-role rate limits, endpoint restrictions, and request-and-response audit controls then operate at a common chokepoint.
Redaction at that point can replace names with placeholders, shift or generalize dates, and reduce specific addresses to regional references. Policy enforcement makes these transformations reviewable per request. The gateway must also govern its own records. Logging every prompt without protecting the logs creates another PHI repository, which needs encryption at rest, access controls, and an immutable audit trail.
Zero data retention, training opt-out, and audit logging may need to be set up explicitly even on enterprise tiers. Contract eligibility does not establish the deployed configuration. For psychiatric notes, substance abuse records protected by 42 CFR Part 2, and other sensitive health data, an on-premise model that keeps content within controlled infrastructure offers the most defensible architecture described here.
Finance and security teams must also help make decisions about the gateway. Budget controls tied to BAA-covered endpoints help keep routing within approved limits when cost drives the choice. Adding an AI vendor changes the workflow and calls for a fresh HIPAA risk analysis. An assessment that predates the AI deployment cannot adequately describe its new data paths, retained copies, and provider dependencies.
What self-hosting a gateway costs in compliance terms, and where a managed gateway fits
Self-hosting an open-source proxy places infrastructure compliance responsibility on the startup’s own team. Deployment is only the beginning of that work. The team must operate and patch the proxy, configure its controls, protect its records, and produce evidence that the system meets its obligations. Those tasks create an ongoing compliance cost.
A fully managed gateway shifts that operational layer to the provider. The startup no longer runs the proxy infrastructure itself. A BAA on the paid plan can support the arrangement, but the contract must cover the exact gateway surfaces receiving PHI. Managed infrastructure does not remove the startup’s responsibility for application permissions, customer agreements, or the downstream services it chooses.
The economic comparison depends on model spend and infrastructure cost. Below the relevant spend threshold, a no-markup gateway without platform, card, or BYOK fees can cost less than dedicated infrastructure. Above it, the calculation can change substantially. The brief supplies no universal threshold, so the choice cannot responsibly rest on a blanket claim that either model is cheaper.
A provider must sign a BAA before PHI arrives and document its scope and training exclusions. Audit logs need to be checked for immutability and whether they can be exported. SOC 2 Type II demonstrates that controls operated effectively over a period, but its report must cover the product being purchased. A badge alone does not establish those boundaries.
How the 2025 proposed Security Rule amendments raise the floor for business associates
The supplied sources describe HHS’s 2025 proposed Security Rule amendments, which would make several requirements stricter for AI-native startups. Encryption of electronic PHI at rest and in transit would become mandatory with limited exceptions, and MFA would become mandatory. Removing the distinction between required and addressable implementation specifications would give teams less of the flexibility they have relied on to plan controls.
The proposal also calls for a written technology asset inventory and a more specific written risk analysis with a gap assessment. AI software touching electronic PHI belongs in that inventory. The inventory and analysis would therefore need to reflect inference services, retrieval systems, and other PHI-handling components. This makes architecture documentation part of the compliance evidence.
HHS’s fact sheet also describes written verification of the technical safeguards a business associate has in place at least once every 12 months. That verification involves a subject matter expert’s written analysis and a written certification. It is not annual re-verification of BAA contractual terms.
Business associates already have direct liability under the Security Rule through the 2013 Omnibus Rule. A customer’s failure to audit does not erase it. The practical recommendation is therefore to build toward the proposed standard now, including stronger authentication, encryption, current inventories, and recurring vendor evidence. Retrofitting those controls under audit pressure is harder and more expensive than incorporating them into the original architecture.
A practical trigger map: which product decision creates which HIPAA obligation
Receiving PHI in inference requires a BAA before the first request and a signed training exclusion. The design must use zero data retention or protect the PHI it keeps with encryption and access restrictions across all the product surfaces in use.
Storing prompts or responses activates obligations for the logging system itself. Encryption at rest, restricted access, and immutable audit records belong there. Defined retention and export capability make those records governable without treating indefinite storage as the default.
Building a PHI-bearing retrieval index requires minimum necessary scoping at retrieval time and BAA coverage for the index infrastructure. The model’s permitted retrievals must reflect the task rather than the full breadth of the underlying customer records.
Deploying an autonomous agent requires task-scoped API permissions, with FHIR scopes limited to the task. Persistent memory must keep only what the task justifies. Each retrieval and tool call also needs an audit record that connects access to the action taken.
Opening a self-serve tier requires a clear boundary around uncovered surfaces. Workforce training addresses the covered entity’s side of that boundary. Vendor product design should prevent PHI entry into uncovered tiers or route it only through covered surfaces.
Adding a routing or fallback provider requires its BAA before PHI can reach the endpoint. The approved provider list must constrain fallback logic. Subprocessor review must also remain an operational task, with any future mandatory cadence determined by finalized requirements.
A managed gateway can consolidate redaction, role-based access, SSO, and routing controls in one integration, provided its contract and audit capabilities meet the actual requirements. As product scope expands, teams should rerun this trigger map against every new feature before it reaches production.


