Drupal AI 1.2.0-Beta1 Brings Stable APIs, Prompt Library, and Expanded Automator Features
Marcus Johansson has announced the release of Drupal AI 1.2.0-beta1 and AI Agents 1.2.0-beta1. The beta release comes three months after version 1.1.0 and signals that the planned features for 1.2.0 are now complete. Known critical bugs and security issues have been resolved, and the APIs are considered stable for developers to work with.
One important change in this release is the removal of the AI ECA module from the core AI project. It is now maintained separately under ai_integration_eca, allowing it to evolve independently of the AI module's release cycle.
The current plan is to publish a release candidate on September 30, followed by a production release on October 7. Until then, developers are encouraged to test the beta and begin exploring its features.
Field Widget Actions
Version 1.2.0 introduces several updates. Field Widget Actions let developers place customizable action buttons on form fields in the Drupal admin UI. These can be used to trigger AI Agents, Automators, ECA workflows, or custom processes, supporting use cases such as category selection or title suggestions.
Prompt Library
The new Prompt Library makes prompts reusable and easier to organize by category. Automators have also been extended with additional functions, including generating alt text, rewriting filenames, populating summary fields, and integrating with contextual views.
Prompt Replay Provider
A Prompt Replay Provider has been added to support development and testing without repeatedly calling external AI services. This proxy records requests and replays them as needed.
AI Agent Improvements
AI Agents themselves now support more functions, such as outputting structured data, passing artifacts, controlling tool descriptions, polling for status updates, and running tools recursively. They can also be triggered directly within CKEditor.
New Assistant Chatbot Styling
In addition, the Assistant chatbot now includes an updated default style designed to better match Drupal's admin theme, while the existing style remains available as an option.
Call to Developers
Although this beta is not recommended for production systems, it is suitable for development and testing. Feedback from early adopters will help shape the release candidate and final production version.

