SwarmWorld: Stigmergic technological evolution in societies of language-model agents
Organizations: Laboratory for Atomistic and Molecular Mechanics (LAMM), Massachusetts Institute of Technology, Cambridge, MA 02139, USA · Department of Civil and Environmental Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA · Department of Biological Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA · Department of Mechanical Engineering, Massachusetts Institute of Technology, Cambridge, MA 02139, USA ·
Abstract
Collective intelligence can emerge when individuals coordinate through a shared environment, allowing local actions to accumulate into durable social organization. Language-model agents offer a new substrate for this process, yet most multi-agent systems rely on direct conversation, predefined roles, or centralized workflows. It remains unclear whether decentralized agents can build functional technologies and outperform independent search. Here, initially homogeneous LLM agents in SwarmWorld self-organize without assigned roles or recipes into evolving technological societies. Agents explore a spatial environment, process resources, test materials, construct persistent artifacts, and write executable controllers evaluated by a deterministic simulator under unseen disturbances after the agents are removed. SwarmWorld splits cognition from consequence: agents propose architectures and controllers within fixed action and material schemas, while the simulated world determines function. Shared societies develop broader, more resilient technological portfolios than a strong best-of-N isolated-search baseline, although isolated search remains competitive for the strongest artifact. Agents differentiate into exploration, construction, maintenance, and coordination behaviors, transitioning as the world matures. Technologies accumulate through collaborative construction, executable inheritance, and persistent agent-artifact networks, with most reuse beginning through physical observation rather than communication. Explicit cultural mechanisms amplify collaboration and organization, but functional benefits depend on outcome and timescale. Physical stigmergy alone supports capable societies, while interaction drives persistent technological ecologies rather than universally superior individual inventions.
Figures & tables
| Term | Technical definition | Plain-language meaning | Broad example |
|---|---|---|---|
| World tick | One discrete deterministic state transition, , where is the complete world state and is the set of accepted agent actions at tick . Given the state, actions, and seeded disturbance schedule, advances movement, metabolism, resources, fields, artifacts, and installed programs. | The basic clock step of the simulated world. The world keeps changing even when no agent is currently asking the language model what to do. | A video game advances one frame at a time; machines, weather, and moving characters continue between a player’s major decisions. |
| Macroturn or decision opportunity | A scheduled occasion on which one agent receives a local observation and memory context, calls the language model, and proposes a structured multi-action plan. Macroturn phases are staggered and matched across paired conditions. | One chance for an agent to stop, look around, think, and choose its next actions. | A field scientist periodically checks instruments and updates the day’s plan while the experiment continues running between checks. |
| Persistent artifact | An agent-constructed world object with recorded creator, contributors, materials, geometry, services, provenance, state, and optionally an executable controller. It remains in the world until modified, retired, dismantled, or otherwise changed by simulator rules. | A technology that stays behind and can later be found, tested, operated, or modified by someone else. | A device left on a shared laboratory bench can influence the next researcher even if its builder is absent. |
| Artifact program | A validated instruction sequence installed on an artifact and executed by the deterministic simulator every tick. Conceptually, : program reads the artifact’s permitted local sensors and emits permitted control operations . | Code that lets a built object sense local conditions and act without another language-model call. | A thermostat repeatedly reads temperature and turns heating on or off after the installer leaves. |
| Full culture | The intervention containing one shared physical world, explicit cultural actions, cross-agent executable-program inheritance, and artifact stigmergy. Explicit actions include messages, public records, teaching, trading, task claims, and publication-dependent composition. | Agents can communicate directly, inherit one another’s code, and also coordinate indirectly through the things they build. | A research group shares a laboratory, talks, writes notebooks, and modifies common software and equipment. |
| Artifact stigmergy | Indirect coordination produced when an agent changes persistent artifacts or the environment and another agent later observes or acts on that changed state. It remains available in the no-explicit-culture condition even when direct cultural channels and cross-agent program inheritance are disabled. | Agents coordinate through traces in the world rather than through direct conversation. | Ants coordinate through modified trails; people can likewise coordinate by adding parts or annotations to a shared workbench. |
| Condition | Available interaction substrate |
|---|---|
| Full culture | One shared world with physical stigmergy, messages, publications, teaching, trade, task claims, shared records, program reuse, and program forking. |
| No communication | One shared world with physical stigmergy. Messaging, publication, teaching, trade, task claims, and publication-dependent composition are removed; physically observable program reuse and forking remain available. |
| No explicit culture | One shared world with physical stigmergy. Communication, program forking, cross-agent sequence inheritance, the skill library, authored artifact text, and mutation-parent access are removed from the treatment interface. |
| Independent search | isolated one-agent copies of the seeded world. Member matches shared agent in initial position and macroturn phase. Each endpoint is the maximum over all members. |
Emergent Behavior in Multi-Agent Systems
Emergent behavior in multi-agent systems studies how local agent interactions produce collective patterns such as cooperation, norms, and instability.
See all 162 papers