Per-firm style without per-firm models.
Firms needed their tone — without us managing 40 fine-tunes and 40 eval harnesses. Infra costs on a dedicated model per firm were a non-starter.
Legal AI at 40 firms means 40 different style guides, 40 different archives, and 40 regulators who'd lose their minds over any data crossing. We built a multi-tenant legal reasoner where isolation is cryptographic, style is per-firm, and the same underlying model serves all tenants — cheaply.
Every firm demanded “our AI knows our style” and “our data never touches anyone else's.” Most vendors solved this by running a dedicated model per firm — expensive and slow to update. We solved it with a shared model plus per-tenant LoRA adapters, envelope-encrypted indexes, and a retrieval layer that enforces isolation at the query planner.
Firms needed their tone — without us managing 40 fine-tunes and 40 eval harnesses. Infra costs on a dedicated model per firm were a non-starter.
Retrieval had to be tenant-locked by construction. A bug in a join couldn't cross data. Operational isolation wasn't enough — architecture had to enforce it.
UK, EU, US firms all had different regs. The platform had to let each tenant configure its own guardrails on top of the shared base — without reflavoring the model.
The industry kept solving multi-tenant AI with brute force: make another model. We built a substrate where the model is shared and the data isn't — enforced cryptographically at the retrieval boundary, not in a runbook.
The Tenant Isolation Layer is the entire product. Every request passes through it, every retrieval is scoped by it, every response is voiced by the tenant's LoRA. The shared core is pleasantly ignorant of which firm it's serving.
Two concurrent queries hit the same reasoner at the same millisecond. Same model weights. Different LoRA adapters. Different indexes. Different ledgers. The platform — our platform — cannot decrypt either firm's data without their live JWT.
Firm A (UK · commercial) asks about a termination clause in their matter M-4421. Firm B (EU · M&A) asks about change-of-control language in their matter M-A09. Two JWTs arrive in the same millisecond.
// Request A (Firm A) Request B (Firm B)
swap(lora, firmA); swap(lora, firmB);
plan = planner(A.query); plan = planner(B.query);
scope = planner.scope(A.jwt); scope = planner.scope(B.jwt);
// scope.tenant_id = "A" // scope.tenant_id = "B"
idx = decrypt(kms, A.kek); idx = decrypt(kms, B.kek);
// ↑ impossible without A.jwt // ↑ impossible without B.jwt
answer = reason(plan, idx, scope);
ledger[A.tenant].append(...) ledger[B.tenant].append(...)Six steps. Every one scoped by the tenant JWT. A missing scope throws; an expired scope refuses. The default posture is refuse — which is the right default for a multi-tenant legal system.
Short-lived, per-firm-scoped token. Carries firm ID, jurisdiction, user, and role — expires in five minutes.
Model loads the firm's style adapter. Per-firm voice, same base weights. Swap takes milliseconds.
Query planner rewrites retrievals to be tenant-locked. Cross-tenant paths are rejected at the planner, not at the DB.
Index is envelope-decrypted with the firm's key only. Data never leaves the tenant boundary.
Shared reasoner composes the answer — style from the LoRA, substance from firm-only sources.
Response logged to the tenant's audit lake with full reasoning trace. No cross-tenant visibility, ever.
What shared-core multi-tenancy actually costs and earns: voice without a fine-tune, isolation by construction, per-firm guardrails, and same-day onboarding for the 41st firm.
Each firm's voice is a small adapter, not a fine-tuned base model. Hot-swapped per request. Update once, applies to every request from that firm instantly.
Each firm's index is encrypted with a tenant-specific KEK in AWS KMS. Our platform can't decrypt firm data without the tenant's live JWT. Marketing-safe claim.
Query rewriter enforces tenant scoping before any retrieval runs. Cross-tenant joins are literally unconstructible in the query plan — not just forbidden, but impossible.
Each firm configures its own guardrails — PII, privilege, regulatory, retention — layered on top of the shared base. Changes ship as firm-scoped config, not platform code.
Every reasoning trace is written to the tenant's own audit lake, queryable only by that firm. Our operators can't browse it; regulators can request it scoped to one tenant.
New firm? Provision KEK, ingest archive, train LoRA on their past work. Live the same day. The onboarding runbook fits on one screen.
Numbers below are measured across 18 months with 40 tenants live. The cross-tenant incident count is the metric the vendor's buyers screen on — and it's the number that unlocks enterprise procurement cycles.
KMS owns every key. JWT owns every request scope. LoRA adapters own every firm's voice. LangGraph owns the reasoning trajectory. Langfuse lets operators watch any tenant's flow without decrypting their data.
Our firms asked how we gave them dedicated AI for the price of shared AI. We told them we designed it that way. Cryptographic isolation isn't marketing — it's our architecture.
Multi-tenant legal AI that was supposed to be impossible — it wasn't. Shared economics, per-firm style, cryptographic isolation. The model serves 40 firms and will serve 400, without 40× the infra or a second eval team.
Tell us what you're trying to build. We'll be honest about what's hard, what's worth it, and whether we're the right partner for the job.