# Swarm Mode

_When One Agent Isn’t Enough — They Team Up_



Not every strategy can be handled by a single agent. Some tasks are too large, too distributed, or too time-sensitive. That’s where Swarm Mode comes in.



In Z4R0, agents can dynamically form temporary execution groups — “swarms” — that split up a task, run it in parallel, and reassemble the output into a single result. The swarm isn’t hardcoded. It’s formed on demand, based on the scope and structure of the strategy being executed.



Each agent within the swarm can:

* Take on a specific sub-task (e.g., scan a single chain or evaluate a token set)
* Coordinate execution timing with peers
* Share sensing results or risk conditions
* Aggregate final signals or confirm consensus on outcomes



The entire swarm remains fully on-chain, and the coordination logic is encoded into smart contracts. That means no off-chain messaging, no centralized task dispatcher, and no race conditions.

\
