Project Overview
A Magic Circle law firm conducting a major M&A due diligence transaction needed to review 840,000 documents (f...
Technology Stack
Compliance & Standards
The Challenge
A Magic Circle law firm conducting a major M&A due diligence transaction needed to review 840,000 documents (financial records, contracts, regulatory filings) in a 6-week data room review period. Traditional review at the firm's standard rate would require 28,000 fee earner hours — commercially and practically impossible. Legal Professional Privilege architecture, UK GDPR data processing for third-party company data, and SRA professional obligations for AI-assisted review were the constraints. Budget: £85,000 (technology component only — fee earner review of AI outputs billed separately).
Our Approach
LPP constraint
- 840,000 documents cannot be sent to any external AI API.
- ClickMasters deployed on-premises: Llama 3.1 70B (4-bit quantised, running on firm's A100 GPU cluster), LangChain RAG pipeline, Chroma vector store (local).
Document ingestion pipeline
- PDF extraction (PyMuPDF), chunking (512 tokens), embedding (local Nomic Embed Text model), and storage in Chroma.
- Zero document data leaves the firm's network.
Classification taxonomy
- 12 document categories (Material Contract, Regulatory Correspondence, Financial Statement, IP Assignment, Employment Contract, Dispute/Litigation, Real Property, Permits, Insurance, Corporate Governance, Tax, Other).
- ML classifier (scikit-learn, fine-tuned on 2,000 manually-labelled due diligence documents): first-pass classification at ingestion.
Confidence threshold
documents below 80% confidence flagged for senior associate review.
Privilege screening
dedicated LLM query per document checking for indicators of legal professional privilege (law firm names, "privileged and confidential" headers, legal advice language).
Privilege candidates
flagged for privilege review before any further processing.
SRA professional obligation
privilege screening is the first step — privileged documents are quarantined and reviewed manually before inclusion in data room analysis.
Associate review interface
- classified documents presented with AI summary, classification confidence, and key extracted terms.
- One-click accept/reclassify/escalate.
SRA audit trail
- every document, every classification decision, every reclassification, every reviewer — immutable log.
- Partner sign-off dashboard: review progress, classification distribution, and risk concentration heatmap per deal category.
The Results
Deployed at 3 weeks (compressed timeline for transaction), £78,000 — under budget.
Documents classified: 840,000 in 96 hours.
First-pass classification accuracy (validated against 2,000 sample): 94.7%.
Review time for associate team: 6 weeks × 8 associates (384 fee earner hours) vs estimated 28,000 hours without AI (98.6% reduction).
LPP: zero privileged documents included in data room output without manual review.
SRA audit trail: commended in subsequent Law Society AI guidance review.
“384 fee earner hours versus 28,000. That calculation is why Magic Circle firms are investing in AI. The LPP architecture — on-premises, no external API calls, privilege screening first — was non-negotiable and ClickMasters understood that from day one. The Law Society is using our audit trail approach in their AI guidance." — Managing Partner, Magic Circle Law Firm (name withheld)”
Project Details
Related Case Studies
View AllMulti-Tenant Legal Matter Management SaaS
Multi-Tenant Legal Matter Management SaaS. A UK LegalTech startup needed to build a B2B SaaS platform for small and mid-size law firms — replacing spreadsheets and...
LegalTech Document Automation — UK Conveyancing Firm
A UK conveyancing firm processing 2,400 property transactions per year was spending 60% of fee earner time on ...
AI-Powered Document Intelligence — UK Law Firm
A UK mid-market law firm with 180 fee earners spent an average of 3.2 hours per transaction on document review...
Ready to Transform Your Business?
Let's discuss how our technical expertise can help you achieve remarkable results.