--- AI TRACKER METADATA ---
Update Summary: [One-line status update for stakeholders]
Check-in Date: MM/DD/YYYY (US format) [When we should see progress/get an update]
Due Date: MM/DD/YYYY (US format) [When the issue should be fully completed]
Blocked by: [#XXXXXX] (New issues on new lines)
Additional Collaborators: @username1, @username2
AI Tracker found here: https://www.drupalstarforge.ai/
--- END METADATA ---

Overview

#3530733: Introduce AI Agents and tools to Build Pages from components introduces AI agents that can add one or more component entities to a page. It works like this:

  • The AI agent receives the user's message.
  • It generates a YAML response containing the data for all components to be placed on the page.
  • It uses the setAiGeneratedComponentResponse method to validate and save this response.

As per the review comment

Since we added the possibility to step through the loops it would be nice if the Orchestration Agent splits up the requests to the Page Builder Agent into loops even if this takes 3-5% extra time to produce, because then for a request like "Create me three components on the page for my pizza shop Marios Pizza", would create the first component and have a loader for that and you would see it, then it would start on the next etc. - so you see progress. #3531000: Integrate incremental agent loop execution in XB AI will be needed for this.

It’s possible to use setAiGeneratedComponentResponse to generate the YAML response one component at a time, enabling a streaming like experience. This improves the overall user experience, as they don’t have to wait for the entire component structure to be generated before seeing results.

Proposed resolution

User interface changes

Comments

akhil babu created an issue. See original summary.

Project: Experience Builder » Drupal Canvas
Version: 0.x-dev » 1.x-dev

Experience Builder has been renamed to Drupal Canvas in preparation for its beta release. You can now track issues on the new project page.

yautja_cetanu’s picture

Issue summary: View changes
Issue tags: +strategic evolution