How It Works
The PII and Guardrails layers apply at every stage of the processing pipeline:| Stage | What happens |
|---|---|
| User Input | Sensitive data is identified and masked before reaching the model. |
| Agent Processing | Agents operate on redacted data, preventing unintended PII propagation. |
| Agent Response | Guardrails evaluate outputs to enforce safety and compliance policies. |
| User Display | De-anonymization occurs only when explicitly permitted. |
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.| Scanner type | What it does |
|---|---|
| Input scanners | Evaluate what agents receive. Block harmful language, jailbreak attempts, or unsafe instructions. |
| Output scanners | Evaluate what agents generate. Prevent harmful or non-compliant content from reaching the user. |
- Block harmful or inappropriate language.
- Restrict content using regex patterns.
- Detect toxicity or jailbreak attempts.
- Prevent disallowed outputs.
Data Anonymization
Data anonymization converts identifiable values into structured tokens during processing and storage.| Feature | Description |
|---|---|
| Standard anonymization | Applies to all detected sensitive fields. |
| Token structure preservation | Ensures downstream tools operate correctly with anonymized data. |
| Selective de-anonymization | Permitted only for components explicitly configured to access sensitive data—for example, database updates or third-party integrations. |
| Consistent anonymization | Maintains the same anonymized values within a single execution context to preserve workflow integrity. |
- Select the test option.
- Provide sample input data.
- Review results and refine scanner settings as needed.