PHI-aware
AI protection
Redact PHI before it reaches your model, and judge every reply against the clinical-advice rules your counsel sets.
Where PHI is exposed
- 01
Controls for Your HIPAA Program
HIPAA is not offered: there is no Business Associate Agreement. For PHI, run PromptGuard Air-gapped so data never leaves your environment, and use its redaction and audit trail as controls in your own HIPAA program.
- 02
PHI Detection & Redaction
Detects identifiers with a fixed shape, SSNs, dates of birth, phone numbers, email addresses, Medicare and medical licence numbers, IP addresses, and redacts or tokenizes them. Names and free-text details are not caught by pattern.
- 03
Disclaimer Policies You Write
An output policy can block or flag a reply that gives clinical direction without the qualification your counsel requires. You define the rule; PromptGuard judges the answer against it rather than editing the answer.
- 04
Dangerous Advice Prevention
An llm_guard output policy can block replies that give dosages, diagnoses or treatment plans. You write the rule in plain English; an LLM judges each reply against it.
- 05
Agent Tool-Call Checks
Validate an AI agent's tool calls before they run. Calls that are dangerous are refused, and calls that need a person come back marked for human review.
- 06
Audit Trail
Every scan is recorded with its decision and threat type, and a masked preview unless zero retention is on. Export it as evidence for your own audits.
Why PromptGuard for healthcare?
- PHI redaction before the model sees it
- Output policies for clinical advice
- Masked previews, or zero retention
- Agent tool-call checks
- Air-gapped: PHI never leaves your environment
How it works for healthcare
- 01
Deploy
Integrate PromptGuard with your healthcare AI applications. Works with patient portals, clinical assistants, and admin tools.
- 02
Protect
Choose the PII types to detect and redact on the project, and add output policies for clinical advice.
- 03
Review
Use the audit trail and compliance reports as evidence in your own HIPAA program.
Securing healthcare AI applications
from promptguard import GuardClient
guard = GuardClient() # reads PROMPTGUARD_API_KEY
# What is detected, and whether it is redacted or blocked, is set on the
# project: the PII types, the strictness level, and an llm_guard output
# policy for clinical advice. There is no healthcare switch in code.
messages = [{"role": "user", "content": patient_question}]
decision = guard.scan(messages, direction="input")
if decision.blocked:
raise PermissionError(f"Blocked: {decision.threat_type}")
# A redacted request comes back with the values replaced
messages = decision.redacted_messages or messages
reply = call_your_model(messages)
# Judge the model's answer against your output policies before showing it
verdict = guard.scan([{"role": "assistant", "content": reply}], direction="output")
if verdict.blocked:
reply = "Please speak to your clinician about this."The controls this sector runs on
Secure your healthcare AI
Deploy AI in healthcare and medtech with PHI redaction and an audit trail.