All guides Drupal + AI

The Drupal AI Module, Explained

What's in the Drupal AI module suite, what actually works in production, and what still needs engineering work.

10 min read · Updated November 1, 2026

The Drupal AI module (project machine name ai) is the foundation of a larger family of Drupal AI modules: a framework plus hundreds of contributed projects that bring LLM-powered features into Drupal. The project was created on drupal.org in March 2023. As of our check on 25 October 2026 its project page lists 25,644 sites using it, about 20 maintainers, and supporting organizations that include Acquia, FreelyGive, Soapbox, Velir, Nuvole, QED42, Salsa Digital and 1xINTERNET. Stable releases are covered by the Drupal Security Team and work with Drupal ^10.5 || ^11.2.

Most people who search for “the Drupal AI module” actually mean this family. The pieces, per the project page:

PieceWhat it doesWhere it lives
AI (core framework)Provider abstraction, operation types (chat, embeddings, and so on), plugin systemai
Provider modulesOne per AI platform. The page says Drupal AI connects to “95 and counting” platforms, including Anthropic, OpenAI, Google Gemini and Vertex, Azure, AWS Bedrock, Hugging Face and Ollamae.g. ai_provider_anthropic, ai_provider_openai, ai_provider_ollama, ai_provider_azure
AI AgentsA framework for agents that call Drupal tools. Needs a provider that supports tool calling. The ai page says agents move into AI core as of 2.0ai_agents
AI SearchSemantic (vector) search with a Search API backend; vector databases include Postgres, Pinecone, Milvus, MariaDB and SQLiteai_search
AI Content SuggestionsIn-form editorial help: summarise, suggest title, suggest taxonomy tags, alter tone, evaluate readability, moderateai_content_suggestions
AI AutomatorsNo-code chains that fill one field from another. It follows AI Interpolator, which now points users to the AI modulepart of ai (old project)
AI Translate and AI TMGMTAI translation, and a Translation Management Tools plugin. The ai page lists AI Translate among the modules moved to standalone projectsai_translate, ai_tmgmt (still beta)
AI ObservabilityLogging and tracing through OpenTelemetrypart of ai
AI AssistantsA wrapper around AI Agents. The project page says it “Will be deprecated”part of ai

If you are weighing the Drupal AI modules for a real project, read the maturity labels on each project page before you plan around one. Several of the modules above are still alpha, beta or release-candidate, and the table is a map of what exists, not a recommendation to install all of it.

Drupal AI modules: what is in core ai and what moved out

The names get confusing because the project has been slimming down. When we re-read the ai project page on 1 November 2026, it listed these stable releases: 1.5.2 and 1.4.11, both dated 28 October 2026, with 2.0.x still in development. Here is how it groups the Drupal AI modules:

GroupModules the page listsWhat it means for you
Submodules inside aiAI Observability, AI API Explorer, AI Automators, AI Chatbot, AI CKEditor, AI AssistantsEnable them from the ai package. The page marks AI Assistants as “Will be deprecated”, and the 1.5.0 release notes include “Deprecate AI CKEditor”
Moved to standalone projectsAI Search, AI Content Suggestions, AI Translate, AI Validations, AI ECA, AI Logging, Field Widget ActionsInstall each with its own Composer command and track its own releases
Coming in 2.0AI AgentsThe page says agents “Will be moved into the AI Core module as of 2.0”
ProvidersOne module per platform: the page names amazee, Anthropic, AWS Bedrock, Azure, Google Gemini, Google Vertex, Hugging Face and OpenAI, and says “95 and counting” in totalInstall only the provider modules you use
Vector databasesThe page names amazee.io, Azure, MariaDB, Milvus, Pinecone, Postgres and SQLiteNeeded for AI Search and other retrieval features

Practical reading of that table: a project that says “we use the Drupal AI module” usually means the ai core, one or two provider modules, and a handful of standalone modules such as AI Content Suggestions or AI Search. Check each project’s release labels, because the standalone modules do not share the core package’s maturity. For the search side, see our Drupal AI search and SEO guide.

What actually works in production

Not everything in the ecosystem is equally ready. Here’s what we’ve actually shipped to clients, and what we’d still approach carefully.

Works well ✅

Content suggestion workflows. AI-generated summaries, title suggestions, tag suggestions and tone changes (all in ai_content_suggestions), plus meta descriptions via the separate Metatag AI module, are the low-risk, high-value features. They save editors time, failures are obvious (the editor can just reject a bad suggestion), and the provider abstraction means you can swap OpenAI for Claude or Gemini without touching the integration code.

Embedding-based search. ai_search plugged into Search API gives you semantic search across your content. The indexing step is slow and you need a vector database (Postgres is one of the supported options), but results can match meaning rather than exact keywords. Check the version you plan to use: when we looked, the AI Search page listed an alpha as its latest release and recommended the 1.x branch for production. See our guide to Drupal AI search and SEO.

Translation. Multi-provider translation via ai_tmgmt (currently a beta release) works well for first-pass translations that a human reviewer then polishes. Don’t ship AI-translated copy without review.

Mixed results ⚠️

AI Agents. The agent framework is ambitious and the pieces are there, but the developer experience is still rough. We’ve built production agents, but they required a lot of custom tool definitions and prompt engineering. Approach agents as “build a custom thing on top of the framework,” not “install a module and you’re done.”

Chatbots via the AI Assistants API. The backend plumbing works, but the frontend UX is up to you. If you want a chatbot that actually grounds in your site content and captures leads to a CRM, plan on writing the frontend from scratch — the module gives you the API, not the chat UI.

Not ready for production ❌

Layout Builder + AI canvas. The idea is compelling (describe a page, AI builds a Layout Builder layout), but we’ve hit consistency issues. Use for demos, not real editorial workflows. Reassess in 6-12 months.

Code generation modules. Several modules promise to generate Drupal code from natural language. They’re neat toys but we don’t ship them to production.

How we actually use the AI Module

Most of our production deployments follow this pattern:

  1. Start with the provider abstraction. Always route AI calls through ai_provider_* modules, never hit OpenAI’s SDK directly from your custom code. This gives you swap-ability and one place to handle rate limits, logging, and fallbacks.

  2. Put observability in first. We log every AI request with token count, latency, model, and outcome. You will need this data when debugging quality issues and when optimizing costs. Add it before you build the feature, not after.

  3. Use ai_content_suggestions for editorial AI. Custom node form integrations almost always reinvent this module badly. Use it, extend it, don’t replace it.

  4. Build agents from scratch, but use ai_agents as the harness. The agent framework gives you a sensible structure for tool definitions and conversation state. Everything else (system prompt, tool set, safety guardrails) you’re going to build custom anyway.

  5. Don’t skip evals. Set up at least a handful of test inputs with known-good outputs, and run them against every provider/model swap. A provider change that looks identical on a spot-check can degrade subtle outputs in ways you won’t notice for weeks.

Costs to plan for

The module itself is free. The LLM calls are not.

Provider bills are usage-based, typically per token for chat models and per token for embeddings, so cost scales with how much content you send and how often. Editorial features (summaries, titles, descriptions) are low-volume and scale with how much your editors publish. AI search has an up-front indexing cost for your existing content and a small per-query cost afterwards. A public chatbot is the one that can surprise you, because cost follows visitor traffic. Check each provider’s current pricing page and put a spend cap in place before launch.

The real cost is engineering time, not API calls. Teams routinely under-budget integration effort because “it’s just an API call.” It isn’t — production AI means observability, evals, fallbacks, prompt versioning, safety filters, and ongoing tuning.

Should you add the AI Module to your Drupal site?

Yes, if:

  • You have specific editorial workflows that will benefit from AI assistance (translation, alt text, summarization, classification).
  • You can assign one engineer to own the AI integration — not just set it up, but keep it tuned.
  • You’re willing to budget for observability and evals up front.

No, if:

  • You want to “add AI to Drupal” as a strategic initiative without a specific use case. You’ll end up with five half-working features that nobody uses.
  • You don’t have engineering capacity to maintain it. AI features drift — providers update their models, prompt behavior changes, costs move. Without someone owning the integration, it’ll rot.
  • You’re hoping it’ll solve a content quality problem. AI makes good editorial teams faster; it doesn’t turn bad editorial teams into good ones.

TL;DR

The Drupal AI module ecosystem is real, mature enough for production in specific places (content suggestions, search, translation), and ambitious in places that are still rough (agents, chatbots, Layout Builder AI). The right approach is to pick one or two concrete editorial problems, use the existing modules as a framework, and invest in observability from day one.

We build production AI features on Drupal. If you’re planning an AI integration and want an honest read on what’s ready and what isn’t — tell us about your project.

Building something decoupled?

We'll give you an honest read on whether decoupled Drupal is the right call for your project.

Start a conversation