Katelyn Lesse, who leads platform engineering at Anthropic, describes rebuilding the Claude API from Python to Rust and how agents take part in development, verification, and operations. Implementation is much faster, while people remain responsible for designing systems, verifying results, security, coordinating teams, and operating services. Anthropic is gradually replacing traditional coding interviews. The ability to frame and solve larger problems matters at least as much as writing code by hand.
1. Katelyn's Career and Role at Anthropic
The episode opens with Anthropic rebuilding the Claude API layer in Rust instead of Python without people reading much of the agent-written code line by line. It previews changes to traditional coding interviews and the identity crisis some engineers who used to write the code are experiencing.
Katelyn leads platform engineering at Anthropic. Her team is responsible for the API that handles Claude's tokens and the systems underlying Claude Code and Claude Desktop.
She studied chemical engineering in college, then switched after a required introductory computer science class caught her interest. She interned twice at fintech company Betterment, joined full-time, and stayed about seven years. She helped a small team build a retirement plan business from scratch. About two years in, the manager left and she became an engineering manager relatively early in her career.
She wondered whether she'd moved into management too soon. In a small team, she was still able to build and review code and stay deeply involved in technical work. Later she followed a manager she'd worked with at Betterment to Stripe, where she worked on Stripe Capital, the lending business. She remembers Stripe as a place that moved quickly and tried new businesses on a strong engineering foundation.
2. How the Claude API Works
Katelyn describes Claude's architecture from the bottom up. At the bottom, the inference layer runs AI models on accelerators such as GPUs and TPUs. Immediately above it is the platform her team owns.
The platform is the common foundation for Anthropic's own products and the API external customers use. Katelyn is particularly proud that internal products and outside developers use the same API.
"Every token that Claude serves goes through the Messages API."
A request first goes through authentication and authorization. API services running across multiple regions and clouds handle tokenization, billing, and security checks. They return the result after model inference. The platform team also manages CPU, networking, safeguards, and developer tools.
The Claude API differs from a typical web API in some respects. Requests can remain open for close to an hour. Conversations are stateless by default, so the whole conversation needs to be passed back and forth. The team has worked to reduce network traffic and make the system more flexible and reliable.
3. Why the Python API Reached Its Limit
The original API was a Python monolith in one Google Cloud region, meaning one large application. Anthropic chose Python as a small model research company because collaboration was easier when researchers and early product engineers shared a language they knew.
"It was the easiest choice for research, inference, infrastructure, and what was then a product team of only a few people to work together."
As requests surged, CPU efficiency became a problem. When preparing for events that bring in consumers, such as a Super Bowl ad, the API layer had to handle the sudden traffic because all of Anthropic's apps used the Messages API.
People used to assume you could keep adding cloud CPUs if you could pay for them. Katelyn says getting as many cloud resources as you need has itself become harder. The team spread traffic to other regions and tried smaller efficiency improvements, but ran into constraints such as bandwidth between regions. Some engineers concluded that sustaining growth required a fundamental change.
4. AI Made Rust a Viable Choice
Anthropic had already started writing some new services in Go, which was easy for developers to work with and more efficient than Python. For the API layer, where performance mattered most, one engineer proposed Rust.
Rust provides high performance and memory safety, but developers have to learn its strict compile-time constraints. The team had little Rust experience. That was less of a hurdle once models could write code and help developers learn it.
"Half of it is Claude helping write the code. The other half is helping you learn about the code being written and what is actually happening."
Katelyn hadn't developed in Rust before. Her view is that for much of the work a model can handle the syntax, and engineers will naturally ask questions and learn some details. Conveying clearly what the code should do becomes more important than knowing the exact syntax.
They also see Rust's compile-time checks as a good fit for agents. Repeatedly fixing and compiling by hand can be tedious. With an agent doing the iteration, strict checks make the result easier to trust. A successful compile and a service behaving correctly in every case are different matters. Anthropic separately verified behavior during the migration.
5. Verify by Running Python and Rust Side by Side
The original plan was to extract parts of the old system and move them to Rust gradually. It was too slow. A senior engineer who had recently joined proposed a big leap, rebuilding the whole thing at once using the existing codebase.
The team used a thin Python front layer to send each request to both the old Python system and the new Rust system and compare the results. This shadow traffic exposed differences on actual requests, and the team reduced those differences day by day.
Privacy was the hardest part. The team couldn't freely inspect users' actual inputs or model outputs. If a difference appeared, engineers couldn't simply open the source data and debug it the usual way.
They checked whether the two systems handled requests identically before inference and compared metrics such as token counts on the way back. Equal token counts don't prove equal content, so they looked especially closely at what happened before inference to track down differences. They repeated this until almost no discrepancies remained, then gradually rolled the Rust system into production.
The team initially kept the Python path so requests the Rust system couldn't handle or errored on could fall back to Python. A slightly slower response was better than a failure. It removed the Python front layer completely only once the system was stable enough.
"If you build some way of verifying the result, you don't have to read every line of the code being written in Rust."
Engineers still examined code. Katelyn estimates the team didn't read all the code deeply in about 80% of agent-generated PRs. In the rest, differences or problems led engineers into the implementation details. Because the system was critical, she says people investigated more of it directly than one might expect.
The episode then includes sponsorship messages. Antithesis describes detecting and reproducing failures through system simulation. turbopuffer presents an object-storage-based search engine. Earlier, the episode introduced Entire, a Git platform for collaboration with agents. These descriptions are the advertisers' presentations.
6. Onboarding Engineers: "Ask Claude"
The old Python system grew too fast to be fully documented. The team couldn't build a new system from a specification alone. The code itself served as important documentation for the agent.
New engineers learn the system differently too. A colleague once explained it by drawing boxes and arrows on a whiteboard. Now a new engineer can ask Claude how it works. Using the codebase and connected information, Claude can produce a written explanation, an interactive app for exploring how parts of the system work together, study materials, a video, or a podcast.
"People learn best in different ways. You can ask Claude to make material in the way that works for you."
This is supported by connections to internal systems. Anthropic exposes several systems through MCP servers so Claude can find information. Katelyn emphasizes that much of the explanation comes from the current codebase itself, even more than from records such as incident reports.
She compares it to adopting new languages at previous companies. Stripe considered Java for a new API abstraction, but learning an unfamiliar language and writing so much code in it would have taken too long, so they used the Ruby they knew. Engineers at Betterment likewise spent significant time training when the company brought in Ruby on Rails.
With models helping with implementation and learning, she says knowing every detail of a language's syntax matters less. There are still areas that demand depth, such as building the language itself or improving the efficiency of a framework.
7. The Hard Part of Five or Six Months Was Coordination
The Rust migration took about five to six months, including initial research. A handful of people made up the core team, but they had to work continually with teams responsible for other parts of the system.
One difficulty was that other teams kept developing the Python system. At one point a Python beta feature went generally available without the Rust team's knowledge, flooding its parallel-request comparison tool with differences and errors.
The team added static analysis and other checks so new features had to be implemented in Rust as well as Python. Keeping two systems alive for long increased the burden for everyone, so they wanted to fully switch to Rust quickly.
The host observes that engineers seemed to spend more time coordinating with other teams, checking effects, and investigating errors than typing code. Katelyn agrees. As agents start coordinating other agents too, human work is shifting toward making sure the pieces across teams and systems fit together.
8. Redesigning Managed Agents from Scratch
The next example is a new product, cloud-managed agents, instead of a migration. As models started working for longer, customers wanted to run them in the cloud and return to the results later. They kept running into similar problems. A failed sandbox, or isolated execution environment, killed the agent, and calling outside services raised the question of where to put credentials.
Anthropic built APIs for defining agents, starting sessions, saving state, and making sandboxes. The services predated the Rust migration, so the team chose Go. People spent more time designing and checking API shape, service architecture, reliability, security, and latency than writing code.
The initial design launched a sandbox for each request and ran Claude Code inside it. Anthropic released web-based Claude Code and the API in beta, with four problems.
- Reliability. A sandbox failure forced work to start over.
- Latency. The model couldn't respond until both the sandbox and Claude Code had started.
- Security. Credentials for external tools could end up inside the sandbox.
- CPU usage. Running one sandbox per agent was expensive.
The team redesigned the whole system instead of patching each problem. The harness runs on an always-on server, sandboxes start only when the agent needs to do work in them, and session state is stored separately. External calls go through a proxy and a separate secret store, which adds credentials only as the request leaves.
The agent survives a sandbox failure, requests reach the model sooner, and credentials don't need to live in the sandbox. Katelyn says average CPU use was roughly one-third of the old design.
"Saying 'let's start over' midway through was a big decision. It was worth it because it was much faster than having people write all the code themselves."
This project also took about five to six months from idea through redesign and release. When Katelyn joined, the roughly 30 API engineers were stretched just launching models and scaling cloud capacity, so ambitious ideas like this were easy to defer. A larger team and faster implementation made room to pursue it.
9. Teams Stay Small and the Unit of Work Gets Bigger
Anthropic still largely uses two-pizza teams of around five to ten engineers. Enough people need to understand a system to respond to outages and handle collaboration with other teams.
Teams now skew more experienced. Instead of a lead designing and several mid-level engineers implementing, more teammates think through the design and cross-team coordination themselves, then have Claude implement it.
People use Claude Code and Cowork to discuss ideas or work directly. They often use Slack and internal tools to coordinate cloud agents. Katelyn says it feels less like a cast of independent agents and more like working among people with "your Claude," whose permissions vary with the situation.
The scope of engineering thinking has expanded from individual PRs to whole projects. Discuss the goal and plan with Claude, then delegate. The agent can create follow-up tasks or involve other agents. Slack agents post frequent updates and next steps, and may ask whether to contact another team when something needs checking.
"When a task will stall and really needs attention, the agent asks for a person."
Katelyn says watching Slack all day and answering yes or no to every suggestion isn't a good job. Anthropic is working to narrow the cases that require intervention.
10. How Far Code Review and Incident Response Are Automated
Rather than requiring someone to review every change, Anthropic uses Claude to triage changes. It decides whether a change needs human review, and how many reviewers and which teams should see it.
For highly repetitive changes, such as bumping an SDK version for a model or API version, an agent can open a PR, review it, and merge and deploy it without a person if the conditions are met. Agents may also fix flaky tests detected by CI.
People still review risky changes. An agent hands off to people if there could be unexpected side effects or the team lacks enough experience to trust automation in that system. This is a shift to review based on the risk of the change, away from requiring the same human review for everything.
Incident response is changing gradually. Existing dashboards and alerts are still there. Anthropic had Claude shadow the API on-call engineer, and Claude now receives some alerts first and decides whether an alert is a real problem or noise.
For real problems, it notifies a person while investigating and proposing a fix. Some on-call engineers have opened their laptops in the middle of the night to find Claude had already started diagnosing and responding. The long-term goal is for it to resolve some real problems without waking anyone. Katelyn says the main use today remains initial alert triage.
11. Product Managers Can Deploy and the Owning Team Is Accountable
Product managers and designers at Anthropic can ship features to production even though they aren't engineers. What's allowed depends on the work and its risk.
One example is prompt-caching diagnostics in the developer console. Prompt caching reuses repeated inputs to reduce cost and latency. The diagnostic feature shows whether caching is effective and what might explain a miss.
A technical product manager collaborated with Claude in Slack to implement the feature and shipped it to production. Engineers also reviewed code and checked its quality. Katelyn says Anthropic hasn't reached the point where a product manager or designer directly changes fundamental parts of the core API.
"Here the product manager asked, 'Do I actually need an engineer to do this?' I think the answer was no."
If there is an outage, the team that owns the system is ultimately accountable. If something goes wrong in the developer console, the developer experience team responds first and can ask the product manager who built the feature for help. The same principle applies to changes an agent makes without direct human instructions. In Katelyn's view, a human team still needs to understand the system and own its quality.
12. Anthropic's Software Factory
Asked whether this way of building is a software factory, Katelyn says Anthropic doesn't use the term internally but it captures the substance of the work.
Different agents make changes, validate outputs, and review code. Some also deploy and monitor operations. The team has been experimenting with a QA agent that continuously tests a product against a human-written system description and opens a PR when it finds a problem.
Tools get built at several levels. A central infrastructure developer acceleration team works on company-wide productivity. It built Scion, a version control system that supports the volume of changes made by agents. A platform acceleration team focuses on platform-specific needs, such as QA agents and agents that fix CI tests.
Individual engineers also build tools when they notice a bottleneck. One experimented with coordinating several agents in a Slack channel so they could work toward one larger goal. That idea evolved toward agent teams that continuously find and fix security vulnerabilities.
Interestingly, as agents get work done faster, people sometimes spend more time building tools to automate work further.
"Everyone is thinking about how to automate or have agents do the work in workflows that used to waste time."
13. Why Traditional Coding Interviews Are Being Phased Out
Katelyn says Anthropic is reducing the role of traditional coding interviews and testing alternatives. Interviews used to include technical design and conversations about past projects, plus a session where candidates wrote code. The team increasingly saw candidates excel in everything except that coding session.
If candidates don't usually write code line by line, it's unclear how well that interview predicts how they'll work.
"We had people fail the coding interview who were excellent in every other interview, because they don't always write code by hand anymore either."
Anthropic is trying interviews based on reviewing agent-written code, evaluating an agent's system design, or building something with an agent. It keeps the other interviews on technical design and past work.
Katelyn says there is no established perfect replacement. An interview needs to assess job ability and allow evaluators to judge consistently and with relatively little bias, so the team is testing several formats. The host summarizes by saying Anthropic removed algorithmic coding interviews and adds a concern that if many companies replace them, hiring could become more subjective.
14. Evaluation and Promotion Still Depend on Impact
Anthropic still has levels, promotions, and performance reviews. Evaluation has become harder as the company hires more experienced people and AI changes the relationship between how difficult a project is and how long it takes.
Leading a two-year project used to be a proxy for complexity and seniority. If an API migration that might once have taken two years can be completed in five or six months, duration alone tells you less about difficulty.
The team focuses more on results and impact. It considers CPU savings, latency improvements, incidents avoided, and how effectively engineers coordinated teams. Katelyn says the technical staff share the "Member of Technical Staff" title with numeric levels used internally.
The principles of feedback haven't changed much. If she gives someone surprising feedback that they hear for the first time at a review, she considers that a failure on her part as a manager. She wants those conversations to happen promptly throughout the year. Peers are encouraged to give feedback directly where possible, and the company shares feedback gathered for formal reviews relatively openly.
15. The Engineering Identity Crisis and Bigger Problems
The host asks about the identity crisis engineers face when AI writes code and they wonder whether their skills still matter. Katelyn thinks the difficulty depends on what people have found rewarding in their work.
"The people having a hard time are often the ones who felt their identity was about typing code and getting things done."
People who enjoy solving ambitious problems will still have plenty to do, she says. Many agents could in principle collaborate on goals like treating a disease or launching a new drug, but doing that for real requires solving security, infrastructure, identity, authentication, and access control problems first.
Submitting a new drug to regulators takes many steps and documents. You can imagine persistent agents handling the steps. Without a safe foundation, turning an agent team loose could cause problems before delivering results. Katelyn emphasizes the need for people who understand security and infrastructure deeply.
The host notes that many engineers lack a budget to run agents at scale. Improving a clumsy airline or expense app can still be valuable work. Overhauls people abandoned because they'd take years may now be possible on shorter timelines.
Katelyn agrees and describes a legal AI customer thinking about a system that supports the whole due diligence process beyond reviewing one contract. At any scale, the point is to raise the ambition and design a system that can achieve it safely.
"We're nowhere near the point where people do nothing and agents handle everything."
The host compares it to building a skyscraper. Finishing the first one doesn't end the work of civil and architectural engineers. Software likewise needs maintenance, improvement, and more ambitious systems. Katelyn hopes agents will take on parts of maintenance and documentation so people can focus on bigger problems.
Standards and tools may also become important for agent interaction with physical devices, including lab equipment and robots, as well as outside software. She mentions the evolution of MCP and ways of letting models use hardware.
She sees engineers' emerging role as seeing the whole system, coordinating the people and agents needed to make an idea real, and developing deep expertise in areas like security and reliability. It also matters to anticipate problems that will grow more complex and prepare for them beyond solving what's in front of you.
16. A Book Recommendation and Closing Summary
Katelyn recommends a recent read, Project Hail Mary. She liked the film as well and enjoys science fiction that broadens her imagination beyond the details of daily work. The story of a person and an alien solving a problem together without knowing how to communicate felt a little like working with AI today.
The host closes by recapping the interview. The Rust migration came from CPU shortages and efficiency problems, models' ability to write Rust, and Rust's memory safety and compile-time checks. Product managers deploying to production is interesting, but Anthropic's PMs tend to be technical, so he questions whether other companies can generalize from it. Engineers still hold on-call responsibility.
For onboarding, he notes that both Anthropic and OpenAI connect internal agents to several systems to give them rich context. Other companies can learn from that approach. He closes by emphasizing that when companies connect internal systems to AI, they should check that company intellectual property won't leak to an outside vendor.
