AI Recipe Generator Logo

This project is not covered by Drupal’s security advisory policy.

The Config Chef (AI Recipe Generator) is a module designed to accelerate site building by utilizing Artificial Intelligence to generate Drupal Recipes dynamically, aligning perfectly with the goals of the Starshot initiative.

By integrating with the Drupal AI ecosystem, this tool allows site builders and developers to input natural language prompts and automatically generate the necessary configuration, module dependencies, and structure required for a functional, schema-compliant Drupal Recipe.

Features

  • Natural Language to Recipe: Seamlessly translates plain English prompts into valid Drupal recipe YAML files.
  • Intelligent Recipe Editor: Provides a user-friendly GUI to manually tweak AI-generated recipes or automatically fix schema errors.
  • "Explain" Functionality: Features educational onboarding that demystifies how Drupal configuration works by explaining the underlying architecture of generated recipes.
  • LLM Arena & Benchmarking: Facilitates side-by-side performance comparisons of different AI models, tracking generation success rates, costs, and latency.
  • Direct Exporting: Save generated recipes directly to your server's web/recipes/custom directory or export them as a zipped file for immediate deployment.

Post-Installation

After enabling the module, access the main tools by navigating to Administration > Configuration > Development > Config Chef - AI Recipe Generator.

  1. Ensure your preferred AI models and providers are configured in your main AI core settings.
  2. Navigate to Settings (/admin/config/development/ai-recipe-generator/settings) to configure your Master Prompt (it is highly recommended to use the "senior Drupal recipe maker" persona).
  3. Use the Dashboard (/admin/config/development/ai-recipe-generator/dashboard) to view analytics on your total successful runs, average latency, and accuracy, as well as visual graphs of your usage.
  4. Visit the LLM Arena (listed as Prompt Arena at /admin/config/development/ai-recipe-generator/arena) to test your master prompts against multiple models side-by-side to see which writes better code.

Additional Requirements

This module requires the following dependencies to function:

There are currently no additional recommended modules beyond the required dependencies listed above.

Similar projects

While standard Drupal site-building tools exist, this project uniquely leverages generative LLMs and the new Drupal Recipe API to architect configurations via natural language. It is strictly scoped to generating configuration and scaffolding, explicitly excluding custom PHP code or theme generation.

Supporting this Module

This project is currently being developed as part of Google Summer of Code 2026.

Community Documentation

Weekly progress, architectural breakdowns, and documentation for this GSoC 2026 project will be updated regularly.

Project information

Releases