SwarmWorld: Stigmergic technological evolution in societies of language-model agents
The swarm won by building a resilient technology ecology, not one unbeatable invention
MIT researchers placed 50 to 200 initially equivalent LLM agents in a shared simulated world and let them organize exploration, material processing, construction, and executable control without assigned roles or recipes. After removing the agents, they tested the remaining artifacts under eight unseen disturbance schedules and found that shared worlds produced broader, more resilient technology portfolios than independent search. Independent search could still retain the strongest single artifact, so the collective advantage lay in coverage and persistence rather than the highest individual score.
METAL LAB explanatory visual
How agent activity becomes a persistent technology ecology
Evidence statusMeasured results reported
- 1. Local explorationEach agent observes nearby resources and existing artifacts.
- 2. Construction and codeAgents process materials, build structures, and install executable controllers.
- 3. Environmental memoryLater agents inspect, inherit, and modify persistent artifacts and code lineages.
- 4. Agent-free assayThe agents are removed and unseen disturbances test portfolio function and resilience.
What they did
- Agents acted from local observations, gathered and processed resources, built persistent structures, and wrote executable controllers without preset occupations or technology recipes.
- The study compared four matched conditions: full culture, no direct communication, no explicit culture, and an endpoint-wise best-of-N envelope built from isolated agents.
- A deterministic simulator, not agent self-report, judged function. Agents were removed before eight held-out disturbances tested the artifacts that remained.
- The scaling study ran 50, 100, and 200-agent populations for 800 ticks with four world seeds per condition; a separate 100-agent study continued to 3,200 ticks.


| Term | Technical definition | Plain-language meaning | Broad example |
|---|---|---|---|
| World tick | One discrete deterministic state transition, St+1=F(St,At), where St is the complete world state and At is the set of accepted agent actions at tick t. Given the state, actions, and seeded disturbance schedule, F 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, ua,t=πa(oa,t): program πa reads the artifact’s permitted local sensors oa,t and emits permitted control operations ua,t. | 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. |
| Independent-search envelope | For endpoint e, checkpoint t, and N isolated one-agent worlds, the control is Yiso(e,t)=maxi∈{1,…,N}Yi(e,t). The maximizing member may differ across endpoints and checkpoints. | The comparison gives isolated search its best available result for each question, rather than forcing one solo agent to win every contest. | A national team may choose one athlete for the sprint and another for the high jump; the envelope records the best specialist in each event. |
| Discovery-frontier AUC | If p(t) is measured artifact performance, the running frontier is F(t)=maxτ≤tp(τ). The normalized area is DT=T−1∫0TF(t)𝑑t, implemented by trapezoidal integration over recorded samples. | A strong invention scores more if it appears early enough to remain the best-known option for much of the experiment. | Two runners may finish with the same final speed, but the one who led for most of the race has the larger time-averaged frontier. |
| Current service coverage | For service dimension k at time t, ck(t)=maxa∈𝒜tsak(t) over active, non-retired artifacts. With c¯(t)=K−1∑kck(t) and b(t)=minkck(t)/c¯(t), balanced coverage is Q(t)=c¯(t)[1+b(t)]/2 when c¯(t)>0. | The society is judged by the best currently available artifact for each need, with a penalty when one need is badly neglected. | An emergency kit with food, water, shelter, and medicine is more balanced than one containing excellent food but nothing else. |
| Portfolio resilience | The discovery-state score uses lifetime-peak service fingerprints, ckpeak=maxasakpeak, and the same balance formula P=c¯peak[1+minkckpeak/c¯peak]/2. Artifact count alone does not increase the score. | A portfolio is valuable when its collection has demonstrated strong and balanced coverage across several functions, not merely because it contains many objects. | A toolbox with a few complementary, proven tools can be more resilient than a warehouse full of duplicate hammers. |
| Held-out resilience | For unseen schedule s, Rs=T−1∫0TQs(t)𝑑t, where Qs(t) is current balanced service coverage during the agent-free assay. The reported value is R=S−1∑s=1SRs over S=8 paired schedules. | The frozen technology is tested under new disturbances after all agents are removed; the score measures how well its active functions continue to cover multiple needs. | A bridge design is evaluated under earthquakes and wind patterns that were not used while designing it, with no engineer allowed to repair it during the test. |
| Validated invention | The count is I=∑a𝟏[ra∧da∧ga∧pa≥p∗∧νa≥ν∗]. Artifact a must use a recipe that passed material testing (ra), contain the required design fields (da), include an agent-authored installed program (ga), exceed the performance threshold p∗, and exceed the behavioral-novelty threshold ν∗. | A named idea is not enough. The artifact must be materially grounded, fully specified, executable, functional, and behaviorally distinct. | A patent sketch would not count by itself; a device must have tested materials, a complete design, working controls, and a demonstrably new behavior. |
| Artifact-contact AUC | Let q(t) be the fraction of agents within three cells of an active artifact at recorded time t. Contact AUC is C=(tm−t1)−1∫t1tmq(t)𝑑t, evaluated by trapezoidal integration. | The measure records how consistently agents spend time near shared technology, rather than how far they travel in total. | A museum can measure the fraction of visitors near an exhibit throughout the day, not only the number who entered the building. |
| Behavioral phenotype | A post hoc cluster of complete agent trajectories. For k-means, assignments minimize ∑i∥xi−μzi∥2 in the declared robust-scaled feature space. Condition, identity, and role labels are excluded from fitting. | A recurring style of behavior discovered from what agents actually did, not a role assigned in their prompts. | Travel records might separate commuters who repeatedly visit one workplace from explorers who visit many neighborhoods, without reading their job titles. |
| Recorded lineage and downstream reach | A directed graph whose edges come from recorded authorship, observation, causal-parent, construction, installation, and fork events. For node v, downstream artifact reach is r(v)=|{a:v↝a,a is an artifact}|. | It records which evidence, programs, people, and precursor objects are linked by logged parent and contribution events to later technologies. | A product genealogy can trace a component specification through several revisions into multiple final devices. |
| Cross-agent program fork and lineage depth | A fork is cross-agent when the child-program author is not in the recorded parent-author set. Executable-lineage depth is the longest directed path in the content-addressed program-fork directed acyclic graph up to a checkpoint. | One agent edits another agent’s controller, and depth counts how many successive generations of such inherited code accumulate. | A programmer forks a colleague’s repository; later colleagues fork the modified versions, forming a software family tree. |
| Interaction modularity | Weighted Newman-Girvan modularity, Q=(2m)−1∑ij[Aij−kikj/(2m)]δ(gi,gj), computed on the weighted bipartite agent-artifact graph using Louvain communities at resolution 1. Event-type weights are multiplied by log(1+n) for repeated events. | High modularity means interactions are concentrated within recognizable technological neighborhoods rather than spread uniformly across the whole society. | A university is modular when laboratory members collaborate mostly within their labs, with fewer links between labs. |
| Community persistence | Adjusted mutual information between consecutive agent community assignments, AMI=[MI−𝔼(MI)]/[(HU+HV)/2−𝔼(MI)]. Adjustment removes similarity expected by chance. | The measure asks whether the same agents remain grouped together from one checkpoint to the next, allowing community labels themselves to change. | If project teams retain most of the same members next semester, their community persistence is high even if team numbers are renamed. |
| Participation coefficient and within-module z-score | For node i, Pi=1−∑c(kic/ki)2 measures how evenly its weighted links span communities. Within its own community, zi=(kiown−μc)/σc measures how unusually strong its internal connectivity is relative to peers of the same node type. | Participation distinguishes local specialists from cross-community connectors; the z-score distinguishes ordinary members from local hubs. | A scientist collaborating only within one lab is a specialist, one collaborating across many labs is a connector, and a highly connected member within one lab is a local hub. |
| NODF nestedness | Binary nestedness is 100 times the mean |Ni∩Nj|/min(ki,kj) over unequal-degree pairs, evaluated for both agent rows and artifact columns. High values mean the smaller neighborhood is largely contained in the larger one. | Nestedness asks whether specialists mostly use subsets of the technologies used by generalists. | A small shop is nested within a department store if nearly everything it stocks also appears in the larger store. |
| Densification exponent | Cumulative unique agent-artifact ties are fit to Ecum∝Vα, or logEcum=αlogV+c, where V is agents plus constructed artifacts. The plotted α is an ordinary least-squares descriptive fit across seeds and checkpoints for one condition. | If α>1, relationships accumulate faster than the number of participating agents and artifacts. | A growing professional community densifies when adding people and projects creates disproportionately many new collaborations. |
| Relationship reuse | For consecutive analysis intervals, reuse is ρt=|Et−1∩Et|/|Et|, where Et is the set of agent-artifact pairs active in the current interval. It is distinct from the symmetric Jaccard index. | The measure is the fraction of current working relationships that were already active in the preceding period. | A shop with many returning customers has high relationship reuse even if it also attracts new customers. |
| Cross-agent adoption and time to first reuse | An artifact is adopted when a noncreator first observes, causally references, programs, or repairs it; co-construction does not count. Time to first reuse is Ta=tafirstnoncreatorreuse−tacreated. Unreused artifacts are right-censored at tick 3,200. | Adoption means someone other than the inventor actually engages with the technology, and the delay measures how quickly that happens. | A neighbor borrowing and using a tool counts as adoption; merely helping build it does not count as later reuse. |
| Structural robustness AUC | If L(f) is largest-component size after removing fraction f of agents, robustness is A=fmax−1∫0fmaxL(f)/L(0)𝑑f for fmax=0.5. Removal is random, degree-targeted, or betweenness-targeted; the graph is not rewired. | The score summarizes how much of the recorded network stays connected as agents disappear. It does not measure physical recovery or adaptation after removal. | An internet topology may tolerate random router failures but fragment quickly if its busiest hubs are deliberately disabled. |

| 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 | N isolated one-agent copies of the seeded world. Member i matches shared agent i in initial position and macroturn phase. Each endpoint is the maximum over all N members. |

Findings
- Shared worlds consistently exceeded independent search in held-out resilience, portfolio resilience, and the number of validated inventions.
- At 200 agents, the no-explicit-culture condition achieved a discovery-frontier AUC gain of 0.069 over the independent envelope.
- In the 3,200-tick full-culture study, artifact-centered behavior increased by 21.8 percentage points relative to the ablation, while executable lineage depth kept growing.
- About 95% of first technology adoptions began through physical observation, while independent search retained the strongest single final artifact.


Where it can be used
- Design long-running agent systems around inspectable artifacts, executable programs, and versioned provenance rather than chat history alone.
- Build scientific-discovery agents in environments where exploration, construction, maintenance, and coordination roles can emerge from outcomes instead of being assigned in advance.
- Evaluate robot collectives, materials search, and operational agent systems by portfolio robustness across needs, not only by one peak-performing output.


Limits and open work
- Each condition used only four matched world seeds, so the analysis emphasizes effect sizes and consistency rather than asymptotic population inference.
- The evidence comes from deterministic simulated worlds; the same advantage has not yet been established in real organizations or physical robot swarms.
- Hidden protein-material properties were fixed simulator priors, not new biochemical predictions or experimental measurements.
Why it matters
The paper shows why evaluating a multi-agent system only by its single best answer can miss the main benefit of collaboration. For systems serving several needs over time, persistent artifacts, executable code, and traceable inheritance may be more useful shared memory than conversation alone.
Terms in this paper
- Stigmergy · Indirect coordination in which traces or structures left in the environment guide later actors
- Best-of-N search · A strong baseline that runs N independent attempts and selects the best result for each endpoint
- Held-out disturbance · A test condition not used during construction, applied afterward to measure robustness
Original abstract (English)
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.
Read on arXivLatest papers
- FIRSTPASS: A Multi-Domain, Multi-Round Peer Review Dataset Grounded in Real Editorial OutcomesA dataset that finally teaches AI what biology, chemistry, and physics peer reviewers actually argue about, not just CS reviewers
- JIT-Agent: Scaling Harness Intelligence via Just-in-Time Harness EvolutionAn AI system that writes a custom 'operating scaffold' for other AI agents on the spot, for every new task
- The Dialect Tax: Dialectal Biases Persist throughout the Language Modeling PipelineAI language models still charge a hidden 'dialect tax' on AAVE and other non-standard English at every stage, not just tokenization
- Sycophantic Chatbots Cause Delusional Spiraling, Even in Ideal BayesiansA math model shows that even a perfectly rational person can be talked into delusion by a chatbot that keeps agreeing with them
- Autonomous Mathematical Discovery in an Open-World Multi-Agent EnvironmentAI agents from different companies self-organized in an open-world simulation and produced new results on five math problems, with no one directing them
- Automata from Agent Traces: Failure and Next-Step PredictionCompressing thousands of LLM agent execution logs into one tiny 7-to-43-state machine that predicts both the next action and eventual failure
- MARS: Multi-Specialist LLM Relay System for Competitive ProgrammingLetting topic-specialist AIs take turns fixing code beats one generalist coder on programming contest problems
- AgentRoom: Concurrent Multi-Agent Coding in a CRDT-Backed Shared WorkspaceLetting multiple AI coding agents share one workspace and coordinate in real time beats running them one-by-one or in uncoordinated parallel
Latest from METAL LAB
- Sony Music, Warner Chappell Sue Anthropic, Name Founders Personally
- ElevenLabs adds Seedance 2.5 for uncut 30-second video generation
- Claude Code's weekly limit rises 25% permanently on Sept 14, but that's actually a cut
- Musk says 15GW of 2027 AI compute won't switch on even with power secured
- Claude Code Gets Faster Startup, Clearer Token Tracking, Remote Control Fixes
Figures: Pal, Subhadeep et al., arXiv:2608.26081, cc-by-nc-nd-4.0