Provenance Trail
AI
Transparency
Complete audit trail showing data lineage, AI decision paths, and cryptographic verification. Provides full transparency and compliance for enterprise AI governance.
Interactive Preview
Explore a complete AI decision workflow with data provenance
Provenance Trail
4 steps • Complete audit trail with data lineage
DATA INGESTION
→ Q4 Sales AnalysisData Pipeline12/1/2024, 10:30:00 AM
MODEL INFERENCE
→ Q4 Sales AnalysisAI Agent (claude-sonnet-4-20250514)12/1/2024, 10:31:15 AM87% confidence
HUMAN APPROVAL
→ Q4 Sales AnalysisSarah Chen12/1/2024, 10:35:22 AM
EXECUTED
→ Q4 Sales AnalysisStrategy Engine12/1/2024, 10:36:05 AM
Cryptographically verified • Immutable audit trail
Last updated: 12/18/2025, 6:52:18 AM
Features
- Complete data lineage: Track every step from data ingestion through AI processing to final execution
- Cryptographic verification: Each step includes hash verification for immutable audit trails
- Actor tracking: Distinguish between system, AI, and human actions with visual indicators
- Model versioning: Track which AI models and versions were used at each step
- Data quality metrics: Monitor data quality scores and row counts throughout the pipeline
- Searchable timeline: Filter and search through audit trail events
- Export capabilities: Export provenance data in JSON, PDF, or CSV formats
Installation
Import the ProvenanceTrail component and provide an array of steps representing your audit trail. Each step should include actor, action, timestamp, and optional data sources, outputs, and verification hashes.
// Example usage
import { ProvenanceTrail } from '@/components/ai/provenance-trail'
const steps = [
{
id: 'step-1',
timestamp: '2024-12-01T10:30:00Z',
action: 'data_ingestion',
actor: { type: 'system', name: 'Data Pipeline' },
target: 'Analysis Job',
sources: [
{
name: 'sales-data.csv',
rows: 45000,
quality_score: 0.98,
hash: 'sha256:abc123...'
}
],
hash: 'sha256:verified...'
},
// ... more steps
]
<ProvenanceTrail
steps={steps}
visualizationMode="timeline"
searchable={true}
verifiable={true}
onExport={(format) => exportData(format)}
onVerify={(stepId, verified) => handleVerification(stepId, verified)}
/>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| steps | Step[] | [] | Array of provenance steps |
| visualizationMode | 'timeline' | 'flowchart' | 'list' | 'timeline' | Visualization style |
| searchable | boolean | true | Enable search functionality |
| verifiable | boolean | true | Show hash verification |
| onExport | (format: string) => void | - | Called when exporting data |
| onVerify | (stepId, verified) => void | - | Called after hash verification |