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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opencomplai_cli-0.4.0.tar.gz (180.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

opencomplai_cli-0.4.0-py3-none-any.whl (157.5 kB view details)

Uploaded Python 3

File details

Details for the file opencomplai_cli-0.4.0.tar.gz.

File metadata

  • Download URL: opencomplai_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 180.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for opencomplai_cli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 aac712c036447311d398d01a750643ab023ac1833a3dc1bf035b1d49025c5489
MD5 7771c066391887e1ee5bb21bac3ad19c
BLAKE2b-256 d5205bbf2051679eca0242d3b71c8cb9ee95d7dd6864fbffe85e6f988db96492

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencomplai_cli-0.4.0.tar.gz:

Publisher: publish-pypi.yml on Opencomplai/opencomplai-enterprise

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opencomplai_cli-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: opencomplai_cli-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 157.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for opencomplai_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54e36d19887dbda1ebe3fcc6d458a23fadde2d438c5d9e30305200f2de9fe1cf
MD5 201b06e8138966128617c586c78703db
BLAKE2b-256 73e5a54d48df50d7a5007127505fc5347d4e3429221619e8d415b400a27bcf8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencomplai_cli-0.4.0-py3-none-any.whl:

Publisher: publish-pypi.yml on Opencomplai/opencomplai-enterprise

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 files

0.3.0

2 files

0.1.2

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page