Anonymization New in 0.9.1

Private data out. The real names back, for you.

A client's contract, a payroll, an email thread. Captain takes the names, companies, addresses, emails, phone numbers, bank accounts and ID numbers out and puts a token like ⟦PERSON_1⟧ in each place. The real values stay on your deck, encrypted, in a vault only you can open. Send the anonymized version anywhere, and put the real names back into whatever comes home.

In the kiosk: Settings → What they keep → Anonymize, or More → Anonymize under the agent column. In the full layout: Files → Anonymize. Anyone signed in to the deck can use it.

Text and files Word, Excel, PowerPoint Whole folders A privacy gate for your agents Captain for Chrome

Tokens in place of the names.

Every private value becomes a token that names its kind and a number. Dates, amounts, titles and cities stay, so the text still reads and the numbers still add up. A made-up example, with code alone looking:

What you have
Ana Horvat (ana.horvat@example.com) signed for
Velora d.o.o. in Zagreb on 3 March 2026.
Ms. Horvat will send the annex to Luka Perić
by Friday. Amount: 4.200,00 EUR.
What a model reads
⟦PERSON_1⟧ (⟦EMAIL_1⟧) signed for
⟦ORG_1⟧ in Zagreb on 3 March 2026.
Ms. ⟦PERSON_1:2⟧ will send the annex to Luka Perić
by Friday. Amount: 4.200,00 EUR.

In a vault

The real values go into a vault, so you can put them back later. In GDPR terms this is pseudonymized: still personal data, because it can be reversed.

Keep nothing

No vault, so the tokens can never be turned back. Make them coarser also turns a date of birth into a year, an address into a city, and ages and amounts into ranges.

It finds people, companies, emails, phone numbers, street addresses, labelled dates of birth, IBANs and cards, OIB and JMBG, ID, passport, tax and registry numbers, and anything you list yourself (Project Falcon | PROJECT).

Who looks for the names.

Two lanes. A model can only add things to hide, never un-hide what code found, and it never rewrites your text: code does the replacing.

After replacing, Captain checks its own output and replaces anything still found in another round. If something is still there after the last round, the run fails and nothing is returned.

How to start.

Code-only anonymization works on every deck with no setup. The first step is for an admin, and optional.

  1. Admins, for the best recall: Admin console → Settings → Anonymization. Pick a Provider and a Model (a local Ollama model is trusted as it is), Save, then Check on samples to see what code alone missed and what the model caught.
  2. Open Anonymize: in the kiosk, Settings → What they keep → Anonymize (or More → Anonymize); in the full layout, Files → Anonymize.
  3. Pick Text or File, choose In a vault, name the Vault (one per case, for example Velora) and click Anonymize. Check the result, then Copy or Download.
  4. To put the names back: Put back, pick the vault, paste the text or drop the file, and click Put back.
  5. For your agents: Privacy gate, switch On, pick What it covers and the sources, Save, and start a new conversation.

Step by step.

The Anonymize page has four tabs: Anonymize, Put back, Vaults and Privacy gate. In the kiosk it opens as a dialog.

Anonymize a text or a file

On the Anonymize tab.

  1. Pick Text (paste a letter, an email, notes or a table) or File (drop it, up to 25 MB).
  2. Under Keep the real values?, pick In a vault or Keep nothing.
  3. With In a vault, name the Vault: one per case or client. A new name makes a new vault; pick an existing one to keep its tokens.
  4. With Keep nothing, you can tick Make them coarser under Details.
  5. Under Who looks (shown when the deck has a trusted model), keep Code + trusted model, or pick Code only or Trusted model only.
  6. Optional: More options. Leave as they are for your own company or public figures, Always hide for anything else, one per line.
  7. Click Anonymize. Read the result, with every token as a coloured chip and a line that says who looked, then Copy or Download.

Missed something? Add it under Always hide and run again into the same vault. From then on, code finds it by itself.

Put the real names back

For anything that holds tokens from one of your vaults: the anonymized file, a summary someone wrote from it, an agent's answer.

  1. Open Anonymize → Put back.
  2. Pick the Vault the text or file was anonymized into.
  3. Under What to put back, pick Text (paste it) or File (drop it).
  4. Click Put back.
  5. The card says how many values went back. Tokens that aren't in this vault are listed and left as they are.
  6. Copy or Download. Contract.anonymized.docx comes back as Contract.restored.docx, with the real values inside the file.

The result holds the real values again. It's for you: don't paste it into an agent's chat.

Files and folders Where they are

Word stays Word. The original stays as it was.

In the kiosk, a file in your Shared folders or the File library has its own Anonymize, and a folder in Shared folders has ⋯ → Anonymize the whole folder. A copy goes beside the original, never over it, or to your own Anonymized folder where you can't write.

The privacy gate For your agents

Your agents' model reads tokens. Your chat shows the names.

When the gate is on, what your agents read reaches their model as tokens, and the real values stay in your vault called Chat. It's off until you turn it on, and it is yours alone: it covers your agents, and your own turns on agents shared with you.

Turn on the privacy gate

  1. Open Anonymize → Privacy gate.
  2. Switch On.
  3. Under What it covers, pick Sources I pick, or The whole chat: your messages, what every tool returns, and the memory and recall notes.
  4. Under For which agents, keep On an untrusted model (the default: an agent on a local or trusted model sees the real thing), or pick Every agent.
  5. Under Who looks, keep Code (quick), or pick Code + trusted model, which catches more but makes every result wait for it.
  6. With Sources I pick, tick the Sources: Mail (Gmail, Outlook, IMAP), Chats (Telegram, WhatsApp), Calendar, Contacts, Files (what agents read; or only some folders), Data tables, Memory (external and deep memory). The first four start ticked.
  7. With Files ticked, you can limit it under Only these folders (optional), one per line, for example vfs:clients.
  8. Click Save, and start a new conversation. Older conversations still hold the real values.

What you see in chat

  • A status line while it works, in place of "thinking", saying what it is anonymizing.
  • With Sources I pick, a reply with tokens has Real names under it. Only you see them; the agent never does. Tokens switches back.
  • With The whole chat, your chat in Flight Deck, and your own private Telegram chat with the agent, already show the real values.
  • Mail and WhatsApp messages the agent sends get the real values just before they leave. If they can't be put back, nothing is sent.
  • If the gate can't check something, nothing gets through. The tool's result isn't shown to the model, and you see why.

Over time the Chat vault fills up. Reset the chat vault deletes its values and history, keeps its token numbers, and can't be undone.

What the gate doesn't cover. With Sources I pick, anything outside the ticked sources reaches the model as it is: your own messages, web pages, the shell, the browser. The system prompt is not anonymized, even with the whole chat, and that includes your profile and a shared agent's members list. Pictures go to the model as they are. Real values aren't put back in replies over WhatsApp, Messenger or devices, in scheduled deliveries, on public pages, or in the Line and notifications: they show the tokens. Other people talking to your agent get its replies with tokens. Flight Deck's own one-off generations on your model tier aren't gated, and the agent's tool-call audit keeps the arguments as they ran.

From a chat, or the page you're on.

anonymize A new agent tool

Ask an agent

Agents started by Flight Deck have the anonymize tool. For a file or a page, the tool reads it itself and sends it straight to Flight Deck, so the original never goes through the agent's model.

  • "Anonymize vfs:clients/Velora/contract.docx into the vault Velora."
  • "Anonymize every file in vfs:clients/Velora/, keep nothing."
  • "Put the real names back into the summary you just wrote, from the vault Velora."

Its restore writes a file for you that the model never sees; the agent gets its path, never its contents. It runs only when a person asks, never on a schedule or a flow.

Captain for Chrome 0.3.0

Anonymize the page you're on

No agent involved. The extension must be paired with your deck.

  1. Open the page and the Captain side panel. To do only part of it, select that text first.
  2. Click Anonymize this page (or Anonymize the selection), or right-click and pick Anonymize with Captain.
  3. Read what was Found, then Copy, or Save in Flight Deck to keep it in Shared folders → web-clips.
  4. Later, paste an answer that holds the tokens into Put the real names back, click Put them back, then Copy.

The vault is named after the site, www.example.com, so the same person gets the same token on every page of it.

Captain for Chrome

Vaults One per case

Only you can open them.

A vault holds one case: the real values behind its tokens. It belongs to you, never to an agent, even when an agent made it. There is no page where an admin, or anyone else, sees it.

Each vault has its own key, sealed with the deck's data key. The values, their spellings, their history and even the vault's name are encrypted. Up to 1,000 vaults, each with up to 20,000 values.

Check it before it leaves.

Anonymization makes a leak much rarer, not impossible. Read the result before you send it anywhere.

  • Code misses bare names ("we met Luka"), unless the vault already knows them or the name pack is on.
  • Models miss things too: a name that is also a word at the start of a sentence ("Will", "Grant", "Zora"), or a small company's name in a short title. Add what was missed under Always hide and run again.
  • Numbers and dates stay on purpose. An exact age or salary can still point to one person; to share data for good, use Keep nothing with Make them coarser.
  • A vault is reversible. That's pseudonymization. Keep nothing is real anonymization.
  • Pictures aren't changed, and some foreign company forms and registry numbers aren't known to code.
  • Sizes: a file up to 25 MB, a text up to 2,000,000 characters, a folder up to 2,000 files.

Setting up the trusted model (admins). "Trusted" means trusted with the raw document. A local Ollama or LiteRT model, or an OpenAI-compatible server on your own network, is trusted as it is. A cloud provider counts only if you tick that you trust it with the raw documents. Don't use an Ollama -cloud model. With If the model fails on Refuse (the default), nobody gets a result that missed what only the model would find.

Anonymization docs · The step-by-step guide · Data rooms use the same engine for a whole deal

Keep reading

Try it on real work.

Join the waitlist for Cohort 001, our first early-access group, and you'll get an email when you're in. Or run Captain on your own machine today.