newsfilter
← Interviews
AI Engineer22 min

How to Ship Millions of Lines of Agent-Written Code — Jarred Sumner, Anthropic

Jarred Sumner, Jared

Conference Presentation

Jared, creator of Bun at Anthropic, merged a major ahead-of-time compiler update that leverages large language models to rewrite the Cloud Codebase, resulting in two-second startup times and memory usage four times lower than the previous Just-In-Time implementation. By treating TypeScript types as predictions and utilizing persistent AI agents to manage a 900,000-line codebase, the project achieved significant speed gains in JetStream benchmarks while bypassing the risks associated with a full Rust rewrite. This self-hosting strategy enables the compiler to compile itself, introducing critical security fixes and setting the stage for an imminent public release featuring multi-threading support.