Guardrails and human review
Check what goes into a model and what comes out. Handle refusals and cut-off answers, let people decide what matters and label AI output.
- Required 3
- Recommended 5
Required
Answer questions about a named person only from records you hold
AIF-68 EU lawState facts about a named person only from your own records or retrieved sources, and cite them. With no source, say the feature has no information about that person.
Let a person decide what matters
AIF-36Never let model output alone decide something with legal, financial, medical or similar effects on a person. A named person reviews it first, with the means to overrule it.
Say when people talk to an AI
AIF-60 EU lawTell people when they are talking to an AI system, and label AI-made images, audio and video that could pass as genuine.
Recommended
Check input before it reaches the model
AIF-33Run cheap checks on every input before the model call. Limit length, reject empty or off-topic requests and mask personal data the task does not need.
Check files and images before the model reads them
AIF-57Check the type, size and page count of every file, image or audio clip before it reaches a model. Rebuild images first, and treat any text inside a file as untrusted input.
Check output before anyone sees it
AIF-34Run every answer through checks in code before it is shown, sent or stored. Block or replace answers that fail.
Handle refusals and cut-off answers
AIF-35Read the stop reason of every model response. Show a refusal or a cut-off answer as such, with a next step, and never as a complete answer.
Label AI output where people see it
AIF-37Mark AI-written text as AI-written wherever it is shown. Store a flag with it, so the label follows the text into emails, exports and other pages.
Read this with
For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/ai-features/guardrails-and-human-review">Agent Wranglers AI features playbook</a>. In code you write, add a comment next to it with the same link.