Pseudonymising a legal case file before asking an AI for its view
Replacing "Smith" with "X" does not pseudonymise a case file: the town, the job, an amount are enough to recognise the client. Here is the same preparation done twice, first as it is often done, then in a way that truly protects secrecy.
The case is a delicate one, the meeting is tomorrow, and the associate wants a second opinion. He opens the statement of facts and runs a find-and-replace: "Martin" becomes "Mr X", "Alpiski Ltd" becomes "the company". He pastes the lot into an external AI. Yet the text he sent still contains the name of the valley, the exact turnover, the "former ski school instructor", the date of the general meeting and, in a forgotten header, the firm's file number. Anyone in the region would recognise the case.
It is the mistake you see most often: believing a case file is pseudonymised when only the names have changed. Here is the same preparation done twice.
What professional secrecy requires before you pseudonymise
A lawyer's secrecy covers the content of the case file, not just the client's identity; in Switzerland, its breach is punishable under Article 321 of the Swiss Criminal Code, and most countries have equivalent rules for lawyers. And pseudonymised data is still personal data, under the GDPR as under the Swiss FADP: the guide to anonymisation and pseudonymisation explains the difference.
Pseudonymising a legal case file therefore does not take it outside secrecy. It reduces what goes to an external AI, provided it is done seriously, and provided you first ask whether anything needs to go at all. The guide to AI and professional secrecy sets out this framework for every profession concerned.
Preparing the file: pseudonymisation that holds
Before: find-and-replace on the names
Automatic replacement catches names written out in full. It misses the rest: a first name on its own in a quoted email, an initial, a signature at the bottom of a page, an email address. Above all, it misses everything that identifies without naming: a rare occupation, a place, a precise date, an exact amount. And it produces inconsistent placeholders: "Mr X" here, "the client" there, "Martin" left in a note. The AI then mixes up the people, and its answer suffers for it.
After: the inventory, then consistent placeholders
Start with a list of whatever identifies, directly or indirectly. Each person and each company gets a stable placeholder, [SHAREHOLDER A], [COMPANY B], [OPPOSING COUNSEL], and a lookup table that you keep on your side. Details that have no bearing on the legal question are made neutral: "an industrial SME" rather than the product, "around four million" rather than the amount to the cent, "next month" rather than the date. The ones the answer depends on stay, but on their own.
A confidential model can prepare this work without anything leaving. In IA Confidential, questions are handled by default by confidential models, open models installed on servers in Switzerland and Europe that keep nothing. In a space of the "Legal" type, the tone is formal and the folders you add stay on these models. The first request, to copy and adapt:
Prepare the pseudonymised version of this statement of facts for a second opinion. Replace every person, company, place and file reference with a stable placeholder such as [SHAREHOLDER A], [COMPANY B], always the same one for the same entity. Make neutral any occupations, amounts, dates and places that make no difference to the legal question, and tell me which ones you kept because the answer depends on them. Give the lookup table separately, then the list of passages you are not sure you have made non-identifying.
This inventory, document by document, is what the Delegate method does for you. In the box, switch from Chat to Delegate: the coordinator, a confidential model, reads the case file, splits the pseudonymisation into steps and writes the pseudonymised version with its lookup table. Before starting, it asks the adviser how to proceed, a highly capable model that receives its questions, never your documents; a click on the blue bulb , between the two logos, switches it off or back on.
Example · the message box, in Delegate
Delegate
Describe a task…
The coordinator ConfidentialIt reads your folder, splits the work into steps and writes. Your documents stay with it.
The blue bulb When lit, the adviser is consulted. One click switches it off for this conversation, another switches it back on.
The adviser AnonymizedA highly capable model. It receives only the coordinator’s questions, never the conversation or your documents, and answers with the steps to follow or a document template.
After a confidential folder has been read, you see each question before it leaves, and you can correct or cancel it.
Without an account you can see the method; it runs with a free account.
Example · Memory of the “Second opinion” space
Instruction
Models
Stable placeholders, [SHAREHOLDER A], [COMPANY B]: always the same one for the same entity
All
Lookup table always kept apart, never in the pseudonymised text
All
Also neutralise: the valley, the former ski instructor, the exact turnover
Confidential
These instructions, written once, apply to every answer in the space.
Without an account, you can try it from your first conversation.
Example · Atelier of the “Second opinion” space, Sources tab
Folder
Models
Search
Read
Write
Index
/case-documents
Confidential
Yes
Yes
—No
7 files
/pseudonymised-versionsAtelier
Confidential
Yes
Yes
Yes
2 files
Your files stay on your computer: the assistant only takes the useful passages.
Without an account, you can try it from your first conversation.
You review the result line by line. The tool detects; it knows neither your client nor the region.
Try it on your own caseYour notes stay in your browser, never on our servers.
Asking an external AI for its view without exposing the file
Before: the whole file, for a single question
The associate wanted to know whether an expulsion clause was valid and what procedure to follow. He sent forty pages: articles of association, emails, timeline, meeting notes. The longer the text you send, the more it contains that could identify the case. And an external AI is operated by its provider, often subject to foreign law: what has gone cannot be brought back.
After: the question alone, and the filter before sending
An opinion on a point of law does not need the case file: it needs the question and the few facts the answer depends on. Pseudonymising starts with extracting that question.
In a private company with three shareholders, the articles of association provide for the expulsion of a shareholder who carries on a competing business, by a vote of the other shareholders, the person concerned taking no part in the vote. A minority shareholder has opened a similar business. What conditions does case law set for such a clause to be valid, what procedural safeguards must be observed, and what arguments can the shareholder concerned raise? Distinguish what is settled from what is open to debate.
In IA Confidential, external AIs are called anonymised models, and using one is always your choice. If you select one, the Confidentiality filter first checks your message. If it detects sensitive data, it offers to answer with a confidential model, message unchanged, to send a pseudonymised version that you can correct, or to send it as it is. The option offered by default is the confidential AI.
In the Privacy panel, your pseudonymisation instructions say what no detector can guess: a case's internal nickname, the name of a product, the name of a valley. They apply before anything is sent to an anonymised model.
Attaching a document and reviewing the opinion you get
Before: the attachment and the answer copied over
The associate also attaches the articles of association, as they are, with the companies registry header. Then he copies the answer into his note: a case cited with confidence that nobody has checked, and a [SHAREHOLDER B] wrongly attributed to the shareholder concerned.
After: pseudonymised extracts, a checked answer
An attachment (text, PDF, Word, image) is read in your browser. When it goes to an anonymised model, only the relevant extracts are sent, pseudonymised; the lookup table is not passed on, and the real names reappear in the answer you read. When a document remains identifying even once masked, the assistant says so under the heading "Identifying document": it is then handled by a confidential model, or only your question is sent.
That leaves the review. AI, external or confidential, can be wrong and make things up: a decision that does not exist, a wrongly numbered article, two placeholders swapped. Every reference must be checked in your own sources before it goes into a note or a filing, and the opinion remains yours. The firm's general method is in the guide AI for lawyers.
What stays confidential
With a confidential model, the statement of facts, its pseudonymised version and the lookup table are processed on servers in Switzerland and Europe, outside the reach of the CLOUD Act, and nothing is kept on our side. Folders added to a Legal space are never sent to an anonymised model.
When you use an anonymised model, nothing is sent without going through the filter, and you decide what goes: the pseudonymised version you have reviewed, pseudonymised extracts, the question alone, or the message as it is. The lookup table for attachments stays with the conversation, in your browser. In Delegate mode, the adviser is an anonymised model that receives only the coordinator's questions, never the conversation; after a confidential folder has been read, you see them before they go out.
Your history lives in your browser: we could not produce it if asked to. On a computer shared within the firm, it can be read by anyone using the same session: work in a personal session and close it when you leave.
To practise on a fictitious case before preparing a real one: open the chat.