Skip to main content

opencomplai-cli

License: AGPL-3.0 PyPI Python

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.

Metadata

Release files for opencomplai-cli 0.5.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 opencomplai-cli 0.5.0
File Size Uploaded
opencomplai_cli-0.5.0.tar.gz 187.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opencomplai-cli 0.5.0
File Interpreter ABI Platform
opencomplai_cli-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 348.5 kB

Release files / opencomplai_cli-0.5.0.tar.gz

Download URL opencomplai_cli-0.5.0.tar.gz
Size 187.7 kB
Tags Source
SHA-256 checksum
How to use checksums
e4a6c8f8be82b5bb873405e69e91b24fee106435814859aec0b6f938a47f149d
BLAKE2b-256 checksum
How to use checksums
3c6cb145e79de10d2c9c72b717b8ef291224b29bd29c76cfc67812c7773f0da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 26, 2026.

Transparency log

Release files / opencomplai_cli-0.5.0-py3-none-any.whl

Download URL opencomplai_cli-0.5.0-py3-none-any.whl
Size 160.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5a5ee0065892ec535767e34ef57e093a2288a02bbeb50e2497ed670c8ee6bdd
BLAKE2b-256 checksum
How to use checksums
8b3be218d295d9824af60953c2e8ba0a9473fbffc22dddccaf7b572e70425211
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 26, 2026.

Transparency log

Release history Release notifications | RSS feed

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.0

2 release files

This release

0.5.0 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.1.2

2 release files

0.1.0

2 release files

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