Opencomplai command-line interface for EU AI Act compliance assessment
Project description
opencomplai-cli
The opencomplai command-line tool for EU AI Act compliance assessment. It scans your
repository, classifies your AI system against the EU AI Act, and produces an auditable,
CI-gateable compliance artifact.
Built on opencomplai-core — the same
deterministic, rule-based risk engine, with a rich terminal UX.
Install
pip install opencomplai-cli
This pulls in opencomplai-core[reports] automatically. To install the full suite
(engine + CLI) in one step, use the opencomplai
meta-package instead.
Core commands
| Command | What it does |
|---|---|
opencomplai init |
Scaffold a system-manifest.json for your project |
opencomplai scan |
Corroborate the manifest against your code and report discrepancies |
opencomplai check |
Run the compliance gate and write compliance-artifact.json |
opencomplai dashboard |
Manage premium dashboard enrollment and sync |
Run opencomplai --help for the full command list, or opencomplai <command> --help for
options.
Quick start
# 1. Scaffold a manifest for your project
opencomplai init
# 2. Cross-check the manifest against your source tree
opencomplai scan --manifest system-manifest.json --repo-root .
# 3. Run the compliance gate (writes compliance-artifact.json)
opencomplai check
opencomplai check is the canonical CI gate. Its exit code is contractual:
| Exit code | Meaning |
|---|---|
0 |
PASS |
1 |
CONTROL_FAIL |
2 |
VALIDATION_FAIL |
3 |
POLICY_BLOCK |
4 |
TRAP_DETECTED |
So you can wire it straight into CI:
opencomplai check || exit $?
Optional: AI intent analysis
Install the opencomplai-ai plugin to unlock
the --ai-intent flag, which classifies how each AI callsite is actually used:
pip install opencomplai-ai
opencomplai scan --ai-intent
Documentation
Full CLI reference and guides at docs.opencomplai.com.
License
AGPL-3.0-only. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file opencomplai_cli-0.1.2.tar.gz.
File metadata
- Download URL: opencomplai_cli-0.1.2.tar.gz
- Upload date:
- Size: 124.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc3c21db5f1c2ccd611eef578ac7c479c5c04b305261ccd82f84ba1e5c20439
|
|
| MD5 |
3b9a452f35168dc25ef05b778ee2c9ba
|
|
| BLAKE2b-256 |
9959bee5acb16fee7cc78e33a778e69791d4397495694c5e879e86c9d058087b
|
File details
Details for the file opencomplai_cli-0.1.2-py3-none-any.whl.
File metadata
- Download URL: opencomplai_cli-0.1.2-py3-none-any.whl
- Upload date:
- Size: 119.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6bd796e6e24c8fa100b98f5b44d926f5d5dc44ebe132bc454a13ebff49299f5
|
|
| MD5 |
a272d6f8b0cc51cbc408900c338fee47
|
|
| BLAKE2b-256 |
b899d8e3091bf04a4232d3612f32c8081e75341300e4b5c035969566782766db
|