Compliance Rail
SDK & API

Compliance Rail SDK

Build compliant AI applications with automated regulatory checks. HIPAA, SOC 2, GDPR, and custom frameworks supported.

The Compliance Rail ensures all messages and governance actions meet regulatory requirements before execution.

Supported Frameworks

Pre-built compliance modules

HIPAA
Healthcare data compliance
SOC 2
Security and availability controls
GDPR
EU data protection regulation
CCPA
California privacy law

Key Features

Built-in compliance capabilities

Automated Policy Checks
Messages validated against compliance rules
Audit Trail
Complete governance log for compliance reviews
Custom Rules
Define organization-specific compliance policies
Real-time Validation
Sub-second compliance checks at message time

Quick Start Example

Using the Compliance Rail SDK

import { ComplianceRail } from '@ioi/compliance-rail';

const rail = new ComplianceRail({
  framework: 'HIPAA',
  rules: ['phi-protection', 'audit-logging']
});

// Validate message before sending
const result = await rail.validate({
  message: aiResponse,
  context: { patientId: '12345' }
});

if (result.compliant) {
  await sendMessage(aiResponse);
} else {
  console.error('Compliance violation:', result.violations);
}

Documentation

Comprehensive guides for implementing compliance rails in your applications.

View Docs →

SDK Examples

Sample code for common compliance scenarios and integrations.

Browse SDKs →

API Reference

Complete API documentation for the Compliance Rail endpoints.

API Docs →

Custom Compliance Frameworks

Enterprise-specific compliance requirements

Need a custom compliance framework for your industry? IOI can work with your legal and compliance teams to build tailored rails that meet your specific regulatory requirements.

Custom Use Cases
  • • Financial services regulations
  • • Government and defense standards
  • • Industry-specific certifications
Implementation Support
  • • Compliance team collaboration
  • • Legal review and documentation
  • • Ongoing rule maintenance

Compliance Notice: While IOI's Compliance Rail provides automated checks, ultimate regulatory compliance is the responsibility of the implementing organization. Consult with legal counsel for your specific use case.