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 Tangthree-minute 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+2.68% — Cloudflare, up 2.68 percent today has taken ownership of tsrs, a Rust rewrite of Microsoft's+0.25% — Microsoft, up 0.25 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

    FactSet promises 6% growth and 10% EPS compounding, and the stock still fell 4%

    FactSet's first Investor Day under CEO Sanoke Viswanathan set an algorithm of 6% organic growth, 10% EPS compounding and at most 1.25 points of margin expansion by fiscal 2029; the stock fell 4%. Whether that is a cash-rich floor or a growth downgrade decides whose money moves.

    Platforms

    Veeva reaffirms $6 billion 2030 target, says quarter will meet or exceed guidance

    Veeva reaffirmed a $6 billion revenue run rate for 2030 and said the October quarter will meet or exceed its $932-935 million guide, on a plan that explicitly excludes its AI products. Six banks raised targets the next day anyway; December 3 results are the first test of whether any AI revenue exists.

    Platforms

    Nutanix's AI costs jumped 350% when pricing went per-token; now it sells the cap as Agent Gateway

    Nutanix's own 2,500 engineers saw AI costs jump more than 350% when pricing went per-token; the fix it shipped this week caps the bill by routing work between owned open-weight models and frontier APIs, and turns subscribers to frontier models into buyers of NVIDIA and AMD hardware.

    Platforms

    Atlassian guides the year to 13.75% after a 24% quarter as Farquhar sells and Cannon-Brookes buys $250 million

    The 24% September quarter and the 13.75% full-year guide describe different businesses: one migrates old customers off Data Center, the other sells more seats and Collections into existing accounts. Scott Farquhar is selling shares while Mike Cannon-Brookes buys, and the December-quarter report decides which business owns the stock.

    Platforms

    Atlassian founders split: Farquhar files to sell $526 million, Cannon-Brookes to buy up to $250 million

    Filings reported this week break the founders' 24-year symmetry: Scott Farquhar sells up to $526 million of Atlassian while chief executive Mike Cannon-Brookes buys up to $250 million. The stock has lost a quarter of its value in a month, and holders must pick whose read of the AI seat transition to back.

    Platforms

    DocuSign's Own Alumni Just Sold a Lender Signing by the Document, Not the Seat

    Two former DocuSign executives just sold a lender a signature billed per document, not per seat, inside the lender's own platform. The same week, Microsoft showed DocuSign running through agents, and a 44-times-earnings stock kept paying for a product DocuSign has not finished building.

    Get the newsletter

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