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.
ProofPaper ↗
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)
- [1]An LLM-Based Agent for Legal Compliance Assessment: Architecture, Memory, and Evaluation in a Canadian and Quebec ContextarXiv (AI, ML, NLP, CV, robotics, multi-agent) · Oct 19, 10:24 PM
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.
Checking whether a text complies with a body of law is slow when done by hand and fragile when done with keyword rules.
Extractive summary: sentences quoted from the sources.
Before this
- Oct 19, 2026Evaluating Agents on Highly Subjective Tasks
- Oct 19, 2026Introducing Clairic, a new System One class of extraction models
- Oct 19, 2026Push-based KV transfer to improve TTFT and TPOT for disaggregated inference in vLLM
- Oct 19, 2026HarnessPro: Recursive Harness Self-Improvement with Pareto Optimization for Performance-Cost Trade-offs
- 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.
- Oct 18, 2026ATEST: Adaptive Resource-Aware Test-Time Scaling for LLM Inference