Handing an AI the admin password to your website is the CMS version of letting a teenager borrow the car on their first day with a learner's permit. The Site Agent module for Drupal takes a more sensible approach: the AI can suggest the route, but a human still holds the keys.
A Chat Window With a Built-In Brake Pedal
Site Agent, a contributed module whose version 1.0.4 shipped on November 17, lets editors and admins propose changes to Drupal content and configuration through an AI chat interface. Content edits show up as previews and can be saved as drafts. Configuration changes appear as YAML diffs before anything is applied, and config-writing tools are switched off entirely when configuration is locked.
Admins decide per tool which operations run automatically and which need human confirmation. Every tool call leaves an audit record with its arguments, approval status, who made the decision and what happened, stored separately from chat transcripts. Publishing remains a separate step for users who have permission to publish. The module builds on Drupal's AI module, Tool API and Tool Belt, and supports Drupal 11.3 and later as well as Drupal 12.
Approval Is Not a Promotion
The most important design choice is easy to miss. According to The Drop Times, "approval does not grant additional Drupal permissions." Before an approved action runs, Site Agent rechecks the arguments and the account's permissions, and it can still refuse if access has changed. Clicking "yes" in a chat window can't quietly hand someone admin rights, which is exactly the kind of escalation path security teams lose sleep over.
It still has caveats. Conversation history, system prompts and tool results are sent to whichever AI provider you configure, so data governance is your responsibility. The optional PHP submodule's read-only check "should not be treated as a guarantee of isolation," and the MCP submodule, which lets external AI clients use the tools, is experimental. Treat the PHP and MCP features as power tools, not defaults. Version 1.0.4 also changed approval behavior: under the current Tool API integration, only tools that declare themselves destructive are forced to ask on every call. Admins should check their per-tool settings after upgrading rather than assume the old prompts still appear.
The interesting part of AI in a CMS is the approval workflow around the model, and Drupal's permission system turns out to be a good foundation for it.
If you want AI-assisted editing on your Drupal site with approvals and permissions set up properly from day one, our team can help you plan it.
Source: The Drop Times