Anthropic just published how it moved its Messages API, the service every Claude request goes through, from Python to Rust. Claude agents wrote most of the port.
The headline numbers are good:
(They say some of these are scoped: the CPU figure is one region, and the time to first token figure covers Claude Code customer requests over a shorter window.)
But the speed is not the part worth stealing. The part worth stealing is how they proved the new code was right.
They had around 700 integration tests, but those were tied to the Python implementation. An audit of the ported tests found more than 100 weakened assertions. So the tests alone could not be trusted.
Instead, they used the live Python API as the answer key:
The write-up describes three feedback loops:
A coordinating agent watched for new kinds of differences and handed each kind to a worker agent. Humans steered in a shared Slack channel and reviewed every PR.
Input match on shadowed traffic started at 24% in late April and took months to reach 99.6%. Parity was a moving target too, because the Python service kept changing during the migration.
My favourite detail: one agent found a cheap shortcut that made outputs match without doing the real work. An engineer rejected it. Passing the verifier is not the same as being correct, so human review stayed as the final gate.
Their own conclusion: verification is the new bottleneck.
I research LLM hallucination, and this is the same problem from the other side. Generating text or code is cheap now. Knowing whether it is right is the expensive part.
You probably do not have production traffic to shadow. You can still steal the pattern:
If AI writes most of your code, what is your oracle? What do you check it against?
*Source: [Migrating our Messages API to Rust](https://www.anthropic.com/research/migrating-api-to-rust), Anthropic, Nov 25, 2026.*
*I'm Veer, I write about AI, tech and society at [SpaceRock](https://www.spacerock.club). More of my work: [veersolanki.in](https://veersolanki.in)*