← All videos

How Anthropic builds software in 2026

25 November 2026

Katelyn Lesse (Anthropic) & Gergely Orosz · The Pragmatic Engineer · watch on YouTube ↗ · click any timestamp to jump the video

Most interesting ideas

Machine-generated by an AI from the transcript and the top comments. Not my writing, and it may contain errors.

The first ten minutes are career history and can be skipped, as can the sponsor reads at 1:36 and 28:40. The two best stretches are the Rust rewrite from 10:37 to 28:20 and the account of what agents do unattended from 58:43 to 1:09:30. The transcript was made from the audio with Whisper and then corrected for names and product terms, so it has punctuation but no speaker labels.

The genuinely fresh ideas

▶ 24:19Rewrite all at once, behind a thin front door

The plan had been to carve pieces off the Python monolith one at a time. A new senior engineer proposed a "great leap" instead: fork the codebase, do the whole thing in Rust, and keep a thin Python front door that serves each request from Python while running a shadow copy through Rust. Progress became one number, the share of requests where the two disagreed, driven down day by day. Once Rust went live the front door stayed for a while, so a Rust error fell back to Python: slower, but still an answer.

▶ 25:16Verifying a rewrite when you may not look at the data

Anthropic does not look at customers' prompts or completions, so a mismatch could not be debugged by reading the two outputs. They compared the two systems at the point just before a request goes down to inference, where the state is inspectable, and on the way back out compared only token counts. It is a neat example of choosing a check you are allowed to run over the check you would like to run.

▶ 28:02About 80% of the agent-written pull requests were not read closely

Her claim is that once something is reduced to a check that can be verified, you no longer need to read each line of Rust. She is careful about the other 20%: because this system is so central, engineers went deeper into the code than you might expect whenever the numbers would not converge. Elsewhere she puts it as 75% "the syntax does not matter" and 25% an engineer's natural wish to understand what is going on.

▶ 42:32The moving target was the real risk, and a lint rule fixed it

Other teams kept developing the Python system during the rewrite. One beta feature went to general availability on the Python side without warning and the shadow traffic lit up with differences. The response was static analysis: after that, no team could add a feature to Python without also implementing it in Rust. The goal then became to make that dual-build period as short as possible.

▶ 49:19Managed agents: keep the harness out of the sandbox

The first design booted a sandbox and ran Claude Code inside it, and had four problems: the agent died with the sandbox, tokens waited for two boots, credentials had to live beside the model, and every session cost a CPU. They threw it away after an early beta and rebuilt it. The harness now runs on a durable server and spawns sandboxes only to execute work; a proxy injects credentials at egress from a vault, so they never enter the sandbox; and the whole thing uses about a third of the CPU.

▶ 1:05:14A classifier decides whether a human reviews the change

Every change is read by a Claude that decides whether it needs a human, how many, and from which teams, or whether it can merge directly. The changes that skip review are narrowly defined mechanical ones, such as an SDK version bump. She says the set is small today and is being ratcheted up deliberately, and that risky changes still get people.

▶ 1:08:03A Claude takes the page first

A Claude has shadowed the API on-call rotation for months, and pages are starting to go to it first. Its first job is only to decide whether the alert is noise, which already saves a lot of interrupted sleep. If the alert is real it escalates, then keeps working, so by the time the engineer reaches a laptop there is usually a diagnosis and a proposed fix waiting. Handling real incidents with nobody woken is the aim, and she says plainly they are not there.

▶ 1:20:26More human hours now go on tooling, not fewer

Counter to what you would expect, the share of time spent on meta-work around the edges has gone up as more work became agentic. Because every workflow that needs a human is now a candidate for removal, everybody is drawn to the problem. Several of the best tools came from an engineer annoyed by a bottleneck, not from the two teams whose job is acceleration.

Quieter but sharp points

▶ 14:09CPU stopped being the resource you can always buy more of

The trigger for the rewrite was not elegance but supply. After request volume spiked, including from a Super Bowl advertisement that sent people to the mobile app, the single-region Python cluster ran short, and asking the clouds for more CPU was "a harder conversation" than it had ever been. Horizontal scaling is only infinite if the machines exist.

▶ 17:14Rust was affordable because the model absorbs the foot-guns

The team had almost no Rust experience and had chosen Go a year earlier for being kinder to humans. By this year the models were good enough that the borrow checker was the agent's problem. The compile-time strictness that slows a person down becomes an advantage when an agent is iterating, because code that compiles has earned more trust.

▶ 32:26Onboarding is "ask Claude how this works"

There was never good documentation of the Python system, and the code remains the documentation. New engineers ask Claude to explain a system and get it in whatever form suits them: prose, a clickable interactive diagram, even audio. It works because every internal system has an MCP server, though she says the codebase alone does most of it.

▶ 54:14Teams are still two-pizza, only more senior

Five to ten people is still the size at which a group can understand a system and cover on-call through holidays and illness. The change is in the mix: instead of a tech lead designing and mid-level engineers implementing, everyone is doing design and cross-team coordination. Later she ties this to accountability: whoever or whatever made a change, including an agent with no human involved, the owning team is the one paged.

▶ 1:10:45A product manager shipped the prompt-cache diagnostics dashboard

The developer console's view of cache hit rates was built by a technical product manager working with Claude in Slack, with engineers reviewing. The line for what a non-engineer may push is moving outward from the marketing site, but she says a change to the core API is not yet on the right side of it.

▶ 1:25:04Coding interviews were phased out because they stopped predicting anything

Candidates kept failing the hand-coding round while doing very well on everything else, and interviewers kept waving it through. The replacements are still experiments: review code or a design an agent produced, or build something with one. She is candid that an interview also has to be gradeable consistently, which is why there is no settled answer yet.

▶ 1:30:03Duration no longer measures seniority

"Led a two-year effort" used to stand in for complexity when levelling someone. The Rust migration would once have been that two-year effort and took under six months, so the proxy is gone. What remains is measured impact, such as CPU saved and latency gained, plus a judgement of how well the cross-team coordination was done.

▶ 1:35:09"Agents will do it eventually" skips the engineering in between

Her answer to the identity crisis: large teams of agents cannot be let loose on hard problems until people have solved security, identity, auth and infrastructure underneath them, and that takes deep human expertise now. The advice is to go deeper in such a field, not to solve today's ticket, which an agent can do, but to see the next set of problems coming.

From the comments

"The financial statements become un-auditable by definition"

The sharpest objection. An auditor traces a revenue figure down to the logic that produced it; here the billing path is fast-changing Rust that was mostly not read, has no written specification, and handles payloads nobody may inspect. Nothing in the interview answers it.

"A cleaner dashboard can mean the checker got more permissive"

A practical addition to the shadow-traffic method: keep a fixed set of synthetic requests for every mismatch that reflected a real difference in behaviour, and re-run them whenever the comparison rules change. Otherwise a falling mismatch rate cannot be told apart from a loosened comparison.

"Struggles to maintain a single nine of uptime"

Several viewers point at Anthropic's reliability record as the outcome these practices should be judged by. The interview does not discuss incidents or availability figures, so the claim is neither supported nor answered there.

"Running software teams looks a lot like it did a decade ago"

One viewer's summary of what surprised them most, quoting her line that we are nowhere close to the point where "the human doesn't have to do anything and the agents will just figure it out". It is a fair reading: teams, ownership, on-call and performance reviews are all intact.

Auto-generated captions. Click any line or timestamp to seek; the current line highlights as the video plays.

Intro 0:00

0:00So we just rebuilt the whole thing in Rust.

0:01So this whole API layer.

0:03This whole API layer.

0:04As long as you can really boil something down to like make it verifiable in some way,

0:09then you don't have to look at every single line of Rust code that's getting written.

0:13If you were to ask the team, they would probably say something like 80% of the pull requests that got opened by agents.

0:20They didn't deeply read through all of the code that had gotten written.

0:24We've phased out coding interviews as well.

0:26And we've done this actually across all of our product and

0:30platform teams basically.

0:31A huge change.

0:32Someone might not pass that coding interview,

0:35but they would crush all the rest of the interviews

0:37and it's because they're not writing code by hand

0:40all the time anymore.

0:41There is an identity crisis with software engineers.

0:43The people who are having a harder time

0:44are the people who are like, my identity used to be

0:47that I click clacked on my keyboard and I wrote code

0:49and stuff got done.

0:50People will often say like, oh, why does this thing matter?

0:53Like agents will do it eventually.

0:55But I think the point is.

1:00What does building software look like

1:01of Anthropic today. Katelyn is the head of engineering for Claude Platform at the company.

1:06Her team owns the API that serves every single token coming from Claude and powers the

1:10infrastructure behind Claude Code and Claude Desktop. Today we cover how a small team

1:15rewrote Anthropic's whole API later from Python to Rust in five months time. Why Anthropic stopped

1:20doing code reviews and what has replaced them? Katelyn's advice to engineers who feel like they

1:24have an identity crisis because they no longer write code by hand. And many more. If you want

1:29to get a rare insight look into how software is being

1:31is built inside of Anthropic and how the software engineering job has changed, this episode is for you.

1:36This episode is presented by turbopuffer, a ridiculously scalable, fast and cheap hybrid search

1:40engine built on top of object storage used by cutting edge companies, including Anthropic,

1:45linear ramp, and many others. Today's episode will be about Anthropic,

1:49and you probably heard that they rebuilt their version control system because the existing

1:52one could not take the increased load from AI agents.

1:55This is where I need to talk about our season sponsor Entire who solved exactly this problem.

2:00Entire was founded by the GitHub's last CEO, Thomas Dohmke, and he rebuilt Git hosting for the agent era from scratch.

2:06Entire has just launched your full-on Git forge.

2:08You can now host private repos directly on Entire in the US, Europe, India, Australia, Brazil, and Singapore.

2:14And it's not just a new Forge, but Entire has just reinvented a pull request for the agent era.

2:19The problem with PRs is how agents write it faster than how any of us can review it.

2:23So Entire replaced it with something called trails.

2:26A trail collects everything about the work in one place, the intent, the co-content, the co-es

2:30code changes the agent sessions. A trail can be spread across multiple repos, so the change

2:35to your backend and your web app gets reviewed once. With the trail, you can configure

2:40customized evals like code reviews, security reviews, slop reviews, and others. They look like a

2:44heads-up display in an airplane and score your work on every push. And you can see how each

2:49agents runs or passes your user-defined gates and decides when you merge based on these. The point

2:54is that you control when you allow agents to merge the code, like only merging after a human

2:58and review or after all Gates pass.

3:01If you want to see what an AI native Git forge looks like,

3:04head to entire.io/pragmatic and check out trails.

3:07Katelyn, it's so nice to have you on a podcast.

Stripe 3:09

3:09Thanks for having me.

3:09Before we get into all the nitty-gritty details with how you're building at Anthropic,

3:13I want to go back.

3:14How did you get interested in computers?

3:16How did you get into tech?

3:17I was in college.

3:18I was studying engineering.

3:20I was studying chemical engineering.

3:22But everybody had to take introduction computer science classes in their first year,

3:27and I took an introduction computer science.

3:28computer science class and I was like, this is great. And I changed my major. I started studying computer

3:33science. I just thought it was a lot of fun. And then what was your first professional job when we were

3:38paid to like, you know, built software. Was it after college? Was it during college? Yeah. So while I was in

3:42college, I interned at Betterment, Robo Advisor, FinTech, which was funny because at the time when I first

3:47interned there, FinTech was like a new word. It was a pretty new category and veteran was pretty

3:53early to this idea that like you could link a bank account and set goals and have money invested for you

3:58the way of human financial advisor would.

4:00And so I started there as an intern, which was a lot of fun, went back for another internship

4:04and then went back full-time when I graduated and then spent almost seven years there full-time,

4:10so I was there for a while.

4:12And then you went from like software engineer into engineering leadership positions there, right?

4:16Yeah, relatively early, which I think was a bit of a function of the team that I joined

4:21when I started full-time at Betterment was it was a new team building on a new business line.

4:25We started building out a 401k offering.

4:27And I think at the time, it was like a really small team doing something new and I had started on it from the beginning.

4:33And so a couple of years in when, you know, the manager was leaving and there was kind of room for somebody who started managing the team, it like made sense at the time to step into that role.

4:43And I was having a lot of fun with the like, what are we building and how are we building it?

4:47And, you know, a little bit more maybe than like nitty gritty technical details.

4:51And so it made sense to make that change.

4:54One challenge when you get into management after like only a few years of,

4:57engineering like typically before you have five years this was the traditional like view is that you might

5:03have not had as much time to like you know like get in in depth of the code and you might not be as

5:09deep did you feel this or were you also able to just be stay hands on as you were a manager there

5:14i was pretty hands on when i was first manager we were a small company with small teams and so i

5:19spent a lot of time still building still reviewing code still very much in the details for a while

5:24um and so yeah it definitely was early and first

5:27You know, I had a little bit of like, is this too early?

5:30Should I spend more time as an individual contributor?

5:33But as soon as I got into it, I was having so much fun with it.

5:36And it turned out to be okay, especially because of the nature of being able to do a little bit more deep technical work at the same time as managing.

5:44And then after this gig, you ended up at Stripe, right?

5:47Yes, I ended up at Stripe.

5:49I had considered actually joining Stripe earlier than I actually did end up joining Stripe, always in this area of they were building out kind of new financial products around.

5:57the edges of payments and they were doing that mostly in New York. I was based in New York at the time.

6:02And so when I did eventually move over to Stripe, it was in part because one of my favorite

6:06managers from Betterment had ended up at Stripe. And so it was great to join him and work on

6:11Stripe Capital at the time, which is Stripe's lending business.

6:15Yeah, and you were at the time there where I remember Stripe's engineering culture started to become

6:21pretty kind of well-known outside of Stripe as a very high bar for engineering excellence,

6:26especially within FinTech.

6:27There weren't many, you know, the typical fintechs would be ones you wouldn't associate with like really high bar world-class engineering.

6:35Yeah, exactly. It was known for just being a place where you could do really awesome engineering.

6:40You can move fast. You could be really ambitious. And so I kind of had had my eye on going there at some point for that reason.

6:48And it definitely lived up to that. Stripe is a really cool place. I think it's like a really engineering-led culture.

6:54You know, there's just so much innovation happening, so much expansion into new ideas and new businesses, and it all happens really fast.

7:03They're definitely known for that.

How the Claude API works 7:04

7:04Yeah, and usually it will be really hard to top a place like Stripe in terms of engineering challenges or excellence, but here you are at Anthropic, building really interesting and awesome stuff.

7:14With one of the deep dives that I published earlier and it's linked, I also chatted with you about the challenges of the back end and the platform side.

7:22So right now you're on Claude Platform.

7:24Can you share at a high level as an engineer?

7:27How can I imagine what is the back end behind Claude?

7:30What kind of components, what kind of layers?

7:32How do you think about it?

7:33Yeah, so the very bottom layer is just like models running on chips, right?

7:38On the accelerator layer, that's the inference team that kind of sits right below us.

7:42This is the GPUs, the whatever new hardware chips might come out.

7:48Exactly.

7:48All of them, if you're us, we're very known for that.

7:50And then right above that layer is the platform.

7:53And so what the platform is, is it's both our externally facing API suite, which, you know, powers a lot of business for Anthropic, right, people building on top of our APIs.

8:04And then it runs all the way down through just above that inference layer.

8:07And what's interesting about it is we also power all of our kind of foundational services and product infrastructure for all of our apps as well.

8:15I mean, it's a great thing in engineering terms, right, to say that your applications are built on the same API that external customers build on top of.

8:23So we're proud of that. That's really great.

8:25Like every token that Claude serves runs through the messages API, which is great.

8:29But then we also run, you know, off and our CPU and our networking and our sandboxing and all of those sorts of things for our apps as well, which is fun.

8:38So we're very truly a platform team in addition to owning kind of the externally facing Claude Platform developer tooling.

8:44And then from a kind of hardware, like just hardware boxes perspective, I can imagine that we have the GPU and TPU and those boxes on the bottom.

8:52and then your team, you'll have CPUs or kind of like machines that will orchestrate how access happens to these things,

9:00databases that log things like it is, or how can I have a mental picture of life?

9:04Yeah, so an API request comes in and the first thing we do is we hit our auth services, authentication, authorization,

9:11these sorts of things.

9:12And then you kind of get into the core API service.

9:15And you're right, it's just a CPU cluster.

9:18It runs multi-region, multi-cloud.

9:20And so depending on where you're starting.

9:22starting from, it ends up in the right place.

9:24And in there is where we do tokenization, we handle billing, we run safety checks and all

9:29these sorts of things before those tokens make their way down to the actual GPUs and then

9:35come back up through that same service and get served back out, which is interesting because

9:39when I first joined, one of the things I was relatively different about serving this API

9:43versus APIs at Stripe is you could hold requests open for up to like an hour on this

9:50system, which is definitely different.

9:52about the chat going back and forth.

9:54Yeah, exactly.

9:55So I think over time, we've started to do a bit more innovating on, you know,

9:59how can you be in a place where you have a little bit more resilience

10:01or maybe less data has to go over the wire back and forth

10:05because inherently these are stateless chats.

10:08And so you're passing the whole conversation state back and forth the entire time.

10:11You have a model turn, which is a lot.

10:13And so we've done some work to make that a little bit more robust over time,

10:18but it's definitely a kind of unique shape of how the API runs.

The Rust rewrite of the Claude API 10:21

10:22And then to get into specifics, can we choose like a challenging project that you've built?

10:27And then we can talk about how you build it because one of the things I'd like, I'd love to learn more about is how building is changing.

10:33And I think it's always better to like talk about a specific project.

10:36Yeah.

10:37So we just rebuilt the whole thing in rest.

10:39So so this whole API layer, which includes so authorization, authentication, tokenization, billing, security.

10:49Yeah, safeguards, yeah.

10:50Safe guards.

10:50That's a lot.

10:51I mean, if this was like some small service, okay, that might be simple, but we know this is a massive scale when talking about customers, the sheer data and so on.

11:01Yeah, it's a lot.

11:02What did you build it in originally?

11:04So Python.

11:05It was a Python monolith, and it was originally, actually just kind of the impetus for this was it was a Python monolith and it was running in a single GCP region.

11:14But way back in a day.

11:16Yeah, exactly.

11:16Unfortunately, not that long ago.

11:19And this became really difficult to serve for just like CPU purposes, being able to run efficiently and honestly, just frankly, having enough CPU and that cluster that we were running in started to become problematic, which is crazy.

11:35And that's just a result of request volume having spiked so high overtime.

11:39One question I'll have to ask you because a lot of engineers are thinking, why Python, especially just knowing how Anthropic is always higher like world-class engineering?

11:49engineers and engineers often one reason they sniff at Python is like, well, it's not as performance.

11:53So what were the, there must have been some counter arguments. Like, I'm sure you knew it's not

11:57going to be as performant. Yeah. So this was, well, this was long before I was at Anthropic,

12:02but my understanding is this was about three years ago, maybe more at this point, where Anthropic had

12:08existed as a research company making models and serving those models to the public was not a thing

12:14that Anthropic was doing at first. And so when they first decided,

12:19it, okay, we're going to build an API now and we'll build apps and do these sorts of things.

12:23It was a really tiny team of developers who were basically like crossing over with research.

12:28And so the research community and folks who work in this space tend to, at least at the time, work mostly in Python.

12:35And so that's kind of just where it came from.

12:36Tensurflow.

12:37Yeah, exactly.

12:38Do I understand this a lot like really seamless way of working like research?

12:42You could easily like, you know, like maybe tweak with the code or take their their prototypes and returns of production.

12:49on. Yeah, exactly. And so between the research team, the inference team, the infrastructure team,

12:54and the product team that at the time was just a couple of people who were getting started,

12:59that was kind of the choice that made it easiest for them to all work together.

13:03Okay, so it sounds like you discovered pretty quickly. All right, performance issues and CPU. And

13:08there's a CPU. You wrote about the CPU crunch as well. I was feeling it directly.

13:13Yes, I guess this was inspiring a little bit. Yes, for sure. This is something that we've been

13:18thinking about since, I want to say, like, late last year coming into this year, where we were starting

13:23to see request volume, like, really, really, really spike. And I think especially earlier this year,

13:29an interesting thing for our team, we ran a Super Bowl commercial and, you know, you run a Super Bowl

13:33commercial. And it's a classic engineering problem where you've got to be careful about, you know,

13:38what sort of spike might you see. And so, again, because all of our apps run on the messages API,

13:43it's like very much this layer that's serving everything that might spike. Like,

13:48you know, a Super Bowl commercial probably doesn't lead someone to, like, crack open a laptop and build an API integration on the spot.

13:54But you might go choose to, you know, download our mobile app and give it a shot.

13:58And that's all still running through the API.

14:00And so we started to see request volume just like really, really go up.

14:04And in that time, you know, that CPU cluster that we were running started to get pretty crunched.

14:09And so it's really interesting because in, you know, in my career and I think for most people up until recently, CPU was the sort of resource that,

14:18you know, you could auto scale to your heart's desire. You got to pay for it. But you can get more if you wanted more. And this is the first time when we were starting, or I was starting to personally feel that, you know, we wanted more from the clouds. And it was a harder conversation than it had ever used to be. Yeah, because I'm just, I'm reflecting on, you know, what we said about Python. And there's all these advantages that seamless. It's easy to build. It's easy to build. Plus, I understand that you build your original API, which the message is the is the API, right? It's interesting. To be horizontal scalable, meaning you can

14:48we just add more CPU and you'll scale indefinitely.

14:52And this is how we used to think about it.

14:53Like the engineering challenge back in the day used to be that vertically scalable

14:57stupid because there's only so much machines you can have,

14:59but horizontally is is infinite.

15:02And now it's not necessarily infinite.

15:03Exactly.

15:05And you know, it's a single threat.

15:06It's like not an efficient system.

15:08Our team started by doing some of the classic, you know,

15:11we started running in another region, right, and routing traffic.

15:15But then, of course, like network bandwidth becomes hard in between your

15:18regions. But regardless, right, we took some of the more obvious steps that you might take before you say,

15:24we got to rebuild the whole thing. We found smaller efficiencies. We found infrastructure layer

15:28efficiencies. But earlier this year, we had some engineers who started to say, like, we got to do

15:34something more drastic if we're going to continue to see this growth in request volume. And it really

15:40was one engineer in particular who was like, I think we got to try Rust. I think we got to try something

15:45that's very different. Now, like, okay, you knew.

15:48you needed something faster, but you could have chosen Go, Java, Rust, C++, C.

15:54I'm not going to say assembly theoretically, but let's not go there.

15:57I know we have a bunch of downsides.

15:59How did you settle on Russ?

16:01I assume that you must have just looked, given that the big project, you must have looked at

16:06alternative.

16:07Like, what was your kind of guiding principle here?

16:08Yeah, so we actually, and it's funny you say that, we have started building some services

16:13and Go.

16:14And so really, of all the services that we're running, we've got some Python, we'll

16:18Now, not really. We've mostly replaced it. We had started to build some new services and Go as sometime last year we started to do the classic, like, we have a giant monolith, let's do more service-oriented architecture. As we build out new services, what do we want those services to look like? Very classic engineering debates of what do you choose. And Go was chosen at the time because, you know, the models were not quite yet in a place where language choice didn't matter at all. You know, you still wanted something that was friendly to developers to be able to develop with. And so Go,

16:48was chosen for being somewhere in a nicer spot on the spectrum of efficiency as well as, you know, developer experience.

16:55And then it became interesting because some of the parts of all of anthropic systems that needed to be the most performant,

17:02people were reaching for like, we should just go even further, right?

17:05And models were starting to get better.

17:07And it was maybe okay that we didn't have people in the team who had done a lot of Rust development previously.

17:14And we came all the way to Rust as the like kind of, you need.

17:18new age, interesting language that you could choose that would be really efficient and give us all of those wins,

17:23but maybe, you know, it was okay that we didn't quite have tons of Rust developers in the room because

17:29the models had gotten good enough that the implementation details could be more handled by the models.

17:35Yeah, and I understand, correct me if I'm wrong, that the thing with performance and Rust is

17:40taking out assembly because that's chip specific and you would need to rewrite every single time.

17:44But outside of that, C++ gives you the most efficiency because you can

17:48you can have pretty much full control over the memory or how you allocate things at the how.

17:53And apparently with Russ, you can have on par with it, but you can be memory safe.

17:58C++ is not memory safe.

17:59But in return, you need to understand things like the borrow checker.

18:03And you cannot do certain things.

18:05And at compile time, the language stops you, but new engineers often get confused because it's really frustrating thing.

18:12And then everything else, all the languages, they have at least one small abstraction layer

18:15that will mean that their performance will be slightly.

18:18worse, but it'll be more developer productive.

18:20Is this like...

18:20Yeah, exactly.

18:21So I think there was just like a really nice tradeoff in there between we were going for

18:26the most efficiency that we could possibly get without some of the like, you know, I don't

18:31know how many engineers would have quit if we were like, we're doing C++ now, you know.

18:36But I think Rust was interesting to a lot of people as something that accounted for some

18:42of these tradeoffs and those like foot guns that you kind of talked about that can be really

18:46frustrating are things that we could rely on models to deal with some of those things for us.

18:51And so there were definitely growing pains at first when we first started doing this.

18:54And you know, people didn't really know what they were doing yet.

18:57And half the battle is Claude helps you write the code.

18:59The other half of the battle is Claude helps you learn what code is being written and what's even happening.

19:04And so in that world, I think we found what felt like a good tradeoff.

19:08And I think a lot of people in our team would say that faster than they expected to, they

19:12got really comfortable with Russ and with developing in Rust.

19:16Same thing having with Go, by the way. When we first started building and Go, we didn't really have too many people who had done so in the past. We had a couple, but people were really nervous about this. They were like, you know, I was a Ruby developer or was a Python developer, whatever it might be. And this was a new language. And even then at the time, a year ago, when the models weren't quite as good, people felt like really quickly they were able to get comfortable and kind of, you know, learn the paradigms and get started. And I think that's one of the, you know, magical things about these models is people.

19:46People are like, oh, the models are writing all the code.

19:47And so it doesn't really matter if you understand all the details.

19:50But actually, you can understand the details if you want to, and it's easier to learn them

19:54because the models will help you do that part too.

19:57So you said learning together with the models.

20:00So like specifically on your team or even yourself, like I assume did you do Russ before?

20:05No.

20:06And how did you approach this?

20:07Is it more of a hand wave?

20:09You're like, okay, go ahead and implement this and this.

20:11And then you're not going to look at the code.

20:13Or as you say, you want to learn.

20:16you want to at least understand and then validate and then later trust the certain things

20:20that you can trust. What's your approach? Yeah, I think the natural inclination for any engineer

20:24is you want to learn a little bit. You want to be able to look at the code if you have to and have

20:29somewhat of a sense for what's going on. I think at the end of the day, if you're someone who

20:34used to write code by hand in any of these languages, it's not like the most far and insane thing

20:40to look at Rust code and, you know, figure out what's going on. And so I think for the most part,

20:46If I had to like put a percentage on it, I would say 75%, it's like the model's going to write the code and like understanding the exact syntax maybe doesn't matter.

20:55But then 25% I would say is just like an engineer's like, you know, natural inclination is I kind of want to understand what's going on here.

21:03And so you find yourself asking the model questions and figuring out a bit about what it's actually writing and what's actually happening.

21:09And then you get to a point where, you know, you're just more comfortable than somebody who's coming in totally blind.

21:14you like can see it and like generally understand what what matters yeah and I guess you see the high level

21:19structure you you might decide I want to learn I want to understand what these few lines do because then you're like you want to

21:25understand right is it like a trust but verify thing yeah kind of but I mean I I I would be lying if I tried to claim

21:33that it wasn't mostly the case that you don't really need to understand every last detail right

21:39like I think it's a an engineer kind of wants to and you spend a little time with it and you get to know

21:44a little bit. But I think for the most part, it's like the actual implementation details, the

21:49like nitty-gritty syntax of how exactly the code gets written just doesn't matter nearly as much

21:54anymore, especially as this year has gone on and the models have gotten better throughout this

21:58year. You can trust much more that as long as you are really clear about the intent that you

22:04have with what you want code to do, that the model will write the code better than you probably

22:09would have yourself. One reason developers were frustrated with Rust, but also it was a very

22:13powerful thing. It's the language that has the most compile time checks. So as a dev, when I had Alice

22:19Ryhl here on here from the Rust team, she was saying how developers are really kind of often like

22:25fighting the borrower checker and fighting Russ because their code will not compile. You put a lot of

22:29effort into it because there's all these feedback loops. But when you compile, she said Rust is becoming

22:33very popular because there's fewer bugs in Russ because there are a lot more compile time checks.

22:38Meaning if your code compiles, there's a whole category of bugs that is near impotable.

22:43possible unless you use the unsafe keyword, which you should, I mean, don't use it.

22:47And then you'll be fine.

22:48Do you see this as well that this being a reason for Russ to become more popular?

22:53Do the models get to iterate more or just give you stuff that actually there's a whole host of

22:58things you don't need to work.

22:59For example, you don't need to work with memory safety anymore.

23:01Yeah, exactly.

23:01And I think that's a lot of, I don't know, just like things that you accomplish with models

23:06and things that you accomplish with agents, the more you can get it to be like verifiable, you

23:11know, in a world of non-determinism.

23:13As long as you can get stuff to be verifiable, you're in a really, really great spot.

23:17And that's just one of the really nice things about this is like, okay, great, sure, you have more compile time checks.

23:23And if you're writing code by hand and going through a really slow iteration loop to get your code to compile, that would be annoying.

23:28But in a world where you're not really even paying attention and the model is doing it, the agent is doing it, then that's great because you do have more trust in what you end up with once it gets there and it gets something working.

Verifying the rewrite with shadow traffic 23:40

23:40So let's go to a trust.

23:41So, okay, API, we will rewrite parts of it in Rust.

23:46How did you slice and dice it?

23:47And then how did you trust it?

23:49Testing, verification, we're holding out to production.

23:52Yeah, so the original plan was going to be, you know,

23:55like splice off pieces of the system and rewrite those in Rust.

23:59And then part of the way through getting started on doing that,

24:02obviously that was a pretty slow undertaking.

24:05Part of the way through doing that, I had a new senior engineer joined my team,

24:10and he kind of came in.

24:11And he was like, hear me out, what if, all at once?

24:15What if we do it?

24:16And he had kind of called it like Great Leap style.

24:19And the idea behind that was what if we just stand up a basically like fork of the codebase

24:26and just like do that whole thing in Rust.

24:29Then you can kind of have this Python front door, right?

24:32Like a request comes in.

24:33There's like a really thin Python front door that can route a request through the Python system

24:37and then run a shadow through the Rust system.

24:40And then what's really interesting about that is that what really matters is making sure that the output you're getting is the same. Exactly the same. Exactly. And then iterating until, you know, having the model say in any given day, how many of these requests were different between Rust and Python and iterate. The two big challenges that we had with that, well, the real one big challenge is we don't look at people's problems. We don't look at people's completions. And so if you had a difference, how do you know what about it is different between Python and Rust and how do you know how to

25:10to fix it if we can't actually look at any of the data that is flowing through the system.

25:15Oh, I see what you mean. So you're saying that because of data privacy and sensitively

25:20and the way it works, if you will get a difference, you cannot just say like, give me the raw

25:25data and I will debug. You just, it's impossible by it. Okay. Exactly. So that's really

25:30interesting, right? That makes it more challenging. Right, right. Because the whole thing that we were

25:34trying to do was just say, like, we could get this really clean if we get all the way to a place where 100% of the time,

25:40you run the request through the Python system and the rest system, and you get the same output.

25:44We can't actually verify the details of those things.

25:48And so the first thing that we did was say, like, right up until the layer where something is

25:52like going down into inference, make sure that that is the same.

25:57And then the second thing that we did was on the way back out, just check token counts.

26:01The token counts are the same.

26:03Yeah, exactly.

26:04Then you kind of know that it's the same.

26:06But then, you know, you still get into these places where you have these tiny different

26:10is and it's much, much, much, much harder when you can't look at the raw data.

26:14And so the team had to think about, you know, what are all the different ways that we can

26:18figure out what might be different between these two systems.

26:21And ultimately, I think it just came down to a lot of, you know, like how do we look at,

26:27again, just like right up until the layer before something goes down into inference.

26:31And that's like really the meat of the system.

26:34And so in all of that, you know, you can see what's going on and it's much easier to figure

26:38out what could be wrong.

26:40But that was how it worked was basically just like iterating day over day on take the percentage of difference between Python and Rust and like drive it down, drive it down, drive it down until a place where it was, you know, like near perfect, right?

26:53And then you say, okay, great, let's start rolling out the Rust system.

26:57And what we did was for a while we still had that Python front door because if for whatever reason we ran into a bug with the Rust system or like, you know, we refused to the system refused to.

27:10you process a request for whatever reason that through an error, you could always just fall back to

27:14the Python system. And so it would be a little bit slower, but that's better than just not

27:18getting a response at all. And so that was kind of how we did it until we got comfortable enough

27:23to rip out that front door. And then you didn't look at the code generate all that much.

27:28Because usually with the migration, you typically often be, you know, you rewrite some part,

27:32you do code review. You often have a testing layer of a unit or integration testing layer that gives

27:36you a fallback. But obviously, you still do what you say is the, is the shableness.

27:40shadow the shadowing. That is the ultimate source of truth. But you were just able to just leap through

27:44this like, oh, let's see how we pour the business logic. Yeah, exactly, which is kind of crazy.

27:50But I think that's the world that we live in now is as long as you can really boil something

27:54down to like make it verifiable in some way, then you don't have to look at every single line

28:01of rest code that's getting written. And I think in this case, actually, because of the nature

28:05of the system and how central it is and how important it was to get things right, I think more

28:10or so than you might think. We ended up with engineers like getting into the details of the code and figuring out what might need to be fixed. If you were to ask the team, they would probably say something like 80% of the pull requests that got opened by agents. They didn't like deeply read through all of the code that had gotten written. And then I would say like 20% probably is where, you know, you were running into issues. You were trying to get something perfectly right. And they kind of had to dig deep into the details and understand what was going on with the code.

28:40Katelyn just said that as long as you make something verifiable, you don't have to read every line that the agent's right.

28:46But you do need a reliable way to verify every line of code, though.

28:49And this kind of verification is what our season sponsor Antithesis does.

28:53Antithesis has just launched a plugin that makes your coding agent incredibly effective at finding and fixing bugs.

28:58For example, the Antithesis team typed this into Claude Code, test HashiCorp Raft for bugs.

29:04The agent found a real bug and raft, found the root cause, and fixed it.

29:08The cost was about $50 in clottoe.

29:10And remember, what you get what Antithesis is not code review, it's much more.

29:14Antithesis runs your whole system in a hostile simulation.

29:17The simulation includes both targeted testing and fuss testing.

29:20By running this simulation, it finds every bug before your users do.

29:23And because the simulation is fully deterministic, it doesn't only find bugs,

29:27it gives you a perfect reproduction of every issue, which makes it much easier to fix issues.

29:31Now your agent can drive all of this for you.

29:34There's also a new self-serve team's plan at $2,999 a month.

29:39You sign up with a credit card, no sales call needed.

29:41As a listener of the Pragmatic Engineer, you can use the code PRAGMATIC50 for a 50% off your first month.

29:47And the best part, finding that Raft bug costs about 10% of a month's compute allowance.

29:52Install the plugin and sign up at antithesis.com/pragmatic.

29:56I'd also like to mention presenting sponsor turbopuffer, the search engine that Anthropic itself is a customer of.

30:01Something that has become so obviously true in the last year is that search is the core infrastructure for AI.

30:07Every agent needs to connect to pedivice of unstructured data, both on the public web and in private datasets.

30:13turbopuffer is a search that allows any intelligence, whether human or agent, to search every bite of data.

30:18Companies like Anthropic, Cognition, and Notion build their search infra on turbopuffer because it's insane and reliable and performant at the frontier of AI scale.

30:26turbopuffer hosts trillions of documents for search, served hundreds of thousands of searches per second, and has an impeccable track record of uptime for a database operating at their scale.

30:35The cost of building software today is approaching zero.

30:39And so if you want to build something amazing, you need to make bets in an infrastructure

30:43that won't break no matter how big your ambition or how fast you ship.

30:47turbopuffer has proven it's capable of scaling to support the largest search workloads in the world,

30:52which is why it's fast becoming the defaultogenic search engine for enterprises and startups.

30:56Check it out at turbopuffer.com/pragmatic.

30:59You can sign up today and start building, or if you've got a big workload that you want to talk through,

31:03they have one of the best support teams in the business.

31:06And with this, let's get back to Katelyn and how engineers get to know a system that agents wrote.

Onboarding new hires with Claude 31:11

31:11And now that we have the new system, like with the old system when it was written by hand,

31:16it's typical that there are a few engineers who've been there for a long time,

31:19who just understand the whole structure, sometimes better places you will have documentation.

31:24We know it gets outdated, but better place, especially for critical systems,

31:27there's like up-to-date documentation.

31:29How has that change with this new system?

31:31Yeah, one of the funny things about this is because,

31:33of the nature of Anthropic, again, we only first had an API like three years ago or so, right?

31:38And that had started with a really small team and the team had grown so quickly and the system

31:43had started to take tons of loads so, so quickly. In that time, we didn't exactly have

31:49like perfect documentation of the Python system that we had, which was one of the things that

31:54I guess made this whole thing a little more challenging. It's not like we could say take this

31:57documentation, follow it, and build a new system. And so from that perspective, I think we've always been

32:02and continue to be in a world where, like, the code itself, for the most part, is the documentation

32:07for the agents that are working on it. But I think something, when it comes to the system

32:12design and how all these pieces fit together, it's been really cool to see how, you know, new

32:16engineers join and they're like, okay, have to wrap my head around the system and be ready

32:19to work on it. That part has changed a lot because it used to be, you'd like ask someone to get

32:24at a whiteboard with you, right, and kind of draw the boxes and arrows and learn what was going on.

32:29And maybe there were diagrams that that were kind of out there that,

32:32you could study and learn about what was going on.

32:35But now we see people join, and the first thing they do is they just ask Claude, like, tell me how

32:39this thing works.

32:40And often you'll get something that's like an interactive application with, you know, not just

32:45boxes and arrows, but like really just like a rendering of the system where you can click

32:49through and say like, okay, here's kind of how this piece of the system interacts with this

32:53other piece of the system.

32:54And anyone can learn the way that they want to learn, right?

32:57Like if they want to have this interactive application that they can click through deeply or

33:02or if they want to just have like pros that they can read through that will teach them things, right?

33:07Or if they wanted to be like video style or podcast style, right?

33:11Like you can have Claude make you any of those things in order to help you learn the system.

33:15And that's been one of the really cool things about how people have all done their own thing to learn what's going on.

33:21This is kind of crazy.

33:22But I guess the prerequisite is you have all the data connected.

33:25Like when you say Claude, it's not the same Claude as we use externally,

33:28but you have all your data sources, your code base, your observability, your post-requist.

33:32whatever, everything's there, and then it can just search it, use it, do whatever, it makes sense.

33:38Yeah, exactly. So we are, the way that we work with Claude is very much like we have,

33:43all of our systems have MCP servers, and we have connections to those things. And, you know,

33:49Claude, when we're working with it, can just search through whatever it needs to, to generate

33:53the right information that it needs for us. This is so wild to me, because I remember when I was at Uber

33:57and, you know, there's onboarding and engineers teach onboarding. And one of those my

34:02turn I read it some of the slides because they were outdated to like make it up to date on how

34:06these systems work and then I was thinking to myself like okay well like this is like and I then I think I

34:12talk because every few every month or every two months we had new onboarding session and I kept teaching

34:17the same slides and at some point they were kind of outdated but I was like nah I can't be bothered

34:21to change it so well it's not exactly like this but it's roughly like that that's good enough

34:25this kind of strange to imagine well now this reality that you can have a system that will be always

34:32up to date as long as the data is connected and it can give you the formats that you like

34:36interactive thing like I've never heard of that with onboarding because it's too much work

34:40it's a you know for and for too little gain usually before yeah it's totally different now and

34:45most of it honestly is just the code base itself yeah yes you can pull in data from like you said

34:50earlier like postmortems and other places like this but for the most part it's just like

34:55look at the code base quad does look at the code base and then generate whatever you want

34:58so you've done similar I guess

35:02style rewrites before AI at your other places, how different was this project, both in terms of timing,

35:10in terms of where the effort was spent, unexpected things, because now we're doing a completely

35:15different way of rewriting with AI. I'm sure there's a little bit of minds that you find midway.

35:20We're like, oh, we didn't expect this. Like, okay, we need to fix this, just because it's something new.

35:24Yeah. So at Stripe, actually, we went through a, we were trying to build some V2 abstractions in Stripe's API.

35:30And one of the interesting things about this was there were some, like, really deep debates on if we're going to build new services that are going to serve the V2 abstractions, do we write these in Ruby, which most of Stripe's code base is Ruby, or do we choose a language that will, you know, have the higher performance and better speed? And these sorts of things at the time, it was Java that we were deciding between. And it's interesting because we actually went through a first period where a lot of code got written in Java.

36:00as part of spinning up these new systems.

36:03And we ended up making a call part of the way through to just stop and say, like, this doesn't make any sense.

36:09We should build new services.

36:10We should build a clean system, but we should just do it in Ruby.

36:14Like the efficiencies that we were going to gain from doing so in Java didn't outweigh the fact that it was going to take us like literally years to have all of this code get written.

36:22And so I think in that case it was the understanding the language, the choices around those things, the like engineers putting hands on key,

36:30board and writing code in a language they were unfamiliar with.

36:34All of that sort of stuff was just like the things that now you can just kind of like gloss over

36:38and be like, yep, you don't have to think too hard about that.

36:40We'll all be okay because the model knows and it'll be fine.

36:44Whereas in the past, that was just like the biggest bottleneck.

36:47And part of the thing that just took the longest is the learning and the implementation.

36:52Yeah, and I guess getting everyone to learn, like, choosing a new language is used to be

36:55that you either needed to train people.

36:57I say this hesitantly because one of my first few years,

37:00worked at Uber, like I think training was a bit of a curse. We're like, why would you train? Like we all

37:04learned. We just picked it up. We have motivation. But then when we moved over, I think also Uber

37:10standardized languages was Java and Go, the people were asking like these engineers like,

37:14could we just get some Java training? Because like I just want to know how to do. So now it was a lot

37:17of coordination. Everyone being enrolled, getting supportive things. And it just goes back to like even

37:23at the most, you know, like the best engineers like at some point like you want to make sure everyone's

37:27at the same level. Yeah. Sounds like kind of like AI gives us a,

37:30bit of this equalizer. Like, well, if you need training, you have your trainer. If you do.

37:35Yeah, exactly. And you just like skip that whole part. Funny enough, actually, when I was at

37:40Betterment, we did a everything was Java and then we decided to build the like user facing application

37:45layer in Ruby. And at the time, we did a very similar. It was Ruby on Rails. We did the similar,

37:50like you go through all the, you know, like Michael Hartl tutorials and all those sorts of things.

37:55And you spend like hours and hours and hours with engineers learning the language and you decide for

37:59yourself like that's an investment worth making because you get to the other side of that.

38:02Everybody knows what they're doing and then you can get this work done. But first it was like

38:06that is easier to stomach because the model will help write code and it'll help you learn and all

38:11those sorts of things. But then you get all the way to the point where it's like it really

38:14truly doesn't matter if the engineers like can understand every last teeny piece of syntax.

38:20And so you just don't have to think about the investment that you would have to make up front

38:23on learning. Is it fair to say that the specific languages,

38:29just don't really matter as an engineer of me knowing and understanding each specific language.

38:34I mean, once I know the concepts.

38:36Yeah, at this point, it's really starting to not matter.

38:39Does it not hurt saying it as an engineer?

38:40Yeah, yeah.

38:40Both me and you, like, it was a long effort and time to like learn a language, right?

38:45Yeah, but I think it's interesting.

38:47I think everyone, everyone feels differently, probably on this front.

38:51Like, I think when we first started to have like tab complete, right?

38:55Oh, yeah.

38:55And tools like this.

38:56Golden tap keeping courage.

38:57Yeah, exactly.

38:58Like, and that felt great.

38:59Right? Because you were like, I don't need to type these last, you know.

39:02And so I think from that perspective, it depends if you're the kind of engineer who cares about these things because of the end result of the thing that you're building and you're just excited to like create something and build.

39:13In that case, you can do it so much faster and you can be so much more ambitious and then it feels great.

39:18If you're the kind of engineer who like really did deeply enjoy the like nitty gritty of languages and these sorts of things, brood it's worth.

39:26I think there's still plenty of work for people who do care about that sort of thing.

39:29thing like deep work on evolving like what should the next languages be or how do we you know make

39:34these frameworks more efficient over time but I think for the average engineer you know like

39:39you might feel sad if you did enjoy those sorts of things but I think for a lot of people the people

39:43who are happy when they got to start tab completing you probably aren't like too sad because

39:48you're more focused on what you're able to create now I also wonder for the the engineers who

39:53are like really invested in the craft and in the what and how it works again I just wonder if

39:58maybe we never had that conversation

40:00of like, all right, like on a hobby project

40:02or on your side project, like

40:04it's great, right? And I think there will be people

40:06who will write things by code because you enjoy

40:09it, because you do it. But if you're building

40:10out of business, there's a question of like, why

40:12are you here? I just hate to say, but no

40:14business writes engineers to write beautiful code

40:16unless they're selling some

40:18our station thing about beautiful code, but

40:20it's always for a goal.

40:22And the reason for beautiful code was typically

40:24maintainability for easier

40:26better performance, more

40:28better non-functional requirements. And if you can do that other way, like, it's a bit of a pragmatic

40:32approach to say like, well, I mean, let me focus on the bigger picture, which is helping achieve

40:36this goal with what the best tools I can. Yeah, exactly. And so, you know, there, to your point,

40:42I think there is still work for people who deeply care about those sorts of things. If you work

40:46on languages themselves, right? And if you work in these areas and you should probably go do that,

40:50you really do care deeply about that stuff. Because there's a lot of cool, ambitious work that

40:54you can do if you care about those things. But if you're working within a business where

40:57the language and framework choices are all like means to an end of creating something that's, you know,

41:02going to make a business money or accomplish a business's mission, then it would be hard to

41:07have somebody who is so deeply spending time on those sorts of things in a way that's not

41:12going to ultimately matter for accomplishing goals and creating outcomes.

41:17Now, based on this one project, the rewrite, it seems like AI did a lot of heavy lifting.

41:21It turned a project that honestly would have probably taken years.

41:24And we know how complex these migrations are, maybe even been rolled back.

41:27midway to just getting it done. How quickly was this completedish? Yeah. So I want to say it was

41:34something on the order of like maybe five or six months. And that's that's kind of keeping in mind that

41:40there were there was some upfront time where like, you know, one or two people were like,

41:43we might want to do this, right? And like did a little investigation before we actually had people

41:48go and work on it. But yeah, I want to say it was something like five or six months. And like the

41:52core team was relatively small that was doing this. But that team had to be a few people.

41:57Yeah, something like that.

41:59But then I think that team had to go and work with people on a bunch of other teams, right,

42:05who like owned the various parts of the system.

42:08And I think one of the things that was most complex that was happening was all those other teams were still doing work, right?

42:13Like we didn't stop developing the Python system when all of this was happening.

42:18And so at first it was kind of like, you know, okay, fine, we're just trying to get the like very basic core of like what we kind of call the like token hot path done.

42:27and these things around the edges that are new that are getting worked on, whatever, like, we'll kind of come back to those later.

42:32But then we had at least one instance where like a beta kind of went to GA on the Python system when the rest team like wasn't expecting it.

42:40And all of a sudden, you know, that like shadow traffic system was showing a lot of differences, a lot of errors are like, what's going on?

42:46Oh, okay, new feature went GA.

42:48And from there they added, you know, just like linting and static analysis sort of thing so that if any other team around them was working on a new feature, they couldn't

42:57just builds the Python part.

42:59They like had to also do the Rust implementation

43:02because at a certain point we're close enough, right?

43:04Like you kind of have to be in a world

43:06where you can't just have people like randomly

43:08flipping on new features on the Python side

43:11and then the Rust team is like trying to catch up.

43:14You kind of have to get to a place

43:15where all the teams around them were building in both.

43:18And then we wanted to minimize that period of time

43:20and as quickly as possible to get to a place

43:22where we could shut down the Python system

43:24so that you don't have all of those teams

43:26needing to think about both sides. What I'm picking up is the bulk of the work that engineers

43:31spend their time was not like writing the code because you had the agents do it and you

43:35coordinated them and had them tested. But it was coordinating with other teams. What are you

43:40working on? We're going to be doing this. Is it impacting your work or when something is

43:44investigating when something is not going like that? Yeah. So it sounds like there's so a lot of work

43:50involved. You see what I mean? Even though a lot of heavy lifting has been done by God.

43:55I mean, and we think about that with everything we do. I think the average engineer is spending so much more of their time on that type of coordination work and much, of course, much less on actual implementation. And even like, you know, orchestrating agents. I think some of this to some extent is like, you've got to go tell your agents like get something done for me, right? But even from there, agents are often, you know, orchestrating other agents and the humans not necessarily spending a ton of time on that. It's much more so the other teams, the other people.

44:25And, you know, how do we make sure that all these pieces are going to come together, that people are on the same page.

44:29People are spending so much more of their time on that sort of thing than on, you know, the work of actually getting the thing built.

Building Claude Managed Agents 44:35

44:35So this was a migration. But can we talk about a Greenfield project where you built something brand new?

44:40I think we talked about Claude Managed Agents, which is also a very ambitious project.

44:45How the building that happened, especially when you compare it with how it would have happened in the past.

44:50Yeah. So flood managed agents, just to zoom out for a second.

44:53So the Claude Platform, when I first started a year ago, a little over a year ago, was just the messages API, just this like stateless API.

45:01And then models were getting better and better at running for longer.

45:04And, you know, of course, people said, okay, great, we're going to move agents to mostly run in the cloud and enable them to eventually run more autonomously.

45:11And so people were building harnesses and they were deploying those harnesses to the cloud.

45:15And everyone was running into some of the same types of issues when you do that, which is, you know, from like a reliability perspective, if you run these agents like,

45:23inside of a sandbox and your sandbox dies and your agent dies, right?

45:27Or security, right, like if you have your agent running in a sandbox and the credentials go in

45:32the sandbox with the agent, right? There's like a lot of problems that you run into when you think

45:35about these cloud-based agents in their architecture. And so we ended up building a whole new suite of

45:41APIs within the Claude Platform that were just kind of like higher order and meant for the ability

45:46to define an agent and then start a session and run that agent. And so as part of doing this,

45:51that meant we were building services that could run the harness, could store the session state,

45:57could handle like spawning sandboxes as needed and all of these sorts of different things.

46:01And it was interesting for this set of services, we chose Go.

46:05And this was in part because this was, first of all, just before we had done the rust migration.

46:11And we were still in that period where we wanted to pick a language that would allow us to build

46:16efficient services and these sorts of things, but still have like pretty good developer experience

46:21for the humans who were looking at the code.

46:22And I think for this, it was much, much, much more so all of the work on defining the API

46:28abstractions and thinking about the service architecture and the service diagrams and solving

46:32for some of these problems like reliability and security and latency and way less on implementation

46:38and actually building, you know, like writing the code that would power each of these individual

46:43services.

46:43So from that perspective, that one too, just so different than in the past where you'd spend a whole

46:49bunch of time planning and then a whole bunch of time implementing, you like really, really, really shrink the

46:54implementation and then you get quicker to verification and making sure that everything works well and

46:59is at high quality before you go and launch it publicly. But with this Claude Managed Agents, one

47:05interesting detail was how you had a pilot or a pilot team inside, was it the Claude Code web team? I remember

47:12correctly. For Managed agents. Oh, yeah, yeah. So, okay, so for managed agents, the place we started,

47:18The first thing we did was we were like, okay, we're going to build the system that's going to run cloud agents.

47:23And we wanted to do that both for our API customers to be able to build agents,

47:27but also for the Claude Code team to be able to enable the web and mobile experiences

47:34so that you don't have to just, you know, Claude Code the CLI just runs on your laptop or the desktop

47:39runs on your laptop.

47:40But we wanted to enable people to be able to fire off Claude Code sessions that run in the cloud,

47:44and you can walk away, right, and come back to it later.

47:46And so we, because getting this kind of agent architecture right was so complicated, we figured we would share that part, right?

47:56Like we would build this architecture and it would kind of power both.

47:59And so what was interesting about it was the first thing that we did, the obvious place to start was great.

48:04An API request comes in, you spawn a sandbox and you boot up Claude Code inside that sandbox, and then you've got an agent.

48:11The problems that we ran into, the first one was just reliability.

48:14I mentioned earlier.

48:15Like sandbox dies.

48:16And then you have to start for scratch.

48:19Yeah.

48:19The second was latency in order to actually get any tokens back.

48:23You have to wait for the sandbox to boot.

48:25And then you have to wait for Claude Code to boot inside that sandbox.

48:28And then you can go talk to the model and then stream those tokens back.

48:32So that was a problem.

48:33The third was security.

48:34We like really didn't like this idea that if you boot Claude Code inside of the sandbox,

48:39then whenever you do want to go call tools and external services, you end up needing to have

48:45credentials inside that sandbox with the agents that has access to the model, right?

48:49And so that wasn't good.

48:51And then lastly, hilariously, CPU was a thing.

48:55So we're booting and running a sandbox for every single one of these.

48:58Every one of them uses at least one CPU or more.

49:01Right.

49:01So we had these four problems.

49:03And we first actually, we launched the Claude Code web experience in like an early beta.

49:09And we launched the API in early beta.

49:11And we just like weren't happy with any of these problems.

49:15and we were kind of trying to scramble to do all the things to like individually solve each of these problems.

49:19But again, just speaking of things that are possible now that weren't super possible earlier,

49:24we ended up going back to the drawing board a bit and saying,

49:27what if we from first principles like redesign and re-architected this thing?

49:31Instead of just doing the like easy thing that works, which is, you know, boot a box and boot Claude Code inside of it,

49:36what if we design this from first principles?

49:38And what we ended up with was you would run your harness on a durable server

49:43and you would only spawn sandboxes to execute work as needed,

49:48and then you'd have your separate session storage.

49:50And in that world, you solve for reliability because your harness is on a durable server,

49:54and if any of those sandboxes die, your agent is fine.

49:57You solve for latency because the request comes in to that durable server,

50:00and it goes basically straight through to the Messages API,

50:03and so it's like the teeniest bit of latency on top of the Messages API,

50:07so that was great.

50:08Security was solved because the way that we ended up doing this was

50:11if you have an agent choosing to call an external system,

50:16to call a tool in an MCP server, you know, go out over the internet,

50:21we could just kind of run a proxy along the side

50:23and keep all of our credentials separately in a vault.

50:27And then when you do go to make that request,

50:29you can inject the credential at egress just in time on the way out

50:34so that that credential never needs to be inside of the sandbox.

50:37And then CPU was great because we found ourselves running

50:40on average, around a third of the CPU for this system as the original system.

50:47And so we threw the whole thing out and we rebuilt it before we went out.

50:51And I guess one new thing that you can that you can do is now, like it would have been crazy

50:55to say midway through a project.

50:56Like let's just start from scratch.

50:58Yep.

50:58But now planning and implementation is not all that, I guess, resource intent or more like

51:04times intensive.

51:06You can do it.

51:06You could do it multiple times if you want it.

51:08Yeah, exactly.

51:09And so we did.

51:10which at the time it really was, it was a big decision.

51:13I don't want to understate that deciding to rebuild the whole thing was definitely a big decision.

51:18But I think that we felt deeply that we were at a point where the ability to actually solve for all of those problems

51:25was super worth the time that it would take to go and rebuilds and re-architect this,

51:31especially because it was going to be so much faster than if humans are writing all of the good.

51:35And then this project, I remember, from end to end, from the idea through this rewrite to actually roll,

51:40pulling it out was somewhere like five to six months-ish.

51:42Yeah, something like that.

51:43Yeah.

51:43And it's interesting because it's something that had been an idea dating even further back.

51:48You know, like it had kind of come up as an idea.

51:50But it was one of those things where if you, like when I joined Anthropic, my team was the API

51:55team and it was maybe 30 engineers, I would say.

52:00And I think just like kind of by the skin of our teeth, we had enough resources to be able

52:04to launch new models when they were coming out and distribute our API on the clouds, which

52:10was, you know, like a lot of work for a relatively small team.

52:13And so big ideas like, oh, but what if we had APIs for cloud-based agents for like,

52:17yeah, yeah, like maybe in the future, you know?

52:20And so once the team had grown and once, again, just like building these things became a lot

52:25easier, it became more palatable to say, okay, great, we're going to like carve out a group

52:30of people and say you're going to go and build this new cloud-based agent architecture.

52:35Comparing this project, which is building from scratch, what are things that you think have

52:40not changed all that much compared to pre-AI, taking up a large Greenfield project,

52:44or ambitious Greenfield project, and working from scratch, and then what are things

52:48are just completely different? I would say maybe the things that are the same is there's still

52:52so much work in just, like, alignment. Like, there's the upfront design and getting on the same page

52:58that, like, what are the actual goals and, like, is the thing that you're going to do solving for those

53:02goals. Then there's the, you know, the connection points with all the other systems and all the

53:08other teams. One of the things about the platform team metanthropic that's relatively unique is we sit

53:13like literally right in the middle of everything that is going on. So like inference and research

53:19and models are all below us. We work closely with our safety teams that are kind of around the edges

53:23and then our application teams that sit on top. And so for anything that we do, there's just a ton

53:30of work on making sure that a lot of people get aligned. And I just don't think that that has changed

53:34very much from the days pre-AI but then of course the thing that is very different is everything that we've

53:42talked about with like implementation itself you don't have to spend tons and tons of time right and because

53:47that part is so much faster it still makes a big project like this palatable because sure you'll

53:53spend a lot of time on coordination and things like that but the overall time can be much shorter

53:58than it otherwise would have been so you run teams inside of Anthropic if I'm an engineer

How engineering teams work at Anthropic 53:59

54:04coming from outside of Anthropic and I would join one of your teams or one of the Anthropic

54:09team is a software engineer. What would I see? What would my first week look like? And how would

54:14I work? What kind of tools would I use? How would I interact? What do what does a team look like that

54:20I would join? Yeah. So the team itself is not that different. I would say from the pre-AI days. As of now,

54:28we still run teams that are like approximately two pizza teams. Some are maybe a little bit bigger.

54:32So we're talking about the five, ten people is.

54:34Yeah, exactly. Reason being, that is, it's still the right number of people to be able to like have the ability to understand the system that you operate, right? And like, if you're on call and you get paged or, you know, you've got to build something new or you've got to talk to some other team that wants to build a thing that interacts with your system and then two people are on vacation or sick or on call or whatever, right? Like you have the right number of humans to operate the team. That team probably skews more senior than.

55:04I did in the past because rather than say like tech lead designs the system and then a bunch of mid-level

55:10engineers engineers implement it now it's more like anyone on the team is likely thinking deeply about

55:16design or thinking deeply about coordination with other teams and then they're you know orchestrating Claudes to go and

55:22build it similar size team skews a bit more senior for sure and then it's like you have kind of this

55:28world of tools in front of you to get work done in a way that's probably pretty different from obviously

55:34AI, but even, you know, I think actually every company has done some amount of creating their

55:40own tools that work best for them, which is great and one of the fun things about working on

55:45the API at Anthropic.

55:47Oh, you see a lot of that.

55:49A lot of that.

55:49Like side tangent, I think when people think of the API, they think of people who've built

55:53products on top of the API, right?

55:56Like you think of cursor and things like this.

55:58But a lot of our API traffic comes from companies that have built their own custom tooling,

56:04their own custom platforms for running agents internally.

56:07And so a cool thing is we get to spend a lot of time with them on these platforms.

56:11I'm talking about your customers.

56:12Exactly, yeah.

56:13And so we are just like them and we've built our own versions of whatever the right tools are at any given time that we think will be us for the job.

56:23Can we give some examples of the types of tools that you build?

56:25Obviously, the harness is a given one, right?

56:27Like there's clock code.

56:28Do you use the same clock code or do you have your own?

56:30We use Claude Code for sure when people are, you know, I'm kind of like,

56:34human-in-the-loop, wanting to ideate and think about an idea.

56:37We use Claude Code, we use Cowork.

56:39We use a lot of the same tools there.

56:41But when it comes to orchestrating cloud-based agents,

56:44we're mostly operating on kind of like similar to a system like Claude Tag,

56:48but we've done some work to kind of build.

56:51Make it your own.

56:51Custom stuff.

56:52Right, exactly.

56:53So, which is nice because, you know, we can do those things on top of, you know,

56:57all these shared underlying concepts and systems.

57:00But, yeah, we do a lot of Slack-based work.

57:02And so you'll have a lot of slide-based tools, right?

57:04Yeah, exactly. But for the most part, I think we do still do the, like, you know, you've kind of got your one Claude, if that makes sense. I think people probably picture Anthropic Slack having like all these crazy agents that all have their own identities and all whatever, right? And it's not like quite how we work. We more so are very much like, and we design Claude Tag after this concept. It's like, you've got Claude. You work with Claude. And it maybe has different permissions and works a little bit differently in different contexts in a DM or a channel or whatever.

57:34it might be. But for the most part, this concept kind of stays the same. And so that's really the biggest one

57:40is just you're mostly in Slack and you're interacting with Claude alongside of humans and

57:46anything that you're working on. And so like once I'm onboarded or in the company as an engineer and

57:52I start to contribute to build stuff like back pre-A, the way it would have looked like is I do some

57:57sort of planning. I align with someone on my team. I write the code. I create a pull request. I do

58:03through code review, CICD runs, I get sign-off, I get feedback from my teammates, I fix them, I deploy,

58:10there's ways that I can monitor. I might actually even do a feature flag when it's a large system,

58:16and then there's monitoring, alerting, and I'm on call, and, you know, like if an incident happens,

58:20I do a post-mortem. Like, that's kind of like a typical thing that an engineer will do in their

58:24like first month, once they're fully there. How has this changed? Like, because I know you,

58:31A lot, even we know, like, writing code itself has changed.

58:34I no longer write it.

58:34But what is left of the kind of old school tools that we use on?

58:38Like, what has just been taken over agents or how of the workflows change inside?

What agents handle on their own 58:43

58:43Yeah.

58:43So I would say the way that we kind of think about, it's less on the life cycle of an individual change

58:49and individual pull requests that you might think about and more just the overall, like,

58:54project or just some like higher unit of work that you might be thinking about because you're

58:59working with agents.

59:00And to some extent, these agents are directly orchestrated by you, right?

59:04To say, I'm going to pick up this linear task and I'm going to get this exact small thing done and that's going to lead to one pull request and that thing is going to get merged.

59:14But much more so you're kind of zooming up a layer and thinking about I want to, you know, accomplish something that requires end-to-end building all of these different components, right?

59:25And so you'll probably ideate a little bit with Claude, you know, and just kind of go back and forth.

59:30and yeah, just plan and think about how you might want to get something done.

59:34And then, you know, you like send Claude off to go and do this work.

59:38But I think what's interesting about this is in that kind of development loop,

59:43there are a lot of aspects of this that maybe like you aren't really even in the loop on anymore

59:48that you would have been previously.

59:50So like a good example is there are certain types of pull requests that can get opens

59:55that don't really even need really you to look at it or somebody else to look at it.

1:00:00And we're doing a lot of work on getting to a place where we get more and more and more comfortable with more of these types of changes not requiring to have a human in the loop because you can picture the types of changes that are maybe just like so mechanical, right?

1:00:13Like a good example just being we release new versions of our SDKs whenever we have a new API version or a new model.

1:00:22There are aspects of our SDKs and like just doing the version bump in those SDKs that you don't really need a human.

1:00:30to be spending tons of time on this sort of thing

1:00:32because the code change that needs to happen

1:00:34is very mechanical and getting that reviewed

1:00:36and all the way through is pretty mechanical.

1:00:38And so we've taken like, you know,

1:00:41just changes like that and done everything that we can

1:00:44to say, Claude will go and open the pull request.

1:00:47Then we've got a Claude that reviews it first

1:00:50and decides, like, is this actually fitting into one of these

1:00:53like mechanical changes we know how to do

1:00:55or is it a riskier change?

1:00:57So it kind of categorizes it, gives it a risk-for-ish.

1:00:59Exactly.

1:01:00And either a human does have to look at it or not, and if not, then it can kind of go and get merged and get deployed without a human needing to be in the loop.

1:01:09And I think going back to your original question on, I'm a new engineer and there's this whole change life cycle that happens, there's just a lot of pieces of getting done and to ends that you might not have to think about.

1:01:21There might be like, of all the PRs that went into something getting done, you might have interacted with and been a part of some subset of them.

1:01:29and then there's some of them that are like there's agents running and they're doing their thing

1:01:32and you're not really a part of what's happening there. And I think that's the big shift that

1:01:37everybody is seeing. The difference between I'm a human and I'm working with an agent either

1:01:41directly on my laptop or I'm orchestrating it in the cloud or whatever versus agents

1:01:45that are persistent and taking actions like classifying a change and reviewing that change or

1:01:51like we have agents running that like when CI goes red, right, like a flaky test was merged

1:01:57into main, then sure, somebody can go and say, oh, see, I've right, I got to fix that test.

1:02:03But now we just have agents running that will go and do that for you and nobody really has to look, right?

1:02:08So there's just more aspects of the process that are totally, like, human out of the loop now,

1:02:13which is, I think, just something for everybody to wrap their heads around.

1:02:16So, but just specifically because I know this will make so much sense when you're inside of Anthropic,

1:02:21but from the outside, like, okay, so I now have a project or a feature I want to build.

1:02:26I decide it's a good idea.

1:02:27I believe it's a good idea.

1:02:29I will chat with Claude, make a plan.

1:02:31I'll probably spin off a couple of agents till I start to build it.

1:02:35One of them does scaffolding, the other one builds it.

1:02:37The other one does, I don't know, validation or maybe another feature,

1:02:40et cetera, they go off.

1:02:42And then what do I see next?

1:02:44Is there a place where I'll be pinged when they're ready for a review?

1:02:49There's still a team.

1:02:49So I'm inside a team.

1:02:51Do I decide, like, do I pull another human in and say, like,

1:02:54can you look at this as well?

1:02:55So like, what happens?

1:02:57after a point after this is built, the agents build that stuff.

1:03:00So your agents are typically, and maybe the main point that I'm making is like you're sending

1:03:04those first agents off and those agents are probably like spawning other tasks that you

1:03:10aren't necessarily even choosing to orchestrate yourself, right, on the path to this like bigger

1:03:15goal that's happening.

1:03:16The way that we work with our agents in Slack is they're pretty chatty.

1:03:20And so they'll kind of very often come back and be like, okay, great, I've got this

1:03:24pull request up.

1:03:24And the next thing I'm going to do is go do this other thing.

1:03:27And you could choose to like pay attention to all of the details of all of that work.

1:03:32So you're kind of saying like the agents are when they go off.

1:03:34So for example, like I might be building a feature on, you know, this specific system.

1:03:39And the agent, I tell like, right, here's my goal.

1:03:41This is what I want to do.

1:03:42Here's the first step that we're going to do.

1:03:44And then the agent goes up.

1:03:45And it might say like, oh, by the way, I checked some analytics.

1:03:48And here's an interesting thing.

1:03:50Here's something important that I think we should do.

1:03:52I think, you know, I'm suggesting we build this feature.

1:03:54And then that's what you're saying that they might.

1:03:57come back being chatty saying and then you can make it a decision or steer it basically right and it might say oh you know

1:04:02this other team has this piece of code that's like kind of related and like maybe they're doing something that we don't

1:04:09understand yet and we should ping them do you want me to ping them for you right and i get it so it's so it will be

1:04:15very interactive based on what you said is you can either pay attention to it or you can just kind of let

1:04:21let it go like i go on yeah exactly and you know i think if it really needs your attention or else

1:04:27it's going to get stuck, it'll get your attention, right?

1:04:29But I think a lot of what we're trying to do is make more and more and more and more of this,

1:04:33something that doesn't require you to have to get involved and be like, you know,

1:04:37it wouldn't be a great job if all you did was like sit there and watch a Slack thread

1:04:41and then like say yes or no or okay, fine, I'll go ping that person, right?

1:04:45Like that just wouldn't be interesting.

Human code review 1:04:47

1:04:47I wanted to ask about code review in the sense that pre-AI, a place like Stripe,

1:04:51I also worked at you, we're like, we always have mentor code reviews from another human,

1:04:55another engineer for many many, many reasons, you know, a lot of it was not even related to that,

1:04:59but they were mandatory. Do you have that or do you just say, I will give trust and accountability

1:05:04to the engineer who's building it and then they will decide, do I need to pull in someone or does this

1:05:09look good because of all the, you know, I verified it or I know it's not a big deal.

1:05:14Yeah, so we have a system that, I mean, it's a Claude, but it's a classifier, you know,

1:05:19but it runs on every change and it decides, does this need a human look? If so,

1:05:25how many humans and what teams does it need or is this something that can merge directly without a human

1:05:30looking at it and this is where I kind of mentioned this idea of like a very mechanical change we're trying

1:05:36to do this thing where you define like what are the changes that end to end you shouldn't have to spend

1:05:41time on this right like we've done these things a million times they all look the same so can we classify

1:05:46this change as one of those like very mechanical you know such something like get a new SDK version

1:05:52release and if so and it like fits that mold then okay great the Claude's job is to make sure is this thing going to

1:06:00have the outcome that is intended by the original change and if so great you know a human doesn't have to look at it

1:06:08but if it's like eh like this might have some unintended side effects or this is a little bit of a riskier

1:06:14change or it's just like a change happening in a system where we're not yet comfortable with

1:06:18zero humans paying any attention then it will ping for a human to

1:06:22to take a look, but we have like pretty strong goals on getting to like more and more and more and more

1:06:27of these changes where the classifier ends up deciding, no, I don't need a human to look

1:06:32at this at all. And right now, you know, we've got a small number of these things that are

1:06:36happening and it's rationing up. But for risky changes, we definitely still have humans

1:06:40looking at these. Once it gets deployed through different change, change gates, in production

Oncall with Claude 1:06:41

1:06:46monitoring and incident management, how do you do that? Because again, pre-AI, you would have your

1:06:51dashboard that you would define you would manually put together alerts on how you do it or and of course

1:06:56at more advanced places like Stripe and Uber you would have machine learning systems already

1:07:00this is like even 10 years ago that would look at the signals and like plug oh something is wrong

1:07:05let's raise an alert a human gets paged whenever that time is that person looks into it and then

1:07:10later we go back if it was false they will try to tweak the alert the on-call part would be also

1:07:15very heavy typically on high-impact systems as well and of course your your system the AP

1:07:21As the impact as it goes, if it sneezes, a lot of people are relying on it, notice.

1:07:27How do you go about this kind of like monitoring and on-call management and how is Claude helping there?

1:07:32Yeah, so a lot of it is really similar.

1:07:34A lot of it is, you know, we have all of our monitors and our detectors and our alerts that fire.

1:07:39And just like any other other engineering team, often we get noise, right?

1:07:43Like you get alerted about something that's not really an issue.

1:07:45It's just how it is.

1:07:46Yeah.

1:07:46So what we've started to do with our API on call rotation, which is like,

1:07:51a very load-bearing on-call rotation. What we have had happening over the past many months

1:07:58is we've had a Claude shadowing our on-call. Oh, interesting. Yeah. And the goal is to get to a point

1:08:05where when a page comes in and we're like just starting to do this, when a page comes in, it goes to that

1:08:11Claude first. Yeah. And that Claude can decide, is this noise or is this real? And that's just the first gate.

1:08:17The first gate is, is it noise or is it real? And if it's noise, then really,

1:08:21what we're trying to do is avoid a human getting interrupted or woken up or whatever it might be.

1:08:26And so we've started to do this and we've saved a lot in terms of human time that would have

1:08:31gone to looking into something that turned out to be noise. And then when it goes and does and says,

1:08:36okay, this is real, in which case it escalates a page to a human and the human will come in

1:08:41and start to look. But in that time, when we're waiting for a human to come in and start to look,

1:08:46the Claude will start to also look and figure out what might I be able to do to fix this

1:08:51problem. And often by the time a human, especially if it's the middle of the night and somebody's

1:08:55getting woken up, by the time they get to their laptop, Claude has diagnosed the issue and has a

1:09:01recommended fix. And maybe it's even, you know, like started to take some action towards that

1:09:05fix that a human just needs to be like, yes, thank you. That sounds great. And of course, the goal is

1:09:09to get to a point where you, for more and more and more of these types of issues, don't need to wake up the

1:09:14human at all. Even if it's a real issue, it's something that, like, Claude will hopefully just

1:09:18handle in a way that we can trust and you don't have to wake anybody up.

1:09:22We're not quite there yet.

1:09:23For now, we mostly just have the like, is it noise or is it not when a page comes in?

1:09:28And that has saved us a lot of time, which is great.

Product managers shipping to production 1:09:31

1:09:31So it's very clear on how I think it's now clear in my head, how engineers like push the

1:09:36production, how, yeah, it's a lot of difference.

1:09:39You can now talk in Slack and with an agent's theory.

1:09:42It seems like a lot of work can be done for non-engineers, product folks, design folks,

1:09:46just people who, you know, buy.

1:09:48training like before this job there they didn't push code to production do they also push

1:09:56out code into production by chatting by creating features by tweaking that or is the

1:10:00accountability is typically still with an engineer if it's one of a system that is not just like

1:10:06a standalone like small website that marketing team owns but inside a core of core product can they

1:10:11already push to production they can they can and so it's interesting because you

1:10:16kind of mentioned this like oh marketing site you know

1:10:18is maybe the canonical example of the place in the past where you would have said,

1:10:23okay, a product manager, a designer can go like push to production and everyone feels okay

1:10:28about that and they let that happen. I would just say the line of what goes in that category of

1:10:33we feel okay about that is shifting over. So a really good example is we have a developer console.

1:10:39We have like a user experience for developers who are building on the APIs where you get your

1:10:43API keys and your monitoring and all these sorts of things. We recently released a feature

1:10:47in the developer console that gives you diagnostics on your prompt caching.

1:10:52So prompt caching really, really important with our APIs. You can save a lot of money,

1:10:57and you can have a much better latency story if you're able to get more of a higher cash hit rate.

1:11:02We're starting to build more features that help engineers understand, like, am I getting a high

1:11:07cash hit rate? And if not, what might be happening and what might I be able to do about it?

1:11:11And so we built that feature into the API. If you get a cache miss, then the response will kind of tell

1:11:16why. We also built a dashboard into the developer console to help you see and understand

1:11:22what your rates are and what might be happening. And all of that was built by a product manager

1:11:27and push to production within our developer console. Oh, wow. Yeah. And so maybe, you know,

1:11:33we're not quite at a place where a core change to the core API is something that we would have

1:11:39a product manager or designer, you know, doing directly or spending time on. But for something

1:11:44like this where it's like we can have a diagnostic dashboard that helps you think about your

1:11:47prompt caching and that's a great user experience for people you know the product manager who was

1:11:51working on this was obviously a relatively technical product manager but um he was kind of like

1:11:56do i really need to bother an engineer for this like i don't think so and of course like we had engineers

1:12:01who could review the code and who could be involved and make sure that it was going to be high quality

1:12:06and things like this but the actual implementation was that product manager and and his Claude in slack going

1:12:12back and forth and getting that thing built and it's a really high quality feature and it was totally

1:12:16built by a product manager. Is it safe to say that the people, the person who pushes to production

1:12:21in the end is the one accountable? Like sounds like this product manager, if something

1:12:26would have got wrong or like some numbers would have looked funny. Like this person would have

1:12:30absolutely taken full accountability, fixed it, you know, figure out how to fix it is. Because I think

1:12:35that's a bit of a differentiation of product managers to some extent have always been the ones owning the

1:12:40outcome, they just didn't have the tools to write the code.

1:12:46But in the end, often I remember so many of storage product manager, like, you know,

1:12:49we do the project, engineers build it, we want to ship it or show it to product manager,

1:12:53product manager is like, hang on.

1:12:55That's not exactly how I was thinking.

1:12:56And the team was always connected in terms of product manager, engineers, like, you know,

1:13:00it will share accountability, if you will, or responsibility.

1:13:03Yeah, I think it's pretty similar.

1:13:04I think it's like the team that owns a system is still ultimately the team that's like

1:13:08getting paged when something goes wrong.

1:13:10with that system and they're jumping in and they're figuring out what went on.

1:13:14Like in the past, you would always have times when an engineer from a different team

1:13:18might be trying to get something done and they'd kind of like come into a part of the code base

1:13:22owned by another team and they'd make some changes, right?

1:13:24And like if something went wrong there, how does that get handled?

1:13:28It's like, well, like something in that system that's owned by the team over here broke.

1:13:32And so the team over here that owns it gets paged, right?

1:13:35And then they might say like, oh, this change was made recently by this person on this other

1:13:39team, let me page them in and ask them questions about the thing, right? But ultimately, like,

1:13:43the team that owns the system is responsible for keeping it high quality. And so the engineer

1:13:48over here that came in probably got code review from that team or got like alignment in some

1:13:53form from that team, right? Because like their job is make that system high quality. I think all

1:13:58of that is exactly the same. So if that experience around cash diagnostics and our developer console

1:14:02had an issue, the team that owns our developer console, which is our developer experience team,

1:14:07is a team that would get paged, right?

1:14:09And then they might say, oh, there's something funky going on in this cash diagnostics

1:14:13thing that, you know, we know this product manager over here was part of building.

1:14:17And so we'll go page him and ask him for help thinking about this because he might have

1:14:21details that this team doesn't have.

1:14:23But from that perspective, you kind of have to extrapolate that out to a point where now

1:14:27we have agents that aren't necessarily being orchestrated by a human, right?

1:14:31Like the get the SDK version bumped or the CI went red and let's have.

1:14:37have an agent just catch that and fix it and make it go green, right?

1:14:41Any of these changes that don't have a human in the loop, the accountability question gets

1:14:46really funny, but I think ultimately it's the system that's that is owned by a specific

1:14:51team having an issue.

1:14:52It's that team's, you know, like goal to keep that system high quality.

1:14:57And so they're the ones who are going to be dealing with it, even if it's an agent with

1:15:01no human involved at all, right, that made some change.

1:15:04It's like they're doing what they need to do to keep their system high quality.

1:15:07also think that's why we go back to we still have these two pizza teams right like you still have a set of

1:15:12humans who understand the system they're accountable for the system because changes might come in

1:15:16in any number of ways it might be a product manager it might be an ambient agent right like and you've still

1:15:21got to keep it high quality all right it is really refreshing to me for to hear that you're seeing saying you know

1:15:27teams on systems yeah here's how team operates like i think we mentioned teams more in this conversation

1:15:32than than others but it sounds like you're you're you really observing or

1:15:37or believing that like teams are kind of like so critical for like high quality products systems

1:15:43or long living ones maybe.

1:15:45Yeah.

1:15:45And I just don't think that that part has changed at least yet, right?

1:15:49And maybe over time you could say that that team could be a little bit smaller or something,

1:15:53right, because they have more and more agents that are helping them and maybe, you know,

1:15:57like the team is getting paid when something goes wrong is actually like the agents get page first

1:16:02and most of the time the agents know what's going on, right?

1:16:04And I think over time that will change.

1:16:06But I still think there's some units.

1:16:07of a set of humans who are accountable for a system operating the way that it's meant to you and

1:16:13accomplishing its goals and doing all those sorts of things that however big or small that unit is

1:16:18like that's ultimately who cares the most when something is going wrong and they're the ones

1:16:23who are fixing it now we talk so much about the different systems and different Claudes and there's

Anthropic’s software factory 1:16:25

1:16:29durable Claudes and the ones that you're spinning off a term that is going around the industry

1:16:34you've heard so many times is software factory uh what

1:16:37do you think about the name software factory and do you think what you're doing or how Anthropic is running

1:16:44could be described as such? Yeah, it's really interesting. I haven't really heard us use the term

1:16:49internally, but I do think that the spirit of what it's talking about is very much something that

1:16:54we are doing at Anthropic. You're definitely doing it. Yeah, we're definitely doing it. But we haven't

1:17:00called it software factory for I'm not sure why. But yeah, that's how we're working. It's very much like

1:17:07you want to get a change end-to-end and to production, right?

1:17:11You've got the agents that are actually making the change.

1:17:14You've got agents that are verifying the change.

1:17:16You've got agents that are taking the first pass at code review.

1:17:18Maybe they're doing the whole code review, right?

1:17:20And then they're deploying to production.

1:17:21And then once something is in production, you have monitoring, right?

1:17:26Like, we recently started experimenting with actually like QA agents that are just-

1:17:31Oh, the external QA agents, like trying to-

1:17:33Yeah, they're just ambience.

1:17:35And they have like a human race.

1:17:37written, here's how the system is meant to work, right?

1:17:40And then they go and they're just constantly, you know, hammering on that thing

1:17:44and making sure that it works the way that it's meant to.

1:17:46And then they're putting up pull requests if something is broken, right?

1:17:49And all of those different parts of the, like, get a change into production and then

1:17:54keep a system high quality once it's in production.

1:17:56And then we talked about on call too, right?

1:17:58Like taking the first page, all of those things are things that as much as we can,

1:18:03we're trying to have agents take on more and more and more of that work so that the

1:18:07humans can spend their time on the higher quality work that needs to happen in order to get systems built and running at high quality.

1:18:15Now, like what you're talking about is, well, you're on the Claude Platform team, which is an interesting name because externally it makes sense as a platform, but platform teams can also be the ones that have built developer tools or infra tools and so on.

1:18:28These feedback loops, the categorizing of different pull requests, is this done by a platform team?

1:18:37Or is each team deciding how they will build the tools?

1:18:42It's a really good question.

1:18:43So we have a central infra org that's separate for my team.

1:18:47And that team does infra across research and inference and product and all the different things.

1:18:55And so we kind of have a version of an infra team within the platform team that's specifically

1:19:00focused on product, but they collaborate a lot with the centralized infra team.

1:19:04And so a lot of the work that's happened to try to make everybody more.

1:19:07more efficient has come from a developer acceleration team that sits within that central

1:19:11infra team. So they built Scion that we talked about recently. Oh, yeah, the new source control.

1:19:17Exactly. So they've done a lot of really, really incredible work to figure out how we go through

1:19:22this period of like insane number of changes that everybody's trying to make and make these things at

1:19:28high quality. So that team has done that type of work. And then on top of this,

1:19:33we actually have a team within platforms called Platform Acceleration that,

1:19:37is collaborating a lot with the overall developer acceleration team,

1:19:41but their job is to just think specifically about platform and our team and the work that

1:19:46we're doing and the tools that we might want to have in order to make our teams move fast.

1:19:50And so, for example, I just mentioned that QA agent that's running, like the platform

1:19:55acceleration team built that, or you know, like I briefly mentioned CI. When CI goes red,

1:20:01we have agents that go and fix the tests and humans most of the time don't have to be in the loop.

1:20:05that's something the platform acceleration team built on top of a lot of the tools that were built by

1:20:11the developer acceleration team. And so there's that. And then the last category I would just say is every

1:20:17engineer who's doing work is like totally empowered to think about all the things they could be doing

1:20:23that would make their lives better. Or their teams life better. Yeah, exactly. Make things more

1:20:28efficient. And so a lot of our most amazing tools that have, you know, help teams do better work is just like some

1:20:35engineer who ran into some bottleneck that they thought was annoying and they were kind of inspired to go do

1:20:40something to fix it. And so I would actually say on the whole, the number of human hours that go into

1:20:46the kind of meta work of tooling around the edges to make the work go faster has gotten, I would say

1:20:53the balance has shifted. It's gotten higher as more work has become agentic, which is maybe counterintuitive

1:21:00because it's like you've got agents now who are doing so much of the work. And so that speeds people up.

1:21:05And so they can just focus on the actual work itself, but I think because there's this whole world of tooling that you can create with these agents to like push harder and harder on this goal of how many humans you need in the loop to get things done, everybody's really inspired by that problem and everybody's spending a lot of time thinking about how can I, you know, take this workflow that was silly and I spent time on something that I probably didn't need to and make that more automated or make that more agentic. So across all of those layers, we have.

1:21:35people spending a lot of time on that do I understand correctly that there is a developer there's

1:21:40an acceleration seems I like because in the past these would have been called developer platform

1:21:44free AI and but I really like the acceleration part but there's people working inside of the platform

1:21:49acceleration or infra acceleration teams their job is to clearly their kind of state a role or

1:21:55goal is to make things more efficient for software engineers but is it also true what I'm picking up is

1:22:00either kind of by choice a lot of software engineers who are working

1:22:05you know, let's say product, like they're working on a specific part of the product.

1:22:09They're choosing to find ways to make their own work less repetitive, automated.

1:22:16do the agentic loops more efficiently?

1:22:18Clearly they're running like multiple agents.

1:22:20We're talking 5, 10 or even more, figuring out how they can make those more efficient, like

1:22:26tweak.

1:22:27So there's a lot of experimentation playing going around there.

1:22:29Yeah, exactly.

1:22:30And people can just kind of build what they want to build.

1:22:32A really cool example, some number of months ago, we had someone on my team who, not on platform

1:22:39acceleration, like, main job is not to do this type of work, was thinking about we have all these Slack-based

1:22:45agents that we spend a lot of our time with. What is maybe the right form factor within Slack for somebody

1:22:50to be able to fire off a much, much, much, much more ambitious goal? And so he kind of came up with this

1:22:55concept of like a Slack channel that's dedicated to orchestrating a big, like, multi-agent team.

1:23:02in order to work towards like some specific goal.

1:23:06And so you would have kind of a lot of instances of your Claudes within that Slack channel.

1:23:11And like that was all like orchestrated with some tooling that helps the multi-agent team.

1:23:16This was before multi-agent had gotten better and better and to the point where you don't

1:23:20really have to spend so much time thinking about exactly how will the multi-agent system orchestrate

1:23:24itself, right?

1:23:25Like let it do it on its own.

1:23:26But at the time, it was all an experiment on how can we try to just like one shot.

1:23:32some really, really ambitious goal within a Slack channel with a team of agents working on that thing, right?

1:23:40And it's interesting because it ended up being, it morphed into something that was more about

1:23:46persistent problems, like ambient problems that you might have.

1:23:50Like maybe you have that team of agents is just like scanning for vulnerabilities in a codebase or

1:23:54something and just like fixing them, right?

1:23:57And so the concept kind of changed over time, but it all started from just some engineer saying,

1:24:01like let's experiment with the form factors here and let's experiment with how we can have a multi-agent team

1:24:06do more ambitious work and you know it wasn't his job but it was it helped him do his job and so that's

1:24:12what he spent his time on speaking of the job in general how is hiring changing felix reeseberg your

Phasing out traditional coding interviews 1:24:13

1:24:18your colleague wrote about how either his team or i'm not sure of broader entropic decided that

1:24:24the coding uh interview doesn't give much signal just your org talking about the platform how are you hiring

1:24:31How is it changing on what you're looking for, how you're verifying.

1:24:35Because, you know, hiring has always been, we know, it's always been difficult.

1:24:38And you know when the person can do the job, when they're doing the job.

1:24:42But beforehand, you know, there's a way we need to somehow filter.

1:24:45It's a huge change.

1:24:46It's a big change.

1:24:47And it's interesting because I'm being pretty specific with the phrase phased out.

1:24:51Because what happened was we were running a coding interview alongside, of course,

1:24:56like we have interviews that test for technical design, right,

1:25:00or the ability to talk about.

1:25:01a large technical project you worked on in the past, right?

1:25:04Like all the other signal that you get beyond just putting hands on keyboard and

1:25:08writing code. We found ourselves getting more and more to a point.

1:25:11I mean, it sounds obvious, but you know, someone might not pass that coding

1:25:15interview, but they would like crush all the rest of the interviews

1:25:18and it's because they're not writing code by hands all the time anymore, right?

1:25:22And so we found ourselves more and more of the time almost like saying,

1:25:26ah, that's okay, right? You know, and this is this is always a challenge in hiring.

1:25:31Like not every interview loop is like perfect across the board and you know, you decide how do you get

1:25:36countersignal and how do you decide ultimately that someone's going to be successful.

1:25:40And so on the coding interviews, we were just finding that we weren't putting a ton of stock in them

1:25:44because we kept saying, well, you know, they might not be writing a ton of code by hand anymore.

1:25:48And so what we have done is we didn't just delete it.

1:25:52We've started to experiment with a bunch of different interviews that are basically just like

1:25:58coding agent driven interviews.

1:26:00So maybe it's like reviewing code that was written by an agent or reviewing like a system design that was made by an agent or it's, you know, build some system or build something using a coding agent, right?

1:26:13We're experimenting with a lot of these because we're just basically trying to find like what is the best way to really truly get signal on whether someone can use these tools really well to get work done.

1:26:25So basically very specifically the part that used to test for coding, we're trying to replace with something that tests for ability.

1:26:30to work with agents to get work done.

1:26:33But the rest of the interview has stayed the same

1:26:35on just thinking about technical design

1:26:37and the projects that you've worked on

1:26:39and all of those other pieces.

1:26:40Yeah, I guess one thing with the coding interview,

1:26:42you will notice as a hiring manager,

1:26:43the reason it was kind of convenient

1:26:45at every larger-sized company is two reasons.

1:26:49One is it didn't really matter

1:26:50if a question leaked online

1:26:52because it's not great when people know the question

1:26:54they can come prepared and you'll get zero signal.

1:26:56That's one.

1:26:57And then the other thing,

1:26:58it was pretty easy to train a large number of

1:27:00on how to conduct this interview and get roughly equal signal,

1:27:04even if it's a early career or like someone who hasn't had many interviews and also,

1:27:08or someone who has a lot of interviews, but also when I was hiring manager and sat on the panels,

1:27:14like the signal from a coding interview was always a little bit, like sometimes people

1:27:18will fill coding interviews and they were still get hired.

1:27:20So like there was, there was, I feel it was the one that gave the least nuance.

1:27:23It was a zero or one that wasn't as precise anyway because we know that even back then that

1:27:28the data science and algorithm, and, and,

1:27:30The DSA interviews, we're not testing for the type of coding that we're doing day-to-day.

1:27:35Right, exactly.

1:27:35So they were never perfect.

1:27:37But I think you do bring up a good point that whether an interview is successful,

1:27:42like an interview, a type of interview that you're going to run is successful,

1:27:45is not just about what's the exact signal that we're trying to get and can we get that signal?

1:27:50Some of it is, can you trust it?

1:27:52Some of it is how hard is it to, how onerous is it to have your team ready to grade that interview, right?

1:27:59and to score that interview and how hard is it to get more, you know, like unbiased signal, right?

1:28:06Like a rubric that is pretty easy to stick to.

1:28:08And so this is why we're not just, you know, deleting the coding interview,

1:28:12but we're also not just like, here's the exact thing that we're going to swap in instead.

1:28:17It's the reason why we're testing a bunch of different options for how we kind of hit where we want to hit on all of those different factors.

Levels, promotions, and performance reviews 1:28:24

1:28:24Once someone gets an offer enjoys entropic, how do you think about things like leveling,

1:28:29performance reviews, promotions, or do you think about this?

1:28:33And how has it changed?

1:28:34Because again, thinking back to like Stripe and Uber and Meta and all these places,

1:28:37like this was such a big part of those companies.

1:28:40It was all figured out.

1:28:41I think the role wasn't changing as much.

1:28:43So we had a few, like, you know, five, 10, 15 years of like stability, if you will.

1:28:47And that was a huge part of it.

1:28:49You know, people were like worried when there are people rejecting offers when they didn't

1:28:52get the title that we were hoping for the level they were hoping for and so on.

1:28:55How do you think of it inside of it?

1:28:57Yeah.

1:28:57So we still do levels.

1:28:59We still do promotions. We still do performance reviews. We do all these things. The two things that are most different are one, we've skewed much more senior.

1:29:08And so hiring, right? Yeah, exactly. And I think it was always easier as a manager to think about what success looks like at more junior levels, where it's a little bit more uniform, I would say. As you get more senior, you find people owning totally different problem spaces and totally different systems. And it's like a little bit harder to say, like, what does good performance?

1:29:29performance look like at some like very senior level. But that's where we are right now. I think this

1:29:34typically happened to stop and above levels. It was no longer a uniform. Exactly. And I think what

1:29:40we're starting to grapple with is both when we're hiring and then once we have people in seat and you think

1:29:45about their levels, we used to use the proxy. Everything's about impact, right? It's like what impact

1:29:50have you had? Exactly. But it's interesting because we used to use a proxy of, you know, like an effort that

1:29:57took a certain amount of time is maybe a proxy for how complex that effort might have been,

1:30:03right? Like you might say somebody who's like some senior level, right? Like we do the,

1:30:08we don't have titles. We're all a member of technical staff. And so it's all like numeric levels.

1:30:12But someone at a pretty high numeric level might have in their past company or in their current

1:30:19company worked on something that took, you know, two years, right? And then you'd say,

1:30:23this person led this two year long effort. Like that's so complex. And,

1:30:27And now it's like, well, the thing that could take two years, like, you know, migrating the API from Python to Rust, someone leading that in a matter of five to six months is what we would have in the past said, oh, this is like a two-year effort.

1:30:41But then the complexity bar is different too, right?

1:30:43And so a lot of things have changed.

1:30:44And so we're kind of constantly iterating on how do we get a sense for the complexity of the work that somebody does.

1:30:52But ultimately, the fallback is always just impact because you're able to look at something like that migration and say,

1:30:57okay great we saved this amount of CPU and our latency got this much better and you know all these different

1:31:03things and we avoided incidents and all of this right and you can kind of qualitatively look at the work

1:31:09somebody did and say they had to coordinate across all these teams and they did that really well right and

1:31:13these are the the measures that we now look at to be able to understand seniority within our team and it's

1:31:20gotten you know just harder because it used to be much easier and more deterministic especially at lower levels

1:31:27But all to say, those main things, the idea of levels and promotions and performance reviews have all stayed the same because we're still operating a team that people who have careers and they're growing and they're doing all these things, right?

1:31:40And it's important to us to make sure that that is still a good process for people.

1:31:45One thing about performance reviews is that it's not just about performance as sir, but it's often most companies run every six months where it's a place where people get feedback typically from their management.

1:31:57because managers are now forced to, like, okay, you need to tell people like constructive feedback,

1:32:02positive feedback, and so on. How does feedback work inside of teams or between teams or between

1:32:09individuals? Yeah. I would say not that different than it ever used to work. We still do, I mean,

1:32:15I guess every manager has their own philosophy. My management philosophy is if I get to perform

1:32:19interview time and I tell you something, some bit of feedback that feels super surprising to you,

1:32:23then I messed up. Yeah. You should have heard that for me more.

1:32:27in real time. And so we still hold philosophies like this, but then when it comes to collecting

1:32:32feedback from other people, for example, I think again, really similar, you know, like if someone

1:32:36comes to me and has got feedback for someone on my team, often, it's like, is this something you

1:32:42can talk to them about directly, right? So we're not playing telephone and people can have

1:32:46open conversations. But at performance review time, we have the process of you can request feedback from

1:32:52peers or you can just kind of submit feedback. One of the nice things about Anthropic,

1:32:57is our feedback is mostly transparent.

1:33:00Oh, nice.

1:33:00Yeah, like I've been at places in the past where the feedback that you give about somebody goes

1:33:05to their manager and they never see it, right?

1:33:07And when I was at Stripe, we kind of went back and forth on how all those things worked.

1:33:11But at Anthropic, we are much more on the side of transparency.

1:33:15And so people kind of see directly what.

1:33:18There should be fewer surprises.

1:33:20Yeah, exactly.

The software engineer identity crisis 1:33:21

1:33:21Yeah.

1:33:22We can see that there is, and we touched on this, but there's a, there is an identity crisis

1:33:26with software engineers and you recently reflected on this in writing and I'll quote you a little bit for this.

1:33:31You wrote this is for the engineers feeling an identity crisis because they think their knowledge

1:33:36and skills won't be important even though your skills can be the difference in whether or not

1:33:41these compass problems will be tackled and then you gave for example multi-agent systems an example.

1:33:46Yeah. Can you share like what you're seeing in terms of like the identity crisis and like

1:33:50where you see the light at the end of the tunnel? Yeah and you talked a little bit earlier about this idea of

1:33:55What do you get joy out of when you're doing this type of work?

1:33:58And I think especially for people who get a lot of joy out of, you know, some ambitious problem is tackled, right?

1:34:06Those are the people who there is so much that is unsolved, that needs to get solved.

1:34:12And there's just like an endless amount of joy that you can get out of spending the time on solving those problems.

1:34:19I think the people who are having a harder time are the people who are like my identity used to be that I like, you know,

1:34:25click-clacked on my keyboard, and I wrote code and stuff got done from that perspective.

1:34:30And the idea in writing that was mostly to try to spark some optimism of, I'm really excited.

1:34:36I have a lot of optimism because there are huge problems that we want to tackle, right?

1:34:41Like, yes, fine.

1:34:42It's the case that you no longer write individual lines of code.

1:34:45But what we want to have happen with AI is to get to a point where, like, diseases are getting cured, right?

1:34:51And, you know, like really incredible feats can happen in mechanics.

1:34:55mechanical engineering and all of these other areas that we, for a long time, used to think

1:34:59we're science fiction, right? But we can go and solve those problems. And I think what people

1:35:04kind of need to think about and focus on is people will often say, like, oh, why does this thing

1:35:09matter, like agents will do it eventually? Or why does that thing matter, like agents will do it

1:35:13eventually? But I think the point is, in order to enable agents to be able to solve those

1:35:18problems, there's a lot of engineering problems that have to get tackled soon. And so big example

1:35:24being these multi-agent systems, right?

1:35:26Like, you can have thousands of agents that are working together in order to solve a problem.

1:35:31We've heard from some customers, really interesting examples, like if you're working on curing

1:35:36a disease and you're working on maybe a drug that you want to make available in the market,

1:35:42you have to submit to the FDA your packet of here's why you should allow this drug to go

1:35:48in the market, an insane amount of time and energy and effort goes into each of those phases of

1:35:53getting all the way to a place where a drug is on the market.

1:35:56And what we've seen people starting to do is maybe you build some system that's almost like,

1:36:01it's almost like a Gantt chart, right?

1:36:03Like, and what happens is persistent agents are picking up the different pieces of the work

1:36:08and they're doing all the different pieces of the work.

1:36:10And you might not have to have humans in the loop for a lot of the different parts of what's

1:36:15happening there.

1:36:15These things are only just starting to happen.

1:36:18Like think about the problems that you're solving and you're working with agents and

1:36:21like you're saying, here, individual agent,

1:36:23do that thing, you know, but now think about take the ambition level way, way, way up

1:36:28and have a team of agents just kind of go at it and get that thing done. What I'm hoping for

1:36:34people to understand is that's not going to happen if we don't solve engineering problems around

1:36:39security and engineering problems around infrastructure and identity and off and all these

1:36:45different problems that you can't just let a huge team of agents go wild trying to solve these

1:36:50problems if you haven't solved some of these underlying engineering problems correctly first because we're never

1:36:58going to get there. We're never going to get to the place where the big team of agents solves the good

1:37:01problem. We're going to have problems first, right? Like bad problems having happened first. And so

1:37:06idea being, yes, agents can help us solve a lot of these problems now on the path to that. But we still need

1:37:13humans who have deep expertise in security and deep expertise in off and infra and all these different pieces in order

1:37:20to create the right underlying systems so that those teams of agents can go and solve those big

1:37:25problems. What you're talking about makes sense for anyone who is either working inside a place

1:37:31where they do have large AI budgets and running lots of agents or in a frontier lab or something

1:37:38close. But I do think that multi-agent systems are pretty far-fetched for more people who are

1:37:45engineers who still have the they have the max plan. And that's all they can use. They cannot request an

1:37:49extension and so on. But even for them, Thariq had a really good quote. I'll also reach him. He said it's a very weird thing

1:37:57happening right now. Technical people are sad because they think their skills are used to us and non-technical people are

1:38:02desperately wishing they were more technical so they could use agents better. I think you've seen this as well.

1:38:08But there's this thing where when you talked about all the things that agents could cure diseases and

1:38:13all those things, which I think would be amazing. But I have a more pressing need, which is, for example,

1:38:18I'm going to be flying to London

1:38:21and I'm using the British Airways app

1:38:23and it is the bottom of airline apps

1:38:27it is so beyond terrible

1:38:29I'm just calling them out because they're objectively

1:38:31just please I'm hoping that someone listens

1:38:33on the BA team but there's a lot of just

1:38:36bad software that could be updated

1:38:38and there's a lot of decent software that can be great

1:38:40a good example of Shopify. They're now rewriting

1:38:42so I feel for even at all

1:38:44these kind of like smaller ambition levels

1:38:46like it's awesome to hear that even the highest ambitions levels

1:38:48you have way more ambition for engineering.

1:38:50But I think the lower levels is also so much more ambition

1:38:53that would have said, like,

1:38:54oh, we're not going to do that because it'll take years to rewrite,

1:38:56or there's the expensing apps that have terrible user experience.

1:39:00Like all of these can now maybe just tackle the next like month,

1:39:03in a matter of months, not years or decades.

1:39:06Yeah, exactly.

1:39:07And I think it's all timescale, right?

1:39:08Like the world's hardest problems,

1:39:10we're maybe talking like months, years out, right?

1:39:13But even in the coming weeks and single digit months, right,

1:39:17all of these people who are,

1:39:18run these systems, these apps, whatever, that could be so much better, all you need to really do is

1:39:23raise your ambition level. And it's true that you might just have a Max Plan and that's what you're

1:39:28working with, right? Like, one of the cool things we did recently, actually, is Max plans come with

1:39:32API credits. And so you can go start to build these persistent agents on like Claude Managed Agents

1:39:37or whatever it might be that can go tackle harder problems as well. And so it's interesting because I think

1:39:43you're exactly right that it's just a matter of continuously raising the level of ambition in any

1:39:48problem space that you're in. I was recently working with one of our like, you know, AI for legal

1:39:54customers and they were talking about how, yes, you know, like the models today are incredibly good

1:40:02at reviewing a contract, right? Like this is kind of the main basic thing that you use AI for,

1:40:07but what they're starting to do is say maybe AI can run an entire diligence process, right?

1:40:14Like something like way, way, way, way more ambitious than anything that you previously

1:40:18would have thought about, and that's because you can build a more complex multi-agent system

1:40:23and you can have more orchestration happening and more work ultimately getting done.

1:40:28And that's the sort of thing where, you know, a user of that AI legal product is going to have

1:40:33a much better time if their job is to get a whole diligence process done.

1:40:37And it used to be, you know, like I'm going to have the agents go do all these little pieces

1:40:41myself, but now you can kind of work with that thing and say, like, do the whole big ambitious thing

1:40:46all up front.

1:40:47And then, you know, the engineers at that AI legal company need to think about what they're going to have to build in order to enable the agents to go run a whole diligence process and make sure that it actually goes well.

1:40:59So I think that's what I mean, right?

1:41:01Is like in any place, at any scale, have you raised the ambition level, there's still work that engineers are going to have to do in order to enable that elevated ambition.

1:41:12And we're not yet anywhere close to a point where it's like the human doesn't have to do anything.

1:41:16and the agents will just figure it out because it'll probably go wrong if that's like all you're doing

1:41:22is leaving it fully to the expectation that agents will do it all without humans creating the right

1:41:27systems and guardrails and security and all the things underneath.

1:41:31One thing that I've been a little bit thinking about or like trying to have a mental model is

1:41:36we call software engineering like engineering and there's a debate of what like whether it's real

1:41:41engineering compared to like civil engineering and so on. But now that we're talking about

1:41:44building, let's say building new infrastructure that, let's say, multi-agents can use and there's this

1:41:50big challenge that we need to learn and build it. You would think like, okay, but what happens once we build

1:41:54it? Like we're done and there will no software engineering needed. But what I am thinking of is

1:41:59civil engineering, like building like a skyscraper. Like you would think, okay, the skyscraper is built.

1:42:04It's been a huge enduring feat. Like I don't know how we did it with like these bricks that cannot

1:42:08really take that low, but we built this incredible thing. And you would think like once we built it,

1:42:13well i guess there's no more jobs right because the the job is done but then you realize like hang on like

1:42:17like civil architects are very much in demand because that needs that that skyscanner needs need

1:42:23maintenance sometimes they will be demolished and new ones built and then once the first skyscrapers

1:42:28built in the world like guess what i guess there's there's so many more of these i'm wondering

1:42:32if we'll have more parallels to other types of engineering where because now we have

1:42:37different materials like this AI is a new material we have deterministic code we have non-deterministic

1:42:42AI, we need to glue them together. Once we get to the point where we are solving multi-agent

1:42:46systems, like can you think in advance of where the work might be, where you and your team

1:42:51will keep working on? Yeah, I completely agree with that. It's you, you complete your project, right?

1:42:57And then it's, you have to maintain it. But also, you have to, you should keep building on it.

1:43:03You should keep figuring out what is the next level of thing. What is the more ambitious thing?

1:43:07And I think something that we are hoping to have agents do, especially within our team,

1:43:12is the maintenance aspect, which is the part that is maybe a little less fun.

1:43:16We never enjoyed it.

1:43:17Yeah, have agents do more and more and more and more and more of that.

1:43:22Exactly, right.

1:43:23So can agents take more of that type of work off of people's hands and then say, okay, great,

1:43:29we're going to go think about what is the more ambitious work that can go and get done?

1:43:33And I think from the perspective of just get more ambitious with problems, I think

1:43:38multi-agent systems and continuously more complex multi-agent systems are going to

1:43:42matter a lot. I think there's a lot of capabilities around the edges of these models that will continue

1:43:47to have engineering problems. So like really good examples are you continue to need better and better

1:43:51tooling for an agent to be able to interact with some external systems. So a few of the engineers on

1:43:57my team created MCP and there's some of the core maintainers of MCP. Continuing to evolve that

1:44:03standard, I think is really important. But another set of folks that we're working with are

1:44:07thinking about MHS, the model hardware standard, which is this idea of how to

1:44:12can we have agents interacting with, you know, like lab equipment or robotics, right, and stuff

1:44:18in the physical world. And I think that is all such early stages, right? And so if you think about

1:44:24as AI is going to expand from just self-contained systems that can solve really great problems

1:44:31in software, you're going to get more into hardware and you're going to get more into just even

1:44:35more complex systems that are going to need more solutions to more problems, right? And so I think

1:44:41We're just nowhere close to a world where there's not going to be anything left for the humans to think about.

1:44:47I think there's going to be a lot more time and a lot more of these problems that we'll need to get solved first.

1:44:52What's your mental model about this, I guess, new software engineering job now that we have AI agents, we have multi-agent, we have all these tools versus the old job that existed until agents showed up?

1:45:04Yeah, I mean, I think so much of it is it's coordination. It's getting teams and people on the same page.

1:45:11making agents get on the same page and get stuff done. I think it's really zooming out and understanding

1:45:16the mechanics of how you go from idea to reality on something. And you can offload a lot of the pieces of

1:45:23stuff that needs to happen to agents. But the coordination web that has to happen to make something

1:45:29really get shipped and make something get shipped at high quality, there's just still so much there.

1:45:33There's so much that people are spending their time on that are important, right? And the ideas in

1:45:37the first place, right, are important to you. And so I think that.

1:45:41that those of the things that are going to matter a lot. And then I think especially in the near term,

1:45:46there's going to be like really deep expertise that is really important in, you know,

1:45:50like whether it's security or other fields like that, that are right now feeling some challenges

1:45:56as a result of the technology and the things that are happening where I think just people are

1:46:02can and should go deeper than they maybe otherwise would have in some of these domains that are

1:46:07starting to matter more than they did previously. So I think there's still a lot to

1:46:11learn and there's still a lot of problems to solve and I think there's so a lot of coordination to do in order to get those

1:46:15problems solve it sounds like what you're saying is there's there's little to know downside of as you're

1:46:20building things like a raise your ambition levels but as you're building and using agents more like

1:46:25learn with them get deeper and especially and we mentioned some of the area security is obviously a huge

1:46:30one right now like everything is changing you can become a human expert in this area relatively quickly

1:46:36yeah and maybe you should and that security might be one of reliability or or just your

1:46:41on domain, whatever domain you're working in, right?

1:46:43Yeah, exactly.

1:46:44And maybe it's not just to solve today's problems, right?

1:46:47Like maybe don't go become a security expert in order to solve like one problem that's

1:46:51directly in front of you because maybe that's not the best use of your time because

1:46:54an agent can figure it out and do it.

1:46:56But you can kind of extrapolate and see how some of the problems we're starting to experience

1:47:00are going to get more complex over time, right?

1:47:03And so you're going to want to be someone who can wrap your head around these things and

1:47:07see ahead and see around those corners and get in front of those things before they become

1:47:11more problematic. And again, like, agents can help with all of this for sure, but I still think that we're

1:47:16all going to be very deeply reliant on humans who care a lot about these things and have a lot of

1:47:21deep expertise to think about getting ahead of them. Thank you. And what's a book that you

Book recommendation 1:47:23

1:47:25would recommend that you enjoy them? Why? One book that I really enjoyed that I read recently was

1:47:30Project Hail Mary. And the movie is pretty good too. But I think just like right now is is a fun

1:47:37moment to like get out of the weeds of everything that we're spending our time on.

1:47:41day-to-day and you know a feel-good story is nice but also a nice like science fiction expand your brain

1:47:46sort of story is nice and I think Project Hail Mary they did like an absolutely excellent job with the

1:47:51idea of you know you've got a human and you've got an alien who don't know how to communicate with

1:47:57each other and they've got to figure it out and it's a cool story but it's also it feels

1:48:01relatable in the sense of what we're dealing with right now with AI awesome kathlin thanks so

1:48:07much yeah thank you for having me this was very nice and informative

1:48:10It was a lot of fun.

1:48:11I really enjoyed getting all these details from Katelyn and thanks a lot to her for this conversation.

Closing takeaways 1:48:12

1:48:16If you'd like to get into more details about how Anthropic works, check out the Pragmatic Engineer deep dive,

1:48:20how building software is changing an Anthropic in the show notes below.

1:48:24It's now becoming more of a trend to hear anyone and everyone moving to Rust inside of AI labs for their backend services.

1:48:30Katelyn explained the reason better than I've heard before.

1:48:32Python was too CPU-intensive, there's now a CPU shortage, and the models have gotten really good at writing Rust code.

1:48:39Plus, Russ makes services as performance as possible, on par if you ported them to C++ or C,

1:48:45but Russ gives you memory safety and a verification feedback layer for agents, so it's overall a lot more agent-friendly.

1:48:52Another interesting part was confirming that Anthropic has now fully dropped algorithmic

1:48:55coding interviews, and this feels like a big milestone because they are the first large company

1:49:00to publicly confirm that they've done so.

1:49:02Katelyn said that they saw more candidates doing well in every other interview,

1:49:06but bombing the data structures and algorithm once because they were no longer writing

1:49:08longer writing code by hand. Even though Anthropic dropped this interview, they don't have a perfect

1:49:12replacement and they're trying out different interviews built around coding agents and agentic coding.

1:49:17My take is that most companies will drop the coding interview eventually, but in return,

1:49:21the hiring process will become a lot more subjective. The interview loops will become a lot more

1:49:25similar in subjectivity to how engineering manager or product manager hiring loops have been

1:49:30in the past. One somewhat surprising learning was that product managers in atropic

1:49:34have pushed code to production. I'd been asking around about this because at most companies,

1:49:38still own shipping production code. Granted, PMZ at Anthropic are very technical and often

1:49:43come from engineering background, so I do wonder if PM's shipping production code will be

1:49:48as commonplace as Anthropic? I'm a bit skeptical, but it's a good one to note how it's happening

1:49:52inside of Anthropic. Also, don't forget that the people on call for these changes are still the software

1:49:57engineers. Another interesting part is how much of the onboarding change inside of Anthropic.

1:50:01The onboarding guide is pretty much just ask Claude. Tibo at OpenAI said the same thing about

1:50:05open AI as onboarding with Codex. One very important detail is,

1:50:08that both at Anthropic and OpenAI, they connect pretty much all their systems into their own internal

1:50:13clause slash codex instances, and so those AI agents will have far more context than most agents

1:50:18inside of other companies. Then again, this might be one more reason to connect your internal

1:50:22systems to the company internal agent. Just make sure that you're not leading company IP back

1:50:27to AI vendors. Do check out the show notes below for related deep dives on Anthropic engineering

1:50:31culture and on AI engineering topics. If you enjoyed this podcast, please do subscribe on your

1:50:35favorite podcast platform and on YouTube. A special thank you.

1:50:38if you leave a rating for the show or if you share with your colleagues and friends.

1:50:42Thanks and see you in the next one.