Kynara gives healthcare organizations per-action policy enforcement, mandatory human approval for patient-data actions, and a tamper-evident audit log that satisfies HIPAA, HITRUST, SOC 2, and state-level privacy laws.
HIPAA's minimum necessary standard, state privacy laws, and clinical safety requirements mean healthcare AI agents need stricter governance than any other industry. Kynara enforces this at the infrastructure level.
This policy allows a clinical AI agent to read basic demographic fields but requires attending physician approval before accessing diagnosis or medication records:
{
"display_name": "PHI access โ require approval for clinical data",
"effect": "require_approval",
"priority": 100,
"actions": ["ehr.read"],
"condition": {
"op": "in",
"args": [
"ctx.resource.attrs.record_type",
["diagnosis", "medication", "lab_result", "imaging"]
]
}
}
// Second policy: allow demographics freely
{
"display_name": "PHI access โ allow demographics",
"effect": "allow",
"priority": 200,
"actions": ["ehr.read"],
"condition": {
"op": "eq",
"args": ["ctx.resource.attrs.record_type", "demographics"]
}
}
In your clinical AI agent:
from kynara_sdk import permission_required
@permission_required(
"ehr.read",
resource_arg="patient_id",
resource_type="patient_record",
resource_attrs=lambda patient_id, record_type: {
"record_type": record_type,
"patient_id": patient_id,
}
)
def read_patient_record(patient_id: str, record_type: str):
return ehr.get_record(patient_id, record_type)
# Diagnosis access โ pauses for physician approval
# Demographics โ proceeds immediately
# Every call โ recorded in audit chain
| HIPAA / HITRUST Requirement | Kynara Feature | Status |
|---|---|---|
| Minimum necessary standard (ยง164.514(d)) | Per-action ABAC conditions on resource type and field | Built-in |
| Access controls (ยง164.312(a)(1)) | RBAC roles + ABAC conditions, non-escalation guarantee | Built-in |
| Audit controls (ยง164.312(b)) | SHA-256 hash-chained audit log, append-only, CSV export | Built-in |
| Person/entity authentication (ยง164.312(d)) | JWT + API key auth, Okta/SAML/OIDC SSO | Built-in |
| Emergency access procedure (ยง164.312(a)(2)(ii)) | JIT grants with justification + auto-expiry | Built-in |
| Workforce supervision of automated systems | require_approval as first-class policy outcome | Built-in |
| Business Associate Agreement (BAA) | HIPAA BAA available | Enterprise |
| Data residency (state laws) | Residency middleware, regional endpoint enforcement | Built-in |
Our compliance team was blocked on deploying clinical AI agents until we found Kynara. The audit chain and the require_approval workflow gave us exactly what we needed for our HIPAA BAA โ our counsel reviewed it in a day.
Enterprise plans include a HIPAA BAA, custom data retention, and dedicated deployment. Free plan available with no credit card required.