pith:3QI3EWHK
LegalCheck: Retrieval- and Context-Augmented Generation for Drafting Municipal Legal Advice Letters
A retrieval- and context-augmented system generates near-final municipal legal advice letters in minutes rather than hours.
arxiv:2605.12012 v2 · 2026-05-12 · cs.AI
Add to your LaTeX paper
\usepackage{pith}
\pithnumber{3QI3EWHKUDXZ6LTQFHWDYEXUP3}
Prints a linked badge after your title and injects PDF metadata. Compiles on arXiv. Learn more · Embed verified badge
Record completeness
Claims
In a real-world deployment within the Municipality of Amsterdam, LegalCheck produced near-final advice letters in minutes rather than hours, while maintaining high legal consistency and factual accuracy. The output captured the vast majority of required legal reasoning (often 80% to 100% of essential content).
That expert-in-the-loop review combined with retrieval from curated legal knowledge bases is sufficient to prevent legally significant errors or omissions in the generated drafts.
LegalCheck applies RAG and CAG to generate draft legal advice letters from laws and precedents, achieving 80-100% coverage of essential reasoning in minutes during a municipal deployment.
Receipt and verification
| First computed | 2026-05-20T00:05:47.266600Z |
|---|---|
| Builder | pith-number-builder-2026-05-17-v1 |
| Signature | Pith Ed25519
(pith-v1-2026-05) · public key |
| Schema | pith-number/v1.0 |
Canonical hash
dc11b258eaa0ef9f2e7029ec3c12f47efb469e4aa00f9ec42db622b48c19d390
Aliases
· · · · ·Agent API
Verify this Pith Number yourself
curl -sH 'Accept: application/ld+json' https://pith.science/pith/3QI3EWHKUDXZ6LTQFHWDYEXUP3 \
| jq -c '.canonical_record' \
| python3 -c "import sys,json,hashlib; b=json.dumps(json.loads(sys.stdin.read()), sort_keys=True, separators=(',',':'), ensure_ascii=False).encode(); print(hashlib.sha256(b).hexdigest())"
# expect: dc11b258eaa0ef9f2e7029ec3c12f47efb469e4aa00f9ec42db622b48c19d390
Canonical record JSON
{
"metadata": {
"abstract_canon_sha256": "027e2d6626741be525309f4138b2c9902e80526d2b55318c8b4dc4fb18208550",
"cross_cats_sorted": [],
"license": "http://creativecommons.org/licenses/by-nc-sa/4.0/",
"primary_cat": "cs.AI",
"submitted_at": "2026-05-12T12:01:29Z",
"title_canon_sha256": "658e08b895f0db8230c04692da67f4fe89164ff7ec4652b24f3ffaba8e3b1bd3"
},
"schema_version": "1.0",
"source": {
"id": "2605.12012",
"kind": "arxiv",
"version": 2
}
}