Drupal · 5 min read · Updated

The Drupal AI Module in 2026: What the 1.5 Release Includes, Which Submodules Are Current and How to Set It Up

What the Drupal AI module 1.5 includes, which submodules are current, deprecated or moved to their own projects, and how to set it up with your own AI provider.

Drupal AI module featured

Drupal’s AI support isn’t one module that “adds ChatGPT”. It’s a framework: the AI module provides one common way to talk to AI providers, and a set of submodules uses it to fill in fields, help editors in forms, run chatbots and log what happened. Knowing which parts are current matters, because the project moves fast. Several features that early guides recommend have since been moved out into their own projects or marked for deprecation.

This guide is based on the AI module’s project page and documentation as of November 23, 2026, when the newest stable release was 1.5.3 (released November 19, 2026).

What the Drupal AI module is

The project page describes it as the core technical foundation for using language models in Drupal, with “a focus on foundational tools”. In practice that means three things:

  • One API for many providers. Your site, and every AI submodule, talks to the AI module; the AI module talks to OpenAI, Anthropic, Google Gemini, Mistral, a local Ollama server or one of the other providers. Switching provider is a configuration change, not a rewrite.
  • Operation types such as chat, embeddings, image generation and image-to-image, which providers implement.
  • Submodules that use those operations for editors and site builders.

Versions and requirements

Release lineStatus (Nov 2026)Composer
1.5.x (1.5.3)Current stable, covered by the security teamcomposer require 'drupal/ai:^1.5'
1.4.x (1.4.12)Supported until 1.6.0 is outcomposer require 'drupal/ai:^1.4'
1.3.xUnsupportedUpgrade
1.6.0-alpha1Alpha (adds a decision-making operation type)Not for production

The project page lists 1.5.3 as working with Drupal ^10.5 || ^11.2. The project’s own advice is that the highest minor version is preferred “since it has the most provider abstraction”. The only required dependency is the Key module, which stores your provider API keys.

The submodules, and which ones are current

SubmoduleWhat it doesStatus
AI API ExplorerSend test requests to any provider and operation from the admin UIIncluded
AI AutomatorsFill a field from other fields: on save, by cron, in a batch or when an editor clicksIncluded
Field Widget ActionsAI buttons inside entity forms (suggest a title, summary or tags)Included (new in 1.2)
AI ObservabilityLog every AI request with tokens, errors and timingsIncluded
AI LoggingStore prompts, responses and request detailsIncluded
AI ChatbotThe frontend for running AI assistantsIncluded
AI ECAUse AI in Event-Condition-Action workflowsIncluded
AI CKEditorAI on selected text in the editorMarked deprecated in the 1.5 line
AI Assistants APINow a wrapper around AI AgentsTo be deprecated
AI Search, AI Content Suggestions, AI Translate, AI ValidationsVector search, editing suggestions, translation, AI validation rulesMoved to their own projects

If a tutorial tells you to enable AI Search or AI Translate from inside the AI module, it was written for an older release: install those projects separately.

Set up the Drupal AI module

  1. Install the AI module and Key with Composer: composer require 'drupal/ai:^1.5' (Key comes along as a dependency), then enable AI in Extend or with drush en ai. If you don’t use the command line, Project Browser can install modules from the admin.
  2. Install one provider module. Providers are separate projects, for example drupal/ai_provider_openai or drupal/ai_provider_anthropic. The docs say to “choose and enable an AI Provider module” and configure it according to its own instructions.
  3. Add your API key as a key in Configuration > System > Keys, then select that key in the provider’s settings.
  4. Set default providers per operation type in the AI module’s general settings, so submodules know which model to use for chat, embeddings and so on.
  5. Test in AI API Explorer before switching on anything editors will use. You see the exact request and response and catch key or model errors early.
  6. Turn on AI Observability so you can see token usage per request before the bill arrives.

Three uses worth starting with

Image alt text

Release 1.2.0 added an Image Alt Text Generator automator type. Add an automator to your image field’s alt text so missing alt text is generated from the image, then let editors review it. It saves the most time on sites with large media libraries, and alt text is something editors tend to skip.

Summaries and suggested tags in the form

With Field Widget Actions, an editor clicks a button next to the summary or tags field and gets a suggestion from the body text. Nothing changes until they accept it, which keeps a person in control of published text.

Filling fields in bulk

Automators can run by cron or in a batch, for example to write meta descriptions for hundreds of existing pages. Try it on a copy of the site first: a batch job sends one request per item, and costs add up.

Things to watch

  • Provider maturity differs. The OpenAI, Anthropic and amazee.ai providers have stable releases. Some others were still release candidates and not covered by security advisories when we checked. Look at the provider’s project page before you depend on it.
  • Costs. Every automator run is an API call. AI Observability shows tokens per request; set spend limits in your provider’s console.
  • Review before publishing. Generated text is a draft. Google is fine with AI-assisted content that helps readers, and treats mass-produced pages as spam: see Google’s AI content rules in 2026.
  • Content sent to providers. Field values go to the AI provider you configure. For private or regulated content, choose a provider and region that fit your rules, or a self-hosted model through Ollama.
Filed underDrupal
Rupak Nepali
Written byRupak Nepali

Rupak Nepali is a web developer, manage Webocreation website and the author of six books:
Getting Started with OpenCart Module Development (Packt, 2013),
OpenCart Theme and Module Development (Packt, 2015),
OpenCart 4: Dev Guide for Themes & Extensions (2024),
OpenCart 4: User Manual (2025),
Cloudflare for the Enterprise Website (2026) and
The Technical Web Guide for Marketers (2026).
Rupak has built OpenCart stores and extensions since 2010, has published more than 600 tutorials on Webocreation, and shares free OpenCart extensions on GitHub.
Find Rupak on
GitHub | Amazon | LinkedIn | X | YouTube.

Leave a Reply

Your email address will not be published. Required fields are marked *