扩展长期运行的自主编码
Scaling long-running autonomous coding

原始链接: https://simonwillison.net/2026/Jan/19/scaling-long-running-autonomous-coding/

光标最近测试了人工智能驱动的编码极限,部署了一群自主代理来从头开始构建一个网络浏览器。这些代理通过规划者、工作者和裁判进行协调,在一周内集体编写了超过一百万行代码。由此产生的浏览器“FastRender”已在GitHub上提供。 尽管最初因构建问题而受到质疑,但该项目现在可以编译和运行,并以令人惊讶的可读性(尽管不完美)显示网站。这表明人工智能在处理复杂软件项目方面取得了显著的飞跃。 这项实验与HiWave浏览器的类似尝试相呼应,并超越了对2029年人工智能辅助软件开发预期的预测。尽管FastRender尚未与成熟的浏览器竞争,但它展示了人工智能在加速软件创建方面的潜力,尤其是在现有标准和测试套件的指导下。

## FastRender:一个编码代理的成功案例 一个名为FastRender的新项目——一个“从头开始”构建的浏览器——正在Hacker News上引发讨论。该项目借助编码代理的帮助,由一名工程师在短短几周内完成。 尽管主要使用了Skia和Harfbuzz等标准库,FastRender显著地包含了HTML解析(html5ever)和CSS布局(Taffy)的第三方依赖。这引发了关于它是否真正“从头开始”的争论,尤其是在Taffy处理CSS网格/弹性盒子布局方面的作用。 尽管如此,评论员们一致认为FastRender展示了AI辅助编码的强大潜力,展示了编码代理如何显著提高工程师的生产力。 讨论还强调了良好的抽象设计和强大的测试对于未来的AI驱动项目的重要性。
相关文章

原文

Scaling long-running autonomous coding. Wilson Lin at Cursor has been doing some experiments to see how far you can push a large fleet of "autonomous" coding agents:

This post describes what we've learned from running hundreds of concurrent agents on a single project, coordinating their work, and watching them write over a million lines of code and trillions of tokens.

They ended up running planners and sub-planners to create tasks, then having workers execute on those tasks - similar to how Claude Code uses sub-agents. Each cycle ended with a judge agent deciding if the project was completed or not.

In my predictions for 2026 the other day I said that by 2029:

I think somebody will have built a full web browser mostly using AI assistance, and it won’t even be surprising. Rolling a new web browser is one of the most complicated software projects I can imagine[...] the cheat code is the conformance suites. If there are existing tests that it’ll get so much easier.

I may have been off by three years, because Cursor chose "building a web browser from scratch" as their test case for their agent swarm approach:

To test this system, we pointed it at an ambitious goal: building a web browser from scratch. The agents ran for close to a week, writing over 1 million lines of code across 1,000 files. You can explore the source code on GitHub.

But how well did they do? Their initial announcement a couple of days ago was met with unsurprising skepticism, especially when it became apparent that their GitHub Actions CI was failing and there were no build instructions in the repo.

It looks like they addressed that within the past 24 hours. The latest README includes build instructions which I followed on macOS like this:

cd /tmp
git clone https://github.com/wilsonzlin/fastrender
cd fastrender
git submodule update --init vendor/ecma-rs
cargo run --release --features browser_ui --bin browser

This got me a working browser window! Here are screenshots I took of google.com and my own website:

The browser chrome is neat but has a garbled tab name at the top. The Google homepage looks mostly correct but the buttons are not styled correctly and the Google Search one has a huge plus icon floating near it.

My blog looks mostly correct, but the right closing quotation mark on a quotation (which is implemented as a background image on the final paragraph) is displayed incorrectly multiple times.

Honestly those are very impressive! You can tell they're not just wrapping an existing rendering engine because of those very obvious rendering glitches, but the pages are legible and look mostly correct.

The FastRender repo even uses Git submodules to include various WhatWG and CSS-WG specifications in the repo, which is a smart way to make sure the agents have access to the reference materials that they might need.

This is the second attempt I've seen at building a full web browser using AI-assisted coding in the past two weeks - the first was HiWave browser, a new browser engine in Rust first announced in this Reddit thread.

When I made my 2029 prediction this is more-or-less the quality of result I had in mind. I don't think we'll see projects of this nature compete with Chrome or Firefox or WebKit any time soon but I have to admit I'm very surprised to see something this capable emerge so quickly.

联系我们 contact @ memedata.com