It is HIPAA compliant to put PHI into AI coding assistants only when the assistant’s vendor has signed a business associate agreement (BAA) and the use meets HIPAA’s minimum necessary standard. In most builds, test data that contains no PHI does the job, so real patient data doesn’t need to go into the assistant at all.