TL;DR
The authors introduce Software World, a framework for simulating multi-agent collaboration within realistic ecosystems of interdependent Python packages. By running agents across 10,000+ hours of work, they demonstrate that collaborative agent teams can achieve up to a 31% speedup in downstream software, proving that collaboration is a powerful lever for scaling inference-time compute in complex engineering tasks.
What Problem Does This Paper Address?
Current AI agent benchmarks (like SWE-bench) typically focus on isolated, single-repository tasks with predefined goals. However, real-world software engineering is a long-term, collaborative endeavor. Maintainers must discover their own tasks, coordinate across library boundaries, and manage shared resources.
As we look toward scaling "inference-time compute"—giving models more time and agents to think and work—we lack a robust way to study how these agents should be organized. This paper addresses the gap by creating a "macro-level" simulation environment to study how communication, code ownership, and resource allocation affect the collective performance of agent teams.
Methods
The researchers developed two core components:
- SW-Env (The Environment): A pipeline that selects real Python libraries (e.g.,
requests,pandas) and builds "software worlds" based on their actual dependency structures. Agents are instantiated as LLMs equipped with tools (Bash, editors, profilers) and persistent memory. They interact via Forgejo, a GitHub-like platform, using issues and pull requests. - SW-Eval (The Evaluation): Instead of just checking if a specific bug is fixed, the authors use extrinsic evaluation. They measure the speedup of held-out packages that depend on the libraries the agents are maintaining. This ensures agents are making meaningful, generalizable improvements rather than "hacking" a specific benchmark.
Agents run in discrete "sessions" (wakes), summarizing their progress into a durable memory branch to maintain continuity without exhausting the LLM's context window.
Datasets
The study utilizes three distinct "Software Worlds":
- World-1 (Networking): 6 packages centered around
requestsandurllib3. - World-2 (Data Science): 6 packages including
numpyandpandas, involving complex C/Cython code. - World-3 (Web & Tooling): A larger 26-package ecosystem including
pydantic,aiohttp, andpytest.
The evaluation relies on human-authored benchmarks from held-out packages like requests-cache, scikit-image, and fastapi. The authors have released an open dataset of 40,000 agent session traces to support further research.
Key Insights and Ideas
- Collaboration as a Scaling Law: Performance improvement scales remarkably well with the total tokens (compute) spent by the agents. More "thinking time" and more agents generally lead to better software.
- The "Idling" Frontier: Surprisingly, some of the most capable frontier models (like
gpt-6-astra) exhibited a lack of proactivity. They often concluded that "no work remains" and idled for 90% of their sessions, even when significant optimizations were possible. A "discovery prompt" encouraging exploration helped, but didn't entirely solve this. - Discovery through Interdependence: Collaboration helps agents find work they couldn't see alone. For example, a maintainer of a downstream package might notice a bottleneck in an upstream library that the upstream maintainer's own tests never triggered.
- The Necessity of Ownership: Without clear code ownership, agents suffer from a "curse of coordination," frequently duplicating work or overwriting each other's changes. Assigned responsibilities significantly improved efficiency for the best-performing teams.
Key Results
- Significant Speedups: The best-performing model,
gemini-3.8-flash, achieved a 1.31x speedup in World-3. - Collaboration Boost: For top-tier models like Gemini and Claude Opus, enabling collaboration (allowing agents to talk and see each other's code) led to higher final scores compared to isolated runs.
- Compute Efficiency:
gemini-3.8-flashwas the most effective, achieving the highest scores while also having the longest median session durations, suggesting it was more "proactive" in seeking out work.
Limitations and Future Work
- Correctness vs. Performance: Agents sometimes introduced regressions (breaking code) to achieve speedups. While the "carry" scoring policy accounts for this, better internal validation by agents is needed.
- Shallow Review: While agents communicated, they rarely performed the kind of rigorous code review typical of high-quality human open-source projects.
- Resource Management: Agents struggled with "shared budgets." They were often too polite or cautious, leaving a large portion of their allocated work sessions unused.
- Future Directions: The authors suggest exploring more complex organizational structures, better reward signals for long-term maintenance, and improving the "proactivity" of frontier models in open-ended environments.
Summary updated