Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
The Decoder · 2026/7/26 15:09:11
Cursor's agent swarm suggests cheaper models can handle most coding when frontier models plan the work

Cursor's agent swarm suggests cheaper models can handle most coding when frontier models plan the work

AI 中文解读
Cursor让AI学会分工合作:大模型当“项目经理”,小模型当“码农”,结果编程效率直接起飞。在测试中,新的AI团队只用文档就完美还原了SQLite数据库,而旧版本却因互相冲突而卡死。这套系统把任务拆解成树状结构,聪明的规划代理负责把大目标拆成小步骤,便宜好用的工人代理只管按步骤写代码,彼此各司其职,不再因为既要记目标又要干活而跑偏。由于效率太高(每秒能处理1000次代码提交),连Git版本控制软件都扛不住,Cursor干脆自己造了一套新系统,还设计了“中立裁判”来解决冲突,让AI之间不再打架。对普通开发者而言,这意味着未来编程可能不再需要昂贵的顶级模型全程参与——只要让一个小模型按照大模型规划好的蓝图执行,就能快速完成大量编码工作,既省钱又省时间。普通人也能用更低的成本享受AI编程助手,让编写软件变得像搭积木一样简单。
Cursor's agent swarm suggests cheaper models can handle most coding when frontier models plan the work Jonathan Kemper View the LinkedIn Profile of Jonathan Kemper Jul 26, 2026 Nano Banana Pro prompted by THE DECODER Cursor pitted an upgraded agent swarm against its predecessor by asking both to rebuild SQLite in Rust using only the documentation, with no source code or internet access. Every configuration of the new system reached 100 percent on the test suite, while the old swarm bogged down in its own merge conflicts. At Cursor, agent fleets have moved from research project to core product. With Cursor 3, developers can run entire fleets of AI agents in parallel. Anysphere, the company behind Cursor, was recently acquired by Elon Musk's SpaceX for $60 billion. The system divides agents into two roles: planner agents using powerful frontier models recursively break a goal into smaller tasks. Worker agents using faster, cheaper models carry out those tasks. The result is a task tree that adapts as the work progresses. Cursor says this role split primarily solves a context problem. A lone agent has to traverse the entire tree while keeping both the goal and the current task in mind. That helps explain why agents drift during long jobs. In Cursor's swarm, planners don't write code, and workers don't plan. Cursor says swarms scale less through parallel work than by splitting context between planners that decide and workers that execute. | Image by Cursor Git could not handle 1,000 commits per second An earlier Cursor browser swarm reached about 1,000 commits per hour on Git. It used worker agents, a judge agent, and an integrator that resolved conflicts. The integrator ended up creating more bottlenecks than it removed. The new swarm reached 1,000 commits per second, so Cursor built its own version control system because agents working at that rate created failure modes that human teams never encounter. In what Cursor called "split-brain design," two planners would unknowingly build the same idea in different places and implement it in different ways. Contention was even harder to manage when planners knew about one another and blocked each other with competing edits. Cursor had agents record decisions in shared design documents. Code tied to a decision linked back to the document through a reference checked at compile time. When merge conflicts occurred, a neutral agent stepped in and resolved them. Workers flagged bloated files for an outside agent to split into smaller modules. Because agents had learned not to touch core code while working in existing codebases with humans in the loop, Cursor let them break things on purpose. An agent could patch code outside its assigned area, and the compiler would carry the change through the system. Multiple review angles and a self-maintained field guide Cursor tested several review approaches. One reviewer received the worker's full transcript, another saw only the output, and a third saw only the codebase. No single perspective caught everything, but uncorrelated perspectives combined for higher reliability. Cursor also tested a "field guide," a knowledge folder maintained by the agents themselves with a fixed line limit. Every agent received its contents at startup. Since model weights are frozen, it pays to capture surprising findings so later agents can take shortcuts. Cursor gave the swarm the 835-page SQLite manual and told it to build a Rust implementation. Source code, test suites, the SQLite binary, and internet access were all withheld. The benchmark was sqllogictest, a test suite with millions of SQL queries and known answers. The swarm didn't know it existed. Four configurations were tested. GPT-5.5 solo, Grok 4.5 solo, Opus 4.8 as planner with Composer 2.5 as worker, and Fable 5 as plann
分享
阅读原文