ComfyUI Node
Agent Loop Init
Initializes the loop state for batched multi-model agent orchestration. Takes a list of model IDs and a JSON agent configuration, and outputs the loop state (a dict) and the starting index (0).
Agent Loop Init
- loop_state
- current_index
◄model_idsmodel_a
model_b►
◄agent_config{"agents": {"model_a": "identity", "model_b": "uppercase"}}►
CategoryParametric/Agents
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| model_ids | STRING | model_a model_b | Model ids. Default model_a model_b. |
| agent_config | STRING | {"agents": {"model_a": "identity", "model_b": "uppercase"}} | Agent config. Default {"agents": {"model_a": "identity", "model_b": "uppercase"}}. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| loop_state | ANY | — |
| current_index | INT | — |