feat: TUI Dashboards for Mixture of Agents and Subagent Delegation#6594
Open
bg-l2norm wants to merge 2 commits into
Open
feat: TUI Dashboards for Mixture of Agents and Subagent Delegation#6594bg-l2norm wants to merge 2 commits into
bg-l2norm wants to merge 2 commits into
Conversation
This commit implements highly aesthetic, information-dense TUI visualizers utilizing `rich.live` for the `mixture_of_agents` and `delegate_task` tools. For `mixture_of_agents`: - Added a `MoAStateUI` class that tracks the state (pending, running, complete, error) of the multiple parallel reference models and the aggregator model. - Shows completion times and character counts. - Displays a total progress bar across the 2-stage execution flow. - Pauses the main parent `KawaiiSpinner` safely and avoids terminal breakage by restoring states in `finally` blocks. For `delegate_task`: - Added `DelegateUIState` to track subagent executions. - Live renders a table that shows task titles, current subagent status, elapsed time, current tool being called, and total API calls for each task running in the concurrent thread pool. - Gracefully patches into the `_callback` architecture of `delegate_tool.py` to seamlessly receive UI updates from the underlying execution without polluting the terminal logs.
…oa-and-delegate-2474914345810546919 feat: TUI Dashboards for Mixture of Agents and Subagent Delegation
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds terminal visualizers to two tools lacking adequate visual feedback: mixture_of_agents and delegate_task.
Both tools spawn concurrent long-running operations where the user is left waiting with minimal information. The new updates pause the standard KawaiiSpinner and inject dynamic live-updating rich tables that display parallel model runs, subagent task progress, current tool actions, completion timers, character counts, and total progress bars.