AI for Lawyers: Contract Review, Research and Drafting
November 29, 2026 · 10 min read

Artificial intelligence is changing how legal work gets done. Lawyers use it to review contracts in minutes, summarise thousands of pages of disclosure, draft first versions of letters and research questions faster than ever. It also creates new risks, most visibly the fabricated case citations that have embarrassed lawyers in courts around the world. AI for lawyers covers the tools and techniques that apply AI to legal research, drafting, review and practice management. This guide explains where AI helps, the risks and professional duties, how to choose tools, a tested citation verification example, retrieval over firm knowledge, evaluation, security and indicative costs.
How Widely Lawyers Use AI
Adoption has moved from experiment to everyday use. Clio's 2026 Legal Trends Report found that 85 per cent of legal professionals use AI in some form. Large firms have rolled out enterprise legal AI platforms, while small firms often start with general assistants. The productivity case is strong for tasks involving large volumes of text, but the gains depend on how well AI is integrated into real workflows and how carefully outputs are checked.
Where AI Helps Most
| Task | How AI helps | Human check needed |
|---|---|---|
| Contract review | Extracts key terms, compares clauses with a playbook, flags risks | Lawyer confirms risk ratings and negotiation positions |
| Legal research | Answers questions with citations from legal databases | Every citation read and verified |
| Drafting | First drafts of letters, clauses, memos and summaries | Lawyer edits for accuracy, tone and strategy |
| Document summaries | Summarises long files, transcripts and correspondence | Spot-check against source documents |
| E-discovery | Ranks documents by relevance, finds privileged material | Validation sampling and privilege review |
| Due diligence | Reviews hundreds of contracts for change of control, assignment and termination clauses | Lawyers review flagged and sampled documents |
| Client intake | Collects facts, sorts enquiries and drafts engagement letters | Lawyer decides on taking the matter |
The Hallucination Problem
Large language models generate plausible text, and plausible is not the same as true. When asked for case law, a general model can invent cases, quotations and citations that look entirely real. Courts have responded firmly: Bloomberg Law counted around 712 decisions addressing AI-fabricated cases, about 90 per cent of them in 2025, and the University of Illinois Chicago law library reported more than 220 federal cases involving AI-related problems in the first quarter of 2026 alone. Sanctions have included fines, referrals to regulators and orders to notify clients.
Hallucinations are reduced, but not eliminated, by grounding: giving the model specific source documents and requiring it to cite them. That is why legal research tools that draw on established databases are more reliable than general chatbots. Even then, every citation must be read and verified before it is relied on.
Professional Duties
The American Bar Association's Formal Opinion 512 sets out how existing rules apply to generative AI:
- Competence: understand the capabilities and limits of tools you use.
- Confidentiality: know whether client information entered into a tool could be disclosed or used for training, and get informed consent where needed.
- Communication: tell clients about AI use where it affects the representation or fees.
- Candour to the court: verify all citations and statements of law in filings.
- Supervision: set policies and train lawyers and staff who use AI.
- Fees: charge reasonably; time saved by AI should not be billed as if the work were done manually.
Regulators in the UK, Canada, Australia and elsewhere have issued similar guidance, and some courts require lawyers to disclose or certify AI use in filings.
Example: Verifying Citations Before Filing
A simple, effective safeguard is to extract every citation from an AI-assisted draft and check it against a trusted source before the document can be filed. The tested Node.js example below pulls case citations from a short draft using a regular expression, looks each one up in a verified index, and blocks filing if any citation is missing, has the wrong case name or the wrong year. The cases are invented for the example; in production the index would be a legal research database accessed through its API.
// Citation check for AI-drafted briefs: pull every case citation out of the
// draft, look each one up in a verified index (in production, a court or
// legal research database), and block filing until every citation matches.
// Case names and citations below are invented for the example.
const verified = new Map([
["410 F.3d 220", { name: "Marlow v. Kestrel Freight", year: 2005, court: "2d Cir." }],
["88 F.4th 512", { name: "Delacroix v. Ostrander Bank", year: 2023, court: "7th Cir." }],
["301 U.S. 47", { name: "State ex rel. Penrose v. Hale", year: 1937, court: "U.S." }],
]);
const draft = `As held in Marlow v. Kestrel Freight, 410 F.3d 220 (2d Cir. 2005), a carrier's notice must be
specific. See also Delacroix v. Ostrander Bank, 88 F.4th 512 (7th Cir. 2024); Brightwater v. Lynd Corp.,
622 F.3d 1190 (9th Cir. 2010) (holding the same); Penrose v. Hale, 301 U.S. 47 (1937).`;
const re = /([A-Z][\w.' ]+? v\. [A-Z][\w.' ]+?), (\d+ (?:U\.S\.|F\.\dd|F\.\dth|F\.3d|F\.4th) \d+) \(([^)]*?)(\d{4})\)/g;
let problems = 0;
for (const m of draft.replace(/\n/g, " ").matchAll(re)) {
const [, rawName, cite, , year] = m;
const name = rawName.replace(/^(?:As held in|See also|See|Cf\.)\s+/, ""); // drop signal words before the case name
const hit = verified.get(cite);
let verdict;
if (!hit) { verdict = "NOT FOUND - possible hallucination, pull the case"; problems++; }
else if (!hit.name.endsWith(name.trim()) && !name.trim().endsWith(hit.name)) { verdict = `name mismatch (index: ${hit.name})`; problems++; }
else if (hit.year !== Number(year)) { verdict = `year mismatch (index: ${hit.year})`; problems++; }
else verdict = "verified";
console.log(`${cite.padEnd(14)} ${name.trim().slice(0, 30).padEnd(30)} ${verdict}`);
}
console.log(problems ? `${problems} citation(s) need a lawyer's review - filing blocked` : "all citations verified");
Output:
410 F.3d 220 Marlow v. Kestrel Freight verified
88 F.4th 512 Delacroix v. Ostrander Bank year mismatch (index: 2023)
622 F.3d 1190 Brightwater v. Lynd Corp. NOT FOUND - possible hallucination, pull the case
301 U.S. 47 Penrose v. Hale verified
2 citation(s) need a lawyer's review - filing blocked
Two citations pass. One has the right reporter reference but the wrong year, a common sign of an AI error or a typo. The Brightwater case does not exist in the index at all, the classic pattern of a hallucinated authority, so filing is blocked until a lawyer pulls and reads the case or removes it. Checking that a case exists is only the first step: lawyers must also confirm that it says what the draft claims and is still good law.
Building AI on Firm Knowledge
Many firms want AI that draws on their own precedents, playbooks and know-how. The standard approach is retrieval-augmented generation (RAG): documents are split into passages, indexed for search, and the most relevant passages are given to the model with each question so its answer is grounded in them. Our guide to building a RAG application explains the architecture. For law firms, extra requirements apply:
- Permissions: the AI must only retrieve documents the user is allowed to see, respecting ethical walls and matter access.
- Citations: answers link to the exact passages used.
- Freshness: superseded precedents and outdated law are marked or removed.
- Audit: questions, retrieved documents and answers are logged.
Contract Review With AI
Contract review is one of the most mature uses. A playbook defines the firm's or client's positions: acceptable liability caps, governing law, termination rights and so on. The AI extracts relevant clauses, compares them with the playbook and suggests redlines, while the lawyer decides. For in-house teams, these features often sit inside contract management software, which then tracks obligations and renewals after signature.
Evaluating Legal AI Tools
Do not rely on demos. Build a test set from your own work: questions with known answers, contracts with known issues and research tasks with verified authorities. Measure accuracy, citation correctness, missed issues and time saved, and repeat the tests whenever the vendor changes models. Our guide to LLM evaluation covers methods such as reference answers, rubric scoring and regression testing. Ask vendors:
- Which models are used and where data is processed and stored.
- Whether client data is used for training, and how long prompts are retained.
- What accuracy testing they have done on legal tasks similar to yours.
- Which security certifications they hold.
- How the tool integrates with your document and practice management systems.
| Tool type | Examples of approach | Considerations |
|---|---|---|
| General chat assistants | Consumer or enterprise chatbots | Not grounded in legal databases; confidentiality depends on the plan and settings |
| Legal research platforms with AI | AI answers inside established research services | Citations link to real sources; still verify |
| Legal AI assistants | Specialised tools for drafting, review and research | Check data handling, accuracy evidence and integration |
| Custom AI on firm knowledge | Retrieval over the firm's precedents and documents | Requires strong access controls and evaluation |
Writing a Firm AI Policy
Every firm using AI needs a short, practical policy that people actually read. It should cover:
- Approved tools: which tools may be used, for which tasks and with what kinds of data.
- Prohibited uses: for example, entering client data into consumer accounts or filing AI output without review.
- Verification: who must check citations, facts and calculations, and how that check is recorded.
- Client communication: when to tell clients about AI use and how it affects fees.
- Court requirements: local rules on disclosing or certifying AI use in filings.
- Training and incidents: mandatory training and a simple way to report mistakes.
Review the policy at least twice a year, because tools, court rules and regulatory guidance are changing quickly.
Security and Confidentiality
Use enterprise agreements that prohibit training on your data and set short retention periods. Restrict which tools staff may use with client information, and block consumer accounts for confidential work. Encrypt data, use single sign-on and log usage. Our article on legal tech covers wider security expectations, and practice management integration is discussed in our guide to law firm management software.
Indicative Costs
The figures below are indicative estimates for custom legal AI tools, not quotes.
| Scope | What is included | Indicative estimate |
|---|---|---|
| AI drafting assistant on firm templates | Retrieval over precedents, prompt library, Word add-in or web app | USD 40,000 to 100,000 |
| Contract review tool | Playbook rules, clause extraction, risk flags, review interface | USD 80,000 to 200,000 |
| Firm-wide knowledge assistant | Search and Q&A across matters with permissions, citations and audit logs | USD 150,000 to 350,000+ |
| Running costs | Model usage, hosting, evaluation and monitoring | Varies with usage; plan monthly budgets |
Frequently Asked Questions
How are lawyers using AI today?
For contract review, research, drafting, summarising documents, e-discovery and client intake, with lawyers checking outputs.
Can lawyers be sanctioned for using AI?
Lawyers have been sanctioned for filing documents with fabricated citations; the problem is failing to verify, not using AI itself.
Is it safe to put client information into ChatGPT?
Only with an approved enterprise tool that protects confidentiality; consumer accounts may retain or use data, so firms should set clear policies.
What is retrieval-augmented generation for law firms?
An approach where the AI answers using passages retrieved from trusted legal sources or firm documents, with citations to them.
Will AI replace lawyers?
AI will automate many tasks, but judgement, advocacy, negotiation and responsibility for advice remain with lawyers.
How should a firm start with AI?
Write a usage policy, choose approved tools, pilot on low-risk tasks, measure results and train everyone on verification.
Put AI for Lawyers to Work Safely
AI for lawyers delivers real productivity gains when it is grounded in trusted sources, permission-aware and paired with careful verification. Our team builds Node.js legal AI tools, RAG systems over firm knowledge, citation checkers, contract review assistants and evaluation pipelines. This article is general information, not legal advice, and costs are indicative estimates. Contact us to discuss AI for lawyers in your firm.