AI News Daily한국어

A team with almost no Rust experience rewrote the Claude API in Rust in about six months. Anthropic's Katelyn Lesse: "We've phased out coding interviews"

Dec 2, 2026Original The Pragmatic Engineer(유튜브) · 케이틀린 레스 블로그 ↗

In 3 lines

  • A team with little Rust experience moved the Claude API from Python to Rust in 5-6 months
  • Shadow traffic proved parity; about 80% of agent-opened PRs weren't read line by line
  • Claude makes the first call on reviews and pages; humans coordinate; coding interviews are gone
A team with almost no Rust experience rewrote the Claude API in Rust in about six months. Anthropic's Katelyn Lesse: "We've phased out coding interviews"

The team that runs the Claude API at Anthropic moved the whole API from Python to Rust in five to six months, with hardly anyone on the team who had written Rust before. Katelyn Lesse, who leads platform engineering, walked through that rewrite, along with how code review, on-call and hiring have changed, in a 1 hour 50 minute interview on The Pragmatic Engineer podcast published Nov. 26. The video passed 260,000 views and 3,100 likes in six days. We also drew on two posts from Lesse's own blog, on the CPU shortage and the new problems engineers have to solve.

The team every Claude token passes through

Lesse spent almost seven years at the fintech Betterment and led engineering teams at Stripe before joining Anthropic a little over a year ago. Her team owns the Messages API that serves every token Claude produces, plus the infrastructure under Claude Code and Claude Desktop. Auth, tokenization, billing and safety checks all happen in this layer. A single request can stay open for up to about an hour.

Katelyn Lesse · YouTube · The Pragmatic Engineer ↗

A Python monolith hit the CPU wall

The API started about three years ago as a Python monolith built by a tiny team that overlapped with research, where Python was the common language. As request volume spiked, including around a Super Bowl ad that drove people to the apps, the CPU cluster running it got crunched. Lesse said it was the first time in her career that getting more CPU from the clouds became a hard conversation. In a September blog post she wrote that server orders now quote about six months instead of a week or two, and that prices are up roughly 10-20% since March.

Katelyn Lesse · YouTube · The Pragmatic Engineer ↗

Why Rust: let the model handle the syntax

Anthropic had been building new services in Go since last year, picked when models weren't yet good enough to make language choice irrelevant. This year the team went to Rust, betting that models could handle implementation details even though few people had Rust experience (Lesse herself had never written it). She put it at roughly 75% where the model writes the code and exact syntax doesn't matter, and 25% where engineers ask the model questions because they want to understand. Rust's strict compile-time checks turned into an advantage for agents. "As long as you can get stuff to be verifiable you're in a really really great spot," she said.

Katelyn Lesse · YouTube · The Pragmatic Engineer ↗

All at once, verified with shadow traffic

The original plan to carve off pieces one by one was slow, so a newly joined senior engineer proposed a "great leap": fork the codebase and redo the whole thing in Rust. A thin Python front door routed each request through the Python system and shadowed it through Rust, and because the team can't look at customer prompts or completions, they compared everything up to the inference layer plus token counts on the way back. They drove the daily difference rate down to near zero. Lesse said the team would probably say about 80% of the pull requests opened by agents weren't deeply read.

Katelyn Lesse · YouTube · The Pragmatic Engineer ↗

Agents write the code, people coordinate

Other teams kept shipping on the Python system during the rewrite. When one beta went GA unexpectedly, the shadow comparison lit up with differences and errors. The team added linting and static analysis so that anyone building a new feature had to implement it in both Python and Rust. Lesse said the average engineer now spends far more time on that kind of coordination than on implementation.

Katelyn Lesse · YouTube · The Pragmatic Engineer ↗

Rebuilt from scratch after the beta

Claude Managed Agents first booted a sandbox per request and ran Claude Code inside it. If the sandbox died the agent died, boot time added latency, credentials had to live in the sandbox, and every sandbox used at least one CPU. After an early beta the team redesigned it: the harness runs on a durable server, sandboxes spin up only when needed, and credentials are injected at egress. The new design used about a third of the CPU. Lesse said rebuilding was a big decision that made sense because it would be so much faster than humans writing all the code.

Katelyn Lesse · YouTube · The Pragmatic Engineer ↗

A classifier reviews first, Claude takes the page first

A Claude classifier runs on every change and decides whether humans need to look, how many and from which teams, or whether it can merge directly. Mechanical changes such as SDK version bumps for a new model merge and deploy with no human, and that share is ratcheting up, while risky changes still get human eyes. On the load-bearing API on-call rotation, a Claude has shadowed humans for months and now triages pages as noise or real first. When it is real, a human gets woken, and by the time they reach a laptop Claude has often diagnosed the issue and proposed a fix.

Katelyn Lesse · YouTube · The Pragmatic Engineer ↗

Still two-pizza teams, but more senior

Team size looks much like before AI: two-pizza teams of five to ten people own systems and carry on-call. Instead of a tech lead designing and mid-level engineers implementing, anyone on the team now thinks deeply about design and coordination and sends Claude to build, so teams skew more senior. A technical product manager built and shipped a prompt-caching diagnostics dashboard in the developer console by working with Claude in Slack, though the owning team is still the one that gets paged. Host Gergely Orosz said he is a bit skeptical PMs shipping production code will become common elsewhere.

Katelyn Lesse, Gergely Orosz · YouTube · The Pragmatic Engineer ↗

Why the coding interview went away

Anthropic has phased out coding interviews across its product and platform teams. More candidates were failing the coding round but crushing the rest, because they no longer write code by hand. The company is experimenting with agent-driven interviews, such as reviewing code or a system design an agent produced or building something with a coding agent, while the design and past-project interviews stay. Orosz noted Anthropic is the first large company to publicly confirm the change and predicted hiring loops will become more subjective, like EM or PM loops.

Katelyn Lesse, Gergely Orosz · YouTube · The Pragmatic Engineer ↗

For engineers in an identity crisis

Lesse said the people having a harder time are those whose identity was that they "click clacked on my keyboard and I wrote code." In an October blog post she wrote that "some are depressed, others are having the time of their lives," and argued that before thousands of agents can be trusted to work together, engineers have to solve agent infrastructure, identity and authorization, and security. When Orosz pushed back that multi-agent systems feel far off for engineers on a Max plan, Lesse answered that raising the ambition level in any problem space, at any scale, still leaves engineering work to do.

Katelyn Lesse · katelynlesse.com ↗

Comments 0

Select a sentence in the story (long-press on phones) to comment on it.

OriginalThe Pragmatic Engineer(유튜브) · 케이틀린 레스 블로그↗

More insights