PII Detection
Automatically detect and protect sensitive personal information in your AI operations.
Automatic PII Detection
AgenticAnts automatically detects sensitive data:
// PII is automatically detected and redacted
const trace = await ants.trace.create({
name: 'customer-query',
input: 'My SSN is 123-45-6789 and email is john@example.com'
})
// Dashboard shows:
// - PII Types: SSN, Email
// - Action: Redacted
// - Alert: Security team notifiedSupported PII Types
- Social Security Numbers
- Email addresses
- Phone numbers
- Credit card numbers
- IP addresses
- Physical addresses
- Dates of birth
PII Configuration
ants.secops.configure_pii({
'detection': {
'enabled': True,
'types': ['ssn', 'email', 'phone', 'credit_card']
},
'redaction': {
'method': 'hash',
'preserve_format': True
}
})