Skip to content

swarm-star

Use when running truly independent parallel tasks where a hub collects results without cross-worker coordination. Also use for parallel research, multi-API data gathering, or fan-out/fan-in patterns.

ModelSource
opuspack: swarms
Full Reference

Hub-and-spoke. One hub dispatches independent spokes, collects results, aggregates. No cross-worker coordination — spokes never see each other’s output. Best for truly parallel work where results combine without conflict. If aggregation reveals conflicts, star was the wrong topology — no conflict resolution happens here.


ItemValue
PatternHub dispatches spokes → spokes return → hub aggregates
Cross-worker coordinationNone — spokes are fully isolated
AggregationCollection only, no review
Scale sweet spot2-5 spokes standard, 6-15 batched
Scale limit15+ → hierarchical with sub-stars
SpeedFastest topology — full parallelism

I want to…File
See the topology diagram and when to use vs other topologiesreference/topology.md
Implement hub dispatch, spoke tasks, and aggregationreference/implementation.md

Usage: Read the reference file matching your current task from the index above. Each file is self-contained with code examples and inline gotchas.


┏━ ⚡ swarm-star ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ [one-line description of what’s being parallelized] ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛