This module uses AI to generate Drupal recipes from natural language prompts, helping speed up site building. It also provides an editor to refine the generated recipes and educational explanations of how Drupal configuration works.
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/customdirectory 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.
- Ensure your preferred AI models and providers are configured in your main AI core settings.
- 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). - 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. - 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:
- Drupal Core
- AI (Artificial Intelligence) - The Drupal AI core platform.
- Charts - Required for rendering analytics graphs in the benchmarking dashboard.
- YAML Editor - Powers the built-in recipe editor interface.
- League CommonMark - Required PHP library for parsing markdown in AI responses and explanations.
Recommended modules/libraries
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.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the AI ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.x-dev | Dev | 10–11 | Dev side | Aug 2, 2026 | |
| 1.0.0-beta1 | Pre-release | 10–11 | First Beta! | Aug 2, 2026 |