AI Guardrails
Plain-English rules an evaluator checks on every tool call
AI Guardrails are tool call rules written as a plain-English instruction, such as “any information about Project Alpha, including code names, timelines, or team members”. Use them for topics with no recognizable shape. For data with a pattern, use Standard Entity Rules or Custom Regex Rules.
For prompts and completions sent to a model, see Model guardrails.
How evaluation works
An evaluator answers yes or no for each guardrail independently. On yes, the guardrail’s action fires. When unsure, it answers no.
If the evaluator returns no verdict, the call continues and the guardrail is marked as an evaluation failure.
Settings
Configure guardrails at Security → AI guardrails. Templates can prefill every field.
Nothing is screened until you add your first guardrail.
Calls through the employee MCP endpoint have no Tool Pack, so they match only guardrails with Limit to tool packs off.
Actions
Write a good instruction
- Cover one subject per guardrail.
- Name the subject and the forms it takes, such as code names.
- Screen requests for data that must not leave. Screen responses for data an agent must not pull in. Both costs two evaluations per call.
Examples
Evaluation model class
Set a class for pre-run and post-run separately on the AI guardrails tab.
A common split is Fast for pre-run, since employees feel that latency, and Balanced for post-run.
Next: test a guardrail in the Guardrail tester.