How Anthropic Builds Software In 2026 With Katelyn Lesse
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Anthropic engineering leader Katelyn Lesse described how the company is changing software development, including a roughly five-month rewrite of its Messages API from Python to Rust. The Pragmatic Engineer report also details AI-assisted code review and on-call practices, though the available source does not establish how widely these approaches are used or their measured results.

Anthropic platform engineering lead Katelyn Lesse outlined the company’s changing software practices in a 2026 interview with The Pragmatic Engineer, including a roughly five-month rewrite of the Messages API from Python to Rust and the use of Claude in code review and on-call workflows. The account offers a view of how the company is applying AI tools to its own engineering, but the report does not provide independent measurements of productivity or reliability gains.

The Messages API handles external Claude requests as well as traffic from Claude Code and Claude Desktop, according to The Pragmatic Engineer. Its responsibilities include authentication, tokenization, billing and safety checks before requests reach the GPU infrastructure that generates tokens. Anthropic initially built the service as a Python monolith, a choice the report links to the company’s research-oriented beginnings and the team’s familiarity with Python.

Before you orderOffer from Amazon

Get the latest gadgets delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

As usage grew, the team found that optimizing the Python service did not sufficiently address its CPU overhead. Lesse said a small group of engineers then rebuilt it in Rust over about five months. The source says the engineers were not Rust experts; they used Claude to help with the language and compared the new service against the existing API by shadowing production traffic, iterating until the responses matched.

The report also describes a Claude-based classifier that reviews pull requests, deciding whether human review is needed, how many reviewers a change requires and which team should receive it. For what it classifies as mechanical, low-risk changes, the system can reportedly approve changes without human review. The account says an agent had shadowed the API team’s on-call rotation for months, with the longer-term plan of paging an agent before a human. The supplied source excerpt does not include all details of that process or its results.

At a glance
reportWhen: Published in 2026; the source describes…
The developmentThe Pragmatic Engineer published an interview with Anthropic platform engineering lead Katelyn Lesse about the company’s software engineering practices in 2026.

AI Enters Review and On-Call

Anthropic’s account matters because it describes a frontier AI company using its own models not only to help write code but also to participate in review, routing and incident response. These are consequential engineering tasks: mistakes can affect production services, while excessive human review can slow routine changes. The company’s approach, as described, divides work by perceived risk rather than treating every change the same way.

The Rust migration also illustrates a practical trade-off for companies operating AI services. Python had supported rapid development when Anthropic was smaller and closely tied to research, but the report says its CPU demands became a concern as the API grew. Rebuilding a central service in a lower-level language could reduce that burden, though the source gives no quantified CPU savings, cost reduction or reliability comparison.

For other engineering teams, the account is a case study, not proof that the same process will work elsewhere. Anthropic had an existing implementation to compare against and access to Claude during the rewrite. Those conditions helped make the work verifiable, but the report does not establish that teams with different systems, safeguards or workloads would see similar outcomes.

Products Worth Considering

Bose QuietComfort Headphones (2nd Gen), Wireless Noise-Cancelling Over-Ear Headphones, Black

Bose QuietComfort Headphones (2nd Gen), Wireless Noise-Cancelling Over-Ear Headphones, Black

As an affiliate, we earn on qualifying purchases.

From Research API to Rust

The API was built in 2023, when Anthropic was still primarily a research company, according to the report. A small team with substantial overlap with research built it in Python, which fit the tools and expertise already in use. The interview says the service was optimized in Python before the team concluded that the performance overhead remained too large.

The report describes a shift in the team’s language choices over time: about a year before the Rust rewrite, it selected Go for new services because team members could readily read and write it. By the time of the migration, Lesse said Claude was capable enough at Rust to help engineers learn and implement the rewrite. The existing Python API served as a production comparison point, allowing the Rust version to run alongside it and have responses checked.

The Pragmatic Engineer also frames the discussion around Anthropic’s reported scale and relatively small workforce. Those figures are presented in the source as context for why its engineering model may interest other companies, not as evidence that AI-assisted practices alone produced that scale.

“As long as you can really boil something down to make it verifiable in some way, then you don’t have to look at every single line of Rust code that’s getting written.”

— Katelyn Lesse, Anthropic platform engineering lead, as quoted in The Pragmatic Engineer

Results and Safeguards Still Unclear

The source provides no independent evaluation of the API rewrite’s effect on CPU use, operating costs, latency or error rates. It also does not give a detailed account of how the team determined that shadowed responses were identical, what edge cases were tested, or how differences were handled.

The account’s description of automated review leaves open how often Claude’s risk classifications are overridden, what safeguards apply to changes approved without a person, and how responsibility is assigned when an AI-reviewed change causes a problem. The excerpt says an agent had shadowed on-call for months and indicates a move toward paging an agent before a human, but does not specify the rollout status, alert categories, escalation rules or measured performance.

The report mentions changes to engineering work and hiring, including agent-based exercises replacing traditional coding interviews, but the supplied material gives limited detail about how those exercises are designed or assessed. These descriptions reflect Lesse’s account and the publication’s reporting; they do not establish industry-wide practice.

Watch the Agent Rollout

The next developments to watch are whether Anthropic expands agent participation in API on-call and pull-request decisions, and whether it publishes operational results that clarify the benefits and risks. The source does not give a timetable for those steps or identify a specific upcoming milestone.

Anthropic has also published a separate technical walkthrough of its Python-to-Rust migration, according to The Pragmatic Engineer. Further details from that account could clarify how the team checked equivalence and managed the change. Until such information is available, the migration timeline and review practices are confirmed as reported, while their measurable impact remains undetermined.

Key Questions

What did Katelyn Lesse describe?

Anthropic’s platform engineering lead discussed the company’s software practices, including its Messages API rewrite, Claude-assisted coding and AI-supported code review and on-call workflows.

What does Anthropic’s Messages API do?

According to The Pragmatic Engineer, the service handles external Claude API requests and traffic from Claude Code and Claude Desktop. It manages authentication, tokenization, billing and safety checks before requests reach the GPU stack.

Why did Anthropic rewrite the API in Rust?

The report says the team found that optimizing the Python monolith did not resolve its CPU overhead as the service grew. It does not provide specific before-and-after performance or cost figures.

How did the team check the Rust version?

The team ran the new service in shadow alongside the Python API and compared responses, according to the report. Lesse said this made the work verifiable, but the source does not detail the full testing methodology or publish an independent assessment.

Is Claude already handling Anthropic’s on-call incidents alone?

The source says an agent had shadowed the API team’s on-call rotation for months and describes a plan for an agent to be paged before a human. It does not confirm the full rollout, escalation rules or whether the agent handles incidents independently.

Source: newsletter.pragmaticengineer.com

You May Also Like

A Guide To Permissions And Security For AI Agents

IdeaNavigator AI outlines a proposed access broker for short-lived, task-scoped agent credentials; its market need and effectiveness remain unverified.

10 Portable SSDs To Consider For Fast, Convenient Storage In 2027

A 10-drive roundup compares Samsung, SanDisk and SSK portable SSDs by stated speed, capacity and connection needs. Verify exact models before buying.

How The Growth Of AI-Started GitHub PRs Is Changing Code Review

GitHub says agents started more than 40% of September pull requests. Its new review tools put approval, cost and accountability in focus.

Altman’s PC Memory Criticism Raises A Question For Samsung

Sam Altman met about 50 Samsung executives as memory shortages intensify. No new supply deal was announced, and his PC-use estimate was unverified.