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.3.0.tar.gz (156.8 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.3.0-py3-none-any.whl (143.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencomplai_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 156.8 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.3.0.tar.gz
Algorithm Hash digest
SHA256 7c77af5b5f44cee20139682730b0203102ccfb4cbdc424db749e037d1be80871
MD5 17c881bc08cdf379924654e225442a76
BLAKE2b-256 fb7324301f3b5152339fb47d1c3553c1d14b1da329b5f390d1f4435ecbda234c

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencomplai_cli-0.3.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: opencomplai_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 143.4 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 96b2b801d511ae8709d86e7a4742cbe59352cee53452bb78f61883dfe83737a8
MD5 22c17de35fbd3c1abca5e8a79995fa89
BLAKE2b-256 4886ae37917ae28c7a7371e54454ec7a239beff5c2da682d1a1e88c77d9a3ee4

See more details on using hashes here.

Provenance

The following attestation bundles were made for opencomplai_cli-0.3.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

0.4.0

2 files

This release

0.3.0 This release

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