Skip to main content

CAIRO Protocol SDK — forensic AI governance telemetry, deterministic interception, and EU AI Act enforcement for agentic AI systems

Project description

CAIRO Protocol SDK

Forensic AI governance for agentic systems — deterministic interception, real-time telemetry, and EU AI Act 2026 enforcement.

Install

pip install cairo-sdk

Quick Start

from cairo_sdk import TelemetryStream, ValueTracker, RiskPulse

# Initialize telemetry
stream = TelemetryStream(
    value_tracker=ValueTracker(
        annual_turnover_eur=500_000_000,
        usd_per_eur=1.08,
    )
)

# Emit a risk pulse
pulse = RiskPulse(
    pillar="Containment",
    component="prompt_injection",
    sub_component="boundary_check",
    risk_level=0.7,
    eu_ai_act_status="high",
)
stream.emit(pulse)

# Get dashboard summary
summary = stream.value_tracker.dashboard_summary()
print(f"Total intercepts: {summary['total_intercepts']}")
print(f"Risk exposure avoided: ${summary['total_risk_usd']:,.2f}")

Five CAIRO Pillars

Pillar Purpose Module
Containment Boundaries, scope lits, sandboxing cairo_sdk.containment
Attestation Compliance proof, audit trail cairo_sdk.attestation
Interception Pre/post request hooks, middleware cairo_sdk.interception
Resilience Fault handling, retries, fallback cairo_sdk.resilience
Output-Logic Output validation, guardrails cairo_sdk.output_logic

Key Features

  • ValueTracker — real-time EU AI Act fine-avoidance calculation
  • TelemetryStream — high-speed forensic event streaming
  • LogicDriftDetector — behavioral drift detection across agent sessions
  • Deterministic interception — zero-trust validation at every CAIRO pillar
  • Compliance metadata — NIST AI RMF, ISO 42001, EU AI Act mapping

Requirements

  • Python 3.9+
  • pydantic >= 2.0

Documentation

Proprietary — XSData Factory Private Limited. See cairoprotocol.com/trust for terms.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cairo_sdk-1.0.0.tar.gz (46.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cairo_sdk-1.0.0-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

Details for the file cairo_sdk-1.0.0.tar.gz.

File metadata

  • Download URL: cairo_sdk-1.0.0.tar.gz
  • Upload date:
  • Size: 46.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cairo_sdk-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5a615b352376833828a636bf0b5b1e343f036a3f4e353ad34a47dd2b34a26b67
MD5 68cf98e0ec8c9761eb0ef5adfe2c2937
BLAKE2b-256 8646b6eae913ac62bd24b9e6853ed3090a5db2ec5efa4ddc58ac6aa88ea19704

See more details on using hashes here.

File details

Details for the file cairo_sdk-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: cairo_sdk-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 53.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for cairo_sdk-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17d464943ac406a95086d6d29b64adfdeb709ca787e0cc743736fa9f84a37a81
MD5 e6d0941213356a9dd35a179fdf37f5dd
BLAKE2b-256 81efd7b314b26af7912e441dc049f647f50c28b2c229cfd0663f451663179413

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page