Anthropic just pulled off one of the most telling engineering feats of the AI era: a Claude Rust migration that moved the company’s own Messages API — the interface every app uses to talk to Claude — from Python to Rust, with Claude agents doing the rewriting. The result, published by Anthropic on November 25, 2026, is about 70 percent lower processor usage per request and a roughly 20 percent shorter wait for the first response token. In other words, Claude rebuilt the pipes it runs through, and the pipes got dramatically faster.
- Anthropic migrated its production Claude Messages API from Python to Rust using teams of Claude agents to verify the rewrite.
- Claude wrote the first core request path in about a week; the hard part was checking it, not writing it.
- The new Rust implementation uses roughly 70% less CPU per request and cuts the median wait for the first token by about 20%.
- Agents verified correctness by shadowing live traffic and comparing the Python and Rust implementations, fixing differences under human review.
- Anthropic also expanded in Zurich and published a compacted 76,000-line Lean proof of the Riemann Hypothesis this week.
How the Claude Rust migration actually worked
The rewrite itself was fast. Claude wrote the first core request path in about a week — the kind of speed that makes a migration like this look easy from the outside. The hard part, Anthropic says, was verification. You cannot simply swap the language underneath a production API that serves millions of requests and hope nothing breaks. So Anthropic shadowed live traffic: the old Python implementation and the new Rust implementation ran side by side, every stage compared, and teams of Claude agents were sent off to track down and fix every difference they found — all under human review.
That verification loop is the real story. Writing code is the easy half of a rewrite; proving the new code behaves identically to the old code, request for request, is where migrations usually die. Anthropic’s answer was to use its own agents as the checking layer, with humans supervising the fixes. It worked: the Claude Rust migration is now live in production, and the numbers are striking. The Claude Rust migration cut processor usage per request by roughly 70 percent and shortened the median time to first token by about 20 percent — a difference every Claude user feels as a snappier first word in every response.
It also fits a pattern at Anthropic this year. The company has been shipping agent-powered tools at a fast clip, from Claude Ship, which reviews, fixes and approves code, to Claude’s new ability to turn ideas into real desktop apps. The Claude Rust migration is the same idea turned inward: agents doing the work, humans checking it.

Why Rust, and why it matters for Claude users
Rust is the language companies reach for when performance and reliability matter more than speed of writing. Python is fast to write and easy to change, which is why most AI companies start there — but it pays for that flexibility in processor cycles. For an API that handles the volume Claude does, a 70 percent cut in CPU per request is not a rounding error. It is cheaper infrastructure, faster responses, and headroom to serve more users on the same hardware.
For users, the benefit is simple: Claude should feel faster, especially that first token — the moment when the response starts appearing. A 20 percent shorter median wait is the kind of improvement you notice in everyday use, even if you never think about what language the API is written in. And for Anthropic, the timing is good: the company is expanding in Zurich to recruit AI researchers near some of the world’s largest healthcare companies, and its stock has been under the microscope since its record IPO. Efficiency wins like this one are exactly what investors want to see.
There is also a bigger signal here for the software industry. If the company that builds Claude trusts Claude agents to rewrite its own production API — and verifies the result rigorously enough to ship it — the argument that AI coding agents are only good for side projects gets a lot weaker. The Claude-assisted Riemann Hypothesis proof, now compacted from 17 million lines to 76,000, points the same way: agents are moving from demos to the hardest real work.

Frequently asked questions
What is the Claude Rust migration?
How much faster is Claude after the Rust migration?
How did Anthropic verify the new Rust code was correct?
Why did Anthropic choose Rust over Python?
Did AI really write its own API?
The Claude Rust migration is a quiet milestone with loud implications: the company that builds one of the world’s best coding agents just trusted its own agents with its most important production system — and shipped the result. The 70 percent CPU saving is the headline. The proof that agents can be trusted with real infrastructure is the story.
Sources: Anthropic (November 25, 2026); The Neuron AI digest, November 26, 2026; Naravel daily brief, November 26, 2026; DEV Community news digest, November 26, 2026.
External links: The Neuron: Everything That Happened in AI Today, November 26, 2026 | Naravel: Daily Brief, November 26, 2026






