Integrate incremental agent loop execution in XB AI

Created on 19 June 2025, 2 months ago

Overview

Taking reference from โœจ Add Javascript orchestration for each loop in the Chatbot/Assistants API Active , update the existing approach of receiving the entire response at once.

Proposed resolution

  • Replace the current approach of waiting for the full response with incremental loop execution.
  • Update XbBuilder::render to run one loop at a time, persist agent state, and return partial results including tool usage.
  • Update AiWizard.jsx to consume these incremental updates, visualizing progress and tool calls in real-time.
  • Automatically trigger subsequent loop calls based on tool invocation.
  • Do not store intermediate steps in the chat history on reload.

User interface changes

Triggering steps will appear progressively in the chat box.

๐Ÿ“Œ Task
Status

Active

Version

0.0

Component

AI

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia narendraR Jaipur, India

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024