
Anthropic used Claude agents to rewrite its API: about 70% less compute per request
Redacción IvokaNov 27, 7:30 AM 3 min
The company moved its Messages API from Python to Rust with Claude's help. The first version took a week; verifying it took months.
Anthropic described how it used its own AI agents for a big engineering job. It moved its Messages API, the service that connects Claude models to applications like Claude Code, from Python to Rust, with Claude agents writing and fixing much of the code.
The results the company reports: the new API uses about 70% less computing power per request and over 80% less memory; the median wait for the first part of a reply fell about 20% for Claude Code users. Public traffic was switched over in September without taking offline a service that has suffered outages this year.
The most interesting part for non-programmers is the lesson about trusting AI: Anthropic says Claude wrote the first version in a week, but proving it matched the old system took months. Because its tests could not be trusted, it compared both versions on live traffic; Claude agents fixed each difference and engineers reviewed every fix. The company says Claude now writes more than 80% of the code it merges.
Takeaway: AI can speed up the "doing" a lot, but checking that it came out right is still human work. The same goes for a text, a design or a quote: use it for the first draft and set aside time to verify.
Sources
- The Next Web: https://thenextweb.com/news/anthropic-claude-messages-api-rust-migration
- The Neuron: https://www.theneuron.ai/news/anthropic-claude-api-rust-migration/
