Redact.
Anonimisering op het apparaat die persoonsgegevens al tijdens het typen weghaalt, in 27 talen, voordat ze je servers of logs bereiken.
Demo
Filter PII op het apparaat.
Een supporttranscript staat vol namen, adressen en kaartnummers die je niet mag bewaren. Redact maskeert ze in de browser of op de telefoon, nog voordat de tekst wordt verstuurd, zodat je systemen [GIVEN_NAME_1] opslaan op de plek van de klantnaam.
Redact zet de waarden ook weer terug. Maskeer een prompt voordat je die naar een extern model stuurt en herstel daarna de echte namen en nummers in het antwoord. Bewaar je de placeholder-map, dan is het resultaat gepseudonimiseerd; verwijder je de map, dan is de gemaskeerde kopie geanonimiseerd.
Microsoft Presidio, AWS Comprehend en Google Cloud DLP dekken hetzelfde terrein, en ze willen de tekst allemaal op hun servers. Redact vangt 88,8% van de persoonsgegevens in 27 talen, uit 23M parameters, dus dezelfde maskering draait in een browsertab, op een telefoon of in een Node-backend.
Kaartnummers, IBAN's, nationale ID's en btw-nummers worden getoetst aan hun echte checksums: Luhn, ISO-13616 en de regels per land. Een willekeurige reeks van 16 cijfers wordt dus nooit als kaartnummer gemaskeerd.
Vangt 88,8% van de persoonsgegevens.
Vangt 88,8% van de persoonsgegevens in een tekst en raakt de rest bijna nooit aan, uit een model dat klein genoeg is voor een browsertab. Het enige systeem met een hogere recall, GLiNER-PII, is 2,3 GB.
Elk systeem gescoord door dezelfde meetopstelling op dezelfde rijen, elk op zijn eigen operating point, zodat de vergelijking de modellen meet en niet de techniek eromheen. Recall is het aandeel volledig gemaskeerde persoonsgegevens, macro-gemiddeld over WikiANN, MultiNERD en een gestructureerde set met geldig formaat. Precisie is het aandeel gemaskeerde spans dat echt persoonsgegevens was. De grootte van Redact is de Apple-build; de build voor Android en web is 25 MB.
| Systeem | Recall | Precisie | Omvang | Parameters |
|---|---|---|---|---|
| Redact | 88,8 | 99,6 | 12MB | 23M |
| GLiNER-PII | 91,1 | 90,4 | 2,3GB | 570M |
| Rampart | 61,4 | 97,2 | 14,7MB | 18,5M |
| OpenAI privacy filter | 60,2 | 93,5 | 3GB | 1,5B |
AWS Comprehend is de andere optie die teams afwegen, en staat buiten deze tabel omdat de PII-API alleen Engels accepteert: elke andere taalcode wordt geweigerd. Op dezelfde Engelse regels scoort hij over het geheel hoger (91,6 tegen 86,5 op de Engelse composietscore), voorop bij namen en achter op gestructureerde gegevens (91,9 tegen 95,0), bij dezelfde precisie. Comprehend draait in de cloud, rekent per aanroep af en dekt één van deze 27 talen. Al het bovenstaande is interne evaluatie op externe WikiANN en MultiNERD plus een set gestructureerde PII met geldig formaat; de volledige talenlijst en de uitsplitsing per label staan op de model card.
Een webformulier opschonen voordat het verstuurd wordt.
Veilige round-trips naar een LLM
Maskeer een prompt voordat die naar een extern model vertrekt en herstel daarna de echte waarden in het antwoord. Genummerde placeholders zoals [GIVEN_NAME_1] en [EMAIL_1] houden de round-trip verliesvrij, zodat de gebruiker gewoon een normaal antwoord leest.
Opschonen bij binnenkomst, zonder DLP-rekening
Draai Redact in Node over transcripten, logs en uploads zodra ze binnenkomen. Geen kosten per aanroep en geen data die je infrastructuur verlaat, anders dan bij een cloud-DLP-dienst die elk document afrekent.
Support en chat op mobiel
Haal namen, e-mailadressen, kaartnummers en IBAN's uit een gesprek op de telefoon voordat het synchroniseert, zodat ruwe persoonsgegevens nooit je eigen servers bereiken en die van je loggingleverancier evenmin.
Anonimiseren in 27 talen
Eén model dekt 27 talen in Latijns, Grieks en Cyrillisch schrift: alle officiële EU-talen, plus Noors en IJslands. Een formulier uit Athene en een formulier uit Helsinki volgen hetzelfde codepad.
Inspiratie
Ideeën om te bouwen met Redact. Kopieer een prompt naar je coding-agent en ga.
Write an MCP tool that strips personal data before it reaches any other tool.
Write an MCP tool (or a Claude Code skill) that runs Desert Ant's Redact on-device to remove names, emails, phone numbers, and other PII from text before it's passed to any tool, API, or LLM. Return the redacted text plus the spans it hid. Build it with the Desert Ant SDK. Redact (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/redact/. Install: SwiftPM desert-ant-core; Maven ai.desertant:redact:3.1.0; npm i @desert-ant-labs/redact @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Scrub personal data out of any text before it hits an LLM.
Add a redaction step that runs Desert Ant's Redact on-device on any prompt or document before it's sent to a cloud LLM, so personal data never leaves the device. Keep a map to restore values in the response if needed. Build it with the Desert Ant SDK. Redact (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/redact/. Install: SwiftPM desert-ant-core; Maven ai.desertant:redact:3.1.0; npm i @desert-ant-labs/redact @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Redact PII from logs on the device before they're stored.
Add a logging step that runs Desert Ant's Redact to strip the bulk of PII from log lines on-device before they're written. Structured fields (cards, IBANs, emails) are reliable; treat it as de-identification before storage, not a guarantee. Build it with the Desert Ant SDK. Redact (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/redact/. Install: SwiftPM desert-ant-core; Maven ai.desertant:redact:3.1.0; npm i @desert-ant-labs/redact @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Run PII redaction in a Lambda so data never leaves your infrastructure.
Deploy Desert Ant's Redact in a serverless function (Lambda or similar) that redacts PII from incoming text at ingest, so personal data is removed inside your own infrastructure with no third-party call. Build it with the Desert Ant SDK. Redact (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/redact/. Install: SwiftPM desert-ant-core; Maven ai.desertant:redact:3.1.0; npm i @desert-ant-labs/redact @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Scrub a support form before it submits.
In a web support form, run Desert Ant's Redact in the browser (WebAssembly) as the user types, so obvious PII is flagged or removed before the form is submitted. Build it with the Desert Ant SDK. Redact (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/redact/. Install: SwiftPM desert-ant-core; Maven ai.desertant:redact:3.1.0; npm i @desert-ant-labs/redact @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Transcribe interviews and auto-redact names before you share them.
Build an interview tool: Desert Ant's Voz transcribes on the Mac, then Redact removes the bulk of names and PII. Flag the transcript for a human check before sharing, since free-form names are Redact's least reliable field. Build it with the Desert Ant SDK. Voz (Swift). Install and API: https://desertant.com/docs/voz/. Redact (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/redact/. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Detect the language, then redact PII in that language.
Run Desert Ant's Tongue to detect a message's language, then Redact to strip PII with the right language coverage, both on-device. Build it with the Desert Ant SDK. Tongue (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/tongue/. Redact (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/redact/. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
De-identify a dataset before fine-tuning or sharing it.
Batch-run Desert Ant's Redact over a text dataset to strip names, emails, and other PII before you fine-tune a model or hand the data to a partner. On your own infrastructure, nothing leaves it. Build it with the Desert Ant SDK. Redact (Swift, Kotlin, JavaScript / TypeScript). Install and API: https://desertant.com/docs/redact/. Install: SwiftPM desert-ant-core; Maven ai.desertant:redact:3.1.0; npm i @desert-ant-labs/redact @litertjs/core. SDK source: https://github.com/Desert-Ant-Labs/desert-ant-core. Machine-readable catalog of every model and SDK: https://desertant.com/llms.txt.
Wat het model doet
- 20 detectiecategorieën. Namen, straatadressen, steden, postcodes, e-mailadressen, telefoonnummers, creditcards, bankrekeningen en IBAN's, routing numbers, IP-adressen, URL's, paspoorten, rijbewijzen, fiscale nummers, BSN's en overheids-ID's.
- Deterministische validatielaag: Luhn-controles voor kaarten, ISO-13616-IBAN's, nationale ID's met checksum voor alle 24 EU-landen, alle 27 EU-btw-formaten, IMEI en rijbewijzen per land.
- Omkeerbare redactie met unieke genummerde placeholders voor round-trips naar een LLM.
- Filter op categorie en bekijk elke detectie met zijn exacte tekenpositie.
- Bedrijfsnamen worden als eigen categorie herkend en standaard met rust gelaten, want een bedrijf is geen persoon. Vraag erom en ze worden met de rest gemaskeerd.
Aan de slag
Voeg pii-redactie toe aan je iOS or macOS, Android or web-app in een paar regels code. Redact docs.
// Swift Package Manager
.package(url: "https://github.com/Desert-Ant-Labs/desert-ant-core", from: "3.1.0")
// target dependency
.product(name: "Redact", package: "desert-ant-core")
import Redact
let redact = Redact()
let r = try await redact.redaction(of: text)
// r.redactedText: "Email [GIVEN_NAME_1] at [EMAIL_1]"
Add Redact from Desert Ant Labs to this Swift project (iOS, macOS). What it does: on-device PII-redactie voor iOS, Android en web. SDK: Swift (iOS, macOS) Repo: https://github.com/Desert-Ant-Labs/desert-ant-core#readme // Swift Package Manager .package(url: "https://github.com/Desert-Ant-Labs/desert-ant-core", from: "3.1.0") // target dependency .product(name: "Redact", package: "desert-ant-core") Reference: - Model page: https://desertant.com/models/redact/ - Full catalog and other models: https://desertant.com/llms.txt Add the SDK, then follow its README for the exact API and current version. Do not invent API names or method signatures; confirm them against the README.
// build.gradle.kts (Maven Central)
implementation("ai.desertant:redact:3.1.0")
import ai.desertant.redact.Redact
Redact(context).use { redact ->
val r = redact.redaction(text)
// r.redactedText: "Email [GIVEN_NAME_1] at [EMAIL_1]"
}
Add Redact from Desert Ant Labs to this Kotlin project (Android).
What it does: on-device PII-redactie voor iOS, Android en web.
SDK:
Kotlin (Android)
Repo: https://github.com/Desert-Ant-Labs/desert-ant-core#readme
// build.gradle.kts (Maven Central)
implementation("ai.desertant:redact:3.1.0")
Reference:
- Model page: https://desertant.com/models/redact/
- Full catalog and other models: https://desertant.com/llms.txt
Add the SDK, then follow its README for the exact API and current version. Do not invent API names or method signatures; confirm them against the README.
npm i @desert-ant-labs/redact @litertjs/core
import { Redact } from "@desert-ant-labs/redact";
const redact = await Redact.load();
const r = await redact.redaction(text);
// r.redactedText: "Email [GIVEN_NAME_1] at [EMAIL_1]"
Add Redact from Desert Ant Labs to this JavaScript / TypeScript project (Web, Node.js). What it does: on-device PII-redactie voor iOS, Android en web. SDK: JavaScript / TypeScript (Web, Node.js) Repo: https://github.com/Desert-Ant-Labs/desert-ant-core#readme npm i @desert-ant-labs/redact @litertjs/core Reference: - Model page: https://desertant.com/models/redact/ - Full catalog and other models: https://desertant.com/llms.txt Add the SDK, then follow its README for the exact API and current version. Do not invent API names or method signatures; confirm them against the README.
Specs
- Talen
- 27 talen: alle officiële EU-talen, plus Noors en IJslands (volledige lijst op de model card)
- Grootte op het apparaat
- 12 MB Core ML (Apple, 4-bit); 25 MB LiteRT (Android, web, int8)
- Model
- BIOES-tokenclassifier met 6 lagen, afstamming Multilingual-MiniLM, 23M params
- Privacy
- Draait volledig op het apparaat. Tekst gaat nooit ergens heen.
Redact vangt ongeveer 90% van de persoonsgegevens in een tekst, dus ruwweg één op de tien komt erdoor. Zie Redact als de laag die het gros weghaalt voordat gegevens het apparaat verlaten, niet als garantie dat een document schoon is.
De gestructureerde velden zijn het betrouwbare deel, want kaarten, IBAN's, btw-nummers en nationale ID's moeten een echte checksum doorstaan. Redact mist het vaakst vrij ingevoerde namen en adressen in ongebruikelijke opmaak, en omgekeerd maskeert het af en toe een gewoon woord, meestal in hoofdletters.
FAQ
Wat is Redact?
Anonimisering op het apparaat die persoonsgegevens al tijdens het typen weghaalt, in 27 talen, voordat ze je servers of logs bereiken.
Draait Redact op het apparaat?
Ja. Redact draait op het apparaat, zonder serveraanroep, dus de data blijft bij de gebruiker.
Welke platforms ondersteunt Redact?
Redact wordt geleverd als een native on-device SDK voor Swift, Kotlin, JavaScript / TypeScript.
Hoeveel kost Redact?
Elk model is gratis voor maximaal 100k maandelijks actieve apparaten per SDK. Onbeperkte inference per gebruiker. Neem contact op voor aangepaste licenties.
Hoe nauwkeurig of snel is Redact?
Vangt 88,8% van de persoonsgegevens in een tekst en raakt de rest bijna nooit aan, uit een model dat klein genoeg is voor een browsertab. Het enige systeem met een hogere recall, GLiNER-PII, is 2,3 GB.