Legal informatics and AI

reference
law
Resources for treating law as data.
Published

November 12, 2025

Modified

December 26, 2025


Stepped Reckoner (Leibniz, 1673)

Background

I came to law school after spending several years doing data analysis and modeling in the physical sciences and finance. In contrast to those fields, legal practice seemed old-fashioned. How could I automate a process? How could I make sense of everything I was reading? Are we still in the nineteenth century or what? For all of its zeal to tackle new problems, law remained in many ways stuck in the past when it came to actually doing the work. It was frustrating, and I even wrote a Note about it as a kind of protest.

We’re now in a different era, and the current crop of transformer-based language models promises to make lots of ideas that were enticingly out of reach a decade or two ago much closer. How can we take advantage of the new AI tools?

AI, generally

  • Bishop, C. and Bishop, H. (2024) Deep Learning: Foundations and Concepts. Springer. Authors’ site.
  • Jurafsky, D. and Martin, C. (2025) Speech and Language Processing (3rd ed. draft Aug. 24, 2025). Full draft here.
  • Russell, S. and Norvig, P. (2021) Artifical Intelligence: A Modern Approach (4th ed.). Pearson. Authors’ site.

Periodicals, conferences, and collections

Reasoning

  • Besnard, P. and Hunter, A. (2008) Elements of Argumentation. MIT Press. Full text at ResearchGate.
  • Bradley, A. and Manna, Z. (2007) The Calculus of Computation. Springer. Manna lecture notes.
  • Halpern, J. (2017). Reasoning about Uncertainty (2nd. ed.). MIT Press. Full text at MIT Press Direct.
  • Kroening, D. and Strichman, O. (2017). Decision Procedures (2nd ed.). Springer. Authors’ site.
  • Kowalski, R. (2011) Computational Logic and Human Thinking. Cambridge Univ. Press. Publisher site.
  • Mueller, E. (2014). Commonsense Reasoning: An Event Calculus Based Approach (2nd ed.). Elsevier. Publisher site

Computational law

  • Ashley, K. (2017). Artificial Intelligence and Legal Analytics. Cambridge Univ. Press. Publisher site.
  • Katz, D., Dolin, R. and Bommarito, M., eds. (2021). Legal Informatics. Cambridge Univ. Press. Publisher site.
  • Lodder, A. and Oskamp, A. (2006). Information Technology & Lawyers. Springer.
  • Stranieri, A. and Zeleznikow, J. (2005). Knowledge Discovery from Legal Databases. Springer.

Useful tools for hacking LLMs

  • DeepEval: open-source LLM evaluation framework.
  • Hugging Face: open models and data sets
  • Hugging Face Transformers: swiss army knife for transformer models.
  • Instructor: library for structured LLM outputs.
  • LLM: Simon Willison’s CLI and library for interacting with LLMs.
  • Marimo: reactive Python notebooks with bells and whistles.
  • nupunkt sentence boundary detection library optimized for legal text.
  • Pydantic AI: Python ‘agent’ framework (validation, model abstraction, evals, workflows).
  • Textual: TUI application framework (‘move at terminal velocity’).
  • uv: a modern Python package manager.

Data