Anthropic moved its Messages API to Rust without any Rust developers
Anthropic migrated Messages API to Rust with no Rust developers

Anthropic rebuilt its production Messages API in Rust even though its team had no Rust experience, using Claude to write the code and the live Python service as an oracle to verify parity. The migration cut CPU usage by about 70% and median time to first token by about 20%, all without downtime or pausing feature work. The hard part was verification: tests were coupled to Python and incomplete, so Anthropic compared production traffic step by step, using checkpointing and fingerprints to find and fix subtle differences.
We are not rewriting the API in go or rust!