ELARA: A Framework for Empirical Legal Research With AI Agents
Year: 2026
Type: article
Abstract: This paper presents ELARA (Empirical Legal Analysis with Research Agents), a framework for using large language models (LLMs) as agents to conduct empirical legal research. ELARA introduces a new method to generate quantitative data from text (like judicial opinions, contracts, or statutes) using sub-agents. I show how ELARA produces results similar to conventional API calls on a variety of representative tasks, at approximately one eighteenth the cost. In addition, ELARA assists with every step of a real project: framing a research question, gathering data, conducting analysis, validating LLM work, writing up results, and building a replication package. For each of these steps, the appendix includes copyable prompt templates and a companion ELARA repository for use with Claude Code and Codex.
Author: Jonathan H. Choi
Institution: Washington University in St. Louis
Language: English
Subfield: Law
Field: Social Sciences
Domain: Social Sciences
Open Access status: hybrid
OpenAlex ID: W7204153848
