Skip to content

Conversation

@ZackBradshaw
Copy link
Contributor

@ZackBradshaw ZackBradshaw commented Jan 15, 2026

Resolves #939


📚 Documentation preview 📚: https://swarms--1308.org.readthedocs.build/en/1308/

@github-actions github-actions bot added the tools label Jan 15, 2026
Usage: python3 examples/auto_swarm_ui.py
Install dependency: pip install rich
"""
from rich.console import Console

Check failure

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import rich.console.
Install dependency: pip install rich
"""
from rich.console import Console
from rich.panel import Panel

Check failure

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import rich.panel.
"""
from rich.console import Console
from rich.panel import Panel
from rich.table import Table

Check failure

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import rich.table.
from rich.console import Console
from rich.panel import Panel
from rich.table import Table
from rich.text import Text

Check failure

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import rich.text.
from rich.panel import Panel
from rich.table import Table
from rich.text import Text
from rich.live import Live

Check failure

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import rich.live.
]


def load_eval_dataset(path: str):

Check failure

Code scanning / Pyre

Undefined or invalid type Error

Undefined or invalid type [11]: Annotation Panel is not defined as a type.
t = Table(expand=True, show_header=True, header_style="bold red")
t.add_column("Agent", style="red", no_wrap=True)
t.add_column("Status", style="white")
for a, s in statuses.items():

Check failure

Code scanning / Pyre

Incompatible parameter type Error

Incompatible parameter type [6]: In call make_agents, for 1st positional argument, expected int but got Union[int, str].

for iteration in range(1, CONFIG.get("eval_iterations", 1) + 1):
console.print(Panel(Text(f"Iteration {iteration}: building agents...", style="bold red"), border_style="red"))
create_agents_live()

Check failure

Code scanning / Pyre

Incompatible parameter type Error

Incompatible parameter type [6]: In call make_agents, for 1st positional argument, expected int but got Union[int, str].
console.print(Panel(Text(f"Iteration {iteration}: building agents...", style="bold red"), border_style="red"))
create_agents_live()

# run evaluation

Check failure

Code scanning / Pyre

Incompatible parameter type Error

Incompatible parameter type [6]: In call load_eval_dataset, for 1st positional argument, expected str but got Union[None, int, str].
# run evaluation
console.print(Panel(Text("Evaluating agents...", style="bold red"), border_style="red"))
scores = evaluate_agents(agents, dataset, CONFIG)
show_scores_panel(scores)

Check failure

Code scanning / Pyre

Unsupported operand Error

Unsupported operand [58]: + is not supported for operand types typing.Union[int, str] and int.
@kyegomez kyegomez closed this Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] [improve the AutoSwarmBuilder with autonomous evaluation]

2 participants