Latest / The Every Podcast / Inside Claude Code From the Engineers Who Built It
Transcript
- 0:00What made it work really well is that QuadCode has access to everything that an engineer does at the terminal.
- 0:05Everything you can do, QuadCode can do.
- 0:08There's nothing in between.
- 0:09There's actually an increasing number of people internally at Anthropic that are using a lot of credits, spending over a thousand bucks every month.
- 0:15We see this like power user behavior.
- 0:17This is something that they teach in YC.
- 0:18If you can solve your own problem, it's much more likely you're solving the problem for others.
- 0:21There's this like really old idea and product called latent demand.
- 0:25You build a product in a way that is hackable, that is kind of open-ended enough that people can abuse it for other use cases it wasn't really designed for.
- 0:31And you build for that because you kind of know there's demand for it.
- 0:34Do you think the CLI is the final form factor?
- 0:36Are we going to using cloud code in the CLI primarily in a year or in three years?
- 0:40Or is there something else that's better?
- 0:56This podcast is sponsored by Google.
- 0:59Hey, folks, I'm Ammar, product and design lead at Google DeepMind.
- 1:03We just launched a revamped vibe coding experience in AI Studio that lets you mix and match AI capabilities to turn your ideas into reality faster than ever.
- 1:12Just describe your app, and Gemini will automatically wire up the right models and APIs for you.
- 1:18And if you need a spark, hit I'm feeling lucky, and we'll help you get started.
- 1:21Head to ai.studio slash build to create your first app.
- 1:26Kat, Boris, thank you so much for being here.
- 1:29Thanks for having us.
- 1:30Yeah.
- 1:31So for people who don't know you, you are the creators of Claude Code.
- 1:35Thank you very much from the bottom of my heart.
- 1:36I love Claude Code.
- 1:40That's amazing to hear.
- 1:41That's what we love to hear.
- 1:44Okay, I think the place I wanna start is, when I first used it, there was like this moment, like I think it was around when Sonnet 3.7 came out, where I was like, I used it and I was like, holy shit, this is like a completely new paradigm.
- 1:58It's a completely new way of thinking about code.
- 2:01And the big difference was you went all the way and just eliminated the text editor.
- 2:09And you're just like, all you do is like talk to the terminal.
- 2:12And that's it.
- 2:14And, you know, previous paradigms of AI programming...
- 2:19previous harnesses have been like you have a text editor and you have the AI on the side and it's kind of like, or it's a tab complete.
- 2:25So take me through like that decision process, that process of architecting this new paradigm.
- 2:34How do you think about that?
- 2:35Yeah, I think the most important thing is it was not intentional at all.
- 2:38Okay.
- 2:40We sort of ended up with it.
- 2:41So at the time when I joined Anthropic, we were still on different teams at the time.
- 2:47There was this previous predecessor to QuadCode.
- 2:49It was called Clyde, like C-L-I-D-E. And it was this like research project.
- 2:54You know, it took like a minute to start up.
- 2:55It was this kind of like really heavy Python thing.
- 2:57It had to like run a bunch of indexing and stuff.
- 3:00And when I joined, I wanted to ship my first PR.
- 3:04And I hand wrote it like a noob in the time.
- 3:08I didn't know about any of these tools.
- 3:09Thank you for admitting that on the podcast.
- 3:14I didn't know any better.
- 3:15And then I put up this PR.
- 3:17And Adam Wolf, who was the engine manager for our team for a while, he was my ramp up buddy.
- 3:22And he just rejected the PR.
- 3:23And he was like, you wrote this by hand?
- 3:24What are you doing?
- 3:26He was Clyde.
- 3:27Because he was also hacking a lot on Clyde at the time.
- 3:30and so I tried Clyde I gave it the description of the task and it just like one shot at this thing and this was like you know sonnet 3.5 so I still had to fix the thing even for this kind of basic task and the harness was super old so it took like five minutes to turn this thing out and just took forever and um but it but it worked and I was just mind blown that this this was even possible and they just kind of got the gears turning maybe you don't actually need an IDE and
- 3:59And then later on, I was prototyping using the Anthropic API.
- 4:03And the easiest way to do that was just building a little app in the terminal because that way I didn't have to build a UI or anything.
- 4:10And I started just making a little chat up.
- 4:13And then I just started thinking, maybe we could do something a little bit like Clyde.
- 4:18So let me build like a little Clyde.
- 4:20And it actually ended up being a lot more useful than that without a lot of work.
- 4:25And I think the biggest revelation for me was when we started to give the model tools, they just started using tools.
- 4:31And it was just, it was this insane moment.
- 4:33Like the model just wants to use tools.
- 4:35Like we gave it bash and it just started using bash, writing Apple script to like automate stuff.
- 4:40in response to questions.
- 4:41And I was like, this is just the craziest thing.
- 4:43I've never seen anything like this.
- 4:45Because at the time I had only used IDEs with like text editing, a little like one line autocomplete, multi-line autocomplete, whatever.
- 4:54So that's where this came from.
- 4:55It was this kind of convergence of like prototyping, but also kind of seeing what's possible in kind of like a very rough way.
- 5:02And this thing ended up being surprisingly useful.
- 5:05And I think it was the same for us.
- 5:07I think for me, it was like kind of Sonnet 4, Opus 4, that's where that magic moment was.
- 5:11Where it's like, oh my God, this thing works.
- 5:15That's interesting.
- 5:16So tell me about the tool moment, because I think that is one of the special things about Cloud Code, is it just writes Bash and is really good at it.
- 5:24And I think a lot of previous agent architectures, or even anyone building an agent today, your first instinct might be...
- 5:31Okay, we're going to give it a find file tool, and then we're going to give it a open file tool.
- 5:37And you build all these like custom wrappers for, you know, all the different actions you might want the agent to take.
- 5:44But CloudCo just uses Bash, and it's like really good at it.
- 5:46So how do you think about what you learned from that?
- 5:51Yeah, I think we're at this point right now where QuadCode actually has a bunch of tools.
- 5:54I think it's like a dozen or something like this.
- 5:56We actually like add and remove tools most weeks.
- 5:59So this changes pretty often.
- 6:01But today there actually is a search, there's a tool for searching.
- 6:06And we do this for two reasons.
- 6:08One is the UX, so we can show the result a little bit nicer to the user because there's still a human in the loop right now for most tasks.
- 6:14And the second one is for permissions.
- 6:16So if you say in your like quad code, like settings.json, this file you cannot read, we have to kind of enforce this.
- 6:23We enforce it for bash, but we can do it a little bit more efficiently for if we have a specific search tool.
- 6:28But definitely we want to like unship tools and kind of keep it simple for the model.
- 6:34Like last week or two weeks ago, we unshipped the LS tool.
- 6:38Because in the past we needed it, but then we actually built a way to enforce this kind of permission system for Bash.
- 6:44So in Bash, if we know that you're not allowed to read a particular directory, Quad's not allowed to elicit that directory.
- 6:51And because we can enforce that consistently, we don't need this tool anymore.
- 6:55And this is nice because it's a little less choice for Quad, a little less stuff in context.
- 6:59Got it.
- 7:00And how do you guys split responsibility on the team?
- 7:03I would say Boris sets the technical direction and has been the product visionary for a lot of the features that we've come out with.
- 7:12I see myself as more of a supporting role to make sure that, one, that our pricing and packaging resonates with our users, two, making sure that we're shepherding our features across the launch process so...
- 7:25from deciding, all right, these are the prototypes that we should definitely ant food, to setting the quality threshold for ant fooding, through to communicating that to our end users.
- 7:36And there's definitely some new initiatives that we're working on that I would say historically, a lot of quad code has been built bottoms up, like Boris and a lot of the core team members have just had these great ideas for to-do lists, sub-agents, hooks, all these are bottoms up.
- 7:53As we think about expanding to more surfaces and bringing quad code to more places, I think a lot of those are more like, all right, let's talk to customers.
- 8:01Let's bring engineers into those conversations and prioritize those surfaces and knock them out.
- 8:06Got it.
- 8:07What is AMP fooding?
- 8:08Oh, ant fooding is... Oh, ant fooding?
- 8:11Oh, it means dog fooding.
- 8:17Anthropic ant.
- 8:18I got it.
- 8:19Yeah, our nickname for internal employees is ant.
- 8:23And so ant fooding is our version of dog fooding.
- 8:27Internally, over...
- 8:28I think 70% or 80% of ants, technical anthropic employees, use Kali code every day.
- 8:34And so every time we are thinking about a new feature, we push it out to people internally, and we get so much feedback.
- 8:42We have a feedback channel.
- 8:43I think we get a post every five minutes.
- 8:45And so you get really quick signal on whether people like it, whether it's buggy, or whether it's not good and we should unship it.
- 8:54You can tell.
- 8:55You can tell that someone that is building stuff is using it all the time to build it.
- 9:02Because like it's ergonomics just makes sense if you're trying to build stuff and that that only happens if you're like ant fooding.
- 9:11Yeah.
- 9:12And I think that that's a really interesting paradigm for building new stuff like that sort of bottoms up.
- 9:17I make something for myself.
- 9:19Tell me about that.
- 9:20Yeah, and Cat is also so humble.
- 9:23I think Cat has a really big role in the product direction also.
- 9:26Like, it comes from everyone on the team.
- 9:27And, like, these specific examples, this actually came from everyone on the team.
- 9:31Like, to-do lists and sub-agents, that was Sid, Hooks, Dixon shipped that, plugins, Daisy shipped that.
- 9:37So, like, everyone on the team, like, these ideas come from everyone.
- 9:40Yeah.
- 9:41And so I think for us, like we build this core agent loop and this kind of core experience, and then everyone on the team uses the product all the time.
- 9:50And so everyone outside the team uses the product all the time.
- 9:52And so there's just all these chances to build things that serve these needs.
- 9:57Like for example, like bash mode, you know, like the exclamation mark and you can type in bash commands.
- 10:02This was just like many months ago, I was using quad code and I was going back and forth between two terminals and just thought it was kind of annoying.
- 10:09And just on the way my ass quad to kind of think of ideas, I thought of this like exclamation mark bash mode.
- 10:13And then I was like, great, make it pink and then ship it.
- 10:18It just did it.
- 10:18And like that's the thing that's still kind of persisted.
- 10:20And, you know, now you see kind of others also kind of catching on to that.
- 10:23That's funny.
- 10:23I actually didn't know that.
- 10:24And that's extremely useful because I always have to open up a new tab to like run any bash commands.
- 10:29So you just you just do an exclamation point and then it just like runs it directly instead of filtering it through all the cloud stuff.
- 10:36Yeah.
- 10:36And quad code sees the full output too.
- 10:38Interesting.
- 10:39That's perfect.
- 10:40So anything you see in the Cloud Code view, Cloud Code also sees.
- 10:43Okay, that's really interesting.
- 10:44And this is kind of a UX thing that we're thinking about.
- 10:46Like in the past, tools were built for engineers, but now it's equal parts engineers and model.
- 10:51And so as an engineer, you can see the output, but it's actually quite useful for the model also.
- 10:55And this is part of the philosophy also, like everything is dual use.
- 10:59So for example, the model can also call slash commands.
- 11:02So I have a slash command for a slash commit, where I run through kind of a few different steps, like diffing and generating a reasonable commit message and this kind of stuff.
- 11:12I run it manually, but also Claude can run this for me.
- 11:15And this is pretty useful because we get to share this logic.
- 11:17We get to kind of define this tool, and then we both get to use it.
- 11:20Yeah.
- 11:21What are the differences in designing tools that are dual use from designing tools that are used by one or the other?
- 11:31Surprisingly, it's the same.
- 11:32Okay.
- 11:32So far.
- 11:34Yeah.
- 11:35I sort of feel like this kind of elegant design for humans translates really well to the models.
- 11:40So you're just thinking about what would make sense to you and the model generally, it makes sense to the model too, if it makes sense to you.
- 11:47Yeah, I think one of the really cool things about Cloud Code being a terminal UI and what made it work really well is that Cloud Code has access to everything that an engineer does at the terminal.
- 11:59And I think when it comes to whether the tool should be dual use or not, I think making them dual use actually makes the tools a lot easier to understand.
- 12:07It just means that, okay, everything you can do, Cloud Code can do, there's nothing in between.
- 12:13That's interesting.
- 12:13Yeah, there are a couple of those decisions.
- 12:16So no code editor.
- 12:20It's in the terminal so it has access to your files.
- 12:24And it's on your computer versus like in the cloud in a virtual machine.
- 12:29So you get like repeated, you get to use it in a repeated way where you can like, you know, build up your Cloud MD file or, you know,
- 12:37like all like build slash commands and all that kind of stuff where it becomes very composable um and extensible from a very simple starting point and i'm curious about how you think about you know for for people who are thinking about okay i want to build an agent i want to build probably not cloud code but like something else how you get that that simple package that then can extend and be really powerful over time hmm
- 13:05For me, I start by just thinking about it like developing any kind of product where you have to solve the problem for yourself before you can solve it for others.
- 13:13And like this is something that they teach in YC is you have to start with yourself.
- 13:17So like if you can solve your own problem, it's much more likely you're solving the problem for others.
- 13:21And I think for coding, starting locally is the reasonable thing.
- 13:24And now we have quad code on the web.
- 13:27So you can also use it with a virtual machine.
- 13:30And you can use it in a remote setting.
- 13:32And this is super useful when you're on the go.
- 13:34You want to take something off from your phone.
- 13:35And this is sort of, we started proving this out kind of a step at a time where you can do at quad in GitHub.
- 13:42And I use this every day.
- 13:44Like on the way to work, I'm like at a red, white, I probably shouldn't be doing this.
- 13:47But I'm like, on GitHub, at a red, white.
- 13:49And then I'm like, add Claude, fix this issue or whatever.
- 13:53And so it's just really useful to be able to control it from your phone.
- 13:56And this kind of proves out this experience.
- 13:58I don't know if this necessarily makes sense for every kind of use case.
- 14:01For coding, I think starting local is right.
- 14:04I don't know if this is true for everything, though.
- 14:05Got it.
- 14:06What are the slash commands you guys use?
- 14:09Slash PR commit.
- 14:12Yeah.
- 14:13Yeah, it's, I think the PR commit slash command makes it a lot faster for call to know exactly what bash commands to run in order to make a commit.
- 14:22And what does the PR commit slash command do for people who aren't familiar?
- 14:26Oh, it just tells it exactly how to make a commit.
- 14:31And you can say, OK, these are the three bash commands that need to be run.
- 14:36Got it.
- 14:36And what's pretty cool is also we have this kind of templating system built into slash commands.
- 14:41So we actually run the bash commands ahead of time.
- 14:44They're embedded into the slash command.
- 14:46And you can also pre-allow certain tool invocations.
- 14:49So for that slash command, we say allow, you know, git commit, git push, ghpr.
- 14:55And so you don't get asked for permission after you run the slash command because we have like a permission-based security system.
- 15:02And then also it uses Haiku, which is pretty cool.
- 15:05So it's kind of a cheaper model and faster.
- 15:06Yeah, and for me, I use like commit, commit PR, feature dev, we use a lot, so like Sid created this one.
- 15:15It's kind of cool, it kind of like walks you through step by step.
- 15:18building something.
- 15:18So we prompt Quad, like, first ask me what exactly I want, like, build the specification.
- 15:23And then, you know, kind of, like, build, like, a detailed plan and then make a to-do list, walk through step by step.
- 15:30So it's kind of, like, more structured feature development.
- 15:32Yeah.
- 15:33And then I think the last one that we probably use a lot, so we use security review for all of our PRs, and then also code review.
- 15:40So Claude does all of our code review internally at Anthropic.
- 15:43They're still a human approving it, but Claude does kind of the first step in code review.
- 15:47That's just a slash code review slash command.
- 15:49Got it.
- 15:49Yeah, what are the things...
- 15:51I would love to go deeper into the...
- 15:53How do you make a good plan?
- 15:55So the sort of the feature dev thing, because I think there's a lot of like little tricks that I'm starting to find or people at every start starting to find that work.
- 16:03And I'm curious, like what, what are the things that we're missing?
- 16:06So for example, one step in the, one unintuitive step of the, you know, plan development process is,
- 16:15Even if I don't exactly know what the thing that needs to be built is, I just have like a little sentence in my mind, like I want feature X. I have Claude just like implement it just without giving it anything else.
- 16:26And I see what it does.
- 16:27And that helps me understand like...
- 16:30okay, here's actually what I mean because it made all these different mistakes or it did something that I didn't expect that might be good.
- 16:36And then I use that, like the learning from the sort of throwaway development.
- 16:41I just clear it out, and then that helps me write a better plan spec for the actual feature development, which is something that you would never do before because it would be too expensive to just YOLO, send an engineer on a feature that you hadn't actually specced out.
- 16:53But because you have Cloud going through your code base and doing stuff, you can like learn stuff from it that helps inform the actual plan that you make.
- 17:02Yeah, I feel maybe I can start and I'm curious how you use it too.
- 17:06I think there's like a few different modes maybe for me, like one is prototyping mode.
- 17:11So like traditional engineering prototyping, you want to kind of build the simplest possible thing that touches all the systems just so you can kind of get a vague sense of like what are the systems?
- 17:19There's unknowns and just to kind of trace through everything.
- 17:22Yeah.
- 17:23And so I do the exact same thing as you, Dan.
- 17:25Like, Claude just does the thing, and then I see where it messes up, and then I'll ask it to just throw it away and do it again.
- 17:30So just hit escape twice, go back to the old checkpoint, and then try again.
- 17:34I think there's also maybe two other kinds of tasks.
- 17:39So one is just things that Claude can one-shot.
- 17:41And I feel pretty confident it can do it.
- 17:43So I'll just tell it, and then I'll just go to a different tab, and I'll shift tab to auto-accept, and then just go do something else or go to another one of my Claude's and tend to that while it does this.
- 17:51Yeah.
- 17:53But also there's this kind of like harder feature development.
- 17:56So these are, you know, things are maybe in the past, it would have taken like a few hours of engineering time.
- 18:01And for this usual, I'll shift tab into plan mode and then align on the plan first before it even writes any code.
- 18:07And I think what's really hard about this is the boundary changes with every model in kind of a surprising way.
- 18:13where the newer models, they're more intelligent.
- 18:15So the boundary of what you need plan mode for got pushed out like a little bit.
- 18:20Like before you used to need to plan, now you don't.
- 18:23And I think this is general trend of like stuff that used to be scaffolding with a more advanced model, it gets pushed into the model itself.
- 18:29And the model kind of tends to subsume everything over time.
- 18:33Yeah.
- 18:33How do you think about like building a agent harness that isn't just going to like you're not spending a bunch of time building stuff that is just going to be subsumed into the model in three months when the new cloud comes out?
- 18:46Like, yeah.
- 18:47How do you how do you know what to build versus what you just say?
- 18:51It doesn't work quite yet, but next time it's going to work.
- 18:53So we're not going to spend time on it.
- 18:55I think we build most things that we think would improve quad code's capabilities, even if that means we'll have to get rid of it in three months.
- 19:03If anything, we hope that we will get rid of it in three months.
- 19:07I think for now, we just want to offer the most premium experience possible.
- 19:12And so we're not too worried about throwaway work.
- 19:15Interesting.
- 19:16Yeah, and an example of this is something like even like plan mode itself.
- 19:19I think we'll probably unship it at some point when Claude can just figure out from your intent that you probably want to plan first.
- 19:26Or, you know, for example, I just deleted like 2000 tokens or something from the system prompt yesterday.
- 19:31It's because like Sonnet 4.5 doesn't need it anymore.
- 19:35But Opus 4.1 did need it.
- 19:37What about, you know, in the case where the latest Frontier, you know, model doesn't need it, but, you know, you're trying to figure out how to make it more efficient because you have so many users that, you know, you're maybe you're not going to use Opus or Sonnet 4.5 for everything.
- 19:51Maybe you're going to use Haiku.
- 19:52So there's a tradeoff between having a more elaborate harness for Haiku versus just like not spending time on it, using Sonnet, eating the cost and working on more Frontier type stuff.
- 20:05In general, we've positioned QuadCode to be a very premium offering.
- 20:08So our North Star is making sure that it works incredibly well with the absolutely most powerful model we have, which is Sonic 4.5 right now.
- 20:18We are investigating how to make it work really well for future generations of smaller models.
- 20:24But it's not the top priority for us.
- 20:27OK. What do you think about, you know, one thing that I notice is
- 20:33We get models often, and thank you very much for this, we get models a lot before they come out, and it's our job to kind of figure out, is it any good?
- 20:40And over the last six months, when I'm testing Claude, for example, in the Claude app,
- 20:48with a new frontier model, it's actually very hard to tell whether it's better immediately, but it's really easy to tell in cloud code because the harness matters a lot for the performance that you get out of the model.
- 21:00And you guys have the benefit of building cloud code inside of Anthropix.
- 21:07So there's a much tighter integration between the fundamental model training and the harness that you're building, and they seem to really impact each other.
- 21:17So how does that work internally, and what are the benefits you get from having that tight integration?
- 21:24Yeah, I think the biggest thing is researchers just use this.
- 21:27And so as they see what's working and what's not, they can improve stuff.
- 21:32We do a lot of evals and things like that to kind of communicate back and forth and understand where exactly the model's at.
- 21:38Yeah.
- 21:40But yeah, there's this frontier where you need to give the model a hard enough task to really push the limit of the model.
- 21:47And if you don't do this, then all models are going to equal.
- 21:50But if you give it a pretty hard task, you can tell the difference.
- 21:53What subagents do you use?
- 21:55I have a few.
- 21:56I have like a planner subagent that I use.
- 21:58I have a code review subagent.
- 21:59Code review is actually something where sometimes I use a subagent.
- 22:02Sometimes I use a slash command.
- 22:03So usually in CI, it's a slash command.
- 22:05But in synchronous use, I use a subagent for the same thing.
- 22:11Um, it's a good question.
- 22:13Yeah, maybe it's like a matter of taste.
- 22:15Yeah, I don't know.
- 22:16I don't know.
- 22:17I think it's maybe when you're running synchronously, it's kind of nice to fork off the context window a little bit, because all the stuff that's going on in the code review, it's not relevant to what I'm doing next.
- 22:28But in CI, it just doesn't matter.
- 22:30Are you ever spawning like 10 subagents at once?
- 22:33And for what?
- 22:35For me, I do it mostly for big migrations.
- 22:37Okay.
- 22:37That's the big thing.
- 22:39Actually, we have this coder.reus slash command that we use.
- 22:42There's a bunch of subagents there.
- 22:44And so one of the steps is find all the issues.
- 22:46And so there's one subagent that's checking for QuadMD compliance.
- 22:49There's another subagent that's looking through Git history to see what's going on.
- 22:53Another subagent that's looking for kind of obvious bugs.
- 22:55Yeah.
- 22:55And then we do this like kind of deduping quality step after.
- 22:59So they find a bunch of stuff.
- 23:00A lot of these are false positives.
- 23:02And so then we spawn like five more subagents.
- 23:04And these are all just like checking for false positives.
- 23:07And in the end, the result is awesome.
- 23:09It finds like all the real issues without the false issues.
- 23:11That's great.
- 23:12I actually do that.
- 23:13So one of my non-technical cloud code use cases is expense filing.
- 23:18So like when I'm in SF right now, so like I have all these expenses.
- 23:25So it uses one of these, you know, finance APIs to just download all my credit card transactions.
- 23:31And then it decides, like, these are probably the expenses that I'm going to have to, like, file.
- 23:37And then I have two subagents, one that represents me and one that represents the company.
- 23:40And they, like, do battle to, like, figure out, like, what's the proper, like,
- 23:45actual set of expenses it's like an auditor or subagent and like you know pro dan subagent so um yeah that kind of thing the the sort of like opponent processor uh pattern seems to be like an interesting one yeah yeah it's it's it's it's cool i i feel like when subagents were first becoming a thing actually when inspired us there's like a reddit thread a while back
- 24:05where someone made subagents for like there was like a front-end dev and a back-end dev and like a i think like a designer testing dev like there was like a pm subagent and this is like you know it's cute like it feels like a little maybe too anthropomorphic um maybe maybe there's something to this but i i think like the value is actually like the uncorrelated context windows we have these two context windows that don't know about each other and this is kind of interesting um and you tend to get better results this way what about you do you have any interesting subagents you use
- 24:32So I've been tinkering with one that is really good at front-end testing.
- 24:37So it uses Playwright to see, all right, what are all the errors that are client-side and pull them in and try to test more steps of the app.
- 24:49It's not totally there yet, but I'm seeing signs of life.
- 24:53And I think it's the kind of thing that we could potentially bundle in one of our plugins marketplaces.
- 24:59Yeah, definitely.
- 25:01I've used something like that just with Puppeteer and just like watching it build something and then open up the browser and then be like, oh, I need to change this.
- 25:08It's like, this is like, oh, my God.
- 25:10Yeah, it's really cool.
- 25:12It's really cool.
- 25:13I think we're starting to see the beginnings of this like massive, like multi massive sub agents.
- 25:18I don't know what to call this, like swarms or something like that.
- 25:20There's a bunch of people, there's actually an increasing number of people internally at Anthropic that are using like a lot of credits every month, like spending like over a thousand bucks every month.
- 25:29And this percent of people is growing actually pretty fast.
- 25:32And I think the common use case is code migration.
- 25:36And so what they're doing is framework A to framework B, there's the main agent and makes a big to-do list for everything, and then just kind of map reduce over a bunch of sub-agents.
- 25:44So you instruct a lot of like, yeah, start 10 agents, and then just go 10 at a time and just migrate all the stuff over.
- 25:50That's interesting.
- 25:53What would be a concrete example of the kind of migration that you're talking about?
- 25:56I think the most classic is like lint rules.
- 25:59So there's like, you know, there's some kind of lint rule you're rolling out.
- 26:01There's no autofixer because it's like, you know, like AST analysis can't really.
- 26:05It's kind of too simplistic for it.
- 26:07I think other stuff is like framework migrations.
- 26:09Like we just migrated from like one testing framework to a different one.
- 26:12That's a pretty common one where it's super easy to verify the output.
- 26:16One of the things I found is, and this is both for projects inside of Every and then just open source projects, it's like if you're someone building a product and you want to build a feature that's been done before.
- 26:29So maybe like an example that people might need to implement a bunch is like memory.
- 26:34How do you do memory?
- 26:34Yeah.
- 26:36because we have a bunch of different products internally, you can just like spawn cloud sub agents to be like, how do these three other products do it?
- 26:42And there's like possibility for just like tacit code sharing where you don't need to like have an API or you don't need to like ask anyone.
- 26:48You can just be like, how do we do this already?
- 26:50And then use the best practices to build your own.
- 26:56And you can also do that with open source because there's like tons of open source projects where people are like, you know, they've been working on memory for like a year and it's like really, really good.
- 27:02And you'd be like, what are the patterns that
- 27:05people have figured out and which ones do I want to implement?
- 27:08Totally.
- 27:08You can also connect to your version control system if you've built a similar feature in the past.
- 27:14Cloud Code can use those APIs like query GitHub directly and find how people implemented a similar feature in the past and read that code and copy the relevant parts.
- 27:25Yeah, is there, have you found any use for log files of
- 27:29okay, you know, here's the full history of, like, how I implemented it, and, like, is that important to give to Claude, and how are you implementing that or making it useful for it?
- 27:41Some people swear by it.
- 27:43There are some people at Anthropik where for every task they do, they tell Cloud Code to write a diary entry in a specific format that just documents like what did it do?
- 27:52What did it try?
- 27:53Why didn't it work?
- 27:54And then they even have these agents that like look over the past memory and synthesize it into observations.
- 28:00I think this is like the starting budding thing.
- 28:04like there's like something interesting here that we could productize.
- 28:08But it's a new emerging pattern that we're seeing that works well.
- 28:11I think the hard thing about like one-shotting memory from just one transcript is that it's hard to know how relevant a specific instruction is to all future tasks.
- 28:22Like our canonical example is, if I say make the button pink, I don't want you to remember to make all buttons pink in the future.
- 28:29And so I think synthesizing the memory from a lot of logs
- 28:33is a way to find these patterns more consistently.
- 28:39It seems like you probably need...
- 28:40There's some things where you're going to know... You'll be able to synthesize or summarize in this sort of top-down way.
- 28:49This will be useful later, and you'll know the right level of abstraction at which it might be useful, but then there's also a lot of stuff where it's like you actually... Any given commit log, like make the button pink, it could be useful for...
- 29:03kind of an infinite number of different reasons that you're not going to know beforehand.
- 29:07So you also need the model to be able to look up all similar past, you know, commits and surface that at the right time.
- 29:16Is that something that you're also thinking about?
- 29:19Yeah, I think there could be something like that.
- 29:22Maybe I think one way to see it is this kind of like traditional memory storage work, like Memex, like kind of stuff where you just want to like put all the information into the system and then it's kind of a retrieval problem after that.
- 29:37Yeah, I think as the model also gets smarter, it naturally, I've seen it start to naturally do this also with Sonnet 4.5, where if it's stuck on something, it'll just naturally start looking, like we talked about before, like using Bash spontaneously to just like look through Git history and be like, oh, okay, yeah, this is kind of an interesting way to do it.
- 29:54Yeah.
- 29:54One of the things that we were talking before we started recording, one of the things that we're doing inside of every, I feel like it has really changed the way that we do engineering because everyone is cloud code-pilled, like CLI-pilled.
- 30:08And we have this engineering paradigm that we call compounding engineering where we're doing it.
- 30:13in normal engineering, every feature you add, it makes it harder to add the next feature.
- 30:17And in compounding engineering, your goal is to make the next feature easier to build, um, from the feature that you just added.
- 30:23And the way that we do that is we try to, um, codify all the learnings from, um, from everything that we've done to build the feature.
- 30:31So like, you know,
- 30:32how did we make the plan and what parts of the plan needed to be changed?
- 30:35Or like when we started testing it, like what, what issues did we find?
- 30:37What are the things that we missed?
- 30:39And then we codify them back into all the prompts and all the sub agents and all the slash commands so that the next time when someone does something like this, it catches it and that makes it easier.
- 30:48And that's why for me, for example, I can like hop into one of our code bases and start, you know,
- 30:53like being productive even though I'm I don't know anything about how the code works because we have this like built up memory system of um of all the stuff that we've learned as we've implemented stuff but we've had to build that ourselves I'm curious are you working on that kind of loop so the cloud code does that automatically
- 31:14Yeah, we're starting to think about it.
- 31:17It's funny, we heard the same thing from Fiona.
- 31:19She just joined the team, and she's our manager.
- 31:23She hasn't coded in like 10 years, something like that.
- 31:27And she was landing PRs on her first day.
- 31:29And she was like, yeah, like not only did I kind of, I forgot how to code and quad code kind of made it super easy to just get back into it, but also I didn't need to ramp up on any context because I kind of knew all this.
- 31:41And I think a lot of it is about like when people put up pull requests for quad code itself.
- 31:46And I think our customers tell us that they do like similar stuff pretty often.
- 31:51If you see a mistake,
- 31:52I'll just be like, add quad, add this to quad MD so that the next time it just knows this automatically.
- 31:59And you can kind of like instill this memory in kind of a variety of ways.
- 32:03So you can say like, add quad, add it to quad MD.
- 32:05You can also say, add quad, write a test.
- 32:07That's like an easy way to make sure this doesn't regress.
- 32:10And I don't feel bad asking anyone to write tests anymore.
- 32:12Right.
- 32:13It's just like super easy.
- 32:14And like, I think probably close to 100% of our tests are just written by quad.
- 32:17And if they're bad, we just won't commit it.
- 32:19And then the good ones stay committed.
- 32:22And then also I think lint rules are a big one.
- 32:24So for stuff that's enforced pretty often, we actually have a bunch of internal lint rules.
- 32:28Claude writes a hundred percent of these.
- 32:30And this is mostly just like at Claude in a PR, write this lint rule.
- 32:34And yeah, there's sort of this problem right now, about like how do you do this automatically?
- 32:38And I think generally how like Kat and I think about it is we see this like power user behavior
- 32:44And the first step is how do you enable that by making the product hackable so the best users can figure out how to do this cool new thing.
- 32:52But then really the hard work starts of like, how do you take this and bring it to everyone else?
- 32:57And for me, I kept myself in the everyone else bucket.
- 32:59Like, you know, I don't really know how to use Vim.
- 33:01Like, I don't have this like crazy like T-box setup.
- 33:04So I have like a pretty vanilla setup.
- 33:05So if you can make a feature that I'll use, it's a pretty good indicator that like other kind of average engineers will use it.
- 33:13That is interesting.
- 33:14Tell me about that because that's something I think about all the time is making something that is extensible and flexible enough that power users can find novel ways to use it that you would not have even dreamed of.
- 33:25But it's also simple enough that anyone can use it and they can be productive with it and you can kind of pull what the power users find back into the basic experience.
- 33:35How do you think about making those design and product decisions so that you enable that?
- 33:39In general, we think that every environment is a little bit different from the others.
- 33:44And so it's really important that every part of our system is extensible.
- 33:49So everything from your status line to adding your own slash commands through to hooks, which let you insert a bit of determinism at pretty much any step in code code.
- 33:59So we think these are the basic building blocks that we give to every engineer that they can play with.
- 34:06For plugins, plugins is actually our, so it was built by Daisy on our team.
- 34:12And this is our attempt to make it a lot easier for the average user like us to bring these slash commands and hooks into our workflows.
- 34:22And so what plugins does is it lets you browse existing MCP servers, existing hooks, existing plugins, and just like, or sorry, existing like slash commands, and just let you write one command in quad code to pull that in for yourself.
- 34:36Hmm.
- 34:37There's this like really old idea and product called latent demand, which I think is probably the main way that I personally think about product and like thinking about what to build next.
- 34:46And it's a super simple idea.
- 34:47It's you build a product in a way that is hackable, that is kind of open-ended enough that people can abuse it for other use cases it wasn't really designed for.
- 34:55Then you see how people abuse it and then you build for that.
- 34:57Cause like you, you kind of know there was demand for it.
- 35:00And like, you know, when I was at Meta, this is how we built kind of all the big products.
- 35:05I think almost every single big product had this nugget of weight and demand in it.
- 35:10You know, like for example, something like Facebook dating, it came from this idea that when we looked at who looks at people's profiles, I think 60% of views were between people of opposite gender.
- 35:21So kind of like traditional setup that were not friends with each other.
- 35:25And so we're like, oh man, okay, maybe there's like, maybe if we like launch a dating product, we can kind of harness this demand that exists.
- 35:31That's interesting.
- 35:32And for, you know, marketplace, it was pretty similar.
- 35:34I think it was like 40% of posts in Facebook groups at the time were buy-sell posts.
- 35:39And so we're like, okay, people are trying to use this product to buy and sell.
- 35:41If we just build a product around it, that's probably going to work.
- 35:43Yeah.
- 35:44And so we think about it kind of similarly, but also we have the luxury of building for developers.
- 35:49And developers love hacking stuff and they love customizing stuff.
- 35:52And it's like, as a user of our own product, it makes it so fun to build and use this thing.
- 35:57And so, yeah, like Kat said, we just build the right extension points.
- 35:59We see how people use it.
- 36:00And that kind of tells us what to build next.
- 36:02Yeah.
- 36:02Like for example, we got all these user requests where people were like, dude, Cloud Code is asking me for all these permissions and I'm out here getting coffee.
- 36:11I don't know that it's asking me for permissions.
- 36:13How can I just get it to like ping me on Slack?
- 36:15And so we built hooks, Dixon built hooks so that people could get pinged on Slack and you could get pinged on Slack for anything that you wanna get pinged on Slack for.
- 36:26And so it was very much like,
- 36:29people really wanted the ability to do something.
- 36:32We didn't want to build the integration ourselves, and so we exposed hooks for people to do that.
- 36:38The thing that makes me think of is you recently released, you kind of moved or rebranded how you talk about Cloud Code to be this more general purpose agent SDK.
- 36:50Was that driven by some latent demand where you sort of saw there's a more general purpose use case for what you built?
- 36:58We realized that, similar to how you were talking about using Cloud Code for things outside of coding, we saw this happen a lot.
- 37:04Like, we get a ton of stories of people who are using Cloud Code to, like, help them write a blog and, like, manage all the, like, data inputs and take a first pass in their own tone.
- 37:17We find people building like email assistance on this.
- 37:21I use it for a lot of just like market research because at the core, it's like an agent that can just go on for an infinite amount of time as long as you give it a concrete task.
- 37:32and it's able to fetch the right underlying data.
- 37:35So one of the things I was working on was I wanted to look at all the companies in the world and how many engineers they had and to create a ranking.
- 37:43And this is something that QuadCode can do, even though it's not a traditional coding use case.
- 37:48So I realized that the underlying primitives were really general.
- 37:51As long as you have an agent loop that can continue running for a long period of time, and you're able to access the internet and write code and run code, pretty much you can, if you squint, you can build anything on it.
- 38:07And I think at the point where we rebranded it from the Quad Code SDK to the Quad Agent SDK, there was already many thousands of companies using this thing.
- 38:16And a lot of those use cases were not about coding.
- 38:19So it's like both internally and externally.
- 38:22We kind of saw that.
- 38:23It's like health assistants, like financial analysts, legal assistants.
- 38:29It was pretty broad.
- 38:30Yeah.
- 38:30What are the coolest ones?
- 38:33I feel like actually you had Noah Breyer on the podcast recently.
- 38:37I thought like the Obsidian, like kind of mind mapping note keeping use case is really cool.
- 38:41It's funny.
- 38:42It's insane how many people use it for this.
- 38:44Yeah.
- 38:45This particular combination.
- 38:47I think some other, like some coding or kind of coding adjacent use cases that are kind of cool is we have this like issue tracker for quad code.
- 38:54The team's just like constantly underwater, like trying to keep up with all the issues coming in.
- 38:57There's just so many.
- 38:59And so like quad dedupes the issues and it automatically finds duplicates and it's extremely good at it.
- 39:03It also does first pass resolution.
- 39:05So usually when there's an issue, it'll proactively put up a PR internally.
- 39:09And this is a new thing that Inigo on the team built.
- 39:12So this is pretty cool.
- 39:15There's also like on call and kind of collecting signals from other places, like getting like sentry logs and getting like logs from BigQuery and kind of collating all this.
- 39:25Plus, just really good at doing this because it's all just bash in the end.
- 39:27Right.
- 39:28And so these are all kind of these internal use cases that I saw.
- 39:32Is it, so when it's, you know, collating logs or deduping issues, is that like you have clods like continually running in the background?
- 39:39And is that something that you're building for?
- 39:42It gets triggered for that particular one.
- 39:44It gets triggered whenever a new issue is filed.
- 39:46So it runs once, but it can choose to run for as long as it needs.
- 39:50Got it.
- 39:51What about the idea of clods always running?
- 39:53Ooh, proactive clods.
- 39:56I think it's definitely where we want to get to.
- 39:57I would say right now, we're very focused on making quad code incredibly reliable for individual tasks.
- 40:05And if you think about multi-line autocomplete and then single-turn agents, and then now we're working on quad code that can complete tasks, I feel like...
- 40:17If you trace this curve, eventually you go to even higher levels of abstraction, like even more complicated tasks.
- 40:23And then hopefully the next step after that is a lot more proactivity.
- 40:27So just understanding what your team's goals are, what your goals are, being able to say, Hey, I think you probably want to try this feature and here's a first pass at the code.
- 40:35And here are the assumptions I made.
- 40:37And are these correct?
- 40:39I can't wait.
- 40:41And I think probably right after that is Claude is now your manager.
- 40:44Oh, no!
- 40:48That's not in the plan.
- 40:50So everyone on the team was super excited that we were talking today, and they gave me a bunch of questions, and I wanted to make sure I hit all of the questions.
- 41:01Oh, here's a good one.
- 41:02Why did you choose agentic rag over vector search in your architecture and are like vector embeddings still relevant?
- 41:11So actually, initially we did use vector embeddings.
- 41:16They're just really tricky to maintain because you have to continuously re-index the code and they might get out of date and you have local changes, so those need to make it in.
- 41:26And then as we thought about what does it feel like for an external enterprise to adopt it, we realized that this exposes a lot more surface area than like security risk.
- 41:37We also found that actually, Cloud Code is really good, and Cloud Models are really good at agentic search.
- 41:43So you can get to the same accuracy level with agentic search, and it's just a much cleaner deployment story.
- 41:50That's really interesting.
- 41:52If you do want to bring semantic search to Cloud Code, you can do so via an MCP tool.
- 41:56So if you want to manage your own index and expose an MCP tool that lets Cloud Code call that, that would work.
- 42:04What do you think are the top MCPs to use with Cloud Code?
- 42:07Ooh, Puppeteer and Playwright are pretty high up there.
- 42:10Definitely, yeah.
- 42:11Sentry has a really good one.
- 42:13Asana has a really good one.
- 42:16Do you think that there are any power user tips that you see people inside of Anthropic or other people who are big power, inside of organizations that are big cloud code power users that people don't know about, but they should?
- 42:35One thing that CloudCo doesn't naturally like to do, but that I personally find very useful, is CloudCo doesn't naturally like to ask questions.
- 42:44But, you know, if you're brainstorming with a thought partner, a collaborator, usually you do ask questions back and forth to each other.
- 42:51And so this is one of the things that...
- 42:54I like to do, especially in plan mode, I'll just tell QuadCode, like, hey, we're just brainstorming this thing.
- 43:00Please ask me questions.
- 43:01If there's anything you're unsure about, I want you to ask questions, and I'll do it.
- 43:06And I think that actually helps you arrive at a better answer.
- 43:10There's also so many tips that we can share.
- 43:13I think there's a few really common mistakes I see people make.
- 43:17One is, like you said, not using plan mode enough.
- 43:19This is just super important.
- 43:22And I think this is people that are kind of new to agentic coding.
- 43:24They kind of assume this thing can do anything.
- 43:26And it can't.
- 43:27It's not that good today.
- 43:28And it's going to get better.
- 43:30But today, it can one-shot some tests.
- 43:31It can't one-shot most things.
- 43:33Yeah.
- 43:34And so you kind of have to understand the limits and you have to understand like where you get in the loop.
- 43:37And so like something like plan mode, it can like two, three X success rates pretty easily if you like land on the plan first.
- 43:44Other stuff that I've seen power users do really well is companies that have really big deployments of quad code.
- 43:50And now, you know, luckily there's a lot of these companies so we can kind of learn from them.
- 43:55having settings JSON that you check into the code base is really important because you can use this to pre-allow certain commands so you don't get permission prompted every time and also to block certain commands let's say you don't want web fetch or whatever and this way as an engineer I don't get prompted and I can check this in and share it with the whole team so everyone gets to use it I get around that by just using dangerous they skip permissions
- 44:20Yeah, we kind of have this there, but we don't recommend it.
- 44:23It's a model.
- 44:24It can do weird stuff.
- 44:26I think another kind of cool use case that we've seen is people using stophooks for interesting stuff.
- 44:32So stophook runs whenever the turn is complete.
- 44:34So this is in some tool calls, back and forth, whatever, and it's done.
- 44:39And it returns control back to the user.
- 44:40Then we run the stophook.
- 44:42And so you can define a stophook that's like, if the tests don't pass, return the text, keep going.
- 44:49And essentially, it's like you can just make the model keep going until the thing is done.
- 44:53And this is just insane when you combine it with the SDK and this kind of programmatic usage.
- 44:58This is a stochastic thing.
- 45:00It's a non-deterministic thing.
- 45:02But with scaffolding, you can get these deterministic outcomes.
- 45:06So you guys started this sort of CLI, this CLI paradigm shift.
- 45:12Do you think the CLI is the final form factor?
- 45:14Are we going to using cloud code in the CLI primarily in a year or in three years?
- 45:18Or is there something else that's better?
- 45:21I mean, it's not the final form factor, but we are very focused on making sure the CLI is like the most intelligent that we can make it.
- 45:29And that's as customizable as possible.
- 45:32You can talk about the next form factors.
- 45:35Yeah, I mean, Kat's asking me to talk about it because no one knows.
- 45:40This stuff's like, it's just moving so fast, right?
- 45:44No one knows what these form factors are.
- 45:45Right now, I think our team is in experimentation mode.
- 45:48So we have CLI, then we came out with the IDE extension.
- 45:51Now we have a new IDE extension that's like a GUI.
- 45:53It's a little more accessible.
- 45:55We have addclawed and GitHub, so you can just addclawed it anywhere.
- 46:00Now there's Cloud on web and on mobile, so you can use it on any of these places.
- 46:06And we're just in experimentation mode, so we're trying to figure out what's next.
- 46:09I think if we kind of zoom out and see where this stuff is headed, I think one of the big trends is longer periods of autonomy.
- 46:17And so with every model, we kind of time how long can the model just keep going and do tasks autonomously and just in dangerous mode in a container, keep auto-compacting until the task is done.
- 46:27And now we're on the order of double-digit hours.
- 46:29I think it's like the last model is like 30 hours, something like this.
- 46:33The next model is going to be days.
- 46:34And as you think about kind of parallelizing models,
- 46:39there's kind of a bunch of problems that come out of this.
- 46:41So one is, what is the container this thing runs in?
- 46:44Because you don't want to have to close your laptop.
- 46:46I have that right now because I'm doing a lot of DISP.
- 46:49I don't know.
- 46:50I've only heard, I've only read it, but DSP or DISP prompt optimization and like it's on my laptop and it's like I don't want to close.
- 46:56I'm like in the way though, like with my laptop open because I'm like I don't want to close it.
- 47:01Yeah.
- 47:02Yeah, that's right.
- 47:02Yeah, we like visited companies before, like customers.
- 47:05Everyone's just like walking around with their like quad codes.
- 47:09Is this running?
- 47:10So I think like one is kind of getting away from this mode.
- 47:12And then I also think pretty soon we're going to be in this mode of like clods, monitoring clods.
- 47:17And I don't know what the right form factor for this is, because as a human, you need to be able to inspect this and see what's going on.
- 47:24But also it needs to be quad optimized, where you're optimizing for bandwidth between the quad to quad communication.
- 47:31So my prediction is terminal is not the final form factor.
- 47:37My prediction is there's going to be a few more form factors in the coming months, maybe like a year or something like that.
- 47:43And it's going to keep changing very quickly.
- 47:46What do you think about, you know, I teach a lot of cloud code to a lot of every subscribers.
- 47:51Thank you.
- 47:51You're welcome.
- 47:53Doing your work for you.
- 47:58And I think the, like, one of the big things is just the terminal is intimidating.
- 48:03And just like being on a call with the subscribers being like, here's how you open the terminal and you're allowed to do this, even if you're non-technical.
- 48:12It's like a big deal.
- 48:13How do you think about that?
- 48:15Yeah, one of the people on our marketing team started using Cloud Code because she was writing some content that touched on Cloud Code.
- 48:22And I was like, you should really experience it.
- 48:24And she got like 30 pop-ups on her screen where she had to accept various permissions because she'd never used a terminal before.
- 48:30So I completely see eye to eye.
- 48:32with you on that.
- 48:33It's definitely hard for non-engineers.
- 48:36And there's even some engineers we've found who aren't fully comfortable with working day-to-day in the terminal.
- 48:42Our VS Code GUI extension is our first step in that direction because you don't have to think about the terminal at all.
- 48:48It's like,
- 48:48a traditional interface with a bunch of buttons.
- 48:52We are working on more graphical interfaces.
- 48:57So quad code on the web is a GUI.
- 48:59I think that actually might be a good starting point for people who are less technical.
- 49:03Yeah.
- 49:04There was this magic moment maybe a few months ago where I walked into the office and some of the data scientists had Anthropik sit right next to the quad code team.
- 49:14And the data centers just had like quad code running on their computers.
- 49:18And I was like, what is this?
- 49:19Like, how did you figure this out?
- 49:21I think it was like Brandon was like the first one to do it.
- 49:24And he was like, oh, yeah, I just like installed it.
- 49:25Like I work on this product, so like I should use it.
- 49:28And I was like, oh, my God.
- 49:29So he like he figured out how do you like use a terminal and those.
- 49:31Yes, like, you know, he hasn't really done this kind of workflow before.
- 49:34Obviously, like very technical.
- 49:36So I think now we're starting to see all these kind of like code adjacent things.
- 49:42like functions, people use Cloud Code.
- 49:45And yeah, it's kind of interesting.
- 49:47Like from a latent demand point of view, these are people hacking the product.
- 49:50So there's like demand to use it for this.
- 49:52And so we want to make it a little bit easier with more accessible interfaces.
- 49:56But at the same time for us, for Cloud Code, we're laser focused on building the best product for the best engineers.
- 50:01And so we're focused on software engineering and we want to make this like really good, but we want to make it a thing that other people can, can hack.
- 50:09Sometimes code code will write code that's a bit verbose, but you can just tell it to simplify it, and it does a really good job.
- 50:17Interesting.
- 50:18And how and when are you doing that?
- 50:21So you're using a slash command, or you're...
- 50:23I just say it.
- 50:24I just say simplify.
- 50:25Every time you're saying simplify.
- 50:26Sometimes you're like, hey, this should be a one-line change, and I'll write five lines, and you're like, simplify it, and it understands immediately what you mean, and it'll fix it.
- 50:34Yeah, I think a lot of people on our team do that too.
- 50:37It's interesting.
- 50:38Why do you, like, why not then, if you're saying that all the time, why not then, you know, push that into, like, a slash command or the harness or something like that to, yeah, make it just happen automatically?
- 50:49We do have instructions for this in the CloudMD.
- 50:52I think it impacts such a low percentage of conversations that we don't want it to over-rotate in the other direction.
- 51:01And then the reason why not a slash command is because you actually don't need that much context.
- 51:05I think slash command is really good for situations where you would otherwise need to write two, three lines.
- 51:12Even for plan mode, you actually can use a few words,
- 51:18It actually takes two or three lines to capture the entirety of what you want in plan mode.
- 51:22For Simplify It, you can just write Simplify It and it gets it.
- 51:26Yeah, yeah, yeah.
- 51:26That makes sense.
- 51:27Cool.
- 51:28Yeah.
- 51:28Yeah.
- 51:30um okay now we're we can um that's interesting yeah but but the stuff like you know it still feels just so early yeah you know like we were talking before before the recording about like kind of where are we on the adoption curve and it's still the haushin curve or whatever it just feels it just feels like we're you know like first 10 still like the stuff is going to change so fast it's going to keep changing
- 51:55Even when I talk to researchers outside of Anthropic who've used COD code, they also get stuck on things like this, like not realizing that they can just tell the LLM to simplify it.
- 52:06And I think that just goes to show that even for people who are like working in this industry, they don't always realize that you can just talk to the model.
- 52:13That's the thing is like, I think that there's this underlying expectation that using AI shouldn't have to be a skill.
- 52:19Like, because it just does whatever you say.
- 52:22And you're like, well, I mean, whatever you say is going to matter for what it does.
- 52:27So if you can say things better, it's going to do better.
- 52:31Yeah, I mean, it changes with every model, though.
- 52:34That's the hard part.
- 52:34Like, you know, prompt engineer was a job and now famously it's not a job anymore.
- 52:39And there's going to be more jobs that are then like not, not jobs anymore of these kind of like little micro skills that you have to learn to use this thing.
- 52:45And as the model gets better, it can just like interpret it better.
- 52:48But I think that's also like, for us, this is part of this kind of humility that we have to have building a product like this, that we just really don't know what's next.
- 52:56And we're just trying to figure it out kind of along with everyone else.
- 52:58We're just here for the ride.
- 52:59And that's why it's cool that you're building it for yourself because I think that's the best way to know that.
- 53:04It's just like you're, and this is what we do too, is like you're sort of living in the future, you're using it all the time, and it's pretty clear what's missing.
- 53:12You're like, I just want this thing and you can just do the next thing rather than being like, hmm, let me ask some enterprise product manager at some gigantic company, what kind of AI feature do you want?
- 53:21And they're like, I don't know, put a little chat bot on the side of my IDE and you're like, okay.
- 53:26Yeah.
- 53:28Yeah, this is like the luxurious thing about building dev tools, right?
- 53:31Yeah.
- 53:31You're your own customer.
- 53:32I think it's also really a unique thing about AI because it sort of reset the game board for all software.
- 53:42So, you know...
- 53:45We have Quora, this like email assistant, and we have like Sparkle, which organizes your files.
- 53:49And it's like anything that you do for something that you want to use on your computer, if you're building it with AI, there's a good chance that hasn't been done before because like the whole landscape has been reset.
- 54:00And so it's a uniquely exciting time to build stuff for yourself.
- 54:04Totally.
- 54:05I think it totally opens the playing field too.
- 54:07It's like any individual can now build an app to fill their need and then distribute it to everyone else.
- 54:13Yeah.
- 54:14It's really cool.
- 54:15I've been prototyping all these like random pet projects.
- 54:21I just moved into a new apartment and it's empty.
- 54:24And so I've been building this shopping advisor assistant on the Quad Agent SDK, because who has time to read all the reviews and look at all the options and find their pricing and everything's really hard to discover.
- 54:38And so it just asks me a bunch of questions and I tell it what I want.
- 54:42Like for furniture?
- 54:43Yeah, exactly.
- 54:44And it shows me a bunch of photos of different sofas and options and what people say online.
- 54:48And then I tell it what I don't like.
- 54:49And it literally feels like working with a shopping assistant.
- 54:54It's been really cool.
- 54:54That's really cool.
- 54:56I also have my little email response agent that, like, drafts responses for me.
- 55:01But I don't use email that much, so.
- 55:02Oh, and I knew it wasn't you responding.
- 55:07That's why it's seven days delayed.
- 55:11The agent's just doing a very thorough job.
- 55:16Agent of CK is cool, though.
- 55:18Yeah, it always just feels amazing how much we're able to build with such a small team.
- 55:24The other thing that's really cool is that I think people are just shifting their mindset from docs to demos.
- 55:31Like internally, our currency is actually demos.
- 55:34It's like you want people to be excited about your thing.
- 55:36show us like show us 15 seconds of what it can do and we find that everyone on the team now has this kind of indoctrinated demo culture for sure and i think that's better because there's a lot of things that you might have in your head that if you're a great writer maybe you could figure out how to explain it but it's just even then it's just really hard to explain but if someone can see it they like get it immediately
- 55:59And I think that's happening for product building, but it's also happening for like all sorts of other types of creative, creative endeavors, like making a movie, for example, like you had to pitch it.
- 56:09But now you can just be like, I made the Sora video and like, you know, check that you can kind of see like the glimmer of the thing you're trying to make for very cheap.
- 56:17And so that means you don't have to spend time convincing people as much.
- 56:20You can just be like, here, I made it.
- 56:22Yeah, and also as a builder, like, you can just make it and then, like, make it again and then make it again until you're happy.
- 56:28Yeah, yeah, yeah.
- 56:29I feel like the flip side is, like, you used to make a doc or, you know, like, whiteboard something or, you know, like, I would draw stuff in, like, Sketch or Figma or whatever.
- 56:36And now we'll just, like, build it until I like how it feels.
- 56:39Yeah.
- 56:40And it's just like so easy to get that feeling out of it now.
- 56:43And I think it's like you could see it visually before or you could describe it in words, but it's like you could never get the vibe.
- 56:49And now like the vibe is really easy.
- 56:51Yeah.
- 56:52And you built plan mode like three times.
- 56:54Yeah.
- 56:55Yeah.
- 56:55Because of this.
- 56:56Like you built it and then you threw it out and rebuilt it and then threw it out and rebuilt it.
- 56:59Yeah.
- 57:00Or like to do's like Sid built the original version, like also like three or four.
- 57:04He built like three or four prototypes.
- 57:06And then I prototype maybe like 20 versions after that, like in like a day.
- 57:10Yeah, I think this is like a lot of pretty much everything we released.
- 57:14There was at least a few prototypes behind it.
- 57:16How do you keep track of and carry forward the things you learn from prototype to prototype?
- 57:23And especially if it's like one person is prototyping it and then you're like, I'm going to take it over.
- 57:28I'm going to do 20 more.
- 57:29How do you maximize what you get out of that?
- 57:33You know, it's like there's maybe a few elements of it.
- 57:36One is the style guide.
- 57:38So there's like some elements of style that we discover.
- 57:40And I think a lot of this is like building for the terminal.
- 57:42Like we're kind of discovering a new design language for the terminal and kind of building it as we go.
- 57:48And I think some of this you can codify in a style guide.
- 57:50So this is our QuadMD.
- 57:52But then there's this other part of it that's like kind of product sense, where I don't think the model totally gets it yet.
- 57:59And I think maybe we should be trying to find ways to like teach the model this, this kind of product sense about like, this works and this doesn't.
- 58:06Because in product, you want to solve the person's problem in the simplest way possible, and then delete everything else that's not that, and just get everything out of the way.
- 58:14So you align the product to the intent as cleanly as possible.
- 58:18And maybe the model doesn't totally get that yet.
- 58:22Yeah, it doesn't really feel what it's like to use quad code.
- 58:27Like the model doesn't use quad code.
- 58:31Yeah.
- 58:32And so I think like when, you know, like what code can like test itself and it can kind of use itself.
- 58:37And like we do this one developing and it can see like UI bugs and things like that.
- 58:43I don't know.
- 58:43Maybe we should just try prompting it though.
- 58:45It could like, honestly, a lot of the stuff is as simple as that.
- 58:48Like when there's some new idea, usually you just prompt it and often it just works.
- 58:52Maybe we should just try that.
- 58:55A lot of the prototypes are actually the UX interactions.
- 58:59And so I think once we discover a new UX interaction like shift tab for auto accept, I think Boris figured out.
- 59:09That was Igor, actually.
- 59:11Oh, Igor.
- 59:11Yeah, we went back and forth.
- 59:12Yeah, then new things can fit into that.
- 59:15We did like doing prototypes for like a week.
- 59:18Yeah, shift tab felt really nice.
- 59:20And then one of the now current plan mode iteration uses shift tab, because it's actually just like another way to tell the model how agentic it should be.
- 59:31And so I think as more features use the same interaction, you form like a stronger mental model for what should go where.
- 59:40Yeah.
- 59:41Or like thinking, I think, is another really good one.
- 59:43Like first we were like, before we released quad code, or maybe it was like the first thinking model was like 3.7.
- 59:49I forget what the first one was.
- 59:51But yeah, and it was like, it was able to think and we're like brainstorming, like, how do we like toggle thinking?
- 59:56And then someone was just like, what if you just like ask the model to think in natural language and it knows how to think?
- 1:00:01And we're like, okay, sweet.
- 1:00:02Let's do that.
- 1:00:04And so, like, we did that for a while.
- 1:00:06And then we realized that people were accidentally toggling it.
- 1:00:09So they were like, don't think.
- 1:00:10And then the model was like, oh, I should think.
- 1:00:11They just started thinking.
- 1:00:13And so we had to kind of, like, tune it out.
- 1:00:15So, you know, don't think didn't trigger it.
- 1:00:18But then it still wasn't obvious.
- 1:00:19So then we made a UX improvement to, like, highlight the thinking words.
- 1:00:21Yeah, I saw that.
- 1:00:22Yeah.
- 1:00:22And that was so fun and it felt really magical.
- 1:00:24When you do ultra think, it's like rainbow or whatever.
- 1:00:26Yeah, exactly.
- 1:00:28And then with Sonic 4.5, we actually find a really, really big performance improvement when you turn on extended thinking.
- 1:00:34And so we made it really easy to toggle it.
- 1:00:39Because sometimes you want it, sometimes you don't.
- 1:00:41Because for a really simple task, you don't want the model to think for five minutes.
- 1:00:45You want it to just do the thing.
- 1:00:47And so we used tab as the interaction to toggle it, and then we unshipped a bunch of the thinking words.
- 1:00:52Although I think we kept ultra think just for like sentimental reasons.
- 1:00:55It was such a cool UX.
- 1:00:58Interesting.
- 1:00:58Do you think there's some new metric that's about what you deleted?
- 1:01:05And I think programmers have always felt like, you know, deleting a bunch of code feels really good, but there's something about, because you can build stuff so fast, it becomes more important to like also delete stuff.
- 1:01:18I think my favorite kind of diff to see is a red diff.
- 1:01:20It's the best.
- 1:01:22Like, whatever I say, I'm like, yeah, bring it on.
- 1:01:24Another one, another one.
- 1:01:26But, you know, but it's hard because, like, anything you ship, people are using it.
- 1:01:29And so you've got to keep people happy.
- 1:01:30And so I think generally our principle is if we unship something, we need to ship something even better that can kind of, that people can take advantage of.
- 1:01:38That kind of matches that intent even better.
- 1:01:41Yeah.
- 1:01:43And yeah, I think this is kind of back to like, how do you measure like quad code and the impact of it?
- 1:01:46And this is something like every company, every customer asks us about.
- 1:01:49And I think like, so in turn away at Anthropic, I think we like doubled in size since January or something like that.
- 1:01:55But then productivity per engineer has increased like almost 70% in that time.
- 1:02:00Measured by?
- 1:02:00I think we actually measured it, yeah, in a few ways, but kind of PRs are the simplest one and the main one.
- 1:02:07But like you said, this doesn't capture the full extent of it.
- 1:02:10Because a lot of this is making it easier to prototype, making it easier to try new things, making it easier to...
- 1:02:15These things that you never would have tried because they're way below the cut line.
- 1:02:18You're launching a feature and there's this kind of wish list of stuff.
- 1:02:21Now you just do all of it because it's so easy.
- 1:02:23And you just wouldn't have done it.
- 1:02:25So yeah, it's really hard to talk about it.
- 1:02:27And then there's this flip side of it where more code is written, so you have to delete more code.
- 1:02:30You have to code review more carefully and automate code review as much as you can.
- 1:02:35Yeah.
- 1:02:35There's also like an interesting like new product management challenge because you can ship so much that you end up it ends up not feeling as cohesive because you could just like add button here and like a tab there and like a little thing here.
- 1:02:47Like it's just it's much easier to build a product that has all the features you want but doesn't have any sort of organizing principle because you're just shipping lots of stuff all the time.
- 1:02:56I think we try to be pretty disappointed about this and making sure that all the abstractions are really easy to understand for someone, even if they just hear the name of the feature.
- 1:03:07We have this principle that I believe Boris brought to the team that I really like, where we don't want a new user experience.
- 1:03:15Everything should be so intuitive that you just drop in and it just works.
- 1:03:19And I think that's really set the bar really high for making sure every feature is really intuitive.
- 1:03:24How do you do that with a conversational UI?
- 1:03:27Because, you know, when there's not a bunch of buttons and knobs and it's just a blank text box to start, how do you think about making it intuitive?
- 1:03:36There's a lot of little things that we do.
- 1:03:39We teach people that they can use the question mark to see tips.
- 1:03:44We show tips as Cloud Code is working.
- 1:03:47We have the change log on the side.
- 1:03:51We tell you about, oh, there's a new model that's out.
- 1:03:54Or we show you at the bottom.
- 1:03:56We have a notification section for thinking.
- 1:03:59I think there's just subtle ways in which we tell users about features.
- 1:04:02I think the other thing that's really important is to just make sure.
- 1:04:05that all the primitives are very clearly defined.
- 1:04:09Like hooks have a common meaning in the developer ecosystem, plugins have a very common meaning in the developer ecosystem and just making sure that what we build matches what the average developer would immediately think of when they hear that.
- 1:04:24There's also this progressive disclosure thing.
- 1:04:29Anytime in quad code when you run it, you can hit control O to see the full raw transcript, the same thing the model sees.
- 1:04:35And we don't show you this until it's actually relevant.
- 1:04:38So when there's a tool result that's collapsed, then we'll say use control O to see it.
- 1:04:42So we don't want to put too much complexity on you at the start because this thing can do anything.
- 1:04:46Yeah.
- 1:04:48I think there's this other kind of new principle which we've just started exploring, which is like the model teaches you how to use the thing.
- 1:04:54And so you can ask quad code about itself and it kind of knows to look up its own documentation to tell you about it.
- 1:05:00But we can also go even deeper.
- 1:05:02Like, for example, slash commands are a thing that people can use, but also the model can call slash commands.
- 1:05:06And maybe you see the model calling it and then you'll be like, oh, yeah, I guess I can do that too.
- 1:05:10Yeah, yeah, yeah.
- 1:05:11Interesting.
- 1:05:12Interesting.
- 1:05:12How has it changed when you first started doing this?
- 1:05:17Cloud Code was this sort of singular thing, the singular way of thinking about using AI through a CLI.
- 1:05:22Other people had stuff like this, but it felt like this shift.
- 1:05:26And now there's a whole landscape of everyone is going CLI, CLI, CLI.
- 1:05:30How has that changed how you think about building, how it feels to build, and how are you dealing with the sort of pressure of the race that you're in?
- 1:05:37I think for me, imitation is the greatest flattery.
- 1:05:41So it's awesome.
- 1:05:43And it's cool to see all this other stuff that everyone else is building inspired by this.
- 1:05:48And I think this is ultimately the goal, is to kind of inspire people to build this next thing for this just incredible technology that's coming.
- 1:05:55And that's just really exciting.
- 1:05:58Personally, I don't really use a lot of other tools.
- 1:06:00So usually when something new comes out, I'll maybe just try it to get a vibe.
- 1:06:03But...
- 1:06:05Otherwise, I think we're pretty focused on just solving problems that we have and our customers have and kind of building the next thing.
- 1:06:12Cool.
- 1:06:15Sweet.
- 1:06:18I love this part of the interview, too.
- 1:06:20Did we answer all of your team's questions?
- 1:06:23Oh, did we get through all of my team's questions?
- 1:06:25Let's see.
- 1:06:26I think we did.
- 1:06:33I'm curious also how you would answer like the unshipping question.
- 1:06:35Because also if like, if you're doing this kind of like AI driven development, you ship a lot, you have a small team, so it's a lot of operational load.
- 1:06:42The reason I asked that is because I don't think we do a good job of that.
- 1:06:47And I have this feeling that some of the products are like a little bit messy because of that.
- 1:06:56And I think particularly for Cora...
- 1:07:02there's just a big product surface area and it can do a lot of different things like it.
- 1:07:06We have an email assistant, so you can ask it like, you know, uh, tell me about the trip I'm taking and it'll go through all your emails and, you know, summarize the trip.
- 1:07:14Um, or we have this feature that it automatically archives any email that you don't need to respond to immediately.
- 1:07:21Um, and then twice a day you get a brief that summarizes all the stuff that you probably need to see, but you don't need to like actually do anything with and you just scroll through it and you're done.
- 1:07:29Um, um,
- 1:07:31And there's just like all this, there's all this complexity that around, you know, for example, how are emails categorized?
- 1:07:39So now we have a whole view of, we have all these categorization rules and you can order them and whatever.
- 1:07:44But like, it's just complicated and hard to communicate.
- 1:07:48And I want to retain a lot of the, like all the power and flexibility.
- 1:07:53But also you can't look at a screen and be like, I have no idea what's going on.
- 1:07:56This is like way too complicated.
- 1:07:58So...
- 1:07:59That's I'm just like I'm processing all that stuff.
- 1:08:01So the kind of like deletion, you know, on on shipping idea feels like an interesting cultural principle that we haven't really explored.
- 1:08:13Yeah, it's really hard.
- 1:08:14I think there's like a social cost to it too, where like you kind of want to be the person who tells your coworker to unship their thing.
- 1:08:21Yeah.
- 1:08:22It's definitely tricky.
- 1:08:24It's more than just the code.
- 1:08:25Yeah, I definitely run this at Instagram, honestly.
- 1:08:28Oh yeah.
- 1:08:28Because I think Facebook does a terrible job at unshipping.
- 1:08:31And we had this problem where every time we, I think even like unshipping pokes was like really spicy because there's a bunch of these like old timers.
- 1:08:38They're like, no pokes, you're never going to take it away.
- 1:08:40But like, if you look at the data, no one really uses it anymore.
- 1:08:42Yeah.
- 1:08:43But for sentimental reasons, they were kind of tied to it.
- 1:08:46And so, like, for Facebook, it always, maybe nothing ever got unshipped.
- 1:08:49It always got moved to, like, a secondary place, like, you know, like an overflow menu somewhere that no one looks at, like a graveyard.
- 1:08:56And I think Instagram was just very principled.
- 1:08:58There was, like, you know, very strong in product and design point of view.
- 1:09:02Those, like, if this thing isn't used by, like, half of people, you know, 50% of WoW or whatever, we're just going to delete it and deal with it.
- 1:09:08And then we'll figure out some next thing that's used by more people.
- 1:09:11I love it.
- 1:09:12Well, thank you.
- 1:09:13This is amazing.
- 1:09:13I'm really glad I got to talk to you and keep building.
- 1:09:17Thank you for having us.
- 1:09:18Yeah, thanks.
- 1:09:27Oh my gosh, folks, you absolutely positively have to smash that like button and subscribe to AI and I.
- 1:09:33Why?
- 1:09:34Because this show is the epitome of awesomeness.
- 1:09:36It's like finding a treasure chest in your backyard.
- 1:09:39But instead of gold, it's filled with pure unadulterated knowledge bombs about chat GPT.
- 1:09:45Every episode is a roller coaster of emotions, insights, and laughter that will leave you on the edge of your seat, craving for more.
- 1:09:53It's not just a show.
- 1:09:54It's a journey into the future with Dan Shipper as the captain of the spaceship.
- 1:09:59So do yourself a favor.
- 1:10:01Hit like, smash subscribe, and strap in for the ride of your life.
- 1:10:04And now, without any further ado, let me just say, Dan, I'm absolutely hopelessly in love with you.