AI Provenance
This project records and displays AI disclosure and content provenance for Drupal entities, detailing the extent of AI contribution and the models used. It provides a transparency badge that is human-visible and machine-readable, helping to meet regulatory requirements for text transparency.
AI Provenance records and displays editorial AI disclosure and content provenance for Drupal. For any entity — down to the individual revision or field — it captures how much AI contributed and by which model, then renders a transparency badge that is both human-visible and machine-readable.
Why
The EU AI Act's text-transparency obligations (effective August 2026) and everyday editorial trust both require being able to say, clearly and verifiably, when and how AI shaped a piece of content. Existing tools sign media files; AI Provenance fills the gap for node- and field-level editorial text.
What it records
- Contribution level — AI-generated, AI-assisted, human-reviewed or human-written.
- Model and provider that contributed.
- Scope — per entity, revision and optional field, with a coverage measure.
Features
- Recorder service — record provenance for any entity in one call, and query it back.
- Transparency badge — a field formatter and a block render a human-visible label plus a machine-readable schema.org
CreativeWorkJSON-LD (creativeWorkStatus, AIcreator) for crawlers and regulators. - Optional auto-capture from the AI module's generation events.
- Complements AI Decision Log (why a change was made) with the what and how it is labeled on the content.
Requirements
- Drupal 10.3+ or 11
Standalone — the AI module is optional (used only for auto-capture).
Installation
composer require drupal/ai_provenanceEnable the module, choose which content is tracked in its settings, and add the badge via the field formatter or block.