# Guardrails First: Engineering Member-Facing Health AI — Rashi Agrawal, Hinge Health
<!--
ref: @content/youtube/aie/guardrails-first-engineering-member-facing-health-ai-rashi-agrawal-hinge-health
tags: [health AI, guardrails, PHI protection, deterministic safety layers, LLM evaluation, launch decisions]
version: 2
updated_at: 2026-11-24T05:09:17.458Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=YXEqC05WEI0)**

# Guardrails First: Engineering Member-Facing Health AI — Rashi Agrawal, Hinge Health

*Synthesized from Rashi Agrawal's talk on AI Engineer, 2026-08-19.*

Rashi Agrawal, who leads AI and ML at Hinge Health, talks from a practitioner's view about the guardrails needed for member-facing health AI.

## Core Thesis
Rashi Agrawal argues that safety in member-facing health AI comes from architecture, not prompts. Irreversible decisions belong in deterministic code that runs before the model, safety has to be monitored continuously after launch, and when the system cannot settle a risk, a human decides using explicit rules about severity, defaults and risk tolerance.

## Key Insights
- **Why the stakes are high.** She cites a case where following chatbot diet advice led to a hospital stay after a salt substitute caused toxic bromide levels, an independent safety test of a consumer health AI that under-triaged emergencies about half the time, and ECRI naming AI chatbot misuse the top health technology hazard of 2026. She also says about 40 million people use frontier models to triage health questions.
- **PHI at the pipeline boundary.** PHI is stripped at ingestion, before the data lake, so a developer's dashboard has nothing to redact. Production and non-production are fully separated with no pipes between them. Access depends on role and geographic region, and an engineer outside the regulated region cannot reach raw PHI.
- **Code above the model.** Emergency escalation (self-harm, suicidal ideation or acute medical emergencies routed to 911 or 988) runs before the model sees the turn. Intent routing and identity verification are also deterministic. "Code runs first, decides, and routes," and the model handles what remains.
- **Continuous evaluation.** Production monitoring combines automated judges over dimensions such as clinical accuracy, safety, escalation, relevance, drift and refusal, member thumbs up or down on each message, and random trace samples with 100% review for high-stakes cases. The bottleneck is people to read the signal, not compute. Each prompt fix buys less improvement, and a new failure means a new judge.
- **Five decision rules.** Severity follows the worst plausible outcome. Severity is not capacity, so a bug is fixed, delayed or accepted with explicit sign-off, never quietly downgraded. For safety bugs, hold and fix when unsure; for polish bugs, ship when unsure. Calibrate to revealed risk tolerance, meaning what has already shipped without problems, not the stated policy. Design for humans in the loop because judges scale and interpretation does not.
- **Fast follows are debt.** Anything not shipped at launch is already committed work, not a backlog wish.
- **Verify the scorer first.** A judge is also non-deterministic. In her example, a caffeine answer was flagged for missing pregnancy and medication context, so the judge needed fixing; a 1,000 mg daily recommendation was correctly flagged, so the agent needed fixing.

## Actionable Takeaways
1. Strip PHI at ingestion, before storage, and keep production and non-production environments fully separate.
2. Put emergency escalation, intent routing and identity checks in deterministic code that runs before the model on every turn.
3. Run automated judges on live traffic, collect thumbs feedback, and send 100% of high-stakes conversations to human review.
4. When a judge score drops, first check whether the judge is right before changing the agent or its prompt.
5. Set severity by the worst plausible outcome, hold on safety bugs when unsure, and track fast follows as committed work.

## Notable Quotes
> "A model is not a guardrail." — Rashi Agrawal

> "Judges scale. Pattern interpretation doesn't." — Rashi Agrawal

> "Before you trust the score, verify the scorer." — Rashi Agrawal

---

*Related: `@content/youtube/cole-medin/let-your-ai-agent-do-its-own-harness-engineering-heres-how` · `@content/youtube/all-about-ai/openai-gpt-5-6-tested-can-it-find-a-profitable-polymarket-strategy` · `@content/youtube/aie/trading-desks-to-clinical-trials-parallels-in-applied-vertical-ai-ayush-bhardwaj-allos-ai` · `@content/youtube/aie/building-the-engine-while-flying-the-plane-launching-figma-mcp-server-jesse-lumarie-figma` · `@content/youtube/aie/the-agentic-commerce-stack-ahnaf-prio-best-buy`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*