How It Works
The PII and Guardrails layers apply at every stage of the processing pipeline:
Debug logs, traces, and sessions show redacted values by default, reducing the risk of accidental PII exposure.
PII Detection
PII detection identifies sensitive information—such as names, email addresses, and phone numbers—before it’s processed by the agent. Detected values are automatically masked or replaced based on your configuration. See PII Detection Patterns to configure detection rules.Guardrails
Guardrails are pre-deployed scanners that evaluate agent inputs and outputs to maintain safety, stability, and compliance.
Common use cases:
- Block harmful or inappropriate language.
- Restrict content using regex patterns.
- Detect toxicity or jailbreak attempts.
- Prevent disallowed outputs.