AnyLearn
All lessons
Businessadvanced

Legal AI Agents: Adoption Patterns and Documented Failure Modes

Evidence on AI in legal practice: the Stanford RegLab hallucination benchmark of Westlaw and Lexis+ AI, the Mata v. Avianca and Park v. Kim sanctions cases, and what published ethics rules require.

Not signed in โ€” your progress and quiz score won't be saved.
Lesson progress1 / 12

The legal industry's AI paradox

Law is the cleanest case study of the gap between AI-vendor marketing and the AI evidence base. Every major legal-research vendor โ€” Thomson Reuters (Westlaw), LexisNexis (Lexis+), Bloomberg, vLex/Casetext โ€” has shipped a retrieval-augmented generative AI product since 2023. Most of them have, at some point, marketed it as "hallucination-free" or equivalent. Stanford's RegLab measured them and found that none of them are.

Meanwhile, multiple US federal courts have sanctioned attorneys for filing briefs containing AI-fabricated case citations. Bar associations have issued formal ethics opinions about it. And law firms continue to deploy these tools at scale.

This lesson covers three anchored pieces of evidence: the Stanford benchmark, the leading sanctions cases, and the published ethics rules. Together they describe the floor of risk a firm takes when deploying a legal AI agent. None of them require taking vendor PR at face value.

Full lesson text

All 12 steps on one page โ€” for reading, reference, and search.

Show

1. The legal industry's AI paradox

Law is the cleanest case study of the gap between AI-vendor marketing and the AI evidence base. Every major legal-research vendor โ€” Thomson Reuters (Westlaw), LexisNexis (Lexis+), Bloomberg, vLex/Casetext โ€” has shipped a retrieval-augmented generative AI product since 2023. Most of them have, at some point, marketed it as "hallucination-free" or equivalent. Stanford's RegLab measured them and found that none of them are.

Meanwhile, multiple US federal courts have sanctioned attorneys for filing briefs containing AI-fabricated case citations. Bar associations have issued formal ethics opinions about it. And law firms continue to deploy these tools at scale.

This lesson covers three anchored pieces of evidence: the Stanford benchmark, the leading sanctions cases, and the published ethics rules. Together they describe the floor of risk a firm takes when deploying a legal AI agent. None of them require taking vendor PR at face value.

2. The Stanford RegLab benchmark (Magesh et al., 2024)

Magesh, Surani, Dahl, Suzgun, Manning, Ho (2024), Hallucination-Free? Assessing the Reliability of Leading AI Legal Research Tools, arXiv:2405.20362, Stanford RegLab + HAI, peer-reviewed in Journal of Empirical Legal Studies in 2025 (Wiley, Stanford Law working paper PDF).

The authors built the first preregistered, empirical benchmark of commercial AI legal research tools. They tested:

  • LexisNexis Lexis+ AI
  • Thomson Reuters Westlaw AI-Assisted Research
  • Thomson Reuters Ask Practical Law AI
  • GPT-4 (as a baseline; not a legal-specific tool)

On a curated set of real legal queries, the authors graded outputs for accuracy and groundedness against ground truth. Two failure modes: mis-grounding (citing a real case but mischaracterising it) and fabrication (citing a case that does not exist or does not exist in the form quoted).

3. The Stanford findings

Headline numbers from Magesh et al.:

  • Westlaw AI-Assisted Research: hallucinated on ~33% of queries.
  • Lexis+ AI: hallucinated on ~17% of queries.
  • Ask Practical Law AI: materially higher rate (refused to answer many; when it answered, errors were common).
  • GPT-4 alone (no RAG, no legal corpus): hallucinated on ~43% of legal queries, as a baseline.

The headline is not that the vendors' products are useless. RAG over a curated legal corpus genuinely reduces hallucination relative to a bare LLM. The headline is that vendors marketing these tools as "hallucination-free" or "avoid[ing] hallucinations" are making a stronger claim than the data supports. The base rate of bullshit in their output is between 1-in-6 and 1-in-3 queries.

For a domain where citing a non-existent case can get you sanctioned, 1-in-6 is not a tolerable defect rate without a human verification step. The Stanford paper is the single most important sentence-by-sentence rebuttal of "trust this AI legal-research tool" marketing.

4. Where legal AI fails

Failure modes from Magesh et al., simplified.

flowchart LR
  A["Legal query"] --> B["RAG retrieves cases"]
  B --> C["LLM drafts answer"]
  C --> D["Mis-grounded citation"]
  C --> E["Fabricated citation"]
  C --> F["Faithful answer"]
  D --> G["Counted as hallucination"]
  E --> G
  F --> H["Correct output"]

5. Mata v. Avianca (S.D.N.Y. 2023) โ€” the founding sanctions case

Mata v. Avianca, Inc., No. 22-cv-1461 (PKC) (S.D.N.Y. 22 June 2023), opinion by Judge P. Kevin Castel.

Facts: a personal-injury plaintiff's attorneys filed an opposition brief in federal court citing at least six cases that did not exist: Varghese, Shaboon, Petersen, Martinez, Durden, Miller, and others. The cases were fabricated by ChatGPT. When the court could not find the cases and ordered the attorneys to produce them, the attorneys went back to ChatGPT, asked it to confirm the cases existed, and submitted ChatGPT's confirmation to the court โ€” including ChatGPT's assertion that the cases could be found in Lexis and Westlaw.

Judge Castel imposed a $5,000 sanction under Rule 11, dismissed the underlying case on independent grounds, and ordered the attorneys to send the sanctions opinion to each real judge falsely named as the author of a fabricated opinion. The Justia docket page is at law.justia.com.

Mata is the founding case in this body of US sanctions law on AI-fabricated citations. It is cited by virtually every subsequent court order and bar opinion on the topic.

6. Park v. Kim (2d Cir. 2024) โ€” the appellate-level rebuke

Park v. Kim, No. 22-2057 (2d Cir. 30 Jan. 2024) (Justia, Volokh Conspiracy summary).

In an appellate brief, attorney Jae S. Lee cited a non-existent case โ€” Matter of Bourguignon v. Coordinated Behavioral Health Servs., Inc., 114 A.D.3d 947 (3d Dep't 2014). When the Second Circuit could not locate the case, Lee admitted she had generated the citation using ChatGPT.

The Second Circuit referred Lee to the court's Grievance Panel for disciplinary proceedings and used the published opinion as a vehicle to set a clear rule: "At the very least, the duties imposed by Rule 11 require that attorneys read, and thereby confirm the existence and validity of, the legal authorities on which they rely."

The key generalisation from Mata + Park: courts are not treating "the AI told me so" as a mitigating circumstance. The duty to verify citations is unchanged by the existence of generative AI tools. Failure to do so is sanctionable regardless of whether the lawyer or the AI inserted the fabrication.

7. ABA Formal Opinion 512 (July 2024)

The American Bar Association Standing Committee on Ethics and Professional Responsibility issued Formal Opinion 512 on 29 July 2024, the first ABA ethics opinion specifically addressing generative AI in legal practice.

Formal Opinion 512 maps existing Model Rules onto AI use. The six load-bearing duties it identifies:

  1. Competence (Rule 1.1): lawyers using GAI must understand the tool's capabilities and limitations, including hallucination risk.
  2. Confidentiality (Rule 1.6): entering client information into a third-party GAI tool may breach confidentiality; lawyers must evaluate the vendor's data handling.
  3. Communication (Rule 1.4): clients should be informed when AI is used in matters that materially affect their representation.
  4. Candor toward the tribunal (Rules 3.1 and 3.3): sanctions like Mata apply; lawyers must verify AI-generated citations.
  5. Supervisory responsibilities (Rules 5.1, 5.3): firms must train and supervise associates and non-lawyer staff on GAI use.
  6. Reasonable fees (Rule 1.5): if AI cuts time, billing must reflect that.

Formal Opinion 512 is a binding standard for ABA-aligned ethics; many state bars have followed with parallel opinions. It is the cleanest single document to cite when defining "acceptable use" of legal AI agents in a firm.

8. Harvey AI and the limits of public evidence

The most-publicised deployment of generative AI inside Big Law is Harvey, used by Allen & Overy (now A&O Shearman) and many other large firms. Harvey's funding, customer counts, and reported user satisfaction are widely covered in the legal press.

What we can verify independently: Harvey is a real company with real customers, and customer logos are public. What we cannot verify from any neutral source: hallucination rate, time-saving rate, billed-hour displacement, error-escape rate. The published material on Harvey's effectiveness is overwhelmingly from Harvey, its investors, or press interviews with customer firms.

This is a recurring pattern in legal AI: vendor case studies report dramatic time savings (e.g., "X hours saved on M&A diligence"); independent measurement is essentially absent. A defensible briefing line: "Harvey is deployed at scale across Big Law; independently measured efficacy data are not publicly available; the Magesh et al. benchmark is the closest thing to a neutral measurement of comparable RAG-over-legal-corpus tools."

9. How firms are actually using legal AI agents

Based on what is independently verifiable (court filings, sanctions opinions, RFP language, and the few audit-grade studies):

  • Drafting (motions, contracts, demand letters): widespread; quality varies. Errors caught at the partner-review stage are common but not visible externally.
  • Document review and e-discovery: legal AI has been used here since the 2000s (predictive coding, TAR); generative AI is the next layer. This is the most evidence-supported use case.
  • Legal research: Westlaw AI, Lexis+ AI, Vincent AI, etc. โ€” the Magesh benchmark domain.
  • Contract review and abstraction: Kira, Luminance, and others; mature pre-LLM, now LLM-augmented.
  • Client-facing chatbots: rare and risky; UPL (unauthorised practice of law) concerns dominate.

The failure modes you can document are almost entirely in the drafting and research lanes, because that is where citations appear in court filings and get audited by judges. There is no comparable public failure record for document review because the work product never reaches a judge unfiltered.

10. Regulatory frame: ICO, NY Bar, EU AI Act

Three regulatory texts worth knowing:

  • UK Information Commissioner's Office (ICO): guidance on AI and data protection covers law-firm use of personal data in AI tools under UK GDPR. Relevant whenever client data is processed through a US-hosted model.
  • NY State Bar Association released a comprehensive AI report in April 2024 covering ethical use, including specific guidance on citation verification.
  • EU AI Act (Regulation (EU) 2024/1689), EUR-Lex. Annex III lists AI systems used in the administration of justice and democratic processes as high-risk, which means provider obligations including risk management, data governance, and transparency. Note: this targets AI systems used to assist judicial authorities, not general law-firm legal research tools โ€” but firms operating in the EU should still map their internal AI use against the Act's high-risk classification logic.

These are real, published documents. Cite them, do not paraphrase from vendor compliance whitepapers.

11. A defensible deployment posture

Synthesising the Stanford benchmark, the sanctions cases, and the ethics rules:

  1. Mandatory verification step. Treat every AI-generated citation as unverified until a human has opened the case in Westlaw/Lexis and confirmed it exists and stands for what the AI says it does. The Magesh hallucination rates make this non-negotiable.
  2. Tool choice matters but does not eliminate the rate. Lexis+ AI hallucinated at roughly half the rate of Westlaw AI in the Stanford study, but 17% is still 1-in-6 queries. Pick the lower-rate tool, but do not assume the rate is zero.
  3. Confidentiality screening before vendor. Per ABA 512, confirm what the vendor does with prompts and outputs before any client data goes through the API.
  4. Document the workflow. If a sanctions question arises, the firm wants to be able to show a written AI-use policy and an associated training record โ€” both materially mitigate sanctions in practice.
  5. Do not bill for time AI saved. Rule 1.5 + Formal Opinion 512: time billed must reflect time spent. AI productivity belongs to the client unless the engagement letter says otherwise.

12. Takeaways

  1. The Stanford RegLab benchmark (Magesh et al., 2024) is the first preregistered empirical measurement of commercial legal AI tools. Westlaw ~33%, Lexis+ ~17%, GPT-4 ~43% hallucination rates on legal queries.
  2. Mata v. Avianca and Park v. Kim establish that US courts treat lawyer verification duty as undisturbed by AI. "The AI told me so" is not a defence.
  3. ABA Formal Opinion 512 (July 2024) is the cleanest single ethics document mapping AI use onto existing model rules; many state bars have aligned guidance.
  4. The most-publicised legal AI deployments (Harvey, etc.) do not have independent efficacy data in the public record. Cite vendor numbers as vendor claims.
  5. A defensible deployment requires mandatory human citation-verification, a written AI-use policy, vendor confidentiality screening, and billing aligned to time actually spent.

Check your understanding

The lesson ends with a 5-question quiz. Take it in the player above to see your score.

  1. What did Magesh et al. (2024, Stanford RegLab + HAI) find about the hallucination rates of commercial AI legal research tools?
    • All tools tested were effectively hallucination-free, validating vendor claims
    • Westlaw AI-Assisted Research hallucinated on roughly 33% of queries and Lexis+ AI on roughly 17%, against bare GPT-4's ~43%
    • Westlaw was below 1% and Lexis+ was around 5%
    • Only open-source LLMs hallucinated; commercial tools did not
  2. In Mata v. Avianca (S.D.N.Y. 2023), what did Judge Castel actually do?
    • Dismissed the case and imposed a $5,000 Rule 11 sanction on the attorneys for filing a brief containing ChatGPT-fabricated case citations
    • Praised the attorneys for innovative use of AI
    • Held that AI-generated citations are presumptively valid
    • Suspended the attorneys' law licenses indefinitely
  3. What is the binding rule the Second Circuit articulated in Park v. Kim regarding AI-assisted legal work?
    • Attorneys may rely on AI-generated citations without independent verification if the AI is from an established vendor
    • Attorneys must read and confirm the existence and validity of the legal authorities they cite, regardless of whether AI was used to find them
    • Use of AI in legal briefs is per se sanctionable
    • Only fabricated cases generated by free AI tools trigger sanctions
  4. Which of the following is NOT one of the six primary areas of ethical concern that ABA Formal Opinion 512 (July 2024) maps onto generative AI in legal practice?
    • Competence (Rule 1.1)
    • Confidentiality (Rule 1.6)
    • Mandatory disclosure of AI use to opposing counsel in every filing
    • Candor toward the tribunal (Rules 3.1 and 3.3)
  5. Why should claims about Harvey AI's effectiveness inside major law firms be cited differently from the Magesh et al. hallucination measurements?
    • Harvey's claims are peer-reviewed; Magesh et al. is not
    • Harvey's effectiveness data are largely vendor- or customer-PR sourced and not independently audited, whereas Magesh et al. is a preregistered, peer-reviewed empirical benchmark
    • Harvey is regulated by the EU AI Act; Magesh et al. is not
    • The two cover entirely separate technologies that cannot be compared

Related lessons