How to get the most out of Drupal AI

We recently ran a webinar introducing Drupal AI.

In the session, Laurie Sgroi and Simon Chapman from our AI team, used a LocalGov Drupal microsite to demo Drupal AI, showing what Drupal's AI tools can do. It included an introduction to setup through configuration (rather than custom code) and four AI tools.

We covered:

  • How to set up providers
  • AI Automators can fill in or update content, such as summaries or tags
  • AI Alt Text suggests image descriptions that your team can check and edit before publishing
  • The PDF/Docs Importer turns PDF documents into web pages you can edit in Drupal
  • AI Observability lets you see what the AI is doing on your site, so you stay in control

The full recording is below, followed by the main points.

How Drupal AI fits together

The AI module sits in the middle as a framework. On one side, you plug in an AI provider. On the other, you plug in the features you want.

For the demo, we used Mistral, a French company that trains and hosts its own models. You could just as easily connect ChatGPT, Claude or another provider with an endpoint and an API key.

Because features and providers are separate, you can swap providers without redoing your setup. You can also match models to tasks, using small, cheap models for simple jobs and saving larger ones for work that needs them.

What we demonstrated

AI automators

Simon showed how an automator can be attached to any field on a content type. On a news article about the fictitious Scarfolk Festival of Winter Lights, one click generated a short, neutral summary. Another filled in the metatags. A third suggested category tags from the body text (or would have, if the demo had behaved).

Each automator runs from a prompt you write in the same screen where you manage fields. If you've edited a Drupal content type before it'll feel familiar.

AI image alt text

Good alt text matters for people using assistive technology and for anyone on a poor connection. It's also easy to skip when you're uploading dozens of images.

Laurie uploaded a profile photo, and the module suggested alt text in seconds. The first version mentioned a 'thoughtful expression', which a profile picture doesn't need, a small adjustment to the prompt fixed that.

The module can also bulk generate alt text for every image that's missing it, and runs well on a very small model, so the cost is close to nothing. Though it won't improve poor alt text that already exists

LocalGov Publications Importer

Councils publish a lot of PDFs. They're hard to read on a phone and often inaccessible. Turning them into proper web pages is slow, tedious work.

The LocalGov Publications Importer, built by Southwark Council with the agency Chicken, takes much of that work away. Its standard pipeline splits a PDF into pages of plain text. The AI pipeline adds headings, lists, tables and images in the right places. The project won a Digital Leaders AI Impact Award in 2026.

It isn't perfect. Laurie's demo still had a stray 'page three' to delete, demonstrating that an editor still needs to review every page.

AI observability

This is the part your information governance team will want to see. The AI module logs every request to a provider, showing which model was used, how many tokens it took and what it cost.

You can also add guardrails. These can redact sensitive data before a request leaves your site, or use a moderation model to flag anything that shouldn't get a response.

What we learned

The tools are useful and quicker to set up than we expected. They aren't hands-off. Anything residents will see still needs a person to check it.

Choosing a model is a trade-off between cost and accuracy. Small models are fine for alt text and summaries. Long documents need something larger.

The ecosystem is moving fast, too. In the Q&A we touched on AI search, chatbots for editors or visitors, and Context Control Center, which keeps your style and tone guidance in one place for every AI feature to use.

We're still learning about all of this ourselves, and we'd rather share as we go.

Want to talk it through?

If you'd like to discuss how any of these tools might work for your team, email us at hello@agile.coop.