TL;DR. Verification, not code, constrains what AI agents can be trusted to do. Anthropic got past it by building a system in which agents do the work, independent checks judge it, and people hold the gate and the rules. In August I named that a system of execution. Anthropic’s migration is the clearest public example I’ve seen of how one works, though its economics are untested.
1. For an investor in Anthropic, it is evidence that engineering written by agents holds in production. The rewrite used about 70% less processor time per request in the region Anthropic measured. My estimate of what Anthropic spends to stay at the frontier is unchanged. The evidence to watch for is the same test passed inside a customer, outside coding.
2. For software, code is no longer a moat. Applications whose behavior can be watched from outside can be rebuilt by agents.
3. The moat that remains is the system of verification, and in business it has to be built on the record. Anthropic can win that loop in code. Software vendors that hold the record can win it in business, if they build the check.
Claude wrote a first version of the core of Anthropic’s Messages API in about a week. By April, it passed 98% of integration tests, yet the two versions produced identical instructions for Claude on only about a quarter of live requests. Closing that gap took a System of Execution. Who can build one for business, and what could they charge?
The biggest headlines in AI over the past week may have overshadowed the development with the most immediate impact.
Anthropic shares jumped 15.9% on Monday as speculation swirled over whether its AI had found a weakness in a form of encryption. This amplified growing fears that AI is already helping attackers find and exploit weaknesses in widely used software faster than companies can fix them. This followed a string of high-profile outages that hit Microsoft Outlook, JPMorgan Chase, and air traffic systems in the US and UK in recent weeks, prompting speculation that AI had enabled unprecedented attacks. And CEO Dario Amodei triggered another round of heated policy debate by publishing an essay that again calls on governments to help mitigate the risk of reckless AI labs by requiring independent testing of new frontier models in addition to other safeguards.
These events feel profound because they hint at what frontier models such as Claude could do. But for investors trying to decide which software companies Claude might displace, I’d start with a quieter piece of news Anthropic published five days earlier that delivered a blunt reality check to the mythology of AI coding.
On November 25, Anthropic published an account of how it used Claude to rewrite the software that handles customer API requests to Claude. In this age of AI coding, this may have seemed like yet another article trumpeting the transformative power of tools like Claude Code.
Anthropic described how Claude produced a first version of the core software in about a week. The company wanted to move from Python to Rust to use CPUs more efficiently. By April, the new Rust version was passing 98% of the team’s tests. Yet when engineers ran the same production requests through both versions, they produced identical instructions for Claude only about one time in four.
Before switching customers over, Anthropic had to work out which differences mattered and fix them.
That gap made me reconsider something I wrote in August. I described software verification as “cheap, fast, and general-purpose.” I had underestimated how much of a live service’s behavior is known only because the service is already running. In this case, Anthropic’s engineers could inspect both versions, send the same requests through them, and decide which differences mattered.
Even with those advantages, it took until September for the team to feel confident enough to move public traffic to Rust.
This offers another critical corrective to the narrative that emerged at the end of January when Anthropic released a set of plugins for Claude Cowork. In the following days, software stocks lost $285 billion in what analysts dubbed the SaaSpocalypse. The reaction was indiscriminate, as I wrote at the time, calling it the wrong panic. The selling was “analytically lazy” because it treated a legal-forms website and a system that runs a company’s entire customer operation as though they faced the same threat.
Some of those stocks have since bounced back. Others have not. But the view that AI will make most software worthless has persisted, and some lab leaders have fed it.
In May, Anthropic’s chief executive told an audience of financial firms that individual software companies could “lose market value, go bankrupt, completely go bust.” AI podcaster Dwarkesh Patel took the argument a step further. If AI can run a company, he asked, “Why would there even be other firms?” In October, a single developer used Claude to publish open-source rebuilds of some of the world's best-known creative applications.
The “AI ends software” trade had acquired a persuasive demonstration of how much one person could now build. But Anthropic’s Rust migration forces us to dig past the AI coding surface to understand what it would take for a customer to trust the replacement.
Anthropic’s solution for building this trust was what I call a System of Execution. Agents proposed fixes, the live service provided an independent check, and engineers kept the authority to approve changes and the record of what they learned. Anthropic owned every part of that arrangement.
I see Anthropic’s report on its Rust API migration as the first hard evidence on three questions investors have argued about all year: what limits AI agents, whether agent-written engineering holds up in production, and what is left for software companies once code is free.
Why Anthropic asked Claude to rewrite its Messages API
When a company builds a product on Claude, a service called the Messages API handles its requests. Anthropic’s own products, including Claude Code, use it too.
The service assembles the instructions Claude receives, checks usage limits, delivers the answer, and records how much to bill. By autumn 2026, it was handling roughly 1,800 times as much traffic as in early 2024. At that scale, even small savings on each request add up.
That machinery was written in Python, a language that is quick to write and slow to run. Anthropic’s engineers started with the part of the service that processes Claude’s replies. They rewrote it in Rust, a programming language that could do the same work using less processor time than the original Python code.
Rewriting only the part that processes the model’s output saved about 8% to 10% of processor time. But the team judged the gain too small for the complexity of running on two programming languages. Doing a full rewrite might have been unthinkable a year ago. But Claude had changed the equation. Claude agents did the writing. By May, Claude was writing more than 80% of the code Anthropic merged. According to the report, Claude produced a first version of the core request path “in about a week.”
The impact of the move to Rust in September has been substantial.
Anthropic reports about 70% less processor time per request, measured in one region. A chart in the report shows memory per request down by more than 80% (Figure 1). Claude Code users saw a difference too. Over two weeks in September, the median wait for a response to begin fell by about 20%.

I can see why a software investor would read this as confirmation of the bear case. Claude helped replace a critical piece of infrastructure while customers were using it, and the replacement ran more efficiently. How much should an investor pay for an incumbent’s code if a competitor can reproduce it that quickly?
However, the missing details change how I read that question. The week bought Anthropic a first version. The company gives no figure for what the migration cost, how many engineers it took, or how many agents they ran. What it does give us is an account of the months between that first version and the decision to put it in front of customers.
That is where the case for software moats gets far more complex.
Why verification became Anthropic’s bottleneck
By April, the new service passed about 98% of Anthropic’s integration tests, a suite carried over from about 700 originals, which checked how the parts of the service worked together. Then the engineers tried a different test.
They sent the same real requests through both versions and compared the instructions each prepared for Claude. Only about a quarter matched exactly (Figure 2). An emoji written two different ways counted as a mismatch. So did a limit of one million read as two hundred thousand. The percentage told the engineers where to look.
They still had to work out which differences mattered to customers.

That correction reaches back further than August. In King Claude last May, I wrote that in code, “a compiler enforces syntax; tests enforce behavior; version control enforces history.” In August, as I noted above, I went further and described software verification as “cheap, fast, and general-purpose.” I had taken the low cost of running a test as a guide to the cost of knowing what to test. Anthropic already had 700 tests. A single case missing from all of them could turn up thousands of times in a day’s traffic.
Some of the checks had also become easier to pass. The original tests were written for the Python service, so the team had to adapt them for Rust. Claude helped rewrite both the software and the tests used to judge it. When engineers audited them, they found more than 100 individual checks that now accepted behavior the original checks would have rejected.
The report does not say who or what loosened them, and I will not guess. But the consequence is clear enough. A passing grade could now mean that the standard had slipped.
The most revealing example came in May. The new version was building prompts without the description of the web-search tool, which the old service fetched from another internal system. An agent proposed to copy the text into files the new code could read. The prompts then matched, and the local check passed. An engineer rejected the fix because the real call would still have to be built before launch. Anthropic’s summary is the most useful sentence in the report: “the verifier rewarded matching outputs, and the agent found the cheapest way to produce them.”
I’d distinguish those last two failures because they call for different remedies. A weakened test needs someone independent of the work to uphold the original standard. The web-search test held its standard perfectly. The engineer caught something the test had never asked: would the fix still work the next time the description changed? That is the judgment Anthropic had to preserve as it handed more of the work to agents.
None of this will surprise engineers. Anthropic’s own workforce study in October called human attention “a constant bottleneck”. METR, the group that measures what AI systems can do, wrote on 20 November: “We find that models still often engage in reward hacking”, the research term for the shortcut above. Walden Yan of Cognition, which builds the coding agent Devin, has described merging agent-written code with no review at all. As of last December, he said, a team could run that way “for about two weeks” before the codebase had to be rewritten.
What is new is the witness and the scale. A frontier lab has shown the constraint on the service its own revenue runs through, with dates and numbers.
The next question was where, exactly, that judgment belonged.
How Anthropic verified the rewrite and where people kept control
In April, Anthropic’s engineers ran Claude on each discrepancy themselves, and each guess waited hours or days for review and deployment. Over the course of the migration, they handed more of that work to Claude. They kept the authority to decide what counted as a fix. An agent could investigate a problem, try several approaches, and propose a change. An engineer could still reject it, as one did when an agent proposed copying the web-search description into a file.
The original service gave Anthropic a reference it could trust. The team sent the same live request through both versions and compared what each did along the way. Claude generated a reply only once. The team replayed that reply through the new service, so the two versions worked from the same answer and the customer was billed once. Engineers could investigate discrepancies without reading customer messages. The system recorded where each difference occurred and how large it was. A single bug could leave the same fingerprint hundreds of thousands of times.
In the report’s words, “a production system itself can also be a verifier.”
Anthropic organized the work into three loops (Figure 3):
Investigation, which Anthropic calls the inner loop. An agent worked in an isolated environment where it could test a possible explanation against both versions in under a second. Once this loop was in place, the agent could pursue a promising lead without waiting for an engineer to approve the next step.
Verification on live traffic, which Anthropic calls the outer loop. Engineers reviewed proposed fixes before deployment. Live traffic then supplied a tougher test. Over the following hours or days, the team could see whether the same discrepancy kept appearing on real requests.
Memory, the third loop. When an engineer corrected an agent, the team could turn that judgment into a standing rule. Later agents read the rule before starting work.

The memory loop is what I’d draw an executive’s attention to. After one agent guessed how the old service handled a case, an engineer instructed agents to consult the original code and reproduce its behavior. Another agent applied that rule to work already completed and found seven more places where the rewrite relied on a guess. In June, an agent gathered about 60 review comments and proposed a set of standing rules. An engineer edited and approved them. One person’s judgment on one fix could now improve work that person would never review.
By August, the two versions produced identical inputs for Claude on 99.6% of the requests in the comparison, up from a low of 6.5% in early May. The traffic sample widened over that period, so those figures describe the team’s progress on a changing test. Anthropic’s engineers put their own role plainly: “We tried to put human judgment only into what counted as correct.”
For investors, the distinction matters. A more capable model can investigate more discrepancies between human decisions. A well-judged correction can guide every agent that follows. Anthropic owned the service that supplied the evidence, employed the engineers who set the standard, and could decide when the new version was ready for customers.
That combination is what I mean by a System of Execution.
The first working System of Execution, and the half it leaves untested
This is the first tangible proof of an idea I put forward in August. In The System of Execution, I argued that the layer worth owning once intelligence is cheap is the one that holds a piece of work together from start to finish. I defined it as the layer that “owns the continuity between organizational intent and a verified result”. It has to capture the intent, carry the authority, act, verify, keep an accountable history, and learn from the result.
In August, that was a definition, and I wrote that coding came closest to an example. Anthropic’s migration is the first documented case I know of in which every part of the loop can be seen in one place (Figure 4). The intent was the company’s decision to move its main service to Rust. The authority sat with engineers, who approved each fix before deployment. Agents took the action. The verification came from the production system, which the agents did not control. The accountable history was a record of each difference, where it arose, and whether a fix removed it. The learning was the memory loop. I called the output of such a system a receipt, meaning the evidence of what was asked, what was allowed, what was done, and whether it was verified. Together with the reviewed fixes, Anthropic’s records come close to receipts in that sense.

Two things follow from seeing this as a system. The model, however capable, was one component, and the other components took most of the time. And a system has an owner. Anthropic owned every part of this one, because it was its own customer. The decision, the service, the live traffic, and the engineers were all its own. It also means the proof covers half of my August definition. Anthropic showed how the system works. Because it was its own customer, the migration leaves open what an outside customer would pay for a verified outcome.
The rest of this essay turns on that ownership.
What the Rust migration changes for Anthropic investors
For an investor in the stock, my conclusion is this. The migration is a reason to hold one belief with more confidence: that Anthropic’s models, and the engineering around them, stay at the frontier. It is the third of the nine need-to-believes in the case I published in November. It leaves the size of the bill for holding that frontier where it was, and the revenue and margin case unchanged, while showing that the bill buys more than it did. What it adds is evidence I couldn't see before: how Anthropic put Claude to work on a service its customers depend on, caught mistakes its tests missed, and decided when the replacement was ready.
The bear case against Anthropic is about cost. My long-form assessment of its prospectus, Where Software Meets Infrastructure, set that case out in its conclusion: “the September quarter lost money as the stack arrived ahead of the revenue, and the compute that does not serve customers, the budget that keeps the Company at the frontier, ran at $30 billion a year and has only ever gone up.” That is the first need-to-believe in the assessment: access to the compute that builds and serves the frontier at a competitive cost. I showed there that training, research, and internal use took “38.8% to 42.1% of revenue” over the nine months to September, and I concluded: “The cost is therefore in holding the frontier, with a training budget that follows the race.”
If that budget is a race with no finish line, the margin never arrives.
That matters because some of the most important evidence on Anthropic was difficult for an outsider to assess. METR, an independent research group given access inside the company, found that Anthropic’s models were improving on its internal measure at 1.9 times their earlier rate. METR thought the models’ growing contribution to research probably explained much of that acceleration, though it stressed the uncertainty. Anthropic redacted much of the evidence METR found most informative. The Rust migration gives investors a different kind of evidence. It is still Anthropic’s own account, but a reader can follow a proposed fix from an agent’s first attempt to the judgment that allowed it into service.
The clearest implication is how much engineering work Anthropic can take on.
At the start of the project, the team was incorporating fewer than 100 changes to the Rust service every two weeks. In one two-week period in August, it incorporated more than 3,000. Some of those changes were unrelated to the migration, and a change count tells us little about the value of each one. What interests me is the condition that allowed the team to raise its ambitions. Once agents could test their work against the live service, engineers could give them more problems to investigate. How many projects can Anthropic verify this way? The answer matters more to Anthropic’s growth than the share of code Claude writes.
For margins, the distinction is where the saving occurred. The Rust service used about 70% less processor time per request in the region Anthropic measured. Those processors handle the work around each call to Claude. The report gives no corresponding savings for the chips that run the model or for the cost of training its successor. In my assessment of Anthropic’s prospectus, I estimated that the compute that does not serve customers ran at $7.4 billion in the September quarter, or $30 billion a year. The migration shows how Anthropic can make better use of infrastructure it already operates. The savings are real, and they are small beside that budget. The migration says nothing about what the next generation of models will cost to build.
The largest assumption in the case I published is the seventh of my nine need-to-believes: that Anthropic becomes an enterprise platform beyond coding. Here, the decisive detail is who had the authority to say the work was done. Anthropic owned the old service, could observe how it behaved, and employed the engineers who could approve the switch. Inside a customer, that authority belongs to the customer. For Anthropic to earn revenue there, it must show the customer that the right action was authorized and carried out.
One test now matters more than the others. In my assessment, I listed “an approval that executes inside Claude’s runtime rather than in the system of record.” Anthropic has passed that test inside its own walls. In the migration, engineers retained authority over what went live. What would move my case is a customer disclosing that an approval for work outside coding executed inside Claude’s runtime.
That gives the software company that already holds the customer’s records a role worth examining.
Who can authorize an AI agent to issue a refund?
From here the question changes. Anthropic owned the system it checked its work against. A retailer’s refund shows what a business needs instead.
A customer wants their money back on an order placed seven weeks ago. The order is genuine. The amount is correct. The agent can issue the payment. Should it? That depends on which return policy applies, whether the retailer has already replaced the item, and who can approve an exception.
Anthropic could replay a request through two versions of its software and bill the customer once. A retailer can replay yesterday’s refund request to test an agent, but paying it a second time would tell the retailer very little and leave the customer with twice the money.
Anthropic’s own workforce study found a smaller gain in sales. Its October workforce study says code commits per engineer rose to about five times their level six months earlier. On the study’s chart, as widely reported, deals per salesperson rose about 1.7 times.
The gap between reaching the right outcome and following the required process shows up in an October study of AI agents handling customer-service tasks in regulated industries. In 55.5% of the 840 runs evaluated, the agent reached the expected outcome while failing at least one required process check. An auditor looking only at the final balance would miss precisely the failure an executive needs to know about.
For the retailer, the decisive moment comes when the agent tries to commit the refund. The software can check the current order record for a replacement or an earlier payment, apply the policy in force, and confirm that the person on whose behalf the agent is acting can authorize that amount. If an exception requires a manager, the refund waits. Once approved, the transaction leaves a record of what was paid, under which rule, and on whose authority.
That action changes the company’s records, takes effect only after the required checks pass, and leaves evidence of who authorized it. That gives the retailer something worth paying for. If a second agent tries to refund the same order tomorrow, the software can stop the payment. If the customer disputes it next month, the retailer can show exactly what happened.
The vendor that already holds the order record has a head start, provided the retailer trusts its software to enforce the refund rules when an agent tries to move money.
What enterprise software sells in the Machine Economy
A software seat is easy to count. A retailer buys one for each employee who needs to work in its customer-service application. But suppose three AI agents can issue refunds through the same application. Counting seats tells the retailer little about what it is buying. What it cares about is whether it can let any of those agents move money under the same rules, stop a payment that falls outside them, and explain an approval months later.
Enterprise software vendors have earned license fees for maintaining the official record and subscription revenue for giving employees access to it. In what I call the Machine Economy, agents do more of the work inside those applications. The accepted action becomes something a vendor can sell. The vendor could charge for each verified transaction or include that capability in a broader contract. Either way, the retailer has a reason to pay: it can delegate the work and keep control over which decisions bind the company.
Anthropic’s migration showed the two things that control requires (Figure 5): checks the agent cannot quietly weaken, and someone with the knowledge and authority to reject a fix that passes. In a business, the customer sets that standard, decides who can grant an exception, and determines which rulings should guide future agents.

The commercial opportunity comes into focus when a retailer uses agents from several suppliers alongside one it built itself. An identity provider can determine which agent is requesting a refund. A data platform can show that the order was eligible when the records were last copied. But if another agent refunded the order a moment ago, the system recording the payment can see that change and refuse a second one.
That is the advantage of the system that holds the order, the policy, and the approval limits together. A ledger already stops a duplicate payment. Applying the retailer’s policy and its exceptions to an agent it has never seen is the new work, and it is the part a retailer would pay for. Whether that advantage becomes a moat depends on how easily the customer can entrust the same job to someone else.
The moat that remains
The strongest argument against a software moat is in Anthropic’s report.
A retailer that wants to leave its software vendor could run a replacement alongside the incumbent. Each time a refund request comes in, both systems would decide whether to approve it. Only the incumbent would move the money. If the retailer can observe enough decisions, investigate the differences, and satisfy itself that the replacement applies its rules, it has a credible way out. A vendor that only stores the record risks becoming the reference for its own replacement.
How far does that argument travel? The October rebuilds showed how much of a product a developer can reproduce by observing it from the outside. Anthropic had considerably more to work with. It owned the original code, could compare both versions on live traffic, and employed the engineers who understood why an apparent fix would fail in practice. For a buyer weighing a switch, the cost depends on how much of that knowledge it can recover. Matching a refund decision is relatively easy. Discovering why a regional manager could approve an exception last quarter, and whether that authority still holds today, takes more work.
That is where I would look for a moat. Suppose the retailer can move its refund rules, approval limits, and exception history to another provider. If its auditors accept the new provider’s records and its managers can still stop a payment, the incumbent has little pricing power. A vendor earns a more durable position when customers rely on it to keep those permissions current, resolve conflicting instructions, and account for decisions long after the employee or agent that made them has gone. The customer owns the authority and can delegate those responsibilities to an incumbent, an AI lab, or a system it builds itself.
Better models raise the stakes. A retailer may let a more capable agent handle larger refunds or settle claims that once went to a manager. Each expansion makes the quality of the checks more consequential.
Whether the software vendor captures that value depends on a decision the customer makes: Where will every agent, regardless of who built it, have to go for binding approval?
Claude produced a first version of Anthropic’s core request software in about a week. It was September before Anthropic trusted the replacement with public traffic. The “AI ends software” trade takes the economics of that first week and applies them to the whole business. I think it underestimates the vendors their customers will still depend on for what took the next several months.
Disclosure: Decoding Discontinuity is the research behind the author’s investing. The author manages a fund that may hold long or short positions in listed companies discussed in or affected by this essay. This essay uses only published sources and is not an offer, solicitation, or recommendation regarding any security.


