Glassbox maps your LLM's internal attention circuits to EU AI Act Annex IV requirements. One function call generates a complete, regulator-ready evidence package.
Every feature maps to a specific EU AI Act article. No guesswork. No manual documentation. No dashboards.
From install to a regulator-ready evidence package in under five minutes.
from glassbox import GlassboxV2, AnnexIVReport from transformer_lens import HookedTransformer # Load any HuggingFace-compatible model model = HookedTransformer.from_pretrained("gpt2") gb = GlassboxV2(model) # Run full EU AI Act Annex IV audit result = gb.full_audit( prompt = "The European AI Act requires...", correct = " compliance", model_name = "GPT-2 small", deployment = "Financial Services", ) # Build and export evidence vault vault = result.build_annex_iv_vault() vault.export("annex_iv_evidence.zip") # Push model card to HuggingFace Hub result.push_to_hub("your-org/gpt2-compliance")
Audit complete — 291ms ┌──────────────────────────────────────────────┐ │ Annex IV Evidence Package │ │ │ │ ✓ Section 1 System description │ │ ✓ Section 2 Risk classification │ │ ✓ Section 3 Monitoring & control │ │ ✓ Section 4 Data & training provenance │ │ ✓ Section 5 Bias & fairness testing │ │ ✓ Section 6 Lifecycle management │ │ ✓ Section 7 Explainability (Art. 13) │ │ ✓ Section 8 Human oversight (Art. 14) │ │ │ │ Explainability Grade: A (F1 = 0.89) │ │ Risk class: High-risk (Article 6) │ │ Circuit F1: 0.89 — FAITHFUL │ └──────────────────────────────────────────────┘ Exported: annex_iv_evidence.zip (4 files) Model card pushed → HuggingFace Hub ✓
Glassbox covers every section of Annex IV and the key transparency and oversight articles of EU Regulation 2024/1689. Nothing left to manual documentation.
The core engine is MIT licensed and free forever. Enterprise support and custom integrations for regulated industries.
The EU AI Act enforcement deadline is August 2, 2026. Every high-risk AI system needs complete Annex IV documentation. Start generating it today — in five minutes.
Paste a prompt. Get attribution scores, circuit heads, and a compliance grade — in under 3 seconds.