This directory shows how to integrate an AI system with OpenComplAI for EU AI Act compliance.
| File | Purpose |
|---|---|
manifest.yaml |
System metadata, control list, and bias monitoring config |
run-compliance-check.sh |
Shell script that ingests a status artifact, issues a badge, and verifies it |
# 1. Start the OpenComplAI stack (from repo root)
docker compose up -d
# 2. Run the compliance check
cd examples/sample-system
./run-compliance-check.shExpected output:
[INFO] Step 1/4 — Gateway health check
[PASS] Gateway reachable
[INFO] Step 2/4 — Ingest compliance status artifact
[PASS] Status artifact ingested — event_id=...
[INFO] Step 3/4 — Issue compliance badge
[PASS] Compliance badge issued — badge_id=sha256:...
[INFO] Step 4/4 — Verify badge
[PASS] Badge verified valid
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
[PASS] EU AI Act compliance check PASSED
System: sample-credit-scoring-v1
Badge ID: sha256:...
SVG badge: http://localhost:3000/v1/pro/badges/sha256:.../svg
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
See .github/workflows/compliance-gate.yml.example in the repo root for a ready-to-use GitHub Actions workflow.
- Set
system.idto a stable identifier for your system (used to derivebadge_id). - Set
system.risk_classto"high","limited", or"minimal"per EU AI Act Article 6. - Add or remove
controlsentries to match your technical documentation. - Set
gateway_urlor exportOPENCOMPLAI_GATEWAY_URLto point at your deployment.