← Latest papers
💻 computer science

LGAgent: A Structured and Rule-Guided Multi-Agent Framework for Interpretable Legal Reasoning

LGAgent is a structured, rule-guided multi-agent framework that leverages collaborative interactions between LLMs of varying scales to mimic professional legal workflows, thereby delivering interpretable, verifiable, and superior adjudicative reasoning compared to standard single-model approaches.

Original authors: Xin Feng, Feng Shu, Manjia Feng, Yi Feng, Haoming Liu

Published 2026-07-08
📖 5 min read🧠 Deep dive

Original authors: Xin Feng, Feng Shu, Manjia Feng, Yi Feng, Haoming Liu

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to solve a very tricky legal riddle, like a multiple-choice question from a law school exam. If you ask a standard, super-smart AI (a "Large Language Model") to solve it, it might just guess the answer based on how the words sound, or it might make up a convincing story that happens to be wrong. It's like asking a brilliant but impulsive detective to solve a crime without checking the evidence first; they might get lucky, but they often miss the details.

The paper introduces LGAgent, which is like upgrading that single detective into a structured legal team. Instead of one person doing everything, LGAgent breaks the job down into three specific roles, working together like a well-oiled machine to ensure the answer is correct, logical, and backed by facts.

Here is how the team works, using a simple analogy:

The Three Roles of the LGAgent Team

1. The Case Analyst (Lawyer A): The "Deconstructor"
Think of this agent as a meticulous librarian who doesn't care about the answer yet. Their only job is to take the messy legal question and break it down into neat, organized pieces. They identify the key facts, spot the tricky "trap" words in the options, and create a clear map of the problem. They don't guess; they just organize the puzzle pieces so everyone else knows exactly what they are looking at.

2. The Judge: The "Traffic Cop"
This agent is the boss of the process. Once the Case Analyst hands over the organized map, the Judge decides: "Do we need to look up more rules?" or "Do we need to ask for clarification?"

  • If the team is confident, the Judge says, "Go ahead, pick an answer."
  • If the team is unsure or the evidence is weak, the Judge says, "Stop! We need to check the law books again" or "Let's ask a specific question to clear up the confusion."
    The Judge ensures the team doesn't rush to a conclusion and follows a strict set of rules, just like a real judge in a courtroom.

3. The Decision Maker (Lawyer B): The "Two-Step Solver"
This is the agent who actually picks the final answer, but they do it in two distinct phases:

  • Phase 1 (The Gut Check): Before looking at any extra rules or evidence, they make a quick, "blind" guess based on what they already know. They also admit how confident they are (e.g., "I'm 60% sure").
  • Phase 2 (The Evidence Check): Now, they look at the organized map from the Analyst and the instructions from the Judge. They check every single option against the facts. They ask: "Does this option have proof? Is it false? Or do we not have enough info?"
  • The Loop: If they find that they don't have enough info for some options (or their initial confidence was too low), the Judge triggers a "clarification loop." The team asks the Judge for more specific guidance, checks again, and only stops when they are sure.

Why This Approach is Special

The paper claims that this "teamwork" approach solves three big problems that single AIs usually face:

  • No More "Black Box" Guessing: Instead of the AI just spitting out an answer, LGAgent shows its work. You can see exactly how the Analyst broke it down, how the Judge controlled the process, and how the Decision Maker verified the evidence. It's like watching a replay of the game instead of just seeing the final score.
  • Stopping the "Hallucinations": Standard AIs sometimes make things up (hallucinate) to sound smart. LGAgent forces the system to admit when it doesn't know something (labeled as "Not Enough Information") rather than making up a fake fact.
  • Cheaper and Smarter: The paper shows that you don't need the most expensive, massive super-computer AI to get great results. By using this structured team approach, even smaller, cheaper AI models can outperform much larger, more expensive models. It's like having a small team of specialists who communicate perfectly, rather than one giant, expensive general who tries to do everything alone.

The Results

The researchers tested this system on real Chinese legal exam questions and found that:

  1. It works better: The team consistently got more questions right than single AI models, even the very smart ones.
  2. It works everywhere: It didn't just get better at one type of law; it improved across all legal topics they tested.
  3. It saves money: Because they could use smaller, cheaper AI models within this team structure, they achieved high accuracy for a fraction of the cost of using giant, expensive models.

In short, LGAgent proves that in the complex world of law, structure and teamwork beat raw intelligence alone. By forcing the AI to follow a strict, rule-based workflow—deconstructing the problem, controlling the process, and verifying the evidence—it creates a system that is not only smarter but also more reliable and easier to trust.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →