By playing, you agree to uListen's Terms and Privacy Policy and YouTube's Terms of Service.
The Pragmatic EngineerHow Anthropic builds software in 2026 with Katelyn Lesse
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 howCHAPTERS
Jump to publisher timestampsChapter summaries
Katelyn Lesse’s path into engineering leadership (Betterment to management)
Katelyn shares how an intro CS class in college led her to switch from chemical engineering to computer science. She describes internships and then a long stint at Betterment, including moving into management relatively early while staying hands-on.
- •Switched majors after enjoying early CS coursework
- •Interned at Betterment and returned full-time after graduating
- •Worked on a new business line and stepped into management when there was an opening
- •Stayed hands-on as an early manager, including building and reviewing code
Joining Stripe and learning from an engineering-led culture
Katelyn explains why she joined Stripe and what she found distinctive about its engineering environment. The discussion sets up a contrast between traditional engineering constraints and what she later experiences at Anthropic.
- •Joined Stripe partly to work again with a former manager
- •Worked on Stripe Capital and saw Stripe’s pace and ambition
- •Describes Stripe as engineering-led with a high bar for excellence
- •Frames Stripe as difficult to “top” in challenges—leading into Anthropic’s scale and change
How Claude’s platform works: from request to tokens
Katelyn outlines the layers behind Claude: inference at the bottom, platform above it, and applications and external customers on top. She walks through what happens when an API request arrives and why LLM serving has unique characteristics, like long-lived streaming requests.
- •Inference layer runs models on accelerators; platform sits above it
- •Platform powers both external APIs and internal apps via the same Messages API
- •API flow includes auth, CPU clusters, tokenization, billing, and safety checks before inference
- •Streaming and long-lived requests (up to about an hour) change backend assumptions
Why the Claude API started as a Python monolith—and why it hit limits
The conversation explores why a performance-sensitive core service began in Python: it emerged from a small team bridging research and early product work. As request volume surged, CPU constraints became a real operational bottleneck, shifting the trade-offs.
- •Original service was a Python monolith running in a single cloud region
- •Python choice aligned with research workflows and early cross-team collaboration
- •Traffic spikes made CPU efficiency a first-order problem
- •Team tried classic mitigations (regions, routing, infra efficiencies) before considering a rewrite
Choosing Rust: performance, safety, and ‘agent-friendly’ development
Katelyn explains how the team arrived at Rust after already using Go for newer services. She describes Rust as a strong trade-off: high performance with memory safety, and increasingly feasible even without many Rust experts because models can help write and explain the code.
- •Anthropic had begun building new services in Go as models improved
- •Rust was selected for maximum efficiency without moving to C++
- •Models helped overcome Rust’s learning curve and compile-time friction
- •Engineers used Claude both to generate code and to learn what the code is doing
The ‘great leap’ rewrite: rebuilding the whole API layer in Rust
Instead of gradually porting components, a senior engineer proposed rewriting the entire API stack in one parallel Rust codebase. The approach relied on shadowing: routing real requests through both implementations and iterating until outputs aligned closely enough to roll out.
- •Initial plan was to rewrite components incrementally, then shifted to an all-at-once fork
- •Thin Python “front door” enabled shadow traffic through the Rust system
- •Success criteria focused on matching outputs between the Python and Rust paths
- •A fallback mechanism allowed serving via Python when Rust errored during rollout
Verifying without looking at prompts: shadow traffic under privacy constraints
Katelyn describes a central challenge: the team doesn’t inspect customer prompts or completions, making debugging mismatches harder. They leaned on verifiable checkpoints—ensuring requests matched up to the inference boundary and checking token counts on the way out—then iterated down discrepancy rates over time.
- •Privacy constraints prevented using raw prompt/completion data to debug diffs
- •Verification focused on pre-inference equivalence and token-count checks post-inference
- •Engineers drove mismatch rates down day-by-day using measurable signals
- •Rollout preserved a Python fallback until confidence was high enough to remove it
How much code did humans review? Verifiability over line-by-line inspection
The host probes how traditional code review fits when agents generate most code. Katelyn explains that when work is verifiable, engineers don’t need to deeply read every line, though they still dive in for the harder cases where correctness or edge behavior matters.
- •Engineers leaned on verifiability to reduce the need for exhaustive reading
- •Katelyn estimates most agent-opened PRs were not deeply reviewed line-by-line
- •Deep dives happened when issues appeared or perfect equivalence was required
- •Emphasis shifts from syntax to intent, correctness, and system-level validation
Onboarding and understanding systems: ‘Ask Claude’ with connected context
Katelyn explains how onboarding changed: instead of relying on outdated docs and whiteboarding, new hires query Claude to understand systems. With internal connections to systems and code, Claude can generate interactive explanations or other formats based on what the newcomer prefers.
- •Documentation wasn’t perfect historically due to rapid growth and load
- •New hires ask Claude to explain the system, sometimes generating interactive artifacts
- •Internal Claude is connected to systems via MCP servers for better context
- •Onboarding becomes personalized by format (prose, interactive, etc.) and stays closer to current code
From migration to greenfield: building Claude Managed Agents
The discussion shifts to a new product area: APIs for defining and running agents in the cloud. Katelyn details why developers were running into the same issues when hosting agent harnesses themselves, and how Anthropic built higher-order APIs and services to address reliability, security, and operational concerns.
- •Claude platform began as a stateless Messages API, then expanded as agents became practical
- •Customers deploying agents in sandboxes hit reliability, security, and architectural issues
- •Anthropic built new APIs/services for defining agents, managing sessions, and spawning sandboxes
- •Implementation was faster; more effort went into abstractions, architecture, and non-functional requirements
Re-architecting Managed Agents: durable harness, ephemeral sandboxes, safer credentials
Katelyn recounts an early approach—boot a sandbox and run Claude Code inside—then lists the problems it created (reliability, latency, security, CPU). The team redesigned from first principles: run the harness on a durable server, spin up sandboxes only for execution, store session state separately, and handle credentials via a proxy and vault with just-in-time injection.
- •Initial design caused failures when sandboxes died, plus high startup latency
- •Security concern: credentials would otherwise live inside the sandbox with the agent
- •CPU costs were significant when every session required a dedicated sandbox runtime
- •Redesign improved reliability and latency, kept credentials out of sandboxes, and reduced average CPU usage
How teams work with agents: Slack workflows, automated PR classification, and less human-in-the-loop
Katelyn describes day-to-day engineering as shifting from single PR lifecycles to managing larger units of work. Agents are “chatty” in Slack, spawn sub-tasks, and handle more of the pipeline—like determining whether a change needs human review—while humans focus on direction, coordination, and riskier decisions.
- •Work is framed as end-to-end outcomes rather than one task → one PR
- •Agents report progress in Slack and may propose next steps or coordination needs
- •A Claude-based classifier decides whether PRs need human review and which teams to involve
- •Mechanical changes (e.g., some SDK updates) can merge and deploy without human review
On-call with Claude: filtering noise, diagnosing issues, and cautious automation
The host asks how production operations and incident response change. Katelyn explains that monitors and alerts remain, but Claude now shadows on-call to reduce noise and begin diagnosis immediately, sometimes preparing recommended fixes before a human reaches their laptop.
- •Alerting and monitoring are still core, and noise remains a challenge
- •Claude shadows the API on-call rotation and triages alerts as noise vs real
- •When real, Claude starts investigating and can propose fixes while waiting for humans
- •Goal is more autonomous handling over time, but they’re not fully there yet
Non-engineers shipping: product managers pushing features to production (with accountability staying team-based)
Katelyn confirms product managers can push code to production in certain areas, and gives a concrete example in the developer console. She emphasizes the ownership model remains: the team that owns a system is still the team accountable when something breaks, regardless of who authored the change or whether an agent made it.
- •The boundary of what’s “safe” for non-engineers to ship is expanding
- •Example: a product manager built and shipped a developer console feature related to prompt caching diagnostics
- •Engineers can still review, but implementation can be PM + Claude in Slack
- •Operational accountability remains with the owning team that gets paged
Anthropic’s ‘software factory’: QA agents, CI-fix agents, and acceleration teams
The host introduces the industry idea of a “software factory,” and Katelyn says Anthropic doesn’t use the term internally but matches the concept. She describes ambient QA agents, agents that fix flaky tests when CI goes red, and how both centralized infra and platform-focused acceleration teams build tooling—along with bottom-up experimentation by individual engineers.
- •Anthropic is building agent-driven loops: implement → verify → review → deploy → monitor
- •Experimenting with ambient QA agents that continually test behavior and open PRs when broken
- •Central infra has a developer acceleration team; platform also has a Platform Acceleration team
- •Individual engineers frequently build tooling to remove bottlenecks, increasing investment in meta-tooling
Hiring without coding interviews: evaluating ‘working with agents’
Katelyn explains why traditional coding interviews became less informative: candidates may be strong in design and execution but weaker at writing code by hand. Anthropic phased out coding interviews across product and platform teams and is experimenting with replacements that test how candidates use agents—while keeping other interviews like technical design.
- •Coding interviews provided weaker signal as day-to-day work shifted away from hand-coding
- •Anthropic phased out coding interviews across product and platform teams
- •They are piloting agent-driven assessments (agent-written code review, agent-assisted building, etc.)
- •They’re balancing signal quality with practical needs like rubrics, scalability, and trustworthiness
Levels, reviews, and the engineer identity crisis: impact, coordination, and deeper expertise
Katelyn says levels, promotions, and reviews still exist, but the organization skews more senior and measuring complexity is changing as big projects compress in time. She and the host discuss an identity shift: less emphasis on typing code, more on alignment, system outcomes, and enabling higher ambition—while still valuing deep expertise in areas like security and infrastructure.
- •Organization skews more senior; junior-level performance expectations are less uniform
- •Time-to-deliver is no longer a reliable proxy for complexity; impact remains the anchor
- •Feedback culture is designed to reduce surprises, with transparency in feedback shared
- •Identity crisis: moving from ‘writing code’ to coordination, systems thinking, and enabling more ambitious work
Book recommendation and closing reflections
Katelyn recommends Project Hail Mary and explains why it resonated—especially the theme of figuring out communication in a way that feels relatable to working with AI. The conversation wraps with thanks and the host’s closing notes.
- •Book recommendation: Project Hail Mary
- •She highlights the communication challenge between characters as relatable to AI dynamics
- •Host thanks Katelyn and closes the episode
- •Outro summarizes major themes discussed throughout the episode
Publisher timestamps
- 0:00Intro
- 3:09Stripe
- 7:04How the Claude API works
- 10:21The Rust rewrite of the Claude API
- 23:40Verifying the rewrite with shadow traffic
- 31:11Onboarding new hires with Claude
- 44:35Building Claude Managed Agents
- 53:59How engineering teams work at Anthropic
- 58:43What agents handle on their own
- 1:04:47Human code review
- 1:06:41Oncall with Claude
- 1:09:31Product managers shipping to production
- 1:16:25Anthropic’s software factory
- 1:24:13Phasing out traditional coding interviews
- 1:28:24Levels, promotions, and performance reviews
- 1:33:21The software engineer identity crisis
- 1:47:23Book recommendation
- 1:48:12Closing takeaways