Platforms

Cloudflare takes over the compiler AI agents check their code with

Cloudflare has taken ownership of tsrs, a Rust port of Microsoft's TypeScript compiler that AI agents wrote almost unaided. The compiler earns nothing; the play is owning the toolchain agent-built software must pass through before it lands on Cloudflare's bill.

Richard TangRichard Tang · 3 min read
Share
Cloudflare co-founder and chief executive Matthew Prince on stage at TechCrunch Disrupt
1 / 7Slide 1 of 7
Cloudflare co-founder and CEO Matthew Prince. His company has taken ownership of tsrs, a Rust typechecker AI agents wrote, betting agent toolchains run, and bill, on its Workers platform.

Cloudflare+7.24% — Cloudflare, up 7.24 percent today has taken ownership of tsrs, a Rust rewrite of Microsoft's+0.62% — Microsoft, up 0.62 percent today TypeScript compiler that AI agents wrote almost unaided. The compiler itself will earn nothing. What it buys Cloudflare is control of the tool every coding agent must run before its work can ship, and a reason that work lands on Workers, the company's paid compute platform. 1

A compiler written by agents, for agents

The project began in late September at Owner.com, a restaurant-software firm whose 37,000-file TypeScript backend overwhelmed Microsoft's official Go-based compiler: 80 seconds and 19 GB of memory for one check, too much for many agents to run at once 1. Max Schwenk, who leads AI developer tools there, directed more than 20 subagents running on Claude Opus 5.5, Anthropic's$350B — Anthropic, private, latest valuation $350B AI model, and wrote no code himself 1. Typechecking in the company's CI now takes about seven seconds. 1

tsrs's claimed speedup far exceeds TypeScript 7.1's own gains, on different baselines

  • Estimate
02468tsrs vs TypeScript 7.0 (Cloudflare claim)8tsrs vs Go nightly (founder measurement)2.5–5.0TypeScript 7.1 beta vs 7.0 (Microsoft)1.13–1.47
Data
ValueRange
tsrs vs TypeScript 7.0 (Cloudflare claim) (estimate)8—
tsrs vs Go nightly (founder measurement) (estimate)3.752.5–5.0
TypeScript 7.1 beta vs 7.0 (Microsoft) (estimate)1.31.13–1.47
How much faster each implementation checks types, as a multiple of the prior baseline, on the bases each source used: Cloudflare's claim against TypeScript 7.0, the tsrs founder's measurements across 17 open-source projects against Microsoft's Go development build, and Microsoft's own beta measurements against 7.0. Sources: heise online, October 23, 2026; The New Stack, October 20, 2026.1,2

The numbers carry two different baselines, and the chart marks them. Cloudflare says tsrs checks types up to 8 times faster than TypeScript 7.0 with about 70% less memory at equal thread counts; against Microsoft's current Go development build, the founder's own measurements across open-source projects are 2.5 to 5 times faster. 2 Version 0.18 is experimental, and Cloudflare is explicit that tsrs must follow Microsoft's compiler wherever the two disagree. 2

Why the toolchain lands on Cloudflare's bill

The link this development moves is the sandbox. Rust compiles to WebAssembly without dragging a garbage collector along, so a full agent toolchain, typecheck included, fits inside the isolated environments Workers sells. Cloudflare says this directly: tsrs matters when agents run complete development toolchains on its platform. 2

Cloudflare's own engineering shows the economics already work internally. In a case study published with OpenAI this week, the company says its developers all use Codex, and that a four-person team rebuilt a postponed product in three days for $1,100 in tokens, work it estimates would have needed roughly ten times more developers. 3 That is what agent-scale typechecking exists to serve.

No tsrs revenue yet, at about 179 times earnings

It does not yet prove the external claim: no tsrs revenue exists, and shareholders fund the engineering. The stock closed at $297.58 on October 19, priced at about 179 times expected earnings, exactly the valuation our October 20 piece examined when it fell 15% on doubts that Cloudflare's 10-million-developer claim can be verified. 4

Two tests: billed usage on Workers, and the speed edge

Two tests decide whether this strengthens the platform story. First, whether agent toolchains running on Workers start showing up in paid usage, the number the whole model turns on. Second, whether tsrs's speed edge survives: Microsoft's TypeScript 7.1 beta already checks code 13% to 47% faster than 7.0, and Microsoft credits some of those gains to optimizations discovered in tsrs. 2

The project's own author supplies the risk framing: "A faster compiler that finds fewer errors is a broken compiler with good marketing." 1 The compiler is the cheap part. Converting it into billed compute is the work Cloudflare has now taken on, and it is the right work to own.

Get Platforms by email, free

The cloud, data and developer software AI is built on. In our daily email, every weekday.

Loading NET…

Reader comments

0 comments

    More in Platforms

    All in this topic →

    Platforms

    Rockwell Automation launched FactoryTalk Conductor with Nvidia models; insiders sold $64.9 million

    FactoryTalk Conductor ships in the first quarter of 2027, so fiscal 2027 guidance on November 5 cannot carry its revenue, yet insiders sold $64.9 million over the past year while the stock traded about 30% above GuruFocus' value estimate.

    Platforms

    Two prices for the same AI fear: Xero is discounted 58% while Sage prints a record high

    UBS says the sell-off only makes sense if Xero never raises a price again, while peer Sage just printed a 52-week high. The November 12 results will show which of the two prices is wrong.

    Platforms

    Sprinklr rose 17% on Salesforce's $47.50 Braze deal, but grew 1% while Braze grew 26%

    The market read Salesforce's purchase of Braze as a re-rating of Sprinklr, but Sprinklr grew 1% last quarter while Braze grew 26%. The pop has no number behind it; the early-December report settles it.

    Platforms

    SS&C's CEO dared anyone to rebuild Geneva with AI in two weeks; his Blue Prism unit shrank 4.5% organically

    The SS&C CEO dared anyone to rebuild Geneva with AI in two weeks. The same filing shows his Blue Prism automation segment shrinking 4.5% organically and Q4 growth guided to 4%, with EPS growth carried by buybacks.

    Platforms

    IBM paid $11 billion for Confluent, then joined Nvidia's free Agent Knowledge Foundation

    Seven months after IBM closed its $11 billion Confluent purchase, the Q3 call promoted LLMD, a free context-reuse project built with Red Hat and Google, and NVIDIA's open Agent Knowledge Foundation named IBM an adopter. The seller of the context layer is now helping build the free one.

    Platforms

    OpenText concedes the AI orchestration layer, its $1 billion of new debt costing 6.70% to 7.15%

    OpenText's new chiefs conceded the AI orchestration layer on October 20 and pivoted to partners and trusted data, weeks after closing $1 billion of 6.70 to 7.15 percent debt. The November 5 print decides whether that trade pays.

    Get the newsletter

    The day's AI and market news, in your inbox every weekday.