kmail.at
contact

elsewhere

EnglishEN
← tools

eu-ai-act

v1.0.0 · stable · knowledge

the EU AI Act, readable and applicable — in the browser, or from your terminal

about

The whole of Regulation (EU) 2024/1689 under your hand. The complete

official text — 180 recitals, 113 articles, 13 annexes — extracted from

EUR-Lex and structured, so it can be navigated by chapter and section,

searched by phrase, and read as the Act formats itself rather than as a

wall of scraped prose.

It comes two ways, over one library. In the browser it is the app above:

nine views across the same corpus — a dashboard of what the text contains,

the Act itself, its citation graph, mindmaps, a reference of timelines and

penalties, the classification ladder, step-by-step procedures, worked

cases and obligation checklists. Alongside them a natural-language view

where an assistant answers out of the Act through twenty tools that read

the real provisions, so an answer names the article it came from instead

of recalling it — and the stream shows every call it made to get there.

In the terminal it is the CLI and the TUI: search, article, tier,

checklist, classify, penalties and more, every command able to emit JSON,

plus an interactive session and a local assistant grounded in a ChromaDB

vector store rather than in model memory.

Fifty worked cases show it applied to real systems — a system, the tier it

lands in, and the reasoning, each claim anchored to a provision. It is a

compliance aid, not legal advice.

what it does

The whole Act, structured
180 recitals, 113 articles and 13 annexes from EUR-Lex, navigable by chapter and section and rendered as the Act formats itself.
Nine views in the browser
Dashboard, reader, citation graph, mindmap, reference, classification ladder, procedures, worked cases and checklists — all over one corpus.
Answers that cite
The assistant works through twenty tools that read the actual provisions, and the stream shows every call. Nothing is answered from model memory.
Fifty worked cases
Real systems, the tier each lands in, and the reasoning behind it — every claim anchored to a provision, and illustrative rather than an enforcement decision.
A command line and a TUI
The same corpus offline: eu-ai-act search / article / tier / checklist / classify, JSON on every command, and an interactive terminal session.
Yours to host
Point the server at any OpenAI-compatible endpoint. A public deployment closes the provider routes, so a visitor cannot repoint the model behind it.

run your own

1 · Get the code and run it

git clone https://github.com/mokmail/eu-ai-act-tool.git
cd eu-ai-act-tool
docker compose up --build

Builds two containers: the AG-UI server and the web client. The app answers on :3000 and the API on :8000. Nothing but Docker is needed.

2 · Put your own model behind it

EU_AI_ACT_BASE_URL=http://host.docker.internal:11434/v1
EU_AI_ACT_CHAT_MODEL=<a model that tool-calls>
EU_AI_ACT_API_KEY=<only if your endpoint wants one>

Any OpenAI-compatible endpoint. host.docker.internal is already wired, so a local Ollama works with no change — but pick a model that actually calls tools, or the assistant will describe them instead of using them.

3 · Or mount it inside your own site

cp .env.deploy.example .env
docker compose up -d --build

Serves the app under a path prefix of an existing site, proxies the API to the same origin so there is no CORS, drops the duplicate masthead, and closes the provider routes. That is the deployment this page is running.

4 · Make it public safely

EU_AI_ACT_PUBLIC_MODE=1
NEXT_PUBLIC_EMBEDDED=1

PUBLIC_MODE closes the routes that read and WRITE the model provider; without it a visitor could repoint your inference at an endpoint of their choosing. EMBEDDED hides the operator-only settings the same way.

install

In the browser

Nothing to install — the app is on this page. Nine views over the full text, and the assistant.

Command line and TUI

curl -fsSL https://kmail.at/run-tui.sh | sh

Clones the repository into ~/eu-ai-act-tool and syncs it with uv. Needs Python 3.9 or newer.

Python package

pip install git+https://github.com/mokmail/eu-ai-act-tool.git

Installs two commands: eu-ai-act for single queries, eu-ai-act-tui for the interactive session.

From source

git clone https://github.com/mokmail/eu-ai-act-tool.git && cd eu-ai-act-tool && pip install -e ".[dev]"

For working on it — same install, plus the test dependencies.

synopsis

eu-ai-act <search|article|tier|checklist|classify|penalties|ai|...> [args]

changelog

  • v1.0.0dataset + CLI + TUI + local AI assistant; web application: nine views, a citation-grounded agent over twenty tools, an AG-UI event stream, and fifty worked cases