How a HIPAA OpenClaw keeps PHI secure
OpenClaw PHI security starts with a hard truth: raw, self-hosted OpenClaw ships with no signed Business Associate Agreement and no built-in HIPAA controls, so it cannot legally handle protected health information on its own. PhiClaw is the healthcare-ready build that closes every one of those gaps — encryption in transit and at rest, role-based access, full audit logging, PHI minimization before any model sees your data, and a signed BAA with your practice.
Why raw OpenClaw cannot handle PHI
OpenClaw is powerful open-source software. Like any open-source project, it ships with no vendor on the other side to sign a Business Associate Agreement (BAA) — the legal contract that HIPAA requires whenever a third party handles protected health information (PHI) on behalf of a covered entity like your practice.
Without a BAA, using raw OpenClaw to process patient records, appointment details, or any individually identifiable health data is a HIPAA violation regardless of how the software itself is configured. No patch or configuration change fixes that: the problem is organizational, not technical.
An open-source project cannot sign a BAA with your practice. A company can — and PhiClaw does.
The PhiClaw security model: layer by layer
PhiClaw signs a Business Associate Agreement (BAA) with your practice and runs on HIPAA-eligible infrastructure, with BAAs in place with our subprocessors AWS (including Amazon Bedrock) and Convex. That gives you a complete, documented chain of accountability from your practice down to the model layer.
Beyond the BAA, OpenClaw PHI security at PhiClaw is built around five technical controls that work together. Each one is described below.
1. Encryption in transit and at rest
Every byte of PHI that moves between your staff, your patients, and the PhiClaw platform is encrypted in transit using TLS. Data stored in Convex and on AWS — including conversation histories, clinical notes, and patient records — is encrypted at rest using AES-256.
This means that even if someone intercepted traffic or accessed a raw storage volume, they would see cipher text, not patient records. Encryption in transit and at rest is a HIPAA technical safeguard requirement, and PhiClaw meets it at every layer.
2. PHI minimization before the model sees your data
One of the most overlooked OpenClaw PHI security risks is what actually gets sent to an AI model. PhiClaw applies PHI minimization and de-identification steps before data reaches the model layer. That means stripping or masking direct identifiers — names, dates of birth, record numbers — whenever the task can be completed without them.
When PHI must be included (for example, when drafting a SOAP note or managing a patient-specific follow-up), it stays within the PhiClaw infrastructure governed by the AWS and Convex BAAs. It is never used to train shared foundation models.
- Direct identifiers are stripped or masked before non-essential model calls.
- PHI that must reach the model stays within BAA-covered subprocessors.
- No patient data is used for shared model training.
3. Role-based access controls
Not everyone in your practice needs access to everything. PhiClaw enforces role-based access controls so that a front-desk coordinator can view scheduling and messaging but cannot pull a patient's clinical notes, while a physician can access the full chart within the built-in HIPAA EHR.
Permissions are scoped at the user level and enforced server-side, not just in the UI. This satisfies the HIPAA minimum-necessary standard — staff see only the PHI they need to do their job.
4. Full audit logging of every PHI touch
HIPAA's Security Rule requires that covered entities be able to track who accessed PHI, when, and what they did with it. PhiClaw logs every PHI access event — which user or agent touched which record, at what timestamp, and what action was taken — and makes those logs available for your compliance reviews.
This matters in two scenarios: an internal review after a suspected data incident, and a HIPAA audit by HHS. Having a complete, tamper-evident audit trail is the difference between a documented response and a gap that regulators notice.
Every PHI touch — by a staff member or by an AI agent — is logged with a timestamp and the acting user's identity.
5. Tenant isolation and no shared-model training
PhiClaw is a multi-tenant platform, and each practice's data is logically isolated from every other practice. Your patient records, conversation histories, and clinical notes are never accessible to another tenant's workflows or queries.
Equally important: PhiClaw does not use your PHI to train or fine-tune the AI models it runs on. The models are served through Amazon Bedrock under a BAA, and AWS's enterprise terms prohibit using your data to improve shared models. What happens in your practice stays in your practice.
Taken together, these five layers — BAA coverage, encryption, PHI minimization, role-based access, and full audit logging — make PhiClaw the practical answer to the question of OpenClaw PHI security for medical practices. The licensed clinician always remains the decision-maker on diagnosis and treatment; PhiClaw handles the workflow around that decision, not the clinical judgment itself.
Key takeaway: Raw OpenClaw cannot handle PHI because there is no vendor to sign a BAA — PhiClaw closes that gap with a signed BAA, AES-256 encryption, PHI minimization, role-based access controls, tenant isolation, and full audit logging of every PHI touch.
Frequently asked questions
Can I use raw OpenClaw with PHI in my medical practice?
No. Raw or self-hosted OpenClaw is open-source software with no vendor to sign a Business Associate Agreement (BAA). Without a BAA, processing PHI through it violates HIPAA regardless of how you configure the software. PhiClaw is the HIPAA-compliant build that provides the BAA and the technical controls your practice needs.
What subprocessors does PhiClaw have BAAs with?
PhiClaw runs on AWS (including Amazon Bedrock for AI models) and Convex, and has signed BAAs with both. This gives your practice a complete, documented chain of HIPAA accountability from the platform down to the infrastructure and model layer.
Does PhiClaw train AI models on my patient data?
No. PhiClaw uses Amazon Bedrock under an enterprise BAA that prohibits using your data to train or improve shared foundation models. Your PHI is used only to serve your practice's workflows, not to benefit other customers or improve the underlying models.
What does PHI minimization mean in practice?
PHI minimization means PhiClaw strips or masks direct patient identifiers — names, dates of birth, record numbers — before sending data to the AI model whenever the task can be completed without them. When a task genuinely requires PHI, it stays within the BAA-covered AWS and Convex infrastructure.
Does PhiClaw keep audit logs I can show a compliance officer?
Yes. PhiClaw logs every PHI access event — which user or agent touched which record, at what timestamp, and what action was taken. These logs are available for your internal compliance reviews and can support a response to a HIPAA audit. This post is general information, not legal advice; consult your compliance officer for your specific requirements.
Want HIPAA-compliant AI running your practice — without the compliance risk?
PhiClaw signs a Business Associate Agreement (BAA) with your practice and runs on HIPAA-eligible infrastructure, with BAAs in place with our subprocessors AWS (including Amazon Bedrock) and Convex. HIPAA-compliant inbound and outbound calls are handled by our voice partner Retell AI, which is also under BAA.
Book a 20-min demo