Skip to content

Open research · Law × AI

Where law
meets code

Open infrastructure for verified legal work with AI. Working cards on the AI Act and GDPR, practical tools and open research questions, each with a record of how it was built and what in it has been verified.

Justitia, the statue of justice (blue duotone)
01 AI Act commentary

Working cards on the EU AI Act: risk classification, deadlines and an article-by-article reading.

02 GDPR commentary

The regulation article by article, a compliance guide and original document templates.

03 AI-literacy course

A ready training under Article 4 of the AI Act that anyone can take, adapt to their setting and build a product on.

04 Prompt builder

Assembling prompts for AI that hold perspective, sources and verification.

05 Research questions

Open questions at the border of law and AI, worked on as they go.

What is being built here

Legal To Code is open infrastructure for verified legal work with artificial intelligence. It collects research questions, practical tools and notes on how to translate legal work into a language machines understand while keeping it verifiable.

A large part of that content is produced by working with agentic AI, and I assemble it from my own attempts, notes and collected papers, which hold other people’s thinking too. The agent works against a set of rules matching my methodology and enforced by machine: a cited section has to be opened and checked word for word against the library of legislation, and interpretive text is read article by article. I also go over all of it myself as I go, adding to it, correcting it and improving it, so this site keeps growing and changing. That is what the list of changes is for. The detail is in how this site is produced.

How content is made

Content is produced in the Legal To Code legal workflow for Claude Code (version 1.131.0). Cited provisions are verified against a local library of their verbatim wording. Where the wording is not in the library, it is verified in the Czech Collection of Laws. For case-law research the workflow is connected to the Salvia MCP server. Automated checks of citations and internal consistency are part of the workflow. Even those checks do not rule out an error. Verify decisive information against the original sources.

How this works · What has changed