Skip to main content

What Anthropic's Rust Migration Teaches About Checking Agent Code

Updated 1 min readMarkdown

On November 25, 2026, Anthropic described how Claude agents moved its Messages API from Python to Rust. Claude wrote the first version in about a week, but tests that passed at 98% hid the fact that only about a quarter of live inputs matched.

What any team can borrow from how they closed that gap:
• Send copies of live requests to the new version, which serves no one.
• Compare each internal step, so a difference names the first step that broke.
• Log only the shape of a difference, never customer content.
• Group differences by fingerprint so one bug raises one alert.
• Review how an agent made a check pass, not only that it passed.

Our full post covers the reported results, what the 70% CPU figure does and doesn't cover, and when this approach isn't worth it.

Read the full guide:
https://vandatateam.com/blog/anthropic-rust-rewrite

No comments yet. Be the first to comment.