Skip to main content

eu-ai-act-classifier

CI PyPI License: MIT Python 3.13+

Find out which EU AI Act risk tier an AI system falls into, with every obligation cited to its article. Rules-based, offline, and built for a lawyer to confirm; see who it's for.

Status: beta, on PyPI. It encodes Regulation (EU) 2024/1689 and, in part, the amending Regulation (EU) 2026/1744, including its application dates and new Art. 5 prohibitions. Source versions are in the methodology, and legal claims, including what is encoded, in the regulatory claim ledger.

Not legal advice. Output is a first pass for supervised legal review, and a qualified human must review every result before reliance. Example data is synthetic. The engine applies rules to characterised facts and does not decide disputed intended purpose, operator role or factual deployment scope (honest limits).

No install needed: the browser playground runs the same engine, and nothing you paste leaves the page.

Install

Python 3.13+, from PyPI:

pip install eu-ai-act-classifier

With uv, prefix eu-ai-act-classify with uvx --from eu-ai-act-classifier to run it without installing.

Quick start

Classify a profile from stdin, offline and deterministically (more profiles in examples/):

echo '{"name":"CitizenScore","prohibited_practices":["5.1.c"]}' | eu-ai-act-classify -

Add --json for JSON, or --strict to exit 1 in CI when the system is prohibited or needs review.

Or from Python:

from eu_ai_act_classifier import SystemProfile, classify, render_report

report = classify(SystemProfile(name="CitizenScore", prohibited_practices=["5.1.c"]))
print(render_report(report))

More: the full quick start and example output.

MCP server

For Claude Code or Claude Desktop, use eu-reg-mcp: uvx --python 3.13 --from 'eu-reg-mcp[lint,classify]' eu-reg-mcp. This package's own MCP server starts with:

uvx --python 3.13 --from "eu-ai-act-classifier[mcp]" --with "mcp<2" eu-ai-act-classifier-mcp

Keep mcp<2 (why). Client configuration: docs/mcp-configuration-guide.md.

Documentation

License

MIT, see LICENSE.

Metadata

Release files for eu-ai-act-classifier 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eu-ai-act-classifier 0.4.0
File Size Uploaded Provenance Actions
eu_ai_act_classifier-0.4.0.tar.gz 3.2 MB With provenance Details for eu_ai_act_classifier-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for eu-ai-act-classifier 0.4.0
File Interpreter ABI Platform Actions
eu_ai_act_classifier-0.4.0-py3-none-any.whl Python 3 none any Details for eu_ai_act_classifier-0.4.0-py3-none-any.whl

Total release size: 3.4 MB

Release files / eu_ai_act_classifier-0.4.0.tar.gz

Download URL eu_ai_act_classifier-0.4.0.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
be1b5bf417f52e95425956a9740d9f4d7018ff97618bf6190f32fa2393e36830
BLAKE2b-256 checksum
How to use checksums
b890a075259fda5c54be79f5d2c0b444c94b75cbc821d9e71ad4ba41f5edc97c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / eu_ai_act_classifier-0.4.0-py3-none-any.whl

Download URL eu_ai_act_classifier-0.4.0-py3-none-any.whl
Size 130.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
248f49e789c0a0720a024efb0935d0c058cf54db2721369e8901bde8004eda1a
BLAKE2b-256 checksum
How to use checksums
49a17569d5b8a00f5483865251f7261795bad9e25b773a9413ffa29974be53ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for eu-ai-act-classifier 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for eu_ai_act_classifier-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page