OpenComplAI — Quickstart Guide¶
Get EU AI Act compliance checks running in under 5 minutes.
Prerequisites¶
- Docker & Docker Compose ≥ 2.20
curlandbash(for the compliance check script)- Git
1. Clone & start the stack¶
Verify all services are healthy:
2. Run a sample compliance check¶
You should see:
[PASS] EU AI Act compliance check PASSED
System: sample-credit-scoring-v1
Badge ID: sha256:...
SVG badge: http://localhost:3000/v1/pro/badges/sha256:.../svg
3. Add your own system¶
- Copy the manifest template to your AI system repository:
-
Edit
manifest.yaml— updatesystem.id,system.name,system.risk_class, and add your controls. -
Copy the compliance check script:
cp examples/sample-system/run-compliance-check.sh /path/to/your-ai-system/
chmod +x run-compliance-check.sh
- Run it:
4. Add to CI/CD¶
Copy the GitHub Actions workflow template into your repository:
cp .github/workflows/compliance-gate.yml.example \
/path/to/your-ai-system/.github/workflows/compliance-gate.yml
Set the OPENCOMPLAI_GATEWAY_URL secret in your repository settings:
GitHub → Settings → Secrets and variables → Actions → New repository secret
5. Embed the compliance badge in your README¶
After a successful check, add the SVG badge to your README.md:
6. Verify ledger integrity¶
Run the standalone ledger verifier (no dependencies required):
Expected output:
[INFO] Checking ledger integrity at: http://localhost:3000/v1/evidence/verify-chain
[PASS] Evidence ledger chain is valid — no tampering detected
Architecture overview¶
Your AI System
│ manifest.yaml + run-compliance-check.sh
▼
┌─────────────────┐
│ gateway-api │ :3000 ─── all external traffic
└────────┬────────┘
│
┌────┴──────┬────────────────┐
▼ ▼ ▼
evidence- egress-proxy (other services)
vault :8002 :8004
│ │
│ DLP allowlist
│ (REQ-ARC-001)
▼
Merkle ledger + badge store
Service ports (default)¶
| Service | Port | Description |
|---|---|---|
| gateway-api | 3000 | Main entry point — all client traffic |
| evidence-vault | 8002 | Ledger, badges, CAS storage |
| egress-proxy | 8004 | DLP enforcement for outbound sync |
Next steps¶
- Read the PRD for full requirements coverage
- Run the full test suite:
uv run pytest - Benchmark TTFS:
./scripts/benchmark-ttfs.sh - Browse the API docs: http://localhost:3000/docs (when running locally)