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
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.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
- Comments
- 33 pages, 9 figures, 7 tables
Related papers
From Manufacturing Event Logs to Simulation: Enabling SMEs with Agentic AI for SimPy Simulation Generation
Shared title terminologycs.AIRichard Reider, Lina Döring, Sebastian Lang et al.
γ-Scape: An Agent-Centric World for Mobile Embodied Intelligence
Shared title terminologycs.AIXiaotao Zhang, Lin Qian, Hao Zhang et al.
Can LLM Agents Resolve Service Failures? Simulating Multi-Turn Complaint Handling under Information Asymmetry
Shared title terminologycs.AIWailing Ng, Mengze Hong, Chen Jason Zhang et al.
HSPR: Recovering Software-Agent Benchmark Scores via Hierarchical Posterior Inference
Shared title terminologycs.AIWanyi Chen, Wanqin Shen, Yuanchen Shi et al.
Not Every User Says It All: Training Tool-Using Agents Beyond Ideal Simulated Users
Shared title terminologycs.AIHan Bao, Zheyuan Zhang, Kaiwen Shi et al.
Beyond Large Language Models: A Mental World Model Framework for Mental Modeling, Simulation, Evolution, and Interpretability
Shared title terminologycs.AIQingshi Wang, Huiqi Tong