Skip to main content

Opencomplai Python SDK for EU AI Act compliance

Project description

opencomplai

License: AGPL-3.0 PyPI Python

The convenience meta-package for Opencomplai — EU AI Act compliance for your AI systems. Installing opencomplai gives you both the risk engine and the command-line tool in one step.

Install

pip install opencomplai

This installs:

  • opencomplai-core — the deterministic, rule-based EU AI Act risk engine and code-corroboration scanner.
  • opencomplai-cli — the opencomplai command-line tool.

Quick start

Command line

opencomplai init      # scaffold a system-manifest.json
opencomplai scan      # corroborate manifest against code
opencomplai check     # run the compliance gate

Python SDK

from opencomplai import assess, AssessmentInput, ModelMetadata

result = assess(AssessmentInput(
    model=ModelMetadata(
        name="my-model",
        version="1.0.0",
        modality="text",
        use_case="customer support chatbot",
        deployment_context="production",
    )
))
print(result.risk_level)

Public API re-exported from opencomplai: assess, AssessmentInput, ModelMetadata, RiskResult, ScanStatusArtifact, and SystemManifest.

Optional: AI intent plugin

For AI-powered intent classification of code callsites, also install opencomplai-ai:

pip install opencomplai-ai
opencomplai scan --ai-intent

Documentation

Full guides, SDK reference, and the EU AI Act concepts 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-0.1.0.tar.gz (2.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-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for opencomplai-0.1.0.tar.gz
Algorithm Hash digest
SHA256 831002b4e0cd36d69886ef95a4b31057569a37c2f1aefc66be2b63cef52e4284
MD5 6c0d751bc84c15dbcd16576644d9057a
BLAKE2b-256 544155c43f9bcf0e141f451a49b3e3b2d8563ab0bcd2b2984b90a038c29326f9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for opencomplai-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c9021ca34a72ecbd5a9a93aa176bdbb845ba145c547cdf1127c1447644edafa8
MD5 a092e29ee5fe0ccab9607d450c63f517
BLAKE2b-256 880fd83d3b8d3987a24cdf7051ebbe4a90c54985e2a218c35ab7977ce8ddfaae

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