#3530733 - Followup: Incremental Component Generation

Created on 30 June 2025, 13 days ago

Overview

Introduce AI Agents and tools to Build Pages from Single Directory Components Active 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

Feature request
Status

Active

Version

0.0

Component

AI

Created by

🇮🇳India Akhil Babu Chengannur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024