Guardrails run inside the BAA boundary with no model call. Policy decides whether a tool runs; guardrails decide what text gets through, on the way in, from every tool result and in every reply.
Turn on input redaction and identifiers in a person's message become [REDACTED:type] in the session history and in what the model reads, while your own system keeps the original. Tool results get the same treatment: your HTTP tools, client tools and memory reads are redacted before the model sees them, and the member record stays intact in your system.
Every tool result is passed to the model as data. A prompt injection check on tool results can flag hidden instructions, strip hidden characters, or block the result. Before a run starts, the person's own message can be scored by a jailbreak and injection classifier, with a second opinion from a larger model on high scores.
Output checks look for identifiers in the reply and for your own patterns, such as dosage advice that needs a pharmacist. Flag records the match, redact replaces each identifier, and block fails the run and withholds the reply. A disclosure check can add your fixed notice to the first reply of a session or to every reply.
Card numbers must pass the Luhn check, SSNs skip ranges that are never issued, dates of birth and record numbers need a label beside them, IBANs must pass mod-97, and routing, NPI, DEA, VIN and SIN numbers must pass their check digits. Your own rule patterns run in linear time, so a pattern cannot stall a run.
Guardrails and limits belong to an agent version, like its instructions and tools. Changing them creates a new version, a live agent only picks them up when you promote it, and the eval gate runs against them first.
Set per agent version through the API or the TypeScript SDK.
The person's message, every tool result, and the agent's reply.
Flag, redact, strip or block, depending on the check.
SSNs, MRNs, MBIs, dates of birth, cards, IBANs, NPI, DEA and more; eight checked by default.
Regular expressions for things only you know, such as your member ID format.
Cost, tokens, tool calls and time per run.
Inside the BAA boundary, with no model call for detection.
Sign in with your work account, read the guide to see exactly what the platform can do, or talk to us about bringing it to your team.