AI PII Redaction
Governance settings for an agent platform: which personal data is redacted in prompts, responses and traces.
About this block
What it's for
- Governance settings for an agent platform: which personal data is redacted in prompts, responses and traces.
- AI support console that pseudonymizes customer emails and phone numbers before sending them to the model.
- LLM observability that masks API keys and IPs before persisting logs.
Includes
- Pii detection
- Per entity redaction strategy
- Mask partial token hash remove
- Consistent pseudonymization
- Checksum validation
- Custom regex patterns
- Regex validation
- Custom term dictionary
Works with
- Radix UI primitives (the registry variant it ships in)
- React 19, Next.js App Router and Tailwind CSS 4, installed with the shadcn CLI
- Your theme tokens, in light and dark mode
Install
Included with Agentic UI Kit (one-time license). Install needs your license key: see pricing · connect your project.
Agentic UI CLI
agentic-ui add ai-pii-redactionInstalls through shadcn and adapts the component to your design tokens.
shadcn CLI
npx shadcn@4.17.0 add @agentic-ui/ai-pii-redactionUsed in
A standalone component: drop it into any screen.
- Type
- Block
- Variants
- Radix UI
- Themes
- Light and dark
- Widths
- Preview it at desktop, tablet and mobile widths above.
- Motion
- Animated, with a reduced-motion fallback
- npm packages
- None beyond your project's React and Next.js
- Registry dependencies
lib-primitives- Files
5 files
- components/agentic-ui/ai-pii-redaction/index.tsx
- components/agentic-ui/ai-pii-redaction/types.ts
- components/agentic-ui/ai-pii-redaction/term-list.tsx
- components/agentic-ui/ai-pii-redaction/preview.tsx
- components/agentic-ui/ai-pii-redaction/engine.ts
Related components
AI Action Confirmation
Operations agent that asks to drop production tables and shows the rows, size and last use of each one.
Details and live previewAI Agent Memory Viewer
Assistant settings where the user reviews and corrects what the agent knows about them (time zone, style preferences).
Details and live previewAI Agent Status Badge
Header of an agent run that moves from working to waiting-approval and opens the approval on click.
Details and live previewAI Chat Empty State
Assistant chat with no messages that offers four starting points configured by the workspace.
Details and live preview