Skip to content

By playing, you agree to uListen's Terms and Privacy Policy and YouTube's Terms of Service.

The Pragmatic EngineerThe Pragmatic Engineer

How Anthropic builds software in 2026 with Katelyn Lesse

How did Anthropic rewrite the API serving every Claude token from Python to Rust? And how has the software engineering role evolved at the company?

Katelyn LesseguestGergely Oroszhost
Nov 25, 20261h 50mWatch on YouTube

Summaries, chapters, transcripts, and FAQs on this page are made by uListen, not YouTube.

Great conversations run long. Their best ideas don't have to.

uListen is free on iPhone, iPad, Android, Chrome, and Claude.

See how

At a glance

WHAT IT’S REALLY ABOUT

Anthropic’s agent-driven engineering: Rust rewrites, shadow verification, new workflows

  1. Katelyn Lesse explains how Anthropic’s Claude Platform team rebuilt its entire API layer from a Python monolith into Rust, driven by CPU constraints and rapid traffic growth.
  2. The rewrite relied heavily on agents and verification techniques like shadow traffic, allowing engineers to focus less on line-by-line review and more on measurable correctness and coordination.
  3. She describes Claude Managed Agents as a major platform expansion, including a redesign that addressed reliability, latency, security, and CPU usage before public release.
  4. The workflow inside Anthropic emphasizes Slack-based collaboration with Claude, automated change classification for human review requirements, and agent-assisted incident response.
  5. Hiring and career processes remain (levels, reviews, promotions), but Anthropic has phased out traditional coding interviews in favor of experimenting with agent-driven evaluations and is grappling with shifting signals of “seniority” as implementation time compresses.

IDEAS WORTH REMEMBERING

5 ideas

CPU pressure and scale forced Anthropic’s API layer off a Python monolith.

She describes the old system as a Python monolith in a single GCP region that became CPU-constrained as request volume spiked, and says the team tried incremental steps (efficiencies, another region) before deciding on a more drastic rewrite.

Rust was chosen because models made the language-learning and implementation bottlenecks less painful.

She says Rust offered a strong efficiency/memory-safety trade-off and that improving models made it acceptable to adopt Rust even without many experienced Rust developers, because the models helped both write code and help engineers learn it.

Verification shifted from reading code to making behavior measurable via shadow traffic and other checks.

She explains the team stood up a Rust fork behind a thin Python front door, ran shadow traffic, and iterated on driving down differences—while working around the constraint that they don’t look at customer prompts/completions by comparing pre-inference behavior and token counts.

Agent-written code changed how much humans read code, not whether they verify results.

She says engineers didn’t deeply read most agent-opened PRs (she cites roughly 80%), relying instead on verifiable outcomes; deeper code inspection happened for the harder 20% when issues arose.

Greenfield work emphasized architecture choices; implementation became the smaller part of the effort.

She describes Claude Managed Agents as a new suite of APIs/services for defining agents and running sessions, and says the team threw away an initial architecture (boot sandbox + run Claude Code inside) to redesign for reliability, latency, security, and CPU efficiency before going public.

WORDS WORTH SAVING

5 quotes

So we just rebuilt the whole thing in Rust.

— Katelyn Lesse

Half the battle is Claude helps you write the code. The other half of the battle is Claude helps you learn what code is being written and, and what's even happening.

— Katelyn Lesse

As long as you can really boil something down to, like, 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

We threw the whole thing out and we rebuilt it before we went public.

— Katelyn Lesse

What we have had happening over the past, like, many months, is we've had a Claude shadowing our on-call.

— Katelyn Lesse

Read the available transcript
Claude Platform architecture layersPython monolith limitations and CPU crunchChoosing Rust vs Go and learning via modelsGreat-leap rewrite strategy and shadow traffic validationPrivacy constraints when debugging output differencesClaude Managed Agents architecture redesignAgent-based PR classification and reduced human code review

Ask ChatGPT about this episode

Get its key ideas, plus a summary of each chapter linked to that point in the video, right in your chat.

  1. Add uListen AI to ChatGPT.

  2. Paste this prompt into a new chat.

    Use uListen AI to give me this episode's key ideas and a chapter-by-chapter summary, with timestamps: https://www.youtube.com/watch?v=9oNvKMd7xJo

SPEAKERS

  • Katelyn Lesse

    guest

    Head of engineering for Claude Platform (API) at Anthropic.

  • Gergely Orosz

    host

    Software engineering writer and interviewer behind The Pragmatic Engineer.

High quality AI-generated summary created from speaker-labeled transcript.

Get more out of YouTube videos.

Read along on your phone, search it beside the video, or ask your favorite AI app what was said.