HIPAA's minimum necessary standard applies to AI agents the same way it applies to clinicians. AutoPIL enforces data access at the retrieval layer — before PHI enters an agent's context window — and logs every decision with the policy that governed it.
17 policies across clinical operations, compliance & privacy, and revenue cycle — designed for the PHI access controls and audit trail requirements of HIPAA-covered entities.
policies: # Clinical summary agent — EHR and care gap data; blocked from billing and financial records - name: clinical_summary_agent_policy agent_role: clinical_summary_agent allowed_sources: - ehr_summaries - care_gap_data - lab_results - vital_signs denied_sources: - billing_records - insurance_data - audit_logs allowed_tasks: - clinical_summary - care_gap_identification - handoff_preparation denied_tasks: - billing_submission - prescription_write - hipaa_audit max_sensitivity: critical
Point policy_path at your industry directory. AutoPIL loads every
YAML file recursively — roles, sensitivity rules, and process groups wired up
automatically from the directory structure. No additional config needed.
Policies are hot-reloaded at runtime. Extend or override any pre-built policy via the REST API without redeploying your agents or restarting services.
from autopil import ContextGuard # Point at your industry — only those policies load guard = ContextGuard( policy_path="policies/healthcare/", audit_db="autopil.db", ) # policies/healthcare/ — loads recursively # Switch verticals by changing the path — nothing else changes.
Pre-built policies for healthcare are included in every AutoPIL trial. Extend or override any rule via the REST API without redeploying.