Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Cms 2.1.4 Update released for Drupal core (2.1.4)! Release: Drupal 12.0.0-alpha1 First alpha version released for Drupal core (12.0.0-alpha1). Release: PhotoSwipe - Responsive JavaScript Modal Image Gallery 5.0.9 Minor update available for module photoswipe (5.0.9). Release: AI (Artificial Intelligence) 1.4.8 Minor update available for module ai (1.4.8). Release: AI (Artificial Intelligence) 1.3.13 Minor update available for module ai (1.3.13). Release: Moderated Content Bulk Publish 2.0.53 Minor update available for module moderated_content_bulk_publish (2.0.53). Release: Mailchimp 2.2.9 Minor update available for module mailchimp (2.2.9). Release: Mailchimp 3.1.4 Minor update available for module mailchimp (3.1.4). Module Revived: Image field to media 3.0.2 Module image_field_to_media updated after 13 months of inactivity (3.0.2). Security Coverage: Analyze PostHog Module analyze_posthog now has official Drupal security advisory coverage.

AI Policy Gateway

Security covered Drupal 10–11

Part of the AI ecosystem · 297 projects

View on drupal.org

AI Policy Gateway acts as a governance layer for AI requests originating from Drupal. It enforces policies by managing provider routing, privacy checks, and budget controls before sending prompts. The module also offers features like audit logging and optional human approval gates for compliant and safe AI usage.

AI Policy Gateway adds a governance layer for Drupal AI calls, enforcing policy profiles, provider/model routing,
privacy checks, budgets and approval gates before prompts leave the site.

Features

This module provides centralized policy enforcement for Drupal AI. It adds policy profiles, provider/model allow‑deny
rules, privacy inspection, redaction, budget tracking, audit logging, and optional human approval queues.

Enable it when you need safe, compliant AI usage across Drupal AI integrations. Use cases include regulated content
workflows, local-only AI routing, high-risk tool calls, spend control, and provider fallback policies.

Post-Installation

After install, go to /admin/config/ai/policy-gateway. From there you manage gateway settings, policy
profiles, routing rules, model metadata, approval queue and audit reports.

There is no new content type; the module works as a control layer for Drupal AI provider requests. Configure policies
before you enable it for active AI workflows, especially when using AI Agents or regulated content.

Additional Requirements

Requires Drupal 10.3+ or 11 and the ai module. The module also depends on Drupal core system, user,
and datetime subsystems.

Optional integrations improve behavior when related AI ecosystem modules are enabled.

Recommended enhancements include AI Observability/OpenTelemetry, AI Decision Log and AI Context Bridge for richer
logging, decision mirroring and context-aware policy metadata.

Use AI Agents for approval-aware tool/action workflows.

Similar projects

Other Drupal AI modules typically connect providers or add AI-enabled content tools. AI Policy Gateway is different
because it focuses on governance, safe routing, privacy/redaction, budget control and approval workflows rather than
just provider integration.

Supporting this Module

No support links are included in the module README. Add Patreon/OpenCollective or other funding links here if you
want to offer community support.

Community Documentation

No external documentation links are currently included. Consider adding walkthrough videos, demo sites or written
guides when available.

Additional notes: this module is designed as a policy gateway for all Drupal AI requests, not as a standalone AI
provider module.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jul 2026
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.2 Stable 10–11 Jul 21, 2026
1.0.1 Stable 10–11 Jul 19, 2026
1.0.0 Stable 10–11 Jul 19, 2026