Use cases · Legal
Legal: privacy for AI agents and LLMs¶
Privilege and client confidentiality that every tool respects.
Law firms and legal departments work with privileged advice, matter numbers and settlement terms. OPP marks those as restricted and lets each matter's confidentiality travel with the data into every tool.
Scenarios¶
-
Summarising a privileged memo
An associate asks an AI assistant to shorten a privileged memo for a partner.
With OPP: The cue privileged and confidential matches
confidential.marking, and the firm's concept for privileged advice is restricted, so the request is blocked forexternal_aiand allowed only internally. -
Drafting a client status email
A paralegal drafts a case update that names the client, the matter number and the court case number.
With OPP: The firm's matter-number pattern is a declared identifier, so it is found even without a label and pseudonymised for any outside model.
-
Due-diligence review
A deal team runs documents through an AI review tool.
With OPP: Documents are classified as
confidential.legalandconfidential.customers, and the tool receives a version with parties and amounts generalised.
What a legal privacy model describes¶
The Legal preset (matched by NAICS 2022 code) lists the classes organizations in this industry usually hold. A generator uses it to look for them and to report the ones it did not find.
| Class | What it covers | Default sensitivity | Default handling |
|---|---|---|---|
confidential.markingMarked confidential |
Content carrying an explicit confidentiality marking such as CONFIDENTIAL, internal only, do not share, under NDA, or privileged. | confidential | block |
confidential.legalLegal matters |
Contracts, disputes, litigation, regulatory investigations, legal advice and settlements. | confidential | block |
confidential.customersCustomer relationships |
Named customers' deals, contracts, accounts, support cases and pipeline. | confidential | block |
confidential.financialInternal financials |
Non-public revenue, margins, forecasts, budgets, pricing, invoices, payroll totals or fundraising. | confidential | block |
confidential.peopleHR matters |
Hiring, performance, compensation, discipline, absence or termination of staff. | confidential | block |
special.criminalCriminal convictions and offences |
Criminal records, convictions, offences or related security measures. | restricted | block |
personal.record_identifierRecord identifier |
An organization's number for a person, such as a customer, employee, patient, member or case number. | confidential | pseudonymize |
Identifiers to declare: matter number; court case number; docket number; bar/registration number; contract reference.
Documents where they appear: engagement letter; settlement agreement draft; privileged memo; court filing excerpt; NDA; due-diligence report; case status email.
Start from the legal preset¶
Generate a draft privacy model from your own sources, on your own machines:
opp-engine generate postgresql://readonly@db/main ./exports \
--name acme --org "Acme" --industry 541110 -o acme.opp.yaml --report review.md
Then add what makes your organization different, for example:
concepts:
- id: org.privileged_advice
label: Privileged legal advice
extends: confidential.legal
cues: [privileged and confidential, legal advice, without prejudice]
identifiers:
- {id: matter, label: Matter number, class: personal.record_identifier, pattern: "M-[0-9]{4}-[0-9]{4}"}
Agents then call check before they share, and receive a verdict, the reasons and a safe version to send. See Connecting agents.
Other industries¶
Healthcare · Financial services · HR and staffing · Software and technology · Manufacturing · Energy and utilities · Public sector · Retail and consumer · Telecom and media · Education · Transport and logistics · Real estate and construction · Agriculture and natural resources · Every organization