Manuscript Offprint

arXiv:2610.24061

World of SWECraft: Agent Collaboration at Scale via Simulated Software Worlds

Shannon Zejiang Shen, Yapei Chang, Qiyao Liang, Benjamin Newman, Jenny Liang, Rulin Shao, Ziqiao Ma, Junjie Oscar Yin, Yung-Sung Chuang, Weijia Shi, Yejin Choi, Luke Zettlemoyer, Pang Wei Koh, Mohit Iyyer, Tongshuang Wu, David Sontag

Shannon Zejiang Shen1,∗^{1,*} Yapei Chang2,∗^{2,*} Qiyao Liang1,∗^{1,*} Benjamin Newman3,∗^{3,*} Jenny Liang4,∗^{4,*} Rulin Shao3,∗^{3,*}

Ziqiao Ma5^{5} Junjie Oscar Yin3^{3} Yung-Sung Chuang1^{1} Weijia Shi3^{3}

Yejin Choi6^{6} Luke Zettlemoyer3^{3} Pang Wei Koh3^{3} Mohit Iyyer2^{2} Tongshuang Wu4^{4} David Sontag1^{1}

1^{1}Massachusetts Institute of Technology 2^{2}University of Maryland, College Park 3^{3}University of Washington

4^{4}Carnegie Mellon University 5^{5}University of Michigan 6^{6}Stanford University

a Create software world of interdependent packages

Figure

b Evaluate software speedup in held-out repos

Figure 1 Overview of Software World. Left: we build a software world from real Python libraries that depend on one another. Agents maintain these libraries and work together to find tasks and make the code faster, and we measure the speedup on held-out repositories that depend on libraries in the world. Right: held-out speedup by agent sessions, with collaboration (solid) and without (dashed). gemini-3.8-flash and claude-opus-5 agents perform better when collaboration is enabled, while the effect of collaboration is unclear for kimi-k2.7-code and gpt-5.6-sol. gpt-6-astra exhibits less proactivity and stops discovering tasks prematurely despite its strong general capabilities.

Abstract

As teams of AI agents take on larger projects and long-standing open problems, agent collaboration offers another dimension for scaling inference-time compute. To understand what makes such collaboration effective and scalable, we develop SOFTWARE WORLD, a framework for simulating multi-agent coworking in realistic software ecosystems. It comes with a pipeline to create environments of real, interdependent Python packages of different topics, sizes, and dependency structures, which we call software worlds. In a simulation, agents maintain packages in the world with a high-level goal of improving software efficiency, and they are free to discover tasks to work on and collaborate with others. We evaluate agents' work in a world collectively by measuring speedup in hidden dependent packages. The framework allows us to study different elements of collaboration by varying communication, ownership, and resource allocation. We run simulations in three different worlds, totaling more than 10,000 hours of agent work across eight models. Overall, performance improvement scales with inference-time compute, with the best model improving downstream efficiency by up to 31%. We show that most agents can find meaningful tasks via collaboration, but some frontier models can prematurely stop looking for improvements and make little progress. We release the simulation framework and traces to support future studies of agent collaboration at https://szj.io/sw.

1 Introduction

Scaling agent teams has enabled AI systems to make substantial progress on problems that are difficult and time-consuming even for human experts. For example, recent efforts have used 16 agents to build a C compiler capable of compiling Linux (Carlini, 2026), dozens to formalize Fermat's Last Theorem (Anthropic, 2026), and approximately 10,000 working concurrently to develop a reported proof addressing the Navier–Stokes Millennium Prize problem (OpenAI, 2026). As these efforts expand from a few agents to thousands, understanding how agents work together through large-scale collaboration becomes increasingly important.

To study large-scale collaboration, we introduce SOFTWARE WORLD, 1^{1} a framework for simulating agents maintaining real repositories and robustly evaluating their collective software improvements. We construct software worlds from interdependent packages and instantiate agents to maintain them together. Given a broad goal to improve software efficiency, agents discover and choose tasks themselves. They are free to work with others, communicating through issues and pull requests like human developers do. The world's collective outcome is evaluated with extrinsic signals—using tests and benchmarks from held-out dependent packages that are not visible to the agents during simulation.

SOFTWARE WORLD leverages realistic setups for studying collaboration at scale. Human developers already organize into communities and coordinate their work across interdependent projects (Cataldo et al., 2006; Bogart et al., 2016). Unlike completing an assigned issue (Jimenez et al., 2024) or solving predefined problems (Kim et al., 2025; Pappu et al., 2026; Park et al., 2026), collaboration between maintainers results in discovering new tasks, e.g., fixing bugs reported by others, or requesting new features from dependent libraries. It creates sufficient scope for agents to divide tasks and exchange information for meaningful collaboration. Compared to using games and virtual worlds for studying collaboration qualitatively (Park et al., 2023), in SOFTWARE WORLD, we also derive reliable quantitative measures that reflect the practical value of agents' collaboration outcomes.

SOFTWARE WORLD provides configurable controls for understanding elements of collaboration. Following Bratman (1992), we consider collaboration a form of shared agency: two or more agents intentionally organize and coordinate their actions as contributions to a joint activity. Collaboration involves communication among task owners to coordinate their work and allocate resources toward a shared goal (Malone and Crowston, 1994). Existing studies examine these aspects in isolation, e.g., focusing on communication protocols (Park et al., 2026; Pappu et al., 2026), or configuring agent tasks and roles through specialized harnesses and fixed workflows (Fourney et al., 2024; Hong et al., 2024; Pan et al., 2025). In a software world, we can systematically control communication access, code ownership, and resource allocation to study how these conditions shape collaboration and impact the resulting work.

We simulate software worlds with 10,000 hours of agent work. We create three representative software worlds, and run simulations across 8 models with 55k agent sessions totaling more than 180B tokens. Overall, we find that performance improvement scales with the compute an agent spends in its work, and collaboration helps agents discover what to work on, with the best model improving downstream efficiency by up to 31%. We see signs that break the “curse of coordination”: capable agents can meaningfully collaborate when there is clear task ownership. Surprisingly, some frontier models can stop looking for improvements and make little progress, and agents struggle to effectively allocate shared resources within the world.

Our work contributes (1) SOFTWARE WORLD, a framework for simulating and evaluating collaboration among agents maintaining interdependent software packages; (2) empirical findings on how communication, ownership, and resource allocation shape agent behavior and collective performance; and (3) an open dataset of 40K agent session traces from the main experiments.

1^{1}Our title, “World of SWECraft,” plays on World of Warcraft, where SWE stands for software engineering. World of Warcraft is a massively multiplayer online role-playing game (MMORPG), where players explore a shared fantasy world and cooperate on quests and battles. Similarly, in our software worlds, multiple agents are launched, free to discover tasks and collaborate with each other.

References (60)