A record in a database holding protected health information was read at 02:14. Three AI agents were running that night, all authenticating as the same shared service account. Which one read it. Under HIPAA, "we cannot tell" is not a defensible answer, because the rule is built on attribution: knowing who accessed PHI, what they were permitted to see, and being able to account for it later. HIPAA for AI agents starts and ends with making every access trace back to a single, named agent.
The HIPAA Security Rule expects unique user identification, access limited to the minimum necessary, and audit controls that record activity in systems with electronic PHI. None of those bend because the user is software. An AI agent that queries a clinical database is a user of ePHI, and it has to be identified, scoped, and recorded like one.
Why shared identity breaks HIPAA for agents
The fastest way to fail is the shared service account. It is convenient: one credential, every agent uses it, the database sees a single principal. It is also the end of attribution. The minimum-necessary standard wants each agent scoped to only the PHI its task requires, and a shared account gives every agent the union of everyone's access. The audit-control standard wants activity traced to a user, and a shared account collapses every agent into one indistinguishable actor. The moment you need to account for a specific disclosure, the record points at a credential, not an agent.
Per-identity attribution reverses this. Each agent carries its own identity. Each access is scoped to that agent's task. Each read and write is recorded against that agent. Now the 02:14 read has a name attached, the scope it was permitted, and a recording of what it did. That is audit-ready: the evidence for the access exists at the moment of access, not assembled afterward.
The requirement: attribution where the agent cannot edit it
Attribution only counts if the agent cannot rewrite it. An agent that authenticates itself, scopes itself, and logs itself is keeping a diary, and HIPAA audit controls are not satisfied by a diary. The identity check, the scope enforcement, and the activity record have to be produced by something between the agent and the ePHI, at the access boundary, outside the agent's control.
