PII (Personally Identifiable Information)
Any data that can identify a specific individual—names, email addresses, phone numbers, social security numbers, IP addresses, and biometric data. AI agents that process customer interactions, healthcare records, financial transactions, or HR data inevitably handle PII. Proper PII management requires detection (identifying PII in text), redaction (removing PII before it reaches the LLM or logs), access controls (limiting which agents and users can see PII), and compliance with regulations like GDPR, CCPA, and HIPAA that govern PII handling.
Example
A support agent receives a message containing the customer's email and last four digits of their credit card. Before sending the message to the LLM, the PII detection layer redacts both fields, replacing them with tokens. The agent resolves the issue using the customer's account ID instead of raw PII.
Frequently asked questions
- Should AI agents ever see PII?
- Minimize it. Use account IDs and reference numbers instead of raw PII wherever possible. When PII is necessary (e.g., verifying identity), process it through a PII-aware pipeline that redacts it from logs, traces, and LLM provider data. Some LLM providers offer zero-data-retention modes specifically for PII-sensitive workloads.