ResearchResearch paperLarge Language Models · Safety & Alignment · Policy & Regulation1 source · Oct 19, 2026

An LLM-Based Agent for Legal Compliance Assessment: Architecture, Memory, and Evaluation in a Canadian and Quebec Context

This paper presents ComplianceAgent, the legal compliance sub-agent of COMPASS, a multi-agent framework that evaluates texts along four axes: digital sovereignty, carbon impact, compliance, and ethics.

Key points

  • Checking whether a text complies with a body of law is slow when done by hand and fragile when done with keyword rules.
  • The agent relies on a large language model that scores a text on a fixed rubric, grounds its judgment in a reference legal corpus, and, when the score falls at or below a critical threshold, runs a corrective chain made of self-healing rewrites, a compliance label, an explainability report, and escalation to a human reviewer.
  • We describe what the language model does at each step, how the memory of the agent is organized, and how the same implementation can be pointed at different reference corpora.
  • We evaluate the agent in a Canadian and Quebec context, on a corpus of thirteen legal instruments that brings together federal and provincial texts, international treaties, and municipal documents of the City of Trois-Rivières.

Sources (1)

Extractive summary: sentences quoted from the sources.

Before this

  1. Oct 19, 2026Evaluating Agents on Highly Subjective Tasks
  2. Oct 19, 2026Introducing Clairic, a new System One class of extraction models
  3. Oct 19, 2026Push-based KV transfer to improve TTFT and TPOT for disaggregated inference in vLLM
  4. Oct 19, 2026HarnessPro: Recursive Harness Self-Improvement with Pareto Optimization for Performance-Cost Trade-offs
  5. Oct 18, 2026Elevatormusic/DeepSeek-V4.1-Flash-1017-EXL3-TensorFold-2x-DGX-Spark: DeepSeek-V4.1-Flash-1017 EXL3 2.9bpw on 2x NVIDIA DGX Spark (GB10) with TensorFold: 2.1-2.3x the vLLM kit's decode speed.
  6. Oct 18, 2026ATEST: Adaptive Resource-Aware Test-Time Scaling for LLM Inference

Related