09 Jun 2026
Drupal.org aggregator
Dries Buytaert: Do AI coding agents recommend Drupal?
AI coding agents do not necessarily evaluate software the way people do. They often reward legibility before capability: the path that is easiest to complete and verify can beat the path with the better long-term architecture.
Yesterday, I wrote about this pattern in "Friction, abstraction and verification". Today I wanted to see what it means for Drupal.
Drupal's strengths line up unusually well with what AI agents need from a CMS: structured content models, explicit relationships, granular permissions, workflows, configuration management, and clear APIs that expose how the system works. In "Why Drupal is built for the AI era", I explained why that matters.
In short, agents work best when they can inspect the system, reason about its state, and make changes with clear feedback. Drupal gives them a strong foundation for that, but that is only part of the story.
AI agents also have to get Drupal running, find the right documentation, choose modules, change configuration, write Drupal-specific code, recover from errors, and verify the result. Every unclear step costs time, tokens, and confidence.
To see how an AI agent looks at Drupal, I ran a small field test with Claude Code using Opus 4.7, a 1M context window, and thinking set to "high". I gave it a website scenario, asked it to rank the best technology choices for that scenario, and then asked it to explain where Drupal fit.
This is not an academic benchmark, and a single answer from a single agent should not be over-interpreted. But it is still a very useful signal.
I plan to rerun the same prompt once a year. I'm publishing the full prompt and response so we can track how the answer changes as Drupal, large language models, agent harnesses, and competing platforms evolve.
The prompt
You are an AI coding agent that helps users set up, configure, and/or
develop websites.
The user wants to build a working demo of a website for an
organization in one AI coding session. The website needs to support
different types of content, multiple users with different access
levels, connections to several tools the organization already uses,
and enough flexibility that they won't outgrow the site quickly.
Answer from your perspective as an AI agent. Answer accurately and
honestly. Keep the full answer under 700 words.
1. What are your top 3 technology recommendations for this project?
Rank them and give one brief sentence explaining each choice.
2. Would you recommend Drupal for this project? Why or why not?
3. What are the top 3 reasons to choose Drupal?
4. What are the top 3 reasons not to choose Drupal?
5. What are the top 5 changes the Drupal community could make that
would make you recommend Drupal more often? For each, explain what
barrier it removes.
6. Finish this sentence: "AI coding agents will recommend Drupal more
often when …"
The answer
Answering directly as an AI coding agent - no skill applies here, this
is a perspective question.
1. Top 3 technology recommendations (ranked)
1. Next.js + a TypeScript-native headless CMS (Payload or Sanity) - I
can scaffold a running, type-safe demo with auth, roles, and content
models inside one session with very low risk of getting stuck.
2. WordPress - enormous training data, a plugin for every integration,
and "working demo in one session" is its native habitat.
3. Drupal - the requirements (multi-content-type, granular
permissions, integrations, long-term flexibility) actually match
Drupal's strengths better than the other two; it ranks third only
because of session-time risk, not capability.
2. Would I recommend Drupal here?
Yes, conditionally. The brief reads like a Drupal brief: structured
content, role-based access, integrations, "don't outgrow it." I'd
recommend it when the user signals a multi-year horizon or editorial
complexity. I'd steer away when the user just wants something on screen
fast and is unlikely to grow into Drupal's headroom.
3. Top 3 reasons to choose Drupal
- Entity/field system is genuinely best-in-class for content modeling
- fewer regrets two years in.
- Roles, permissions, and workflows are first-class, not bolted on.
- Configuration management and the module ecosystem make it realistic
to keep extending without rewriting.
4. Top 3 reasons not to choose Drupal
- Setup cost eats the session. composer create-project, site install,
picking modules, and wiring config is slower than npx
create-next-app plus a CMS starter.
- My training data is thinner and older for Drupal 10/11 than for
Next.js or WordPress. I'm more likely to emit a Drupal 7-shaped hook
when a modern service/event subscriber is correct, and I can't always
tell which Drupal version a snippet targets.
- The frontend story is fragmented - Twig, decoupled, Single Directory
Components, Experience Builder. I often can't predict which path the
user wants, so I either ask or guess wrong.
5. Top 5 changes that would make me recommend Drupal more often
1. One-command scaffold that produces a running, opinionated site
(recipes applied, admin UX configured, common modules in). Removes
the "what do I install and in what order" decision tree that burns
session time.
2. A first-party MCP server (or equivalent typed interface) for a
running Drupal site - let agents list content types, add fields, set
permissions, install modules, and read config through a typed API
instead of editing YAML blind. Removes the guessing and lets me
self-correct from real state.
3. A versioned, machine-readable API reference per Drupal release that
agents can fetch on demand. Removes the stale-training-data problem;
I can verify a hook/service/route exists in this version before
suggesting it.
4. Recipes as the obvious primary primitive for "build a site that does
X." Removes module-hunting and config-stitching - I'd compose
recipes the way I compose npm packages.
5. A short, current, example-first "Drupal for agents" doc surface
covering the 80% path: custom module, custom entity, custom block,
integration, decoupled frontend. Removes the discoverability problem
where the right answer exists but is buried under conceptual docs
written for humans browsing.
6. Finish the sentence
AI coding agents will recommend Drupal more often when scaffolding a
working, opinionated Drupal site takes one command and one minute, and
when we can introspect and modify that running site through a typed
interface - so we're reasoning about real state instead of guessing at
YAML from stale training data.
My takeaways
The agent saw Drupal's strengths, but it also saw too many ways to get stuck. What held Drupal back was not capability. It was what the agent called "session-time risk".
I'll admit, that was frustrating to read. But it was not surprising.
Drupal's strengths often appear too late in the evaluation process. Too often, the "aha" moment comes after setup, configuration, and several decisions that can already feel like friction. AI agents have even less patience for hidden strengths.
Agents prefer tight feedback loops. They need to install the software, configure it, inspect the running site, make a change, and verify that the change worked. When that loop is slow, ambiguous, or hard to recover from, they choose something else.
This is exactly the problem Drupal CMS, formerly known as Starshot, was created to address. Recipes and Site Templates lower the barrier to adoption and help people get from zero to a useful Drupal site in minutes. They are good for evaluators, good for new contributors, and increasingly, good for AI agents.
But the agent did not mention Drupal CMS or Site Templates, only Recipes. Most likely, Drupal CMS is still too new compared to Drupal Core to have much weight in the training data that large language models draw from. And even when Recipes and Site Templates exist, they may not yet be easy enough for an agent to find, select, and apply programmatically.
That needs to change. Recipes and Site Templates should become the obvious starting point for common site patterns, so an agent does not have to choose modules, stitch configuration together, and guess its way to a working Drupal site.
Other important work is underway as well: Drupal Core's API surface has been moving toward more typed, discoverable interfaces, and yesterday, Drupal Core added a first-party CLI with commands for applying Recipes.
I really want Drupal to be excellent at the first-session loop. Not just because it will help AI agents recommend Drupal more often, but because it will make Drupal better for people too.
I'm optimistic that we can. Drupal's gap is the first session, and we are already working to close it. The opposite gap is harder to close: retrofitting deep architecture, typed interfaces, structured content, governance, and flexibility into a simpler system. The Drupal community knows this because we spent more than a decade doing that work, and it was hard.
I'll run this experiment again next year and share what changed. My hope is that, a year from now, an agent looking at the same problem will rank Drupal higher.
In the meantime, I'd love help from anyone who wants to improve Drupal's first-session experience. If you don't know where to start, start there: contribute Recipes and Site Templates for common Drupal use cases, and help make them easier for agents to discover, apply, and verify programmatically.
09 Jun 2026 10:18am GMT
Drupal Core News: The Project Update Bot is refreshed for Drupal 12 readiness
Drupal 12 is coming later this year. As with previous major releases, the contributed ecosystem will require updating for breaking changes . Thousands of modules and themes will need their deprecated API uses updated before they are ready. Doing that by hand, across all of contrib, would cost the community an enormous number of hours.
That is the job the Project Update Bot exists to do. We have refreshed it, and it now targets Drupal 12 readiness: it scans contributed projects automatically and opens issues with patches that fix deprecated API uses for you.
If you are a maintainer, you should already know the bot. For the Drupal 12 cycle, our rector rules grew to cover more than 80% of the deprecated API uses introduced in that release. Using our proven toolset: Gábor Hojtsy's Upgrade Status for the analysis, and Drupal Rector for the fixes, now maintained primarily by SWIS and the glue that puts it all together Project Analysis.
Two things improved this round. Rule coverage is more complete, some of that came from AI-generated rector rules based on Dries Buytaert's drupal-digests. And submodule dependencies are now resolved during analysis. In the earlier cycles we scanned submodules but not their dependencies, which caused failed scans and false errors. That is fixed now, so results are cleaner and considerably more accurate.
Patches arrive as either GitLab or Drupal.org issues. The two work a little differently, and every issue the bot opens explains how to apply the patch, pause the bot, or close it. You stay in control of your project throughout.
If you have questions or want to help, we are in #d12readiness on Drupal Slack. And if a patch looks wrong, tell us so we can fix the rule for everyone, open an issue in the Drupal Rector or project_analysis queue.
The bot builds on a lot of other people's work: Upgrade Status, Drupal Rector, and the AI-generated rules derived from drupal-digests. Thanks also to the maintainers who let us test the refreshed bot on their repositories.
09 Jun 2026 10:11am GMT
Drupal AI Initiative: The Stable Triangle: Why AI is the Ultimate Stress Test for Your Business
This blog post summarizes the key insights from the CX Decoded podcast episode featuring Dries Buytaert, the founder of Drupal and Executive Chairman of Acquia.
In the fast-moving world of digital experience, few names carry as much weight as Dries Buytaert. As the creator of Drupal, he has spent over two decades navigating the evolution of the web. But in his latest appearance on the CX Decoded podcast, Dries issued a candid warning: AI isn't just another tool - it is a fundamental disruption that is stress-testing every business model in its path.
During the conversation, Dries broke down the "Stable Triangle" of open source and explored why the rise of AI is creating a period of both incredible excitement and existential fear.
The Disruption of the "Stable Triangle"
For 20 years, the Drupal ecosystem has relied on three balanced sides:
- The Product: The Drupal software itself.
- The Ecosystem: The digital agencies that build on the platform.
- The Community: The contributors who maintain the code.
AI is currently hitting all three sides simultaneously. It is changing user expectations for what a CMS should do, challenging the hourly-billing model of agencies, and flooding the contributor community with "AI slop."
The Rise of "AI Slop" and the "Can-tribution"
One of the most provocative points Dries made was the distinction between a contribution and a can-tribution.
Because AI lowers the barrier to entry, anyone can now generate a thousand lines of code and submit it to an open-source project. This sounds like a win for innovation, but Dries warns of "AI slop" - low-quality, AI-generated code that lacks context or security rigor. For human maintainers, reviewing this influx of code is exhausting.
The takeaway: Just because you can contribute doesn't mean you should if you don't understand what the AI has produced. Quality and accountability must remain human-led.
Agencies: Moving Beyond the Hour
The agency world is facing a reckoning. If an AI can generate a website or a specific feature in seconds, charging by the hour becomes a race to the bottom.
Dries argues that agencies must evolve. Their value will no longer be in the "writing of code," but in strategic configuration, high-level architecture, and accountability. In an AI world, clients aren't paying for labor; they are paying for a partner who can guarantee that the AI-generated solution actually works, is secure, and achieves business goals.
The Broken Economics of AI Crawling
Dries also touched on the "broken deal" between publishers and AI companies. Currently, AI crawlers extract value from publishers' content to train models, often giving nothing back in return - no traffic, no revenue, and no attribution.
He highlighted a potential shift toward marketplace models (similar to what companies like Cloudflare are exploring) where publishers can set terms for how their data is used. For mid-sized publishers, this might be the only way to survive the "extraction economy."
A Cautionary Tale: The Tailwind Labs Lesson
The podcast concluded with a sobering example: Tailwind Labs. Dries used this as a "canary in the coal mine" for business models. When the thing you sell (like a CSS framework or specific design components) can be perfectly specified and generated by an AI prompt, your original value proposition disappears.
The Final Verdict
Dries's message to CX leaders and developers is simple: Prototype fast with AI, but build for the long term with a robust CMS. AI is an incredible accelerator for those with expertise, but a dangerous trap for those looking for shortcuts. To survive the stress test, businesses must move away from selling "tasks" and start selling "results and reliability."
To hear the full conversation, check out the CX Decoded podcast episode on CMSWire.
09 Jun 2026 9:25am GMT
