Cursor just published a detailed research post on what may be the most rigorous public test of autonomous multi-agent coding to date. The team instructed a swarm of AI agents to implement SQLite from scratch in Rust, using only the 835-page SQLite documentation. No source code, no test suite, no internet access. The result: a working database engine that passed 100% of a held-out SQL test suite, and a set of findings about model economics that should change how you think about building with agents.

This is a follow-up to Cursor's earlier browser-from-scratch experiment, which proved the concept but produced messy software. The new work is about engineering the swarm deliberately, and the gap between the old and new systems is dramatic.

The planner-worker split

The core architectural insight is deceptively simple. Descriptions of large tasks naturally take the shape of trees, with a goal at the root that subdivides recursively into basic units of work. Cursor's swarm maps directly onto this structure:

  • Planner agents, running on the most capable models, decompose goals and delegate subtasks.
  • Worker agents, running on faster and cheaper models, execute those subtasks.

In a swarm, a planner never implements, so its context never fills with low-level detail, and a worker never plans, so it can spend all its context on one narrow piece of work. This is the key to why the system scales: it's not just parallelism, it's context efficiency. A single long-running agent eventually loses the plot because it can't hold both the big picture and the implementation details at once. The swarm sidesteps this entirely.

Architecture diagram showing planner-worker task tree decomposition in the Cursor agent swarm

Engineering coordination at 1,000 commits per second

The previous browser-building swarm peaked at roughly 1,000 commits per hour on Git. The new system peaks at around 1,000 commits per second. Standard version control tooling simply cannot handle that rate, so Cursor built a new VCS from scratch. But throughput was only part of the problem. At this scale, entirely new failure modes emerge that human engineering teams never encounter.

The team identified and solved five distinct failure modes:

Alpha Signal

Don't miss what's next in AI

Join 300,000+ engineers and researchers who get the signal, not the noise.

  • Full access to in-depth AI research breakdowns
  • Be the first to know what's trending before it hits mainstream
  • Daily curated papers, repos, and industry moves