This website uses cookies
Read our Privacy policy and Terms of use for more information.

File / Download
A three-folder knowledge base scaffold for Regulation (EU) 2024/1689. No vector DB, no chunking, no hallucinated Recitals. Cloneable in a weekend.
The companion bundle to Build Your Own EU AI Act Knowledge Base in a Weekend ([read the edition](LINK-TO-EDITION)).
Every AI tool you've asked about the EU AI Act has cited the wrong Article, confused provider and deployer obligations, or invented a Recital. RAG doesn't fix it — the dependency graph between Articles, Annexes, and Recitals doesn't survive cosine similarity. This kit implements the alternative: a three-folder architecture that reads an index.md first, pulls 2–4 wiki articles into context, and cites every answer back to the underlying regulation.
## What's in the zip
- */scaffold/** — the empty directory structure raw/, wiki/, prompts/, index.md), ready to git init.
- */prompts/** — all 7 compilation prompts (article, annex, concept, obligation, mapping, refresh, generate-index).
- /anchor-wikis/* — 5 pre-compiled wiki articles (Articles 6, 9, 10, 14, 55) you can drop into wiki/articles/ immediately.
- /example-index.md* — a working retrieval map sized for Claude's context window.
- /ops/* — the n8n workflows for weekly regulatory monitoring, post-merge refresh, and the Obsidian mirror, plus the bash helpers they call.
- /scripts/* — a Python converter converteurlex_html.py) that turns EUR-Lex HTML into clean markdown, and a splitter splitregulation.py) that produces one markdown file per Article and per Annex.
- */README.md** — setup in 15 minutes, troubleshooting, and the Claude Desktop + Filesystem MCP wiring walkthrough.
## Who it's for
- CTOs, VPs of Engineering, and Heads of AI Governance at EU enterprises that need to answer AI Act questions with citations, not vibes.
- Compliance consultants building a reusable research asset across clients.
- In-house AI leads whose auditors have started asking "where did this recommendation come from?" and the honest answer is still "ChatGPT".
## What it is not
- Not legal advice. The kit produces citations; the interpretation is yours.
- Not a SaaS. You run it locally or on your own infrastructure. The regulation is too consequential to trust to a shared vector DB.
- Not a wrapper around a specific model. Claude Desktop is the reference query layer; the pattern works with any model that can read files.
## Requirements
- Git, Python 3.11+, bash, rsync
- Claude Desktop with the Filesystem MCP (or an equivalent local model with file access).
- ~1 hour to clone, run the converter against the regulation PDF, and query your first classification question.
## License
The scaffold, prompts, and scripts are MIT-licensed. The compiled wiki articles are CC BY 4.0. The raw regulation is Open Public Sector Information per the Publications Office of the EU.
If you ship something with this kit, I want to hear about it. Reply to any OnAbout.AI edition — I read every response.