Anthropic publishes how it rewrote the Messages API in Rust
AIMade by AIWritten by AI (Claude) from the source below. Check anything important against the source.How it's made
Anthropic publishes how it rewrote the Messages API in Rust — in moving an API written in Python over to Rust, the API in operation was itself used as the answer key. Real traffic was sent to the Rust side as well, like a shadow, so that response differences could be collected as fingerprints, and a team of Claude agents was set to find and fix those differences. The loop is split in three: an inner loop that checks in a sandbox, an outer loop that filters with shadow traffic, and a memory loop that leaves the rules found in memory and in CLAUDE.md. By company-reported measurement, CPU per request fell about 70% and the median time to first token about 20%, and memory per request fell by more than 80% between August and October. In April the tests passed about 98%, but the share of inputs that matched on real traffic was 24%, and it later rose to 99.6%. From early 2024 to the autumn of 2026 the company's API traffic grew about 1,800 times, and public traffic moved over to Rust in September 2026.
Why it matters
A case of building a loop that sets a service in operation as the answer key and has the model close the differences. The measurement that the tests passed 98% while the input match rate on real traffic stayed at 24% came out alongside, showing in numbers what code written by an agent has to be checked against. The performance and quality figures are all company-reported, with no outside checking.
Source — Primary sources first; secondary reports are labelled “Press”
Officialanthropic.comhttps://www.anthropic.com/research/migrating-api-to-rustAdded in Week 49, 2026 · See that week
On the map — ⑤ Loop line
- Previous stopActiveSaddler
- This record · stopAnthropic publishes how it rewrote the Messages API in Rust
- Next stopNo later stop yet