Skip to content

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

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

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
@teknium1

Copy link
Copy Markdown
Contributor

Closing as superseded by the MoA redesign (June 2026). MoA was rebuilt from a toolset into a virtual provider: presets are config-driven and provider-agnostic (each reference + the aggregator is a {provider, model} slot in config.yaml), references run in parallel and one slot failing never cancels the others, and presets are selectable as models across every picker. The core of what this PR proposed is already in agent/moa_loop.py + hermes_cli/moa_config.py on current main, so it no longer applies as written. Thanks for the contribution — the design it was aiming at is what shipped. If you spot a concrete gap in the current implementation, a fresh PR against the new code is very welcome.

@teknium1 teknium1 closed this Jun 27, 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.

3 participants