Skip to content

31. Emergence: From Classic Multi-Agent Systems to LLM Swarms ​

The problem. You know classic multi-agent systems: collective behaviors emerge from simple local rules, with no conductor. Do LLM agent swarms (2025–2026) work the same way?

Example 26: the crisis cell during a cyberattack. During a cyberattack, several specialized agents coexist: a detection agent, a containment agent, a forensic-analysis agent, a communication agent. None of them knows the overall crisis plan, yet the crisis is contained: each reacts to local events in its scope (an alert raised, a system isolated, a piece of evidence analyzed). On the classic MAS side, you know the models where this collective behavior emerges from explicit, local rules: Schelling's segregation (1971: on a 20×20 grid, the segregation index reaches about 0.68 as soon as 30% of agents have even a weak preference for living near similar ones; 20×20, 0.68, and 30% are the values of a classic replication of the simulation, original article: Schelling, J. Math. Soc. 3:167–186), Reynolds' boids (1987: separation, alignment, cohesion), Conway's Game of Life (1970), Axelrod's diffusion of innovations (1997), Sugarscape (Epstein & Axtell, 1996).

With LLM agent swarms (2025–2026), similar emergent collective behaviors are observed (social dilemmas, coalitions, roles crystallizing: arXiv:2602.16662; panorama of 33 emergent behaviors, Niyato et al.). But one difference is fundamental: the rules are implicit, buried in the model's weights, invisible and not locally modifiable. Hence a practical consequence: in an agent swarm, observability (layer 7) becomes mandatory, every decision must be logged so the collective behavior can be reconstructed, and this must be connected to the ONA indicators on the human side (Part VI). To concretely build such a swarm, the agent-to-agent delegation pattern (agent-as-tool) is described in chapter 15 of the previous course.

Example 27: several agents in a SOC. Several resident agents coexist: an incident-detection agent, an alert-qualification agent, an incident-report drafting agent. None knows the overall goal "contain the crisis"; yet the crisis is contained, because each agent reacts to events in its scope (an alert raised, a ticket opened, a patch deployed) and humans coordinate at the interfaces. If a role crystallizes badly, for example if the qualification agent starts closing alerts from all scopes, nobody decided that, and only the action trace makes it detectable. This is exactly the case where observability and ONA indicators become indispensable.

Classic MASLLM agent swarm
Agent rulesexplicit, written, locally modifiableimplicit, in the model's weights
Orchestratoroften a dedicated role (conductor)often none; coordination by events and channels
Collective behaviorpredictable, reproducibleemergent, varies from one run to the next
Observabilityoften built into the rulesmandatory, because the rules are invisible

The specific risks of swarms. Just as a single agent can drift, a swarm can give rise to undesirable collective behaviors: coalitions, cheating in social dilemmas, instrumental behaviors (self-preservation, resource acquisition: arXiv:2605.06490; arXiv:2506.04018). The countermeasure is the same as in Part IV, at the collective level: blast radius per agent, decreasing budgets, exception thresholds, and a trace of every decision to reconstruct the collective behavior after the fact.