Shetland Geology
English articles > Article

Anthropic had AI reconfigured its own core system: CPU consumption fell by 70 per cent, memory occupancy by 80 per cent, and response speed surged!

Updated 2026-11-28 07:24 UTC · Machine translation

In the scientific community, “rewriting” a large, high-speed production system is often perceived by engineers as a technical “suicide”.

On November 25th, however, the top AI company Anthropic announced the completion of a miracle project: They let their big AI model, Claude, take the knife and move the core from Python to Rust.

The result was alarming: without a one-minute stoppage and without freezing any new functional development, the consumption of the CPU per request for the new system was sharply reduced by about 70 per cent, and memory occupancy by over 80 per cent and median

How did Anthropic use AI to complete this “engine-for-flying” campaign? How does this epic migration inspire future software work?

The traffic has increased 1,800 times. Python is overburdened.

Original in Python.

The logic at the time was extremely simple, and according to one engineer, “basically it is” — to hand over the user request to the model and then to pass back the recovery sample generated by the model.

But by the fall of 2026, the API's traffic was about 1,800 times higher than it was in early 2024!

With the complexity of the function, each request requires cumbersome steps such as validation, construction of tips, dictions and security classification. Python's system costs when creating objects, releasing memory and tasking are overburdened.

Engineers initially tried “” — only rewriting the output of the parse model with Rust. But the result was counterproductive: each token had to travel three times between Python and Rust, adding to the complexity and cost of the system.

Turning to Rust is the only way out. Claude was strong enough at that time, and by May 2026, more than 80 per cent of Anthropic's combined codes had been written by Claude himself.

In fact, Claude had only one week to write a first draft of the path to Rust version of the API core request.

But the real question is: how can it prove that it's easy to write?

"Generator-Certifier Gap": AI writing code is easy, error is too hard to check

)。

It's easy to check the answers, but it's hard to find them. In real-time production systems, however, the opposite is true: while it is easy for Claude to generate the code, it is difficult to verify 100 per cent correct.

Anthropic faces several extremely difficult challenges:

Examples of testing are unreliable: the original 700 or more are aligned with Python heights. When Claude transposed the test to Rust, many of the assertions were inadvertently “reduced” and the wrong code could be confused.

Tests are incomplete: API has dozens of functional configurations, and only 20 can produce over a million combinations. Testing is simply not a way to exhaust all the margins of the real production environment.

AI non-certainty: Claude ' s response to the same request is not always the same. If there's a difference in output, it's hard to judge whether it's a system Bug or a large model that's normal.

Privacy restrictions: Engineers are absolutely unable to view the true requests and model responses of their clients, which means that they cannot look for Bug through “text-reading”.

In order to resolve this knot, Anthropic decided to introduce “) a direct view of the Python production system on the line as a “gold standard” for right and wrong.

But for a large model interface, there are two dead holes that are not available in traditional software:

Large model outputs are random: Claude was asked twice the same question, and each time the wording might be different. If the traditional comparison tool is directly compared to the final response, all normal fluctuations are filtered as noise, leaving out the real Bug.

Repeated deductions and countings are strictly prohibited: The same true request must not run the model twice, otherwise it would duplicate user amounts and generate double bills.

And for that, Anthropic designed a fine set.

At the same time, in order to keep the user ' s private red line secure, the system does not record or view any user ' s original request or model response at any time of comparison. Well, engineers and...

The answer is to extract the difference 'structure shape', relying on Fingerprinting, and locking the pathology:

: Compare each step (e.g., authentication, construction of a hint) of the two versions when dealing with the request. The first difference is where Bug hides.

: Location and length of recording of discrepancies. They found that the same Bug often leaves the same fingerprints on different requests.

In this way, the system produces a “discrepancies record” that does not contain any user-privileged text and is automatically sent for repair.

Triple Validation Cycle: A perfect synergy between AI and humans

”:

。

, under the real flow test. If “fingerprints” disappear, the repair is successful; if they remain, the mission will be returned to the inner circle.

I'm not sure. Future intelligents would read the rules before working, and would even automatically search for and repair similar errors committed elsewhere.

Paradigm shift for software engineering

”。

Traditional re-engineering often requires the docking of ships in ports, with a piece of wood to replace it. Claude ' s powerful ability allowed them to sail at full speed with the old ship and to build a new ship with identical functions. The intelligent body constantly adjusts the new ship until it is sewn to the trajectory of the old ship. When confirmed, the passengers were smoothly transferred to the faster and more efficient new vessel Rust.

This recasting of the epic level has left an invaluable legacy for the entire scientific community:

Validation is a new bottleneck: when the AI writing code is no longer difficult, the team's ambition ceiling depends on how quickly you can "validate" AI.

Humans retreated to the “margins”: in the early stages of the re-engineering process, human engineers were working with AI to capture Bugs; but as the system matured, humans moved to the edge of the certification cycle, focusing on rule-making, provision, and making Claude self-driven.

Anthropic has demonstrated with its own core system that, with AI in place, the very high-risk, bottom-level restructuring is not only feasible, it can also be elegant. The future of software works is opening a new chapter led by ""!