opencomplai
The convenience meta-package for Opencomplai — AI compliance
for your AI systems: the EU AI Act, and a NIST AI RMF 1.0 view derived from the same
evidence. 15 frameworks by status, evaluated: EU AI Act, NIST AI RMF 1.0, ISO/IEC 42001:2023 AI management system, ISO/IEC 27090:2026 AI security guidance, ISO/IEC 27001:2022 information security management, SOC 2 Trust Services Criteria (not a SOC 2 report), NIS2 Directive (EU) 2022/2555 cybersecurity measures, DORA Regulation (EU) 2022/2554 digital operational resilience, EBA Guidelines on ICT, outsourcing and loan origination, EIOPA Opinion on AI governance and risk management, GDPR Regulation (EU) 2016/679, duties relevant to AI systems, Cyber Resilience Act Regulation (EU) 2024/2847, ETSI EN 304 223 baseline cyber security for AI, ISO/IEC 42005:2025 AI system impact assessment, ISO/IEC 23894:2023 AI risk management guidance. Installing opencomplai gives you both the risk engine and the command-line
tool in one step.
Not sure whether the EU AI Act applies to your AI system? Try the free EU AI Act checker: rules-based, a few minutes, not legal advice.
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,
RiskLevel, RiskResult, RuleResult, ScanResult, ScanStatusArtifact, SystemManifest,
and, for assessing several frameworks side by side, evaluate_targets, resolve_targets,
FRAMEWORKS, FrameworkPack, FrameworkReport and GapReport.
Runtime events
RuntimeReporter records decisions, out-of-mandate actions, metrics and incidents of a
running system, keeps them in a local buffer file and sends them in batches. Only hashes
and metadata leave the machine: the tool input is hashed, never stored or sent.
from opencomplai import RuntimeReporter
with RuntimeReporter("support-bot") as reporter:
reporter.decision(
"support-bot", "refund_order", "success", {"order_ref": "ord_7Hq2xK9mWb4vTz1L"}
)
reporter.metric("latency_ms", 182.5, unit="ms")
It sends with OPENCOMPLAI_API_KEY and OPENCOMPLAI_DASHBOARD_URL, the same pair
opencomplai push uses; without them it only buffers. Use one buffer file per system and
one process per file, and keep .opencomplai/runtime-events.jsonl* out of version control
(the same folder holds signed records you do commit). See the
SDK reference for the buffer, the retries
and the event format.
Optional: AI intent plugin
For optional intent analysis of code callsites (it includes a deterministic matcher that needs no download; local GGUF
models need the [deep] extra), also install
opencomplai-ai:
pip install opencomplai-ai
opencomplai scan --ai-intent # deterministic matcher (codebert-onnx), no download
scan --ai-intent and scan --propose both use the deterministic matcher unless you
pass --ai-model (and scan --ai-intent also honours a model saved with
opencomplai ai configure). A local GGUF LLM such as qwen2.5-coder-1.5b is opt-in and
needs pip install 'opencomplai-ai[deep]'.
Documentation
Full guides, SDK reference, and the EU AI Act concepts at docs.opencomplai.com.
License
AGPL-3.0-only. See LICENSE.
Metadata
Release files for opencomplai 0.16.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| opencomplai-0.16.0.tar.gz | 30.8 kB | With provenance | Details for opencomplai-0.16.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| opencomplai-0.16.0-py3-none-any.whl | Python 3 | none | any | Details for opencomplai-0.16.0-py3-none-any.whl |
Total release size: 47.2 kB
Release files / opencomplai-0.16.0.tar.gz
| Download URL | opencomplai-0.16.0.tar.gz |
|---|---|
| Size | 30.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92a0a43a44b448093385d612809c2109d5556c3330cb63564515519c21b8adfa
|
|
BLAKE2b-256 checksum How to use checksums |
15083f4f2bdef78b834d47c27298faed395287d7e6e325b20b5ec01f7fc57c13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logRelease files / opencomplai-0.16.0-py3-none-any.whl
| Download URL | opencomplai-0.16.0-py3-none-any.whl |
|---|---|
| Size | 16.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
90b33e4630c187cf7f98dfbab1924f933af6dcaa4df0fa7ed353d977cd25a48c
|
|
BLAKE2b-256 checksum How to use checksums |
e322fb837d7e4159268210bb1f6c6bb0505d9e8800b150ad88d6afc2cf931465
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logSecurity for opencomplai 0.16.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for opencomplai-0.16.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.