Comparison
Presidio anonymizes personal data. The free core proxies a coding agent.
Use Presidio for names, emails, and other personal data in a document or a pipeline. The free core is the wrong tool for that. It masks secrets, IPs, and internal hostnames on a request you already decided to send.
Presidio
Presidio (MIT) detects and anonymizes sensitive data in text, images, and structured data. It started at Microsoft and is now published by Data Privacy Stack. The project site lists an analyzer, an anonymizer, an image redactor, and a structured-data module. Call it from Python, PySpark, Docker, or Kubernetes, or run the HTTP service.
Shipped recognizers include credit cards, emails, phone numbers, IBANs, IP addresses, locations, person names, URLs, UUIDs, and country-specific identifiers. Detection uses patterns, checksums, context words, and named-entity recognition. Supported entities. The anonymizer can redact, replace, hash, or encrypt a span, and it can reverse an encrypted value. Text anonymization.
Presidio is the better tool when you need any of these:
- Person names, emails, phone numbers, postal addresses, or government identifiers in documents or tickets.
- A recognizer stack you can extend, including models, in more than one language.
- Redaction of text inside images.
- A library or service inside a data pipeline, rather than a process in front of a coding CLI.
The project site says automated detection is not a guarantee that every sensitive string will be found. This page has no miss-rate measurement for either tool.
Free core
The free core is a local Rust proxy. Point the agent at 127.0.0.1. It replaces secrets, IP addresses, and hostnames on configured internal domains, forwards the request, and puts the original strings back in the streamed reply. The placeholder map stays on that machine. README.
Presidio does not speak the Anthropic Messages API or the OpenAI Responses API, and it does not restore a placeholder inside a server-sent event. The free core has no person-name model, no email recognizer, and no image redactor. A customer name in a prompt stays unless it happens to match a secret rule or a configured hostname.
IP addresses
Presidio's IP_ADDRESS entity is pattern match plus context, aimed at personal data in text. The free core masks IPv4 and IPv6 in the agent request and keeps 127.0.0.1, 0.0.0.0, 255.255.255.255, and ::1. Hostnames are masked only when the suffix is in internal_domains. The README default is corp, internal, and lan. Presidio's published entity list does not describe internal-hostname suffixes.
For a support ticket full of customer addresses, start with Presidio. For a firmware log about to go to a coding model, the free core's rules match that request path. Neither sentence is a score.
Code names
Presidio will not treat aurora_rcc_enable_pll as PII unless you add a recognizer for it. The free engine does not mask it either. Learned identifier and code-name masking is planned Pro, about $9 a month, waitlist only. It is not for sale. A deny-list entry in the free config does not create that behavior. redact.rs.
Other local tools
Cover, shim-cli, and LocalGuard also sit on the path between a coding agent and a provider. Notes below are from their READMEs and sites on 20 Oct 2026. This page did not run them.
Cover
Cover is a Go proxy, Apache-2.0 (LICENSE). It replaces matches on the machine and writes the originals back into ordinary responses and streams. Rule actions in the README: allow, placeholder, pseudonymize, mask, redact, block. Built-in detectors cover AWS and GCP keys, GitHub, GitLab, Slack, Stripe, and Anthropic tokens, private-key blocks, JWTs, explicit secret assignments, emails, SSNs, credit cards, phone numbers, and IBANs. A bare OpenAI sk-... value is not one of those detectors. A match has to sit on one line.
Named clients: Codex, Claude Code, Cursor, Pi / Oh My Pi, and OpenAI- or Anthropic-compatible SDKs. The Cursor line in the README is: use the endpoint when the app exposes an API base URL, then check with cover doctor or cover monitor. Reversible mappings are memory-only, with a TTL and a capacity limit. An optional local llama.cpp model can mark names and internal codenames that the regex missed. The README calls that pass supplemental, not a release approval, and skips strings outside 8 to 2,000 bytes.
Use Cover if you want a realistic stand-in, a block action, those PII detectors, or that local model. The SymVeil free core has none of those. It stores the reverse map in .symveil/vault.json.
shim-cli
shim-cli is Python, Apache-2.0. The hook and detector add no network destination, account, or telemetry. shim install claude masks eligible tool results. shim watch -- claude is a separate proxy that forwards the bytes unchanged and reports tokens and cost. See what it cannot do.
A prompt typed into Claude Code or Codex is not rewritten. The README says neither client lets a hook rewrite it. shim reports the prompt, or stops it under enforce. GitHub Copilot CLI is the exception: the model receives the masked prompt. Codex and Copilot CLI tool traffic is not inspected. VS Code masks nothing. In Claude Code, shell commands, file writes, failed command output, and @ attachments are reported or denied, not masked. Windows is not supported. The README says WSL is not yet checked, and that detection is best-effort, not a DLP boundary.
Use shim-cli if you want the session report, or if the client is Copilot CLI. It will not mask a prompt you type into Claude Code or Codex. A base-URL proxy can, for a client that actually sends that traffic to the proxy.
LocalGuard
LocalGuard is a desktop app for macOS (Apple silicon), Windows, and Linux. The public repository holds a README and docs. It does not hold the application source. GitHub reports no license. The README says all rights reserved.
Without a subscription the app is detect-only: it shows what left and changes nothing (guide, README). A subscription turns replacement and restore on. The README prices that at EUR 5 for the first month, then EUR 49 a year. The site prices it at USD 5, then USD 49 a year. The two pages disagree. The site says scanning stays on the machine, uses patterns plus an on-device model, and does not catch everything.
Use LocalGuard if you want a menu-bar app that also looks for names, emails, and card numbers, and you will pay for redaction. The SymVeil free core redacts its builtin secrets, IPs, and configured hostnames with no subscription. It does not detect a person's name. The matcher is in the Apache-2.0 tree.