Legal & Compliance

How to summarize legal research with AI

The short answer

To summarize legal research with AI safely, give the model only documents your team pulled from a trusted research database, require it to quote and pin-cite the source for every statement, check every citation automatically, and have an attorney verify the summary against the primary sources before anyone relies on it. Never ask a general model to find case law from memory, because models can invent cases that do not exist.

What this automation does

It turns a stack of research your team already gathered into a short, cited memo draft an attorney can check quickly. It does not go looking for law on its own.

  1. Collect. An associate or paralegal saves the cases, statutes, regulations and secondary sources they pulled from Westlaw, Lexis or a court database into a matter folder, along with the research question.
  2. Parse and index. The system splits each opinion into sections, keeps page and paragraph numbers for pin cites, and stores the court, date and docket metadata.
  3. Summarize with quotes. For each authority, the model writes a two-to-three-sentence holding summary and must attach the exact passage it relied on, with the page or paragraph reference.
  4. Synthesize. The model drafts a short answer to the research question, citing only the authorities in the folder. Any sentence it cannot tie to a quoted passage is flagged.
  5. Check citations. Code extracts every citation in the draft, confirms each one matches a document in the folder, and confirms every quotation appears verbatim in that document.
  6. Attorney review. The draft opens with a review checklist. Nothing is marked final until an attorney confirms each authority against the source and runs it through a citator.

When it is worth building

This is worth building when your attorneys spend real hours turning research piles into memos, or summarizing long records such as deposition transcripts, discovery productions and prior briefs. Those documents live in your document management system, not in a research vendor’s database, so a custom tool can see what off-the-shelf research AI cannot.

It is not worth building to replace a research platform. If you need to find authorities, the AI features inside your existing research subscription are grounded in a maintained database with citator data. A general model asked “find me cases on X” from memory is the setup that produced fabricated citations in real filings. In Mata v. Avianca (S.D.N.Y. 2023), lawyers were sanctioned after submitting a court filing citing cases ChatGPT had invented, and courts in other jurisdictions have since sanctioned lawyers for the same failure. Several courts now have standing orders on AI use, and the ABA issued Formal Opinion 512 on generative AI in 2024. Check the rules that apply to you.

Architecture

LayerWhat we useWhy
Source documentsMatter folders in SharePoint, Box, Google Drive or your DMSKeeps the model’s inputs to material a person chose and can audit
ParsingPDF text extraction that keeps page and paragraph numbersPin cites are only possible if page boundaries survive parsing
RetrievalPer-matter index, never one shared index across clientsPrevents one client’s material showing up in another client’s memo
ModelClaude Sonnet 5.5 or Opus 5.5, or OpenAI’s GPT models, through the APILong context for full opinions, strong instruction following on quoting
Citation checkCode that parses citations and string-matches every quoteDeterministic, so it cannot itself hallucinate
ReviewA checklist UI or a Word draft with comments per authorityForces a person to sign off on each authority, not just the whole memo

How to build it

  1. Define the output format with your attorneys. Agree on the memo shape: question presented, short answer, one entry per authority with holding, pin cite and quote, then open issues. Fixed structure is easier to verify.
  2. Restrict inputs to the matter folder. The prompt tells the model it may only cite documents provided, and the code enforces it by rejecting any citation that does not map to a file.
  3. Preserve page numbers. Test parsing on slip opinions, reporter PDFs and scanned exhibits. If a quote’s page cannot be determined, the summary says so rather than guessing.
  4. Require quote-backed claims. Ask the model to return structured output where each statement carries a source ID and a verbatim quote. Reject outputs where quotes do not match the source text exactly.
  5. Add a citation existence check. For any authority referenced in a quote that is not in the folder, such as a case cited inside an opinion, flag it for retrieval rather than summarizing it secondhand. A free tool like CourtListener’s citation lookup API can check whether a citation matches a real opinion in its database, but it does not replace a citator.
  6. Build the review step. Each authority gets a “verified against source” checkbox and a “checked in citator” checkbox. The memo cannot be exported as final until both are ticked for every entry.
  7. Log everything. Keep the inputs, model output, citation check results and reviewer name with the matter for supervision and billing questions.

For the retrieval layer itself, the RAG knowledge assistant guide covers chunking and evaluation in more depth.

What breaks in production

  • Invented or mangled citations. Even with a restricted folder, models occasionally merge two citations, swap volume and page numbers, or cite a case mentioned inside another opinion as if it were in the folder. The quote-matching step catches most of this. The attorney catches the rest.
  • Right case, wrong proposition. The case exists and the quote is real, but it comes from a dissent, a concurrence or a description of the losing party’s argument. Tag opinion sections by author during parsing so the model knows whose words it is quoting.
  • Stale law. A summary cannot tell whether a case was later reversed or overruled. That is what a citator is for, and it stays a human step.
  • Cross-matter leakage. A shared index lets material from one client surface in another matter’s summary. Index per matter and enforce matter-level permissions.
  • Overconfident tone. Models write “the court held” for dicta. Instruct the model to distinguish holding from dicta and to say “unclear” when the opinion does not resolve the point.

Timeline and cost

A matter-folder summarizer with citation checks and an attorney review step usually takes four to seven weeks, including time with your attorneys on the memo format and testing on closed matters. Lumeor builds this in the range of $15,000 to $35,000, depending on how many document sources you connect, whether transcripts and productions are in scope, and how much review interface you need. Model costs depend on volume. Long opinions use many tokens, so see what it costs to run an AI system each month.

How to measure success

  • Attorney time per research memo, from folder complete to reviewed draft
  • Citation check failure rate per draft (should trend down as prompts improve, and never be ignored)
  • Share of authorities the reviewing attorney had to correct or remove
  • Number of fabricated or unverifiable citations reaching a final document (target zero, tracked as an incident)
  • Associate and partner ratings of draft usefulness on a simple 1–5 scale

Frequently asked questions

Can AI make up case citations?

Yes. General-purpose models can produce case names, reporter citations and quotations that look real and do not exist. Courts have sanctioned lawyers for filing briefs with fabricated citations, starting with the widely reported Mata v. Avianca matter in 2023. Every citation in AI output must be checked against the primary source by a person.

Is a custom tool better than Westlaw or Lexis AI features?

Often not. If your firm already subscribes to a legal research platform with AI features grounded in its own database, use that for finding law. A custom build makes sense for summarizing your own material, such as research files, deposition transcripts and prior memos, that the research platforms cannot see.

Does an automated citation check make the summary safe to file?

No. An automated check can confirm that a cited case exists and that a quoted passage appears in the opinion. It cannot confirm that the case stands for the proposition, is still good law in your jurisdiction, or was characterized fairly. An attorney still has to read the authority.

Is it a confidentiality problem to send client documents to an AI model?

It can be. Use API or enterprise agreements rather than consumer chat apps, confirm data retention terms, and check your jurisdiction's ethics guidance on generative AI. OpenAI and Anthropic do not train on API data by default. This is not legal advice, so review the terms with your firm's general counsel.

How long should a research summary be?

Short enough that the reviewing attorney reads every line. A useful default is a one-paragraph answer, then one bullet per authority with its holding, the pin cite and a direct quote. Long narrative summaries hide unsupported statements.

Next steps