Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 17.24 KB
MD5: 185d0247f6453a50b7d961e2b43e0cca
SHA-1: dc8c9af59e0a43a34531d5b4cd94e8c110e146d8
SHA-256: edef22dc2da5d34e722477570873c44d1d58f1f1a2985585db97a5c852262422
Download zip 24.44 KB
MD5: 3207217e93fc963a56b2bcc2411089ec
SHA-1: 571d6f26dc1b7334dc96989252163d9e2ec79497
SHA-256: eb4c597889988d3771ff7214840cc6ea25684a0d25b8d91f80f23fec141a0976

Release notes

This is the first alpha release of AI Comment Guard. It is functional and
ready for testing on non-production sites. Feedback on bugs, edge cases,
and API behaviour is very welcome via the issue queue.

What's included

  • AI-powered comment moderation via the Anthropic Claude API
  • Three moderation modes: Flag (unpublish for review), Replace (redact harmful phrases), Block (replace entire body)
  • Configurable AI sensitivity: Low, Medium, High
  • Custom rules field — extend the AI prompt with plain-language site policy
  • Auto-unpublish flagged and blocked comments
  • Bypass permission for trusted roles
  • Optional email notification to comment authors
  • Violation logging to Drupal watchdog
  • Status Report warning when the API key is not configured
  • Compatible with Drupal 10, 11, and 12

Known limitations in this release

  • Only the default comment_body field is moderated — comments with custom body fields are not yet supported
  • No automated test coverage yet — being added before beta
  • Moderation runs synchronously on comment submit — high-latency API responses may slow the form submission
  • Only supports Anthropic Claude as the AI provider — multi-provider support planned for a future release

Upgrading

This is the initial release. No upgrade path needed.

Created by: hasmuddin
Created on: 18 Jun 2026 at 15:55 UTC
Last updated: 18 Jun 2026 at 15:56 UTC
New features

Other releases