Search by

drupal / display_builder_ai_recipe

Drupal-Infrastructure

Adds the Display Builder AI assistant to a Display Builder site, with an AI provider.

Package info

git.drupalcode.org/project/display_builder_ai_recipe.git

Type:drupal-recipe

pkg:composer/drupal/display_builder_ai_recipe

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

1.0.0-alpha1 2026-11-23 15:13 UTC

This package is auto-updated.

Last update: 2026-11-23 14:27:09 UTC


README

Adds the Display Builder AI assistant to a site using Display Builder: an agent that builds displays from a prompt, in the builder's chat panel.

It installs Drupal AI, AI Agents, the AI chatbot, Tool API and Display Builder Tools, and connects OpenAI or Anthropic.\ The assistant needs a chat model able to call tools, so a paid plan and an API key.

Requirements

A site with Display Builder 1.0.0-beta10 or later, such as one built with the Display Builder Bootstrap recipe.

Installation

composer require drupal/display_builder_ai:^1.0@alpha drupal/display_builder_ai_recipe:^1.0@alpha
drush recipe:apply ../recipes/display_builder_ai_recipe

Display Builder AI is in alpha: Composer reads a stability flag from the site's composer.json only, so the command requires it there too.

Drush asks for an API key for each provider.\ Leave both empty to install now and connect a provider later at Administration > Configuration > AI > AI Infrastructure > AI Platform Providers.\ The keys can also come from the openai_api_key and anthropic_api_key environment variables.

The key is stored with the Key module, in configuration.\ Move it to an environment variable or a file key provider before exporting configuration to a shared repository.