Opencomplai Python SDK for EU AI Act compliance
Project description
opencomplai
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— theopencomplaicommand-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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
831002b4e0cd36d69886ef95a4b31057569a37c2f1aefc66be2b63cef52e4284
|
|
| MD5 |
6c0d751bc84c15dbcd16576644d9057a
|
|
| BLAKE2b-256 |
544155c43f9bcf0e141f451a49b3e3b2d8563ab0bcd2b2984b90a038c29326f9
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9021ca34a72ecbd5a9a93aa176bdbb845ba145c547cdf1127c1447644edafa8
|
|
| MD5 |
a092e29ee5fe0ccab9607d450c63f517
|
|
| BLAKE2b-256 |
880fd83d3b8d3987a24cdf7051ebbe4a90c54985e2a218c35ab7977ce8ddfaae
|