ai-act-guard
Official Python SDK & ASGI Middleware for AI Act Guard (ai-act-guard.eu).
Turnkey compliance middleware for EU AI Act enforcement under Article 50 (Transparency Disclaimers), Article 14 (Human Oversight / HITL), and Article 12 (Audit Logging).
🚀 Installation
pip install ai-act-guard-sdk
⚡ FastAPI Quickstart
from fastapi import FastAPI
from ai_act_guard.middleware import AIActGuardMiddleware
app = FastAPI()
app.add_middleware(
AIActGuardMiddleware,
api_key="ag_live_your_key_here",
hitl_enabled=True,
user_consent_obtained=True
)
@app.post("/api/chat")
async def chat():
return {"message": "Hello from AI"}
🏷️ Injected Response Headers
X-AI-Generated:trueX-AI-Act-Jurisdiction:EUX-AI-Event-Id:evt_9a82f102-1204X-AI-Act-Compliance-Id:comp_823f0a12c4X-AI-HITL-Oversight:enabledX-AI-User-Consent:verified
📄 License
MIT © 2026 AI Act Guard (ai-act-guard.eu)
Metadata
Release files for ai-act-guard-sdk 1.1.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 | |
|---|---|---|---|---|
| ai_act_guard_sdk-1.1.0.tar.gz | 12.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ai_act_guard_sdk-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.7 kB
Release files / ai_act_guard_sdk-1.1.0.tar.gz
| Download URL | ai_act_guard_sdk-1.1.0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a704f93d9d63ac71d5aa1cbe86442127e1ca07d37774cbd3455b1ee4879eda67
|
|
BLAKE2b-256 checksum How to use checksums |
126da645070e61c18bfe475b3d605642f7c847479c0e61ebeab790e3f6ec7438
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Release files / ai_act_guard_sdk-1.1.0-py3-none-any.whl
| Download URL | ai_act_guard_sdk-1.1.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1d8a895a80a6212f8addc8b8166ccecc687e97417c7eca649d9a13c2c2d6e64
|
|
BLAKE2b-256 checksum How to use checksums |
0add99c77b9ec2877e8f59b79edf455352bef7fc5a26eccd13b61644a2815cd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.9
|
Security for ai-act-guard-sdk 1.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.