Skip to main content Switch to mobile version opencomplai-core 0.18.0 Opencomplai core engine for AI compliance: the EU AI Act, and NIST AI RMF evaluated from the same evidence, mapping pending external review
pip install opencomplai-core==0.18.0 Copy PIP instructions
The compliance engine at the heart of Opencomplai. opencomplai-core turns a declared system-manifest.json and your source tree into a deterministic, rule-based EU AI Act risk classification and gap report — no LLM calls, no network access, fully reproducible. The same evidence also yields a NIST AI RMF 1.0 view, re-projected per subcategory rather than measured separately. 24 frameworks by status, evaluated, mapping pending external review: EU AI Act (5 rows: mapping not yet reviewed), NIST AI RMF 1.0 (9 rows: mapping not yet reviewed), ISO/IEC 42001:2023 AI management system (3 rows: mapping not yet reviewed), ISO/IEC 27090:2026 AI security guidance (4 rows: mapping not yet reviewed), ISO/IEC 27001:2022 information security management (118 rows: mapping not yet reviewed), SOC 2 Trust Services Criteria (not a SOC 2 report) (61 rows: mapping not yet reviewed), NIS2 Directive (EU) 2022/2555 cybersecurity measures (21 rows: mapping not yet reviewed), DORA Regulation (EU) 2022/2554 digital operational resilience (37 rows: mapping not yet reviewed), EBA Guidelines on ICT, outsourcing and loan origination (25 rows: mapping not yet reviewed), EIOPA Opinion on AI governance and risk management (8 rows: mapping not yet reviewed), GDPR Regulation (EU) 2016/679, duties relevant to AI systems (21 rows: mapping not yet reviewed), Cyber Resilience Act Regulation (EU) 2024/2847 (63 rows: mapping not yet reviewed), ETSI EN 304 223 baseline cyber security for AI (72 rows: mapping not yet reviewed), ISO/IEC 42005:2025 AI system impact assessment (20 rows: mapping not yet reviewed), ISO/IEC 23894:2023 AI risk management guidance (23 rows: mapping not yet reviewed); beta: UK agentic AI controls (FCA-aligned) (8 rows: mapping not yet reviewed), OWASP Top 10 for LLM Applications (2025) (10 rows: mapping not yet reviewed), OWASP Top 10 for Agentic Applications (2026) (10 rows: mapping not yet reviewed), Colorado ADMT Act (SB 26-189, C.R.S. 6-1-1701 to 6-1-1709) (10 rows: mapping not yet reviewed), NYC Local Law 144 of 2021, automated employment decision tools (8 rows: mapping not yet reviewed), California CCPA regulations on ADMT and risk assessments (CPPA) (9 rows: mapping not yet reviewed), ISO/IEC 27701:2025 privacy information management, controls relevant to AI systems (44 rows: mapping not yet reviewed), California CCPA as amended by the CPRA, business duties relevant to AI systems (22 rows: mapping not yet reviewed), UK FCA AI control library, twelve control domains (20 rows: mapping not yet reviewed).
It powers risk classification (UnacceptableRiskRule, AnnexIIIClassifierRule, ProfilingDetectionRule, SubstantialModificationRule) and the code-corroboration scan engine that cross-checks what a manifest claims against what the code actually does.
pip install opencomplai-core For PDF report generation, install the optional extra:
pip install "opencomplai-core[reports]" Most users want the opencomplai meta-package (engine + CLI) or the opencomplai-cli command-line tool. Install opencomplai-core directly when you are embedding the engine in your own application.
Classify a model from a declared manifest
from opencomplai import assess, AssessmentInput, ModelMetadata result = assess(AssessmentInput( model=ModelMetadata( name="loan-scorer", version="1.0.0", modality="tabular", use_case="creditworthiness scoring for consumer loans", deployment_context="production", ) )) print(result.risk_level) # e.g. RiskLevel.HIGH for rule in result.rule_results: print(rule.rule_id, "PASS" if rule.passed else "FAIL") Corroborate a manifest against the code
from pathlib import Path from opencomplai_core.scan_engine import run_scan report = run_scan( repo_root=Path("."), commit_ref="HEAD", ) print(report.summary.result) # PASS / CONTROL_FAIL / ... for finding in report.findings: print(finding.finding_id, finding.mapped_taxonomy) The scan engine extracts features from the repository, fuses evidence across detectors, and maps findings to EU AI Act taxonomy (Annex III high-risk areas, Article 5 prohibited practices, profiling under Article 6).
Assess several frameworks side by side
from opencomplai_core import FRAMEWORKS, SystemManifest, evaluate_targets manifest = SystemManifest( system_id="loan-scorer", intended_purpose="creditworthiness scoring for consumer loans", compliance_targets=["EU_AI_ACT", "NIST_AI_RMF"], ) reports = evaluate_targets(manifest, ["EU_AI_ACT", "NIST_AI_RMF"], commit_ref="HEAD") for framework, report in reports.items(): print(FRAMEWORKS[framework].label, len(report.report.articles), "requirements") FRAMEWORKS lists what this release can assess. 24 frameworks by status, evaluated, mapping pending external review: EU AI Act (5 rows: mapping not yet reviewed), NIST AI RMF 1.0 (9 rows: mapping not yet reviewed), ISO/IEC 42001:2023 AI management system (3 rows: mapping not yet reviewed), ISO/IEC 27090:2026 AI security guidance (4 rows: mapping not yet reviewed), ISO/IEC 27001:2022 information security management (118 rows: mapping not yet reviewed), SOC 2 Trust Services Criteria (not a SOC 2 report) (61 rows: mapping not yet reviewed), NIS2 Directive (EU) 2022/2555 cybersecurity measures (21 rows: mapping not yet reviewed), DORA Regulation (EU) 2022/2554 digital operational resilience (37 rows: mapping not yet reviewed), EBA Guidelines on ICT, outsourcing and loan origination (25 rows: mapping not yet reviewed), EIOPA Opinion on AI governance and risk management (8 rows: mapping not yet reviewed), GDPR Regulation (EU) 2016/679, duties relevant to AI systems (21 rows: mapping not yet reviewed), Cyber Resilience Act Regulation (EU) 2024/2847 (63 rows: mapping not yet reviewed), ETSI EN 304 223 baseline cyber security for AI (72 rows: mapping not yet reviewed), ISO/IEC 42005:2025 AI system impact assessment (20 rows: mapping not yet reviewed), ISO/IEC 23894:2023 AI risk management guidance (23 rows: mapping not yet reviewed); beta: UK agentic AI controls (FCA-aligned) (8 rows: mapping not yet reviewed), OWASP Top 10 for LLM Applications (2025) (10 rows: mapping not yet reviewed), OWASP Top 10 for Agentic Applications (2026) (10 rows: mapping not yet reviewed), Colorado ADMT Act (SB 26-189, C.R.S. 6-1-1701 to 6-1-1709) (10 rows: mapping not yet reviewed), NYC Local Law 144 of 2021, automated employment decision tools (8 rows: mapping not yet reviewed), California CCPA regulations on ADMT and risk assessments (CPPA) (9 rows: mapping not yet reviewed), ISO/IEC 27701:2025 privacy information management, controls relevant to AI systems (44 rows: mapping not yet reviewed), California CCPA as amended by the CPRA, business duties relevant to AI systems (22 rows: mapping not yet reviewed), UK FCA AI control library, twelve control domains (20 rows: mapping not yet reviewed). See Frameworks.
Deterministic risk classification — same inputs always produce the same output, so results are auditable and CI-gateable.
Code corroboration — detect when a manifest under-declares (claims minimal risk while the code does biometric identification, profiling, etc.).
Hash-chained evidence — findings carry verifiable evidence items for audit trails.
Full docs, the EU AI Act concepts guide, and the SDK reference live at docs.opencomplai.com.
AGPL-3.0-only. See LICENSE.
Both files in this release have provenance metadata.
GNU Affero General Public License v3 (AGPL-3.0-only)
dev inspect-bridge reports
ai-governance compliance-as-code eu-ai-act nist-ai-rmf risk-assessment
Development Status 4 - Beta
Intended Audience Developers
License OSI Approved :: GNU Affero General Public License v3
Operating System OS Independent
Programming Language Python :: 3
Software Development :: Quality Assurance
Release files for opencomplai-core 0.18.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 1.9 MB
Release files / opencomplai_core-0.18.0.tar.gz
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Security for opencomplai-core 0.18.0
Both files in this release have been uploaded with provenance metadata.
With provenance opencomplai_core-0.18.0.tar.gz Dec 1, 2026
Attestation for opencomplai_core-0.18.0.tar.gz
A 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.
Release history Release notifications | RSS feed
Dec 1, 2026 2 release files Full provenance
Nov 16, 2026 2 release files Full provenance
Nov 8, 2026 2 release files Full provenance
Nov 3, 2026 2 release files Full provenance
Oct 28, 2026 2 release files Full provenance
Oct 14, 2026 2 release files Full provenance
Oct 13, 2026 2 release files Full provenance
Oct 12, 2026 2 release files Full provenance
Oct 11, 2026 2 release files Full provenance
Oct 8, 2026 2 release files Full provenance
Sep 24, 2026 2 release files Full provenance
Sep 23, 2026 2 release files Full provenance
Sep 22, 2026 2 release files Full provenance
Sep 4, 2026 2 release files Full provenance
Aug 26, 2026 2 release files Full provenance
Aug 21, 2026 2 release files Full provenance
Aug 13, 2026 2 release files Full provenance
Jul 3, 2026 2 release files No provenance
Jun 28, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




