Trending
Prev Story
Next Story

Claude rewrote the API that serves Claude. Checking its work was harder

The Next Web (TNW) •
November 25, 2026 • 06:04 PM
• By Ana Maria Constantin
9
9 reads 0 reactions

Anthropic used Claude agents to move its Messages API from Python to Rust, cutting CPU per request by about 70%, testing it on live traffic.

1 / 4
Swipe Photos

Anthropic has moved its Messages API from Python to Rust with Claude agents writing and fixing much of the code. Its tests could not be trusted, so it compared the two versions on live traffic, and says the new API uses about 70% less CPU per request.

Anthropic has moved the main API behind Claude from Python to Rust, with Claude agents doing much of the work, the company said on Wednesday. It switched public traffic over in September without taking offline a service that has suffered outages this year.

The Messages API is how customers and Anthropic’s own apps, such as Claude Code, reach Claude. Anthropic added message threads to it this month to cut delays in long agent sessions.

Anthropic says the API’s traffic grew about 1,800-fold from early 2024 to this autumn. Over that time, it has signed huge compute deals , including with Google and Broadcom. Python, meanwhile, was adding overhead at every step.

Claude wrote a first version of the core code in about a week. Checking it took months. The new code passed about 98% of its tests in April, but only about a quarter of real requests matched the old system.

Part of the problem was the tests themselves. Claude had helped port them, and an audit found more than 100 checks that had been weakened.

So Anthropic used live traffic as the test. It ran requests through both versions and compared each step, without reading customers’ text. Claude agents then fixed each difference, with engineers reviewing every fix.

Engineers still had to catch shortcuts. In one case, an agent made the outputs match by copying a missing tool description into files, which an engineer rejected as throwaway code.

The new API uses about 70% less computing power per request and over 80% less memory, Anthropic says. The median wait for the first part of a reply fell about 20% for Claude Code users.

Anthropic has said Claude now writes more than 80% of the code it merges. The company argues that checking AI-written code, not writing it, is now the bottleneck.

Get the most important tech news in your inbox each week.

Prev Swipe Story Next

Same Story from Other Publications

Compare how 6 other independent news outlets reported on this story.

6 Publications
The Verge
21h ago
Anthropic rolls out “Install as app” on Mac and PC for Claude’s mini-app Artifacts.

Anthropic rolls out “Install as app” on Mac and PC for Claude’s mini-app Artifacts.

Similar to browser-based web apps, Anthropic says individual app installation for Claude’s interactive Artifacts is now rolling out in beta on the desktop. The installed apps have their own toolbar icons and can be set up to either work on default permissions just like they would in a browser tab, with app permissions to support sending notifications, intercepting shortcuts, and opening over other programs, or they can be given full computer access. [Media: https://www.youtube.com/watch?v=vBDP--QD_Og]

#claude #anthropic
Compare →
The Guardian
4d ago
Anthropic mathematician claims he used Claude to prove 19th-century Riemann hypothesis

Anthropic mathematician claims he used Claude to prove 19th-century Riemann hypothesis

Levent Alpöge says it took six weeks for him using the AI tool to solve the math problem involving prime numbers

#claude #anthropic
Compare →
The Australian Financial Review (AFR)
1d ago
AI solved the biggest maths problem of all – and created a bigger one

AI solved the biggest maths problem of all – and created a bigger one

Anthropic’s Claude may have proved the mother of all problems, the Riemann hypothesis, but if no human can understand 250,000 pages of slop, is it actually real?

#claude #anthropic
Compare →
CNN International
4d ago
Anthropic worker claims to have solved a Holy Grail of math problems with the help of AI | CNN Business

Anthropic worker claims to have solved a Holy Grail of math problems with the help of AI | CNN Business

A mathematician who works for artificial intelligence giant Anthropic claims he has solved a Holy Grail of math problems with the help of the company’s AI tool Claude.

#claude #anthropic
Compare →
Australian Property Investor (API)
4h ago
Property price forecasts take a hit as 2027 outlook turns increasingly grim - latest residential news - API Magazine

Property price forecasts take a hit as 2027 outlook turns increasingly grim - latest residential news - API Magazine

Property price forecasts take a hit as 2027 outlook turns increasingly grim After almost nobody predicted the market downturn now unfolding, forecasters are divided on exactly what comes next in a clouded outlook for Australian property prices in 2027.

TechCrunch
1d ago
Anthropic launches Claude Ship, letting AI agents review, fix, and approve code changes | TechCrunch

Anthropic launches Claude Ship, letting AI agents review, fix, and approve code changes | TechCrunch

As AI-generated code piles up, Anthropic's new developer tools aim to eliminate another bottleneck by letting agents handle routine approvals.

#anthropic #claude
Compare →

Related Stories

Technology
Build #2635