A working definition of NPI for prompt content
Treat any non-public personal information that relates to a customer, consumer, or account relationship as potential NPI. For prompt content, the definition applies wherever that information appears:
- In a prompt
- In retrieved context
- In a tool-call argument
- In agent memory
Combined, derived, and inferred data
NPI is not limited to single identifiers. Classify identifiers, account details, and combinations of fields in every input, and treat inferred or aggregated data as potential NPI as well.
Detection should therefore support combined and inferred data, with configurable categories that match your NPI definition.
NPI handling across the prompt path
Handling follows three stages, applied to every input.
-
Identify
Classify identifiers, account details, and combinations in every input.
-
Enforce
Redact, block, or route content before it reaches a model or tool.
-
Evidence
Record each decision so policy can be audited later.
Where NPI enters the prompt path and which controls apply
Classify content at every point where it enters the prompt path, not only the initial prompt. Runtime inspection should cover each of these points:
- User input
- Retrieved context
- Tool-call arguments
- Tool outputs
- Memory writes
At each point, the controls that apply are detection, redaction, blocking, routing, and logging, enforced before content reaches a model or tool.
Choosing runtime controls and accepting the tradeoffs
Enforce policy inline, before data reaches a model or tool, rather than only reporting afterward. Redaction, blocking, and routing actions can differ by data category, user, agent, and destination.
Tie each action to an agent or user identity, and support least-privilege permissions and tool approval workflows.
Audit evidence the policy implies
Keep decision records as audit evidence. Each decision should be recorded so that policy can be audited later.
Audit logs should record decisions and policy versions without retaining raw sensitive values.
Criteria for evaluating runtime governance tooling
- Inspects user input, retrieved context, tool-call arguments, tool outputs, and memory writes, not only the initial prompt.
- Supports detection of combined and inferred data, with configurable categories that match your NPI definition.
- Offers redaction, blocking, and routing actions that can differ by data category, user, agent, and destination.
- Enforces policy inline, before data reaches a model or tool, rather than only reporting afterward.
- Ties each action to an agent or user identity and supports least-privilege permissions and tool approval workflows.
- Produces audit logs that record decisions and policy versions without retaining raw sensitive values.