CursorWilson LinExplainer
Scaling long-running autonomous coding
Summary
The post reports experiments running coding agents autonomously for weeks, with hundreds concurrently contributing to projects that typically take human teams months. It describes initial dynamic coordination through shared files, locks, and optimistic concurrency control, then explains why flat peer structures caused bottlenecks, fragility, risk aversion, and stalled progress. The successful design separates recursive planners from task-focused workers, uses a judge between cycles, and lets workers push changes to a shared branch with minimal conflicts. In tests, agents built a browser with more than 1 million lines across 1,000 files, migrated Solid to React over three weeks with +266K/-193K edits, and delivered a 25x faster Rust video renderer; other projects remain underway. The authors say GPT-5.2 models perform better on extended autonomous work, role-specific models and carefully tuned prompts matter, and moderate structure outperforms both flat peer coordination and elaborate controls, though drift and scheduling remain unsolved.
Context
The work aims to determine how far autonomous coding can scale for projects that typically require human teams months to complete. The experiments focus on coordinating many agents on one codebase over extended periods while avoiding conflicts, duplicated work, bottlenecks, drift, and loss of focus.
Approach / What changed
The system evolved from shared-file coordination with locks and optimistic concurrency control to a role-based pipeline. Recursive planners create tasks, workers complete them independently and push changes to a shared branch, and a judge decides whether another cycle should begin. Model selection and prompting are tailored to different roles.
Takeaways
Lock-based coordination caused long waits, unreleased locks, and failures; twenty agents sometimes delivered the effective throughput of only two or three.
A planner-worker hierarchy enabled hundreds of concurrent workers to contribute to a browser project exceeding 1 million lines across 1,000 files, with minimal conflicts on a shared branch.
GPT-5.2 models performed better on extended autonomous work than the alternatives tested, while different models were assigned to planning and coding roles based on their strengths.
Source and freshness
- Source
- cursor.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.