AI engineering · 33 of 42
Checks on the way in and on the way out
Scroll
Checks on the way in and on the way out
Guardrails are the checks around the model rather than the instructions inside it. On the way in: prompt shape, unexpected content, credentials and personal data that should not be there. On the way out: claims that should carry a citation, policy, tone, anything the response should not contain.
The failure path matters as much as the check. Something has to happen when one trips — block, degrade, or hand to a human — and that decision belongs in the design.
Concept 19 named the attack; this is the part that has to hold. It is code you own and can test, which is precisely what makes it different from a paragraph in a system prompt asking the model to behave.
Security