🛡️ Agent Shield
PII Redaction Shield for AI Agents
Strip PII before the LLM. Restore it after. Zero data leaks.
What it does
Agent Shield sits between your agent and the LLM. Before sending data, it redacts PII (names, emails, phone numbers, SSNs, credit cards, addresses). After the LLM responds, it hydrates the original values back in. Your LLM never sees sensitive data.
Why agents need this
- •LLMs are external APIs — every prompt sends data to a third party
- •PII in prompts violates GDPR, CCPA, and most data handling policies
- •Once PII is in an LLM context window, it can appear in logs, caches, and training data
- •Building PII redaction is complex — regex misses edge cases, NER is expensive to maintain
Get started in 30 seconds
One API call. No SDK. No configuration.
cURL
curl -X POST https://www.agent-utils.com/api/shield \
-H "x-api-key: au_your_key" \
-H "Content-Type: application/json" \
-d '{
"text": "Hi, I am John Doe (john@example.com). My SSN is 123-45-6789."
}'Python
import requests
resp = requests.post(
"https://www.agent-utils.com/api/shield",
headers={"x-api-key": "au_your_key"},
json={"text": "Hi, I am John Doe (john@example.com). My SSN is 123-45-6789."},
)
redacted = resp.json()["data"]["redacted"]
# "Hi, I am [NAME_1] ([EMAIL_1]). My SSN is [SSN_1]."JavaScript
const res = await fetch("https://www.agent-utils.com/api/shield", {
method: "POST",
headers: {
"x-api-key": "au_your_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
text: "Hi, I am John Doe (john@example.com). My SSN is 123-45-6789.",
}),
});
const { data } = await res.json();
console.log(data.redacted);
// "Hi, I am [NAME_1] ([EMAIL_1]). My SSN is [SSN_1]."Use cases
Customer support
Agent processes support tickets containing customer names, emails, and order details
Healthcare records
Agent analyzes patient data — redact PHI before any LLM call
Financial analysis
Agent works with transaction data containing account numbers and SSNs
HR automation
Agent processes employee records — redact personal details before summarization
AgentUtils vs. alternatives
Traditional tools like Presidio (Microsoft), Nightfall, Tonic.ai require SDK integration, credential management, and infrastructure setup. AgentUtils replaces all of that with a single HTTP call.
| AgentUtils | Alternatives | |
|---|---|---|
| Setup time | 30 seconds | Hours to days |
| SDK required | No (REST API) | Yes |
| Credentials to manage | 1 API key | Multiple keys/tokens |
| Infrastructure | Zero-config | Provision + configure |
Related tools
All AgentUtils tools
Start building for free
500 free API calls per month. No credit card required.