Vladia Pinheiro, Francisco C. J. Bonfim, Sara Pessoa Silva, Alicia S. Neves, Henrique Santos, João A. Monteiro Neto, Jorge L. B. Araujo, Rilder S. Pires, Ricardo Alexandre Da Silva Costa, Vasco Furtado
{"title":"Leveraging LLM agents and knowledge models for automated legal reasoning","authors":"Vladia Pinheiro, Francisco C. J. Bonfim, Sara Pessoa Silva, Alicia S. Neves, Henrique Santos, João A. Monteiro Neto, Jorge L. B. Araujo, Rilder S. Pires, Ricardo Alexandre Da Silva Costa, Vasco Furtado","doi":"10.1002/aaai.70076","DOIUrl":null,"url":null,"abstract":"<p>Delivering judicial decisions demands interpreting complex texts, analyzing evidence, and reasoning through jurisprudence and law. Recent advances in generative artificial intelligence, particularly large language models (LLM), have shown potential to automate parts of this process, but practical benefits in real-world courts remain limited. This paper introduces SARA, an LLM-powered platform deployed in a Brazilian court, which demonstrates significant efficiency and quality gains through the integration of LLM agents with knowledge models on jurisprudential and basic legal concepts. SARA extracts key elements from documents, including claims, requests, and evidence, and generates reasoning grounded in retrieved precedents. The Jur-KG, modeled through an ontology of concepts such as <i>LegalRelation</i>, <i>LegalGrounds</i>, and <i>LegalClaims</i>, enables semantic matching and retrieval of relevant case law. By representing cases according to the Legal Case Ontology for the Brazilian Judicial System, SARA supports traceable reasoning and addresses competence questions to assess coverage, coherence, and justification of AI-generated outputs. Deployment results show measurable improvements in processing time, consistency, and explainability while ensuring compliance with Brazil's National Council of Justice guidelines. Combining LLM-based agents with domain-specific knowledge graphs yields innovative capabilities and proven impact in judicial decision-making.</p>","PeriodicalId":7854,"journal":{"name":"Ai Magazine","volume":"47 3","pages":""},"PeriodicalIF":3.5000,"publicationDate":"2026-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://onlinelibrary.wiley.com/doi/epdf/10.1002/aaai.70076","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ai Magazine","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/aaai.70076","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0
Abstract
Delivering judicial decisions demands interpreting complex texts, analyzing evidence, and reasoning through jurisprudence and law. Recent advances in generative artificial intelligence, particularly large language models (LLM), have shown potential to automate parts of this process, but practical benefits in real-world courts remain limited. This paper introduces SARA, an LLM-powered platform deployed in a Brazilian court, which demonstrates significant efficiency and quality gains through the integration of LLM agents with knowledge models on jurisprudential and basic legal concepts. SARA extracts key elements from documents, including claims, requests, and evidence, and generates reasoning grounded in retrieved precedents. The Jur-KG, modeled through an ontology of concepts such as LegalRelation, LegalGrounds, and LegalClaims, enables semantic matching and retrieval of relevant case law. By representing cases according to the Legal Case Ontology for the Brazilian Judicial System, SARA supports traceable reasoning and addresses competence questions to assess coverage, coherence, and justification of AI-generated outputs. Deployment results show measurable improvements in processing time, consistency, and explainability while ensuring compliance with Brazil's National Council of Justice guidelines. Combining LLM-based agents with domain-specific knowledge graphs yields innovative capabilities and proven impact in judicial decision-making.
期刊介绍:
AI Magazine publishes original articles that are reasonably self-contained and aimed at a broad spectrum of the AI community. Technical content should be kept to a minimum. In general, the magazine does not publish articles that have been published elsewhere in whole or in part. The magazine welcomes the contribution of articles on the theory and practice of AI as well as general survey articles, tutorial articles on timely topics, conference or symposia or workshop reports, and timely columns on topics of interest to AI scientists.