Skip to main content

Opencomplai command-line interface for EU AI Act compliance assessment

Project description

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.

Project details


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.1.0.tar.gz (123.5 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.1.0-py3-none-any.whl (118.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: opencomplai_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 123.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opencomplai_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fa90bfa5393e44bad8f17c3c6489ff0c00775583c4dccce3c7e3900be82e8d24
MD5 acb3ffce4d7ed4fb7b985eadd8af0646
BLAKE2b-256 65444541584c4b855f9d97a95bdeadef8dcccec86303bee01e7bb508f6e2b780

See more details on using hashes here.

File details

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

File metadata

  • Download URL: opencomplai_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 118.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opencomplai_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1460dae98ef6ce9f49ca32fb37373873de73ca3e9d627fd22187a4fa3e16f3ff
MD5 a03898927616b57ec23f8f0fe5c7e7b0
BLAKE2b-256 39b420d89bb22458093109177522a20a8957b937fb704fa38117baff1464bea1

See more details on using hashes here.

Supported by

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