BrioLogic application

Brio Nyx Reversible document anonymization, with local AI

Sensitive data stays with you. The document goes out clean and comes back whole.

Brio Nyx is a web application that finds personal and confidential data in documents, replaces it with tokens such as [[PER_3f2a9c1e]] and can restore the original at any time. The anonymized document comes out in the same format and with the same layout: Word stays Word, Excel stays Excel, PDF stays PDF. You can safely send it to an AI service, a consultant or a partner, and the reply you get back, tokens included, is restored automatically.

The name comes from Nyx, the primordial goddess of the night in Greek mythology, associated with what stays hidden. Everything sensitive stays covered while the document is outside your company, and everything runs inside the same perimeter: the application, the database and the AI models, through Ollama, with no calls to any cloud service.

Stack of documents with text fragments replaced by tokens and an orange crescent-moon badge, in a hexagonal grid

At a glance

Who it's for

For organizations that want to use generative AI, outside consultants or partners on real documents without exposing personal data or professional secrets:

The problem it solves

Organizations want to use generative AI and outside consultants on real documents, but those documents contain personal data that the GDPR and professional secrecy do not allow to leave the company.

Brio Nyx solves all four: automatic detection checked by a person, reversible tokens, fully local processing and handling of every hidden area of the file.

How it works

Only the tokenized document leaves the perimeter. The key to restore it stays with you, in the encrypted translation table.

Brio Nyx diagram: inside the company perimeter the document is uploaded, sensitive data is detected by rules and local AI, reviewed by a person and replaced with tokens; the tokenized document goes to an AI service, consultant or partner; the reply comes back and is restored with the encrypted translation table, which never leaves the network
Six steps, with the restore loop: the translation table, which links tokens to real values, never leaves your perimeter.
  1. You upload the documents to the Content Manager or straight into a project: individual files, drag & drop, or ZIP and 7z archives.
  2. The application detects the sensitive data: rules find the identifiers (CNP, IBAN, CUI, the Romanian company tax ID), and the local AI model finds names, companies and addresses.
  3. You review in the Playground: accept, reject or mark items by hand, directly on the text. For large batches, the changes can be applied automatically.
  4. You download the anonymized document, in the same format and with the same layout. Each entity has a unique token within the project.
  5. You use it outside the company: send it to an AI service, a consultant or a partner.
  6. You restore the reply: upload the file you received or paste the text, and the tokens turn back into the real values.

The same paragraph, before and after

Before Subsemnatul Popescu Ion, CNP 1850312400123, domiciliat în București, str. Exemplului nr. 4, titular al contului RO49 BRIO 0000 0000 0000 0001 deschis la Alfa Bank SA, împuternicesc SC Beta Consult SRL să mă reprezinte.
After Subsemnatul [[PER_3f2a9c1e]], CNP [[CNP_8b12d0f4]], domiciliat în [[ADR_c71e55aa]], titular al contului [[IBN_2e9d41b7]] deschis la [[ORG_5d0a93c2]], împuternicesc [[ORG_91f4b7e0]] să mă reprezinte.

The sample data is fictitious (a Romanian power of attorney). "Alfa Bank SA" and "SC Beta Consult SRL" get different tokens, but "Beta Consult", "BETA CONSULT S.R.L." and "Beta Consult SRL" in other documents of the project get the same token.

What data it detects

Detection is hybrid. Identifiers with a fixed format are found by rules and verified mathematically wherever there is a check digit: a number that merely looks like a CNP is not replaced. Data without a fixed format (names, companies, addresses, dates of birth) is found by a language model that understands context: a date of birth is anonymized, an invoice date is not.

Data typeTokenHow it is detected
PersonPERAI, from context
OrganizationORGAI, from context
AddressADRAI, from context
Date of birthDOBAI, only when the context shows it
CNP (Romanian personal numeric code)CNPrule, check digit, date and county code
CUI / CIF (Romanian company tax ID)CUIrule and check digit
IBANIBNrule and the mod 97 algorithm
Bank cardCRDrule and the Luhn algorithm (optional)
Trade Register numberNRCrule, old and new format
EmailEMLrule
PhoneTELrule, Romanian mobile and landline
ID card series and numberCIrule
Vehicle registration numberAUTrule, all counties

Supported formats, with the layout preserved

Review, projects and restoration

Human review in the Playground

Projects and the translation table

Restoration (de-anonymization)

Productivity and administration

Security, privacy and the GDPR

No data leaves your perimeter: the application, the database and the AI models run on the same server or on the same network, and everything sensitive is stored encrypted.

Processingentirely inside your perimeter; the AI models run locally through Ollama, with no calls to cloud services
Filesencrypted with AES-256-GCM on disk; on deletion they are overwritten before removal
Translation tableoriginal values encrypted; lookups use an HMAC fingerprint, not plain text
Encryption keyskey rotation without data loss; the application refuses to start with a wrong key
Authenticationargon2 passwords, complexity policy, short sessions with secure renewal
Authentication attackslockout per account and IP address, increasing delay, alert on distributed attacks
Accessglobal and per-project roles; a project you have no access to does not even appear
Auditevery download, real-value reveal and administrative change is logged; encrypted audit archives
Networkaccess over HTTPS only, security headers (CSP, HSTS), dedicated SQL account with minimal rights
Continuitybackup and restore verified with checksums; configurable retention for documents and logs
Final checkafter anonymization, the resulting document is scanned again for the original values; anything left over is reported

Technically, reversible tokenization is pseudonymization within the meaning of Article 4(5) GDPR, not irreversible anonymization, because you hold the key to restore the data. That is exactly the product's advantage. Brio Nyx supports the principles of data minimization, pseudonymization and security of processing; compliance depends on how you use it, and we help you with the processing documentation.

Where it runs

On your servers (on-premises)

Brio Nyx ships as a set of Docker Compose containers and is installed in your infrastructure, with no external dependencies and no internet access needed while it runs. From the outside, only the proxy's HTTPS port is visible. For AI detection you need one or more GPU servers running Ollama; the application spreads requests across them and automatically routes around any that are down.

Hosted by BrioLogic

If you don't have a GPU server or don't want to manage the infrastructure, we provide a dedicated server, managed by us, in Romania: the application, the database and the AI models run together on it, and we take care of installation, updates, backup and monitoring. Even in this option, your documents never reach any cloud AI provider.

Either way, initial setup, team training and support are part of the BrioLogic service.

Technologies

InterfaceReact, TypeScript, Mantine, Vite; bilingual, light and dark theme
APIPython, FastAPI, SQLAlchemy: authentication, permissions, projects, documents, audit
WorkerPython, PyMuPDF, lxml, headless LibreOffice: detection, anonymization, restoration and conversions, in the background
DatabaseMicrosoft SQL Server 2022: metadata, the job queue, the encrypted translation table
AIOllama with open-weight models (Qwen3 30B by default), for names, companies and addresses; the model and the instructions are chosen in the interface, per organization and per project
ProxyCaddy: HTTPS with an internal or your own certificate, security headers
Operationsbackup and restore scripts that verify integrity and the encryption key; more than 190 automated tests and an evaluation suite for detection accuracy

Brio Nyx and Brio DocForge

Brio DocForge also has an anonymization feature, but the two products solve different problems and complement each other.

Brio DocForgeBrio Nyx
What it doesmanual redaction: you draw rectangles over whatever has to disappearautomatic detection of personal data, with rules and local AI
Resultpermanent: the content is removed from the filereversible: tokens that can be restored at any time
FormatsPDFWord, Excel, PowerPoint, PDF, email, text, archives
Best fordocuments that must be published or handed over without the covered data, for gooddocuments that go to an AI, a consultant or a partner, and whose reply has to be linked back to the real people
Scanned documentsyes, with OCR in Romanian and Englishnot in the current version

What it doesn't do

Frequently asked questions

Does my data end up on the internet?

No. The application, the database and the AI models run inside the same perimeter: on your servers or on a dedicated server managed by BrioLogic. There are no calls to cloud services. Only the tokenized document goes out, and only when you send it.

Can I get the original document back?

Yes. The mapping between tokens and real values is stored encrypted, per project, and any document that contains the project's tokens can be restored, even one rewritten by an AI or a consultant.

Is this anonymization or pseudonymization under the GDPR?

Technically, reversible tokenization is pseudonymization within the meaning of Article 4(5) GDPR, because you hold the key to restore the data. That is exactly the product's advantage: the document that goes out contains no personal data, and you remain the only one who can put it back. Brio Nyx supports the principles of data minimization, pseudonymization and security of processing; compliance depends on how you use it.

How accurate is the detection?

On our internal test corpus of 12 documents, the default model found all the personal data (recall 100%, F1 96.4%). The corpus is small, so we treat these figures as indicative. That is why every document can be reviewed by a person in the Playground before the changes are applied, and the resulting document is scanned again for the original values.

Which formats does it accept?

Word, Excel and PowerPoint, PDF, legacy Office formats (doc, xls, ppt), RTF, OpenDocument (odt, ods, odp), EML email with attachments, text files (txt, csv, md, json, xml, html) and ZIP or 7z archives, including password-protected ones.

Does it work on scanned documents?

Not in the current version. Brio Nyx works on text, and scanned documents require OCR, which is not included. If you need OCR, Brio DocForge and Brio Argus offer it.

Can I add my own data types?

Yes. Administrators define new types with their own rules and can edit the instructions given to the AI model, with version history. In each project you can add terms that are always or never anonymized.

What hardware is required?

A Linux server with Docker for the application and the database and, for AI detection, a GPU server running Ollama. Sizing depends on your document volume. If you don't have a GPU server, we provide a dedicated one, managed by BrioLogic.

Is the interface in Romanian?

Yes, in Romanian and in English, switchable with one click, in a light or dark theme.

See Brio Nyx on your own documents

A demo takes 30 minutes, on documents from your own work, with fictitious or real data, inside your perimeter.