Skip to content

feat: TUI Dashboards for Mixture of Agents and Subagent Delegation#6594

Open
bg-l2norm wants to merge 2 commits into
NousResearch:mainfrom
bg-l2norm:main
Open

feat: TUI Dashboards for Mixture of Agents and Subagent Delegation#6594
bg-l2norm wants to merge 2 commits into
NousResearch:mainfrom
bg-l2norm:main

Conversation

@bg-l2norm

Copy link
Copy Markdown
Contributor

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.

bg-l2norm and others added 2 commits April 9, 2026 12:08
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
@alt-glitch alt-glitch added type/feature New feature or request comp/tui Terminal UI (ui-tui/ + tui_gateway/) tool/delegate Subagent delegation P3 Low — cosmetic, nice to have labels Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tui Terminal UI (ui-tui/ + tui_gateway/) P3 Low — cosmetic, nice to have tool/delegate Subagent delegation type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants