AI Reports · Anthropic · 2026-11-25 · Blog / commentary
Migrating our Messages API to Rust

Anthropic describes migrating its Messages API from Python to Rust, using the existing API to verify the new version. Teams of Claude agents found and fixed differences between the two versions. Verifying parity was difficult because the Python API kept changing, Claude's responses are nondeterministic, and customer requests could not be read. Claude wrote the first version of the core request path in about a week.