← Latest papers
💻 computer science

ARCHER: Agentic Rule and Compliance Harness for Executable Regulations

The paper introduces ARCHER, a deterministic multi-agent program-synthesis harness that generates auditable verification code from regulatory documents to achieve scalable, transparent, and highly accurate building compliance checking, demonstrating that self-hosted open-weights models can match frontier API performance at a fraction of the cost.

Original authors: Chiraag Singh Anand, Xue Wen Tan, Lionel Teo, Eric Tan

Published 2026-07-29
📖 7 min read🧠 Deep dive

Original authors: Chiraag Singh Anand, Xue Wen Tan, Lionel Teo, Eric Tan

Original paper licensed under CC BY 4.0 (http://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 teach a robot to follow a very strict set of rules for building a house. The problem isn't that the robot is lazy; it's that the rulebook is written in human language, full of vague phrases like "make sure the hallway is wide enough," while the robot only understands math and geometry. In the world of architecture, these rules are called "building codes," and the blueprints are digital 3D models known as BIM (Building Information Modeling). For decades, checking if a design follows the rules has been a massive, expensive headache, usually requiring armies of human experts to manually scan thousands of lines of code and geometry. It's like trying to find a single typo in a library of a million books by reading every single page with a magnifying glass.

Recently, scientists have started using "AI agents"—smart computer programs that can think, plan, and write code—to help with this. But here's the catch: if you just ask a smart AI to "write a rule checker," it often gets confused, makes up rules that don't exist, or writes code that crashes. It's like asking a brilliant but chaotic chef to bake a cake without a recipe; they might make something delicious, or they might burn the kitchen down. The big question researchers are asking is: How do we organize these AI agents so they don't just guess, but actually build reliable, working tools that we can trust? This is the puzzle that a team from Singapore's Infocomm Media Development Authority decided to solve.

The ARCHER: A Team of AI Architects

The paper introduces a new system called ARCHER (Agentic Rule and Compliance Harness for Executable Regulations). Think of ARCHER not as a single super-brain, but as a highly organized construction crew where every member has a specific job, and they follow a strict, unbreakable schedule.

In the past, researchers tried to get AI to do this by giving a single AI model a big prompt and hoping for the best. The authors call this the "Blind" approach. It's like handing a complex math problem to a student and saying, "Figure it out," without letting them check their work. The paper found that this method is unreliable. Even the smartest AI models often fail to get the answer right because they can't see their own mistakes until it's too late.

ARCHER changes the game by using a multi-agent system with a deterministic orchestration. Let's break that down with an analogy:

Imagine you are trying to build a perfect LEGO castle based on a vague instruction manual.

  1. The Planner: First, a "Planner" agent reads the manual and draws a step-by-step sketch of how to build it. It doesn't touch the bricks yet; it just makes a plan.
  2. The Generator: Next, a "Generator" agent follows that sketch and starts snapping the LEGO bricks together, writing the actual computer code.
  3. The Evaluator: Then, a strict "Evaluator" agent checks the castle. It measures every wall and counts every brick against the original rules. If the wall is too short, the Evaluator doesn't just say "Wrong." It points exactly at the short wall and says, "Fix this specific brick."
  4. The Loop: The Generator then fixes the mistake and tries again. This cycle repeats up to 30 times. If the Evaluator realizes the plan itself was wrong (not just the bricks), it sends the work back to the Planner to redraw the sketch.

This "Plan-Generate-Evaluate" loop is the secret sauce. The paper shows that by forcing the AI to check its own work repeatedly and fix specific errors, it can turn a vague rule like "parking spots must be 2.4 meters wide" into a perfect, working computer program that checks thousands of 3D models instantly.

What They Found: The Power of Structure

The researchers tested this system using a new dataset of ten real-world building rules and 3D models. They compared their "ARCHER" crew against six other ways of using AI, ranging from a single confused robot to a team of robots that argue with each other.

Here are the big takeaways, told in plain numbers:

  • Structure beats raw intelligence: The most surprising finding is that a well-organized team of "weaker" AI models performed better than a single "super-smart" AI model working alone. When the AI was allowed to just guess once (the "Blind" method), it got the answer right only about 47% of the time on average. But when the team used the ARCHER loop, the accuracy jumped to 85% on average. That's an 82% improvement over the basic method.
  • The "Orchestrator" matters: The team tested two ways to run the crew. One way let an AI decide who talks to whom (like a chaotic meeting). The other way used a fixed, unchanging schedule (like a military drill). They found the fixed schedule (ARCHER) was much more reliable. It improved accuracy by up to 24.5 percentage points for some models compared to the chaotic version.
  • Cheaper isn't always cheaper: The team tested four different AI models, from expensive, top-tier "frontier" models (which cost a lot of money to run) to cheaper, self-hosted models (which you can run on your own computer).
    • The expensive models were great, but the paper found that a cheaper, self-hosted model running on the ARCHER system could reach 97.8% of the expensive model's accuracy.
    • Even better, this cheaper setup cost only one-quarter of the price.
    • This suggests that organizations don't need to spend a fortune on the most expensive AI to get great results; they just need the right system (ARCHER) to guide the cheaper AI.

Why This Matters

The paper argues that building compliance checking has been stuck in a "manual" era for too long. Existing tools are often locked behind expensive, proprietary software that no one can see or fix. If a rule is ambiguous, the software just fails, and you have to call a human.

ARCHER suggests a new way forward: Transparent, adaptable, and scalable. Because the system writes standard Python code (a common programming language), humans can actually read the code the AI wrote to see how it decided a building was safe or unsafe. If the AI gets something wrong, a human can look at the code, see the logic, and fix it.

The authors are careful to note that this isn't a magic wand that solves every problem. Some building rules are just too complex for a computer to measure perfectly (like judging if a weirdly shaped staircase is "safe" in a way that requires human intuition). For those, the system is designed to flag them for a human to check (labeled as "MANUAL_CHECK"). But for the thousands of standard rules—like "is the door wide enough?" or "is the parking spot the right size?"—ARCHER suggests we can now automate the heavy lifting with high accuracy and low cost.

In short, the paper proves that if you give AI a strict job description, a team of specialists, and a loop to check its homework, it can turn messy, confusing building rules into clear, working code. It turns the "black box" of AI into a transparent, auditable tool that could one day make building safer, faster, and cheaper for everyone.

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 →