drupal / plus_suite_ai
Layers the Plus Suite AI page-building assistant on top of Plus Suite: JSON entity serialization for AI, the in-page AI editing tool, agent memory, and an optional Anthropic provider you configure with your own API key.
Package info
git.drupalcode.org/project/plus_suite_ai.git
Type:drupal-recipe
pkg:composer/drupal/plus_suite_ai
Requires
- drupal/ai: ^1.4
- drupal/ai_agent_memory: ^1.1
- drupal/ai_agents: ^1.3
- drupal/ai_plus: ^1.1
- drupal/ai_provider_anthropic: ^1.3@beta
- drupal/core: >=11.3 <11.5
- drupal/gemini_provider: ^1.0
- drupal/key: ^1.19
- drupal/plus_suite: ^2.0
- league/commonmark: ^2.0
Requires (Dev)
- drupal/core-dev: ^11.3
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Deprecated. This project has been folded into Daedalus: the work continues as the daedalus_recipe project (its ai/ site recipe). This branch receives no further development. The released 1.0.x branch is unaffected and keeps serving existing sites.
Introduction
Plus Suite AI is a Drupal recipe that layers an AI editing assistant on top
of the Plus Suite page builder. It applies the drupal/plus_suite recipe
first, then installs the provider-neutral AI editing layer and the
providers that make it work:
- The AI framework: AI, AI Assistant API, AI Chatbot, and AI Agents.
- Entity Blueprint AI, the JSON serialization layer through which the agent reads and edits pages.
- AI Plus, the in-page assistant and chat sidebar in Edit Mode.
- AI Agent Memory, enabled for the shipped agent so a conversation carries its state across turns.
- The
plus_suiteagent and assistant configuration. - Anthropic (Claude) as the default chat provider, with prompt caching on, plus the Claude-specific context formatting submodules.
- Google Gemini as the default text-to-image provider for image generation in the page builder.
Each provider is its own ingredient and ships an empty key: nothing talks
to a provider until you add an API key. Image generation ships switched
off. The use ai assistant permission is granted to the Plus Suite Editor
role.
Requirements
- Drupal core 11.3 or 11.4 (
>=11.3 <11.5, the minors the suite is tested on). - Plus Suite (
drupal/plus_suite), which this recipe applies itself. - Pulled in by
composer require: AI, AI Agents, AI Plus, AI Agent Memory, Key, the Anthropic provider, and the Gemini provider. - An Anthropic API key for chat, and a Google Gemini API key if image generation is wanted.
Installation
From the root of a Drupal project:
composer require drupal/plus_suite_ai
cd web
php core/scripts/drupal recipe ../recipes/plus_suite_ai
With Drush installed, drush recipe ../recipes/plus_suite_ai does the
same. There is no need to apply Plus Suite first; this recipe includes it.
To leave a provider out, apply the ingredients you want instead of the
umbrella: ingredients/plus_suite_ai is the provider-neutral core, and
ingredients/plus_suite_ai_anthropic and ingredients/plus_suite_ai_gemini
are the provider layers. With your own provider, apply the core ingredient
and set the default chat provider yourself.
Configuration
- Go to Administration > Configuration > System > Keys
(
/admin/config/system/keys) and paste your Anthropic API key into theanthropickey. The chat assistant is live once the key is saved. For image generation, paste your Gemini API key into the
geminikey and turn on the site-wide switch:drush config:set ai_plus.settings image_generation_enabled trueEach editor then has a "Generate images" toggle in the Edit Mode settings sidebar; when it is off, a placeholder image is used instead.
- The shipped keys use the configuration key provider, which stores the value in config. For a production site, edit each key and switch it to a provider such as an environment variable.
The default chat and text-to-image providers can be changed at
Administration > Configuration > AI, and the plus_suite assistant and
agent can be edited there as well.
Maintainers
- Tim Bozeman - https://www.drupal.org/u/tim-bozeman