Wellrail

SDK · Waitlist

Safety guardrails, in your code.

The audit tells you what's wrong. The SDK keeps it fixed: a few lines around your model call that handle crisis talk, AI disclosure and minors the way the laws expect.
  • Crisis detection

    Spots suicide and self-harm talk before your model replies, and answers with real help like 988.

  • AI disclosure

    Reminds users they're talking to an AI at the start and on the schedule the laws require.

  • Minor mode

    Break reminders and content limits when a user is, or says they are, under 18.

  • Evidence log

    A record of what happened and what your app did, ready for audits and California's annual reports.

Get early access

chat.tspreview · API may change
import { Wellrail } from "@wellrail/sdk";

const wr = new Wellrail({ apiKey: process.env.WELLRAIL_KEY, states: ["CA", "NY"] });

const check = await wr.check({ message, userAge });
if (check.crisis) return check.referral;   // 988 + local resources
if (check.discloseAI) reply = check.withDisclosure(reply);
SDK · Wellrail