Implementing Human-in-the-Loop AI Review in Drupal Content Moderation

About the Author

Ahmad Khader

Vardot's Full-Time Contributor to the Drupal AI Initiative.

Ahmad Khader is a software engineer by training and a Drupal developer at Vardot and the company's full-time contributor to the Drupal AI Initiative. He co-maintains the Document Loader, AI File to Text, AI Agents Debugger, and Unstructured modules on drupal.org, with 86+ contribution credits across the Drupal AI ecosystem. 

FAQs

Human-in-the-loop AI review in Drupal is a content moderation setup where AI drafts or reviews content, but a human editor makes the final publishing decision. Content moves through workflow states such as Needs review, and the AI operates only within guidelines defined in the Context Control Center. AI-first does not mean the AI decides; the human controls the moderation state.

A human-in-the-loop AI review setup in Drupal uses AI Core as the provider foundation, the Context Control Center (ai_context) for guidelines and governance rules, the AI Agents module for task-specific agents, and ECA with AI Integration – ECA to trigger reviews on moderation state transitions. The AI Review module, in development within the Drupal AI Initiative, adds confidence scores and suggestions against your guidelines.

The Context Control Center (CCC) is a Drupal module, official to the Drupal AI Initiative, that stores brand voice, terminology, guidelines, and governance rules as structured context injected into AI interactions site-wide. It reached beta 2 in May 2026 and includes context scoping, usage tracking, and granular permissions. In a human-in-the-loop workflow, the CCC defines the rules every AI agent must follow.

Publishing AI content without human review risks generic low-quality output, factual errors from outdated training data, and incorrect combinations of individually accurate information. AI models assemble content from existing data rather than creating it the way people do, so output that reads well can still be wrong. A moderation state with a human checkpoint catches these failures before publication.

Use multiple task-specific AI agents rather than one agent that does everything. Assign one agent to grammar, another to fact and history verification, each with its own criteria and tools, and trigger only the relevant agent on the workflow transition that needs it. A single monolithic agent produces the generic output human-in-the-loop review is designed to prevent, and adds unnecessary work on states where its checks don't matter.

Join the conversation +