Tardigrade Disclosure Widget

An embeddable disclosure badge for AI transparency. One line of code. Five government templates. Multi-framework compliance checking. Works in legacy browsers.

Tardigrade is the implementation layer for AI Enablement Statements. It turns disclosure documents into live, embeddable, regulation-aware components.

What It Does

Tardigrade places a disclosure badge on any page where AI touches a public service decision. The badge tells people what the AI does, its automation level, how to request human review, and what data it uses.

The badge auto-updates when regulatory requirements change. Organizations maintain one configuration; the widget handles compliance formatting.

Installation

CDN (one line)

<script src="https://unpkg.com/@tardigrade-ai/disclosure/widget.min.js"></script>

No dependencies. Works in all modern browsers and IE11. The script adds a disclosure badge to the page automatically.

NPM

npm install @tardigrade-ai/disclosure

Five Government Templates

Each template follows a standard structure: what the AI does, automation level, human review process, how to request review, data inputs, and accuracy metrics.

Template Use Case Human Review
benefits-screener Eligibility checking Required for denials
risk-assessment Scoring and prioritization Required for high scores
document-processor Data extraction Required for exceptions
fraud-detection Anomaly flagging Always reviewed
resource-allocation Distribution recommendations Final approval required

Basic Usage

// Initialize with your configuration
Tardigrade.init({
  agency: 'Department of Health Services',
  system: 'Medicaid Eligibility Screener',
  template: 'benefits-screener',
  automationLevel: 'assistive',
  contactUrl: '/contact',
  reviewUrl: '/request-review'
});

// Validate compliance completeness
Tardigrade.validate();

// Check for updated regulatory requirements
Tardigrade.update();

JavaScript API

Method Purpose
Tardigrade.init(config) Initialize with agency and system configuration
Tardigrade.create(disclosure) Create custom disclosures programmatically
Tardigrade.validate() Check compliance completeness against active frameworks
Tardigrade.update() Fetch latest regulatory requirements

Compliance Frameworks

Tardigrade validates disclosures against multiple regulatory frameworks simultaneously:

The validate() method returns a compliance report showing which requirements are met and which need attention.

Event Tracking

Tardigrade emits events when users interact with disclosure badges. Track when disclosures are viewed, expanded, or when someone requests human review:

Tardigrade.on('disclosure:viewed', function(data) {
  // User viewed the disclosure badge
});

Tardigrade.on('review:requested', function(data) {
  // User requested human review
});