Allow the content to pass through unchanged. Use when content passes all policy checks.
Allow the request/response but record metadata for analytics or audit. Content passes through, but the evaluation is logged for review.
Continue processing after replacing content with a sanitized version. Use for PII redaction, profanity filtering, or content modification. Requires GuardrailEvaluationResult.modifiedText to be set.
Block the interaction entirely and return an error to the host. Use for policy violations, harmful content, or security threats. Terminates the stream immediately when used in output evaluation.
High-level outcome emitted by a guardrail evaluation.
The action instructs AgentOS how to handle evaluated content:
Example