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.2.tar.gz (124.7 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.2-py3-none-any.whl (119.6 kB view details)

Uploaded Python 3

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

Hashes for opencomplai_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ffc3c21db5f1c2ccd611eef578ac7c479c5c04b305261ccd82f84ba1e5c20439
MD5 3b9a452f35168dc25ef05b778ee2c9ba
BLAKE2b-256 9959bee5acb16fee7cc78e33a778e69791d4397495694c5e879e86c9d058087b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for opencomplai_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d6bd796e6e24c8fa100b98f5b44d926f5d5dc44ebe132bc454a13ebff49299f5
MD5 a272d6f8b0cc51cbc408900c338fee47
BLAKE2b-256 b899d8e3091bf04a4232d3612f32c8081e75341300e4b5c035969566782766db

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