> For the complete documentation index, see [llms.txt](https://docs.varbase.vardot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes.md). Agents can also search and read this documentation through its [MCP server](https://docs.varbase.vardot.com/~gitbook/mcp).

# Varbase AI Recipes

## Overview

Varbase 11.0.x provides AI-powered features through a set of composable recipes. These recipes follow a modular architecture: the **Varbase AI Base** recipe installs core AI modules and foundational configurations, while specialized recipes layer on specific AI capabilities such as content generation, image accessibility, and taxonomy management.

This approach allows site builders to adopt only the AI features they need, keeping their installations lean and focused.

## Available Recipes

| Recipe                                                                                                                                                          | Description                                                                                                                                            |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Varbase AI Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-base.md)                                       | Installs core AI modules and applies default Varbase AI configurations. Foundation for all other Varbase AI recipes.                                   |
| [Varbase AI Default](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-default.md)                                 | Applies Varbase AI Base and every Varbase AI recipe in one step, with MariaDB as the vector database. For demos and sites that want the full AI stack. |
| [Varbase AI Editor Assistant](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-editor-assistant.md)               | CKEditor 5 AI-powered features for content creation, including grammar checking and style adjustments.                                                 |
| [Varbase AI Image Alt](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-image-alt.md)                             | AI alt text for images, plus an AI image description and image tags on save.                                                                           |
| [Varbase AI Taxonomy Tagging](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-taxonomy-tagging.md)               | AI-powered automatic taxonomy term assignment by analyzing content body for improved content organization.                                             |
| [AI Recipe Guardrails PII](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/ai-recipe-guardrails-pii.md)                     | Installs PII protection guardrails for the Drupal AI module (email, credit card, IBAN, phone).                                                         |
| [AI Recipe Guardrails Prompt Safety](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/ai-recipe-guardrails-prompt-safety.md) | Installs prompt safety guardrails for the Drupal AI module (XSS, injection, liability topics, jailbreak detection).                                    |
| [Varbase AI Context](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-context.md)                                 | Installs Context Control Center (CCC) with starter brand, editorial, and safety context items for all AI agents.                                       |
| [Varbase AI Safety](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-safety.md)                                   | Bundles prompt safety, PII protection, image safety checks, AI logging with retention, and AI observability for enterprise/GDPR deployments.           |
| [Varbase AI Figma Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-figma-base.md)                           | Sets up the Figma-to-Canvas flow: the AI Figma engine, the Varbase customization for Vartheme BS5, and the Drupal Canvas AI Orchestrator wiring.       |
| [Varbase AI Media Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-media-base.md)                           | Generates images and SVGs with AI from the Media Library, into the Image and SVG Image media types, with the AI Media module.                          |
| [Varbase AI VDB: MariaDB](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-vdb-mariadb.md)                        | MariaDB's built-in vector type as the vector database for AI search.                                                                                   |
| [Varbase AI VDB: Milvus](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-vdb-milvus.md)                          | A Milvus or Zilliz Cloud vector database for AI search.                                                                                                |
| [Varbase AI Search Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-search-base.md)                         | A vector index of the site's content, for the chatbot and Ask AI.                                                                                      |
| [Varbase AI Chatbot Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-chatbot-base.md)                       | A visitor chatbot that answers only from the site's content, with links.                                                                               |
| [Varbase AI Answers Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-answers-base.md)                       | Ask AI: a question box with cited answers from the site's content.                                                                                     |
| [Varbase AI Content Review Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-content-review-base.md)         | Scored AI review of any content item against the site's style guide.                                                                                   |
| [Varbase AI Content Operations Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-content-operations-base.md) | An editor assistant in the admin toolbar that audits and updates content, with approval before every save.                                             |
| [Varbase AI MCP Server Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-mcp-server-base.md)                 | An MCP server so external AI assistants can read the site and save drafts.                                                                             |
| [Varbase AI Readable Base](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-readable-base.md)                     | Serves `/llms.txt` and a Markdown version of content for AI tools.                                                                                     |
| [Varbase AI SEO](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-seo.md)                                         | AI writes the SEO title and description of blog posts and pages.                                                                                       |

## Architecture

The **Varbase AI Base** recipe depends on the **Drupal CMS AI** recipe for core provider configuration, then applies **Varbase AI Image Alt**, **Varbase AI Editor Assistant**, **Varbase AI Taxonomy Tagging**, **Varbase AI Context**, **Varbase AI Content Review Base** and **Varbase AI Safety**. Installing it gives you the AI feature set, the AI dashboard, provider configuration, guardrails and AI logging that the other recipes build upon.

**Varbase AI Figma Base** ([drupal.org/project/varbase\_ai\_figma\_base](https://www.drupal.org/project/varbase_ai_figma_base)) builds on **Drupal CMS AI** and **Varbase AI Context** to turn Figma designs into Drupal Canvas pages. It installs the [**Varbase AI Figma**](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-modules/varbase-ai-figma.md) module, ships in the project codebase and is applied on demand like the other AI recipes.

## Apply Order

Apply the recipes in this order. Each one needs the ones before it.

1. [**Varbase AI Base**](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-base.md): AI providers and default models.
2. **One** vector database recipe: [**Varbase AI VDB: MariaDB**](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-vdb-mariadb.md) or [**Varbase AI VDB: Milvus**](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-vdb-milvus.md). Its provider must be the site's default vector database.
3. [**Varbase AI Search Base**](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-search-base.md): the vector index of the site's content. It applies **Varbase Search Base** itself.
4. [**Varbase AI Chatbot Base**](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-chatbot-base.md) and [**Varbase AI Answers Base**](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-answers-base.md), which answer from that index. **Answers Base** applies **Search Base** itself.
5. The others, in any order: **Content Operations Base**, **MCP Server Base**, **Readable Base**, **SEO**, **Media Base** and **Figma Base**. They do not need a vector database. **MCP Server Base** and **Readable Base** do not need **Varbase AI Base** either, and **Figma Base** applies **Drupal CMS AI** and **Varbase AI Context** itself.

To apply all of them at once with MariaDB as the vector database, apply [**Varbase AI Default**](https://docs.varbase.vardot.com/developers/understanding-varbase/varbase-ai-recipes/varbase-ai-default.md) instead.

{% hint style="info" %}
On the Varbase project, the current **Varbase AI Base** already requires every recipe on this page, so they are in `recipes/`. On another project, before you require a recipe with Composer, add it to `extra.drupal-recipe-unpack.ignore` in the project's `composer.json`. Otherwise Drupal core's recipe unpack plugin moves the recipe's requirements into the project and drops the recipe itself. Then clear the cache before applying, so Drupal sees the modules Composer added.
{% endhint %}
