Skip to main content

Module swarm

Module swarm 

Source
Expand description

Swarm — N agents working on the same problem.

Modes:

  • Parallel: all agents run concurrently, then a synthesizer combines results.
  • Sequential: agents run one after another, each seeing prior agents’ outputs.
  • Debate: two rounds — initial answers, then critique, then a judge picks the best.

Structs§

Swarm
SwarmResult

Enums§

SwarmMode