This project is not covered by Drupal’s security advisory policy.

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 CreativeWork JSON-LD (creativeWorkStatus, AI creator) 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_provenance

Enable the module, choose which content is tracked in its settings, and add the badge via the field formatter or block.

Project information

  • Created by cesarmsfelipe on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases