Build with AI¶
An AI agent can build displays for you: place components, fill their content, move or remove them. Two companion projects provide it, and both work on top of Display Builder.
Two ways in¶
The chat in the Builder. Display Builder AI adds an AI chat panel to every Builder. Ask it in plain language for a page, a template or one component, or attach a mock-up image to rebuild. It runs on Drupal AI and needs an AI provider with a chat model able to call tools.
A local agent over MCP.
Display Builder Tools
gives an agent such as Claude Code the operations a person uses in the
Builder. The agent connects through
MCP Server and
MCP Server Tool Bridge.
Drush runs the same tools with tool:run.
The chat uses the tools of Display Builder Tools too, so both ways share the same operations.
What both share¶
The agent acts as a Drupal account, with the same access as a person in the Builder: nothing it could not do by hand. Every change is a draft in the Builder history, under that account. Nothing is published: a person reviews the draft and publishes it from the Builder.
Give the agent its own account, with only the permissions it needs. Never run it as user 1: the account is what limits the agent and what the history shows. See Security model for the permissions.
Seeing changes live¶
The chat refreshes the Builder it is open in by itself.
A local agent changes the display from outside the Builder. An open Builder shows those changes live only when its profile enables the Real-time collaboration island. Otherwise, reload the Builder to see them. The Default profile ships with the island off, the profile of the Bootstrap recipe with it on.
Setup¶
Follow the README of each project for requirements, permissions, providers and agent setup: