Swarms' AgentRearrange orchestrates multi-agent pipelines via a single flow string

KyeGomezB · x · 2026-11-16

AgentRearrange, a swarm type in the Swarms framework, lets developers define multi-agent execution order with a rearrangeflow string: -> for sequential handoffs, commas for parallel agents within a step. Key features: explicit flow control, mixing sequential and parallel steps, and reorganizing the pipeline by editing the flow string without rewriting agents. The final agent synthesizes earlier outputs. Use cases include dynamic project management, adaptive content workflows, and flexible task allocation.

Original post →

More from coding & agent

coding & agent channel →