Latest / Agentic Conversations (formally mlops.community) / Building Claude Code: Origin, Story, Product Iterations, & What's Next // Siddharth Bidasaria // #342
Transcript
- 0:00I've seen people with like 100 MCP servers installed or
- 0:04something like that. And I was like, what do you even
- 0:06do with 100 MCP servers? But hey, it works for them.
- 0:09You know, like they, they're happy with it and you know, it
- 0:12works for them. So yeah, there's always like
- 0:14these like surprising things where all the composable parts
- 0:17of cloud code like they're being used in such creative ways in,
- 0:22in ways that we didn't quite expect them kind of to be to be
- 0:25used. Dude tell me about Claude code.
- 0:36What what's the genesis of it because I I never heard the
- 0:39origin story. Yeah.
- 0:43So the origin story is we Entropic had this team called
- 0:48the Labs team and this the charter of this team was just a
- 0:54prototype new products to kind of play around with things and
- 0:57see what hits more of an experimentation team really.
- 1:02And that's kind of the team team that I joined when I when I
- 1:04joined in Throbic. And then one of my colleagues,
- 1:08Boris, he had he had this like nifty little like prototype when
- 1:14he joined in Throbic. He like he already like he built
- 1:16it in his first week and it was basically axis and clawed in a
- 1:20terminal. Nice.
- 1:23And it couldn't it couldn't like write code or it didn't have any
- 1:25access to any tools. It was it was literally just
- 1:27like, you know, calling the the entropic APIs from the terminal
- 1:32and you could like type into it. And I remember the first demo
- 1:36that he showed us he was just like he spun it up and then the
- 1:39first thing he wrote into it was like 2 + 2.
- 1:41And I was like, bro, that's like the worst thing You want to ask
- 1:43another them, you know, like ask it something, something nice,
- 1:46But it's funny. I think like, so that was he's
- 1:49kind of like, you know, had that as a prototype and then we were
- 1:51experimenting with other coding surfaces and other coding
- 1:54products. But at some point he ended up
- 1:57adding two tools to to this like little terminal thing he had.
- 2:03The first one was the ability to control Spotify.
- 2:07Yeah, nice. It was like, I want this thing
- 2:10to control my music, so he's like, all right, like play me
- 2:12this. So he added that from the
- 2:14terminal. From the terminal.
- 2:17Because who doesn't want to operate Spotify from their
- 2:20terminal? Exactly, exactly.
- 2:23You know, are you really a hacker if you, if you can't
- 2:26operate your Spotify from your terminal?
- 2:29But the second thing he added was just like, like file dual,
- 2:33file dual. So like file reading, file
- 2:35writing, stuff like that. And the moment he added that, he
- 2:38like, you know, shared it with us.
- 2:40And I was like, holy shit. Like it was just like a
- 2:43instantly I was like, there's something here.
- 2:45It's, it feels really ergonomic. It feels very different from,
- 2:49you know, like web-based apps and, and things like that.
- 2:53So I, I, I think I was still working on kind of some other
- 2:56surfaces then, but I was like, you know, I, I think I just
- 2:58wanted to join you and hack on this.
- 3:01And he was, he was also kind of getting pulled into other
- 3:05projects, but then at some point kind of made a decision to be
- 3:08like, OK, let's just like double down and work on this a little
- 3:11bit more. So we spent a couple weeks
- 3:13hacking and then we kind of released it internally at
- 3:18Anthropic and, and like almost immediately just like got on
- 3:21like wildfire. Like people were just using it
- 3:23or like everyone was super excited and we were like, whoa,
- 3:26this is like within two weeks we had like some 300 active daily
- 3:29users. And this was when Anthropic was
- 3:30like 600 people in the whole company.
- 3:33Even the CFO was using it. Yeah, the terminal.
- 3:37You're controlling their Spotify, you know.
- 3:42Do you remember what model it was?
- 3:45This was 3/5. This was Sonic, this was 3/5, I
- 3:49think, yeah, Around there it's like October, October, November
- 3:53of last year. Yeah.
- 3:57And I think, like, that's kind of how it all started.
- 3:59And then once that, once we got some momentum internally, there
- 4:02was talk about launching externally.
- 4:05But honestly at the time, like we weren't really sure if this
- 4:08is going to be a thing. We were like, you know, this is
- 4:10still in the terminal kind of still feels a little jank.
- 4:13You know, it doesn't quite feel as polished as like cursor is
- 4:16like cursor feels like, oh, like, you know, they have this
- 4:19cool interface and they have like the tab auto complete and
- 4:22they're like forking an IDE like this is literally just a
- 4:25terminal. Like it's just like a terminal
- 4:27app. So we, we had no idea, you know,
- 4:30if this was what would, what would happen and like how this
- 4:34would be received. And that was like some fun and
- 4:36there was like, you know, it's kind of all kinds of discussions
- 4:38going around. But yeah, ultimately we decided
- 4:42to do like a small like EAP with a few customers, like seeing
- 4:45what the response would be like. And, and people who just really
- 4:50liked it, they like grew attached to it very quickly.
- 4:52And and that's when we kind of decided to launch more
- 4:55externally. And then once we launched it, it
- 4:57just like after a couple of weeks, it kind of just blew up
- 5:01on, on social media and things like that and just had a life of
- 5:06its own. But but yeah, it was it was not,
- 5:09it was not a pattern at all. Like it, I feel like it was a
- 5:11lot of like happy accidents that happened along the way that like
- 5:14kind of got caught us to that point.
- 5:17There's so many things that you said that are so fascinating
- 5:20right now. 1 is that there's just like an R&D department to
- 5:24go and try and create cool new stuff and you are on that team,
- 5:29which I love. The second is the one tool that
- 5:34you added that changed everything.
- 5:36And what was it about that tool You were like, it's ergonomic,
- 5:39there's something different here.
- 5:41Why did you have that intuition there?
- 5:46Yeah, I think the the file edit file rate tools, it was I think
- 5:51the biggest thing was that these files were local and you could
- 5:53spin up cloud anywhere with the most with kind of most products
- 5:58before that, you'd have to have some sort of like
- 6:00synchronization or like set up step where you need to like copy
- 6:04over your files or you'd need to you know, like create a Docker
- 6:09image with your repo or give them like access to your good
- 6:12repository or like some form of like sharing your files.
- 6:15And then it could start working on those things.
- 6:17And then it was it wasn't like super clear how to how to be
- 6:21collaborative in, in, in a product like that.
- 6:24Like if, if you're, if everything is being exported
- 6:27over to AVM where like your agent is running, how do I then
- 6:32very easily take what the agent's done and then continue
- 6:36that and then like improve that myself?
- 6:38Like, you know, like the models are, are pretty good and they're
- 6:40getting better, but they're not good enough to like zero shot or
- 6:43one shot everything. So I, I need to go in and make
- 6:47some changes, adjust things like, you know, do things, make
- 6:50it so that it, it looks like actual code And that was very
- 6:55hard to do with these other products or like with kind of
- 6:58this other world view. And I think in the terminal,
- 7:02when you can just like spin it up, no matter what, what files
- 7:05you have, like what repo, it doesn't, it doesn't matter.
- 7:07It's just what matters is that you have the files locally.
- 7:11You can just spin up Claude, ask it to read a bunch of files, ask
- 7:14it to explore kind of the, you know, how a human would.
- 7:18It just felt really magical. It just felt really like low
- 7:22friction, if there's a very low friction way of getting started.
- 7:26And I think like that's kind of what felt really ergonomic about
- 7:29it. What's been your favorite
- 7:31feature that you added? I'll tell you mine.
- 7:33First, the clear context window. Yeah, slash clear.
- 7:39Yeah. Yeah, yeah, yeah, slash clear is
- 7:41cool, yeah. How about you?
- 7:45I think my favorite feature that I added would probably be
- 7:49honestly like the To Do List the the To Do List was.
- 7:54I think that that remains my favorite feature.
- 7:55Just at least something about like tasks getting checked off
- 7:58and just like. You know you aren't the one that
- 8:01is doing them. Yeah, yeah, it feels satisfying.
- 8:04You know, like. Best feeling ever, yeah.
- 8:06Yeah, like it's just doing all this stuff for me.
- 8:08I'm just watching like it's like it's.
- 8:10Like watching those TikTok videos where it's deep cleaning
- 8:13of cars or houses and you're like, this is oddly satisfying
- 8:16because I'm not the one that has to be the one cleaning right
- 8:19now. Yeah, exactly, exactly.
- 8:21And I think like adding the To Do List also kind of just made
- 8:25the model stay on track longer for like longer horizon tasks.
- 8:30And that was cool to see too. Like you'd see a lot of times
- 8:32like you'd be like, hey, like I have these hundred files.
- 8:34Can you go and like edit their names or, you know, do something
- 8:38to them And it would do like 30 of them and be like, I'm tired
- 8:42now. You know, you can do the rest by
- 8:43yourself or something like that. And then like you give it A to
- 8:46do list tool and like it uses it to 1st create A to do list for
- 8:50itself and like batches the 100 files and like, you know,
- 8:53batches of 10. Everyone keeps checking them off
- 8:56one at a time and it goes through the whole thing is like,
- 8:58oh, this is this is quite satisfying.
- 8:59Like now, this is becoming a a little bit more deterministic.
- 9:02Not super deterministic still, but it's a little bit more
- 9:05deterministic than it was before.
- 9:08Did you notice? Because I remember we had my
- 9:11friend David Hershey on here who created Pokémon.
- 9:15Claude plays Pokémon. And he was talking about how for
- 9:19him, he saw such a unlock that it was almost like this latent
- 9:25unlock where people didn't realize when a new model dropped
- 9:29the potential it had until they were playing around with it for
- 9:32a little while. And then you saw, whoa, this is
- 9:35really good at coding. And there's something here.
- 9:40Did you notice like big jumps from different models?
- 9:44Oh, 100 percent, 100% I think. I think 3, like 3/5 was pretty
- 9:52good. And, and, but 37 is kind of like
- 9:55where things really started to come together.
- 9:59I think you could see a step change in the complexity of
- 10:04tasks that the model was now able to handle.
- 10:08You could see a step change in the way that the model kind of
- 10:11navigated through complex structures.
- 10:15You know, it's like it it almost feels like there there is like,
- 10:20you know, if I was to tackle a task, what would I do?
- 10:23It would like do a lot of those same things to kind of get to
- 10:27its conclusion. And that was really fascinating.
- 10:31And I think that I saw that step jump between 35 and 3 seven
- 10:35where like immediately like 3-7 felt like it was just way more
- 10:38capable. And I think because like I, I'm
- 10:42using the models all day every day, right.
- 10:44I think a lot of people are in Tropic are and just like even
- 10:47outside, like, so you, you get quite attuned to model behavior.
- 10:53And then once you see a model behaving slightly differently,
- 10:56it jumps out. Like you can tell it's like it
- 10:58has a, it has a slightly different, like smell to it.
- 11:01You know, it's like, I can, I can tell this is something
- 11:03different. Yeah.
- 11:06It's like, wait a minute, you just broke my frame of
- 11:09reference. Yeah, shouldn't do that.
- 11:12Yeah, yeah. And it's also kind of tricky,
- 11:15you know, because like once you especially if you use coding
- 11:18agente coding products a lot like you, you start to form an
- 11:21intuition about the kinds of things that it might be able to
- 11:24do versus the kinds of things that you might not, it might not
- 11:27be so good at. And you you'd probably have to
- 11:29play a more hands on role in getting that tastic completion,
- 11:33But then, you know, a new model will come along that's actually
- 11:36much better and a step change. And then you have to rewire your
- 11:39brain and they're like, OK, no, now that I this can, it can
- 11:42actually do this now. And that can be tricky for
- 11:46people sometimes like it can. And I think that might might
- 11:50also just be a blocker and like adoption of AI tools kind of
- 11:53going forward because people kind of form a point of view
- 11:56about what it can do, but then that that point of view needs to
- 12:00be adjusted, you know, very, very frequently or more
- 12:04frequently than people realize. It's funny you mention that
- 12:07because we had my buddy JQ on here and he was talking about
- 12:10how if for some reason the model like leans towards doing
- 12:16something what you would consider the wrong way.
- 12:20Then try to change your frame of reference into.
- 12:23Can I make it fit into what the models doing?
- 12:27Like if the model wants to always do this, can I see if I
- 12:31can now change me to let the model do that and see if it can
- 12:37then complete the task you know? Yeah, yeah, that's, that's a
- 12:40fascinating idea. Yeah.
- 12:43Like something like keeping the model on distribution.
- 12:45Like there's something, there's something to that, right.
- 12:47Like if you if you keep it on distribution, it's kind of doing
- 12:51what it really innately wants to.
- 12:55You're not trying to like, you know, force it to go a certain
- 12:58way or like steer it a certain way.
- 13:01Yeah, I, I think that's an interesting field of research
- 13:03and study too. And just like seeing kind of how
- 13:06keeping the model on distribution might actually help
- 13:09for or or or or even if it's unintuitive to to to region 1.
- 13:14There's something I want to talk about that's close to your
- 13:16heart, which is this idea of forward compatibility and making
- 13:22sure that when you're creating today, you're not spending a
- 13:28bunch of time on something that is going to change in the next
- 13:32model drop or with some kind of unlock with maybe it's like, oh
- 13:36great, now we can just use MCP servers for that.
- 13:40And so I wonder if you have examples of things that you have
- 13:46done in the past that ended up being like, you almost shot
- 13:50yourself in the foot or it was just a quote UN quote waste of
- 13:53time. And I'll, I'll give you an
- 13:55example of one that my buddy Flores was talking about on the
- 13:58podcast a few months ago. And he said, when ChatGPT came
- 14:03out, I spent so much time trying to extend the context window.
- 14:08I did everything I could to make it so that it was so janky, it
- 14:13was so hacky, and all I needed to do was be patient and wait.
- 14:18And the context windows for all these different models just got
- 14:21bigger by default. And so I wonder if like you have
- 14:25felt that in different areas where you're sitting there now
- 14:30looking back, you realize I spent way too much time on this
- 14:33thing that I could have just been patient on.
- 14:35Yeah, there's a lot. I, I think like one of the core
- 14:39like philosophies of, of, of our team is we, we absolutely love
- 14:43deleting code and like taking the and just deleting features.
- 14:48And, and that I, I think that's like by design somewhat because,
- 14:53because of this exact issue, because you're like the, you,
- 14:57there's like a phrase that it's like unhobbling the model,
- 15:01right? Like it's like, basically it
- 15:04translates to let the model cook, right?
- 15:07Like that, that is the, the centerpiece and the showpiece
- 15:10here. And the harness is really just
- 15:13about providing the model with the tools that allows it to cook
- 15:16as opposed to like trying to steer it in a way that's like
- 15:20unnatural or like steered in a way that, you know, might be
- 15:24redundant, you know, in, in a few model releases.
- 15:28So an example of that is like when, when clock code first came
- 15:30out, we, we had, we had like a bunch of tools.
- 15:33We had like the LS tool we had that was literally just for
- 15:38listing files. We had a few other tools, but
- 15:42that were just like very file system specific.
- 15:44And then we realized that we don't really need any of these
- 15:47tools. Like we can just like literally
- 15:48just give it the bash tool and it like, we'll know it can just
- 15:51do all of these things just through the abstraction of, of a
- 15:56bash command. So we stripped them all out and
- 15:58we like, OK, we, we, we don't want, we don't really want this
- 16:01in here and, and just give it the bash tool And it still is
- 16:04able to do the same exact things, maybe even better than
- 16:07before, just because like it understands the concept of bash
- 16:10so much better than a, a tool that we invented and gave it
- 16:15gave it gave to it. So there's, there's like other
- 16:19kind of fascinating examples of like, you know, how much harness
- 16:23is too much harness, right? I think like it's, that's a
- 16:27question that kind of, I think everyone who is building AI apps
- 16:32is kind of asking and there there isn't a clear answer.
- 16:36I think it just kind of there's a balance.
- 16:38It's more of an art really. It's like you got to balance it
- 16:40out because you want to be useful now to your users, but at
- 16:46the same time you, you want to be able to adapt and you want to
- 16:50be able, you want to be really agile so that if the model
- 16:53changes tomorrow, you can just like RIP out entire pieces of
- 16:56your code base and just like do something else and just let it
- 16:58cook. So that's always like like
- 17:01hooks. I don't know if you've kind of
- 17:03used cloud code hooks yet, or, but they're, they're like,
- 17:10they're like a feature that allows you to kind of hook into
- 17:12the life cycle of cloud code. And what I mean by that is,
- 17:16let's say you want to a simple example is like logging, right?
- 17:21Like you want to log every single tool call that cloud code
- 17:25makes this part of it's like operations.
- 17:27So you can, you can create a hook, you can register a pre
- 17:30tool call hook, or I forget what the actual name is.
- 17:33But like that's effectively what it does is like it's a piece of
- 17:36code that the harness runs before each tool call and that
- 17:41piece of code is provided by you, it's provided by the user.
- 17:44So you can have a batch script or you can kind of have any kind
- 17:47of code that takes in some parameters for like what tool is
- 17:51being called, what's the context before that and a few other
- 17:53piece of information. And it can return some
- 17:56information back into cloud. Like it can like disallow that
- 17:58tool or it can like steer it in a certain way.
- 18:01So it's like it's a very flexible system that kind of
- 18:04makes you that makes cloud code a little bit more deterministic
- 18:08and like more composable according to and how you want,
- 18:12want it to be. I remember already distinctly
- 18:13like when my colleagues like Dixon kind of came up with this
- 18:17and I remember thinking I was like, OK, is this too much
- 18:21harness? You know, like, do we do we
- 18:22really want this? But then I think like his point
- 18:26was like, quite, I mean, clearly a lot of people are using it.
- 18:30A lot of people like, like hooks, but his point was that,
- 18:33you know, like we, we need to kind of be somewhere in the
- 18:35middle. Like we need to we, we, this is
- 18:37a problem that we're facing right now with the model, you
- 18:39know, like does something that people don't want it to do and
- 18:41they want to steer it. So let's kind of create an
- 18:44abstraction that that works here.
- 18:47Like we're not trying to like do something very heavy-handed, but
- 18:50we're just going to make like life cycle hooks, which are a
- 18:51very common concept in, in many kind of like death tools, right?
- 18:55Like you have you have these life cycle hooks.
- 18:59Yeah. So it's like it's, it's always a
- 19:00struggle kind of like trying to figure out like what is how much
- 19:04harness is too much harness, but kind of we lean towards this
- 19:09being leaner rather than being more harness heavy.
- 19:13It's so funny that you mentioned that specific thing because last
- 19:17week I gave a talk all about how there are a lot of downfalls
- 19:21with the chat interface. And one of the downfalls that I
- 19:25see is that we don't have this granular steerability if we want
- 19:32it because we're using words and words are inherently fuzzy.
- 19:36They're like symbols of things that we want to happen, right?
- 19:38And especially with language itself, you don't get like a
- 19:43knob that you can turn. You have a word that you use or
- 19:48you use a stronger word or you use a weaker word.
- 19:52And so you saying that makes me rethink, well, do we even need
- 19:59steerability? Right?
- 20:01Like, because your whole thesis is in the way of just let the
- 20:05model cook. You don't need to steer it.
- 20:08You just need to get out of its way.
- 20:10And that was also kind of like J QS thing is when it's doing what
- 20:14you don't expect it to do, then figure out how to make you fit
- 20:19into its patterns as opposed to it fitting into your patterns.
- 20:23And so now I'm. Like going to have to go back
- 20:27and rethink this whole idea of this steerability.
- 20:31Yeah, it's, it's a balance. It's a balance, right?
- 20:34I think like I don't think like needing or wanting steerability
- 20:39is inherently bad. I think it makes, it makes
- 20:41sense, right? Like people are using it today
- 20:43and they want it to be useful for them right now.
- 20:45And if what they want right now is steerability and the model is
- 20:48not able to give it to them, then really the only option you
- 20:51have as an application developer is to create some harness that
- 20:55would allow the user to steer the model in one way or the
- 20:58other. But there's kind of two things
- 21:00to it. There's like 1 is the point that
- 21:02you were making earlier is like, oh, should I be changing my
- 21:04frame of reference and would that help?
- 21:07And then the second is what would happen if, let's say two
- 21:10months from now there's a new model that comes out and like it
- 21:13just does it for you. Would you just spend a whole
- 21:16bunch of resources on it for nothing?
- 21:19So, so I think it's like being agile, like having a tech stack
- 21:22that allows you to be really agile, a tech stack that kind of
- 21:25allows you to experiment a bunch and you don't feel bad really
- 21:28throwing away a lot of your code like that.
- 21:30That becomes really key, right? Like it's, it's, it's because
- 21:33you, you should and you should experiment with harnesses and
- 21:35you should experiment with letting it steer or, or like
- 21:38more heavy-handed steering mechanisms.
- 21:41But then at the same time, when the time comes, it should be
- 21:44easier about it's not like you've now like built five more
- 21:47things on top of that steering abstraction.
- 21:49And now it's like impossible to take out from your code and now
- 21:52you're fucked, right. Like it's like that's like you,
- 21:54you gotta you, yeah. So it's it's a balance.
- 21:57It's like I can't delete that it, it holds up the rest of this
- 22:02mountain of code that I have. And so you, you really like, got
- 22:06yourself into a pickle. Right.
- 22:07Yeah. What features are on the
- 22:12chopping block in your mind like you would be happy to delete?
- 22:16Oh, I would be really happy to delete hooks.
- 22:20Like I think, I think like if, if the model was just working
- 22:25perfectly in a perfect world, you wouldn't need hooks, right?
- 22:29Like you, you, you can just like tell the model what you want to
- 22:31do and you can have like different ways of ingesting some
- 22:34sort of context into the model and the model just adheres to it
- 22:37perfectly every single time. Let's say you have like, let's
- 22:41take like, like probably the most common use case of hook is
- 22:44hooks is logging. So you can literally just tell
- 22:48the model, hey, like every time you use a tool like log it using
- 22:52this endpoint. And if it adheres to your, your
- 22:56contacts or like your request perfectly, you don't need hooks
- 23:00anymore because hooks are their way of like adding determinism
- 23:04to, to, to do like an inherently like abstract, inherently like
- 23:09non deterministic process. So that would be really cool.
- 23:14Let's see what other tools I think we, we've like kept.
- 23:18We've, I think we've done a pretty good job of keeping like
- 23:20our tool list pretty lean. Like we've been leading a bunch
- 23:23of code, a bunch of tools like overtime.
- 23:27That's like the the big one that kind of comes to mind is maybe
- 23:31maybe like some memory features, right?
- 23:34Like if the model had perfect memory and perfect recollection
- 23:40of things that you've set it in the past, Like let's say you
- 23:42have infinite contacts going forward, you just kind of like
- 23:46point it to the transcripts that it had before and it just knows
- 23:51what to what to look for. You don't really need any kind
- 23:54of special scaffolding for memory or use of references.
- 23:57It just kind of knows, but these are these are these kind of
- 24:01sound like pipe dreams, but not really.
- 24:03I think like there is like I can see a world where it it kind of
- 24:07gets to that. But yeah, I think that those
- 24:10would be two features that I might be delete, might delete.
- 24:12Well, it's kind of like certain things are almost Moore's Law
- 24:20ish in how much they're developing and how fast they're
- 24:23developing. And one of them is the context
- 24:26windows are getting bigger. There's debate there around like
- 24:31how effective it is to keep everything in context, right,
- 24:34and how useful these large context windows are.
- 24:37But we do see like the push for bigger context windows.
- 24:41And then another one is like the price per LM call is dropping
- 24:47and that continues to drop in like a Moore's Law type of way
- 24:51where you're like, it's a better model and it's cheaper than
- 24:53before. And so, yeah, I potentially
- 24:59could see it. Maybe it's not like in the next
- 25:01month, but if we're talking a 10 year horizon, there's a world
- 25:07where that makes a lot of sense. Yeah, yeah, I agree.
- 25:13Yeah, I think like the timeline is always really tricky with
- 25:15these things. You don't really see it coming
- 25:18until you used to see it. I mean, like, you know, it's
- 25:20just like you're you're oblivious, you're oblivious,
- 25:23you're oblivious and boom, it just backs you in the face.
- 25:25And I go, shit, I can do this now.
- 25:27Or at least that's been my experience with that at least.
- 25:30So yeah, timing is kind of a, a bit of a, you know, oddball.
- 25:35But I I do think that there is a world where where something that
- 25:39exists. Speaking of timing and how
- 25:42things have evolved, I know that we had your colleague Eric on
- 25:47the ML OB Agent Builder Summit panel that we did in San
- 25:52Francisco in May. It's now we're in September, and
- 25:57one thing that Eric was talking about back in May was how hard
- 26:01verification is and how that's something that keeps him up at
- 26:04night. You had mentioned like there's
- 26:07been some advances, but it's still a very hard problem.
- 26:10Can you go into that a little? Yeah, yeah, for sure.
- 26:13So, so for contacts like verification is the ability of
- 26:18the model to verify that the work that it's doing is correct
- 26:23or like some form of like course correction mechanism where like
- 26:26if it's going down a bad path, it like recognizes that and can
- 26:29course correct. I think there's like 2.
- 26:32I would kind of break this down into two different sub problems
- 26:36really. The first is a model behavior.
- 26:39Like does the model know that to check its work regularly and the
- 26:45can it elicit that behavior? And the second is, do you have
- 26:50the tools or have you given the models the tools to effectively
- 26:55check its own work? And I think both of those things
- 27:00are kind of advancing at their own pace.
- 27:03I think the first one where like the models are now they know
- 27:08about verification and they know that like it is, it is a path to
- 27:13success. It is a good path to success.
- 27:15And it's more on distribution for them to, for them to be
- 27:19doing this. And I think that that's chugging
- 27:21along. And you know, I think like we,
- 27:23my, my hunch is that we'll see that kind of keep getting better
- 27:27pretty rapidly over the next few months and years.
- 27:31But the second piece of it is, is the tools that you're
- 27:34providing to the model. So in, in the coding context,
- 27:39really we, we have, you know, there's, there's a really wide
- 27:44variety of tasks that you can be coding up.
- 27:47And I think we have figured out verification for a small subset
- 27:51of these. Like for example, if you're, you
- 27:55know, coding up a website and you're mostly dealing with like
- 27:59JavaScript components and CSS and HTML and just like the
- 28:03visual hierarchy of elements, that is a little bit easier to
- 28:08to verify now that you have some MCP servers, like there's a
- 28:12Puppeteer MCP server that can open up a web browser for you,
- 28:15take a screenshot, send it back to the model and the model can
- 28:20iterate based on that screenshot.
- 28:21So if it's like changing the color of a button or if it's
- 28:23changing the position of a button, it like has instant
- 28:26feedback of like what, what it's doing.
- 28:29But then there are like more complex things here too.
- 28:31Like let's say it's like an animation, right?
- 28:33Like, let's say you're like coding up an animation and it's
- 28:35like, or some sort of user interaction that requires some
- 28:39sort, sort of animated frames. Those are still harder to, to
- 28:42kind of verify like you, it's, it's hard to kind of provide the
- 28:46model with a video stream of what's happening, at least in,
- 28:49in how today's models are conducted.
- 28:52It's still possible you can like slow down the animation frame
- 28:54rate and take like screenshots at certain times.
- 28:57But you know, it's, it's fuzzy and it's unclear how, how
- 29:01effective those things are. And then you've got things like,
- 29:04you know, like you could be doing some sort of like
- 29:05performance work, like you're like, you're working on some
- 29:07sort of like inference thing. And it's like super low level
- 29:10performance work. Again, like what is verification
- 29:13even look like here? Like, you know, how do you
- 29:15measure that? How does the model know to
- 29:16measure that? So the easiest thing to do, and
- 29:19this is a bit of a cop out, I realize, but it's like unit
- 29:22tests, right? Like I I think that unit tests
- 29:25and like smaller units of tests that humans pay extreme
- 29:29attention to and make the framework for making unit tests
- 29:34and maybe even end to end tests much easier.
- 29:38That will be probably the shortest path to verification
- 29:42success. And so if you're, you know, if
- 29:47I'm creating a new product tomorrow, the one thing that I,
- 29:50I will for sure do is make sure that I have a unit testing
- 29:54framework that is able to test as large of a surface area as
- 29:58possible of my code. Because if I do that, then I can
- 30:01leverage AI tools to write more of my code and trust the output
- 30:05of those tools. So I think, I mean, just test
- 30:09through and development has been around for ages, right?
- 30:11Like it's not a new concept and beep, beep, but I think it is a
- 30:14concept that is being rediscovered to some degree.
- 30:18Like I think everyone talks about test driven development,
- 30:20But if I look back at my career, like how many times have I
- 30:23really written a unit test before I write the actual code?
- 30:25And like, not that many, I'm going to be honest, right?
- 30:27Like it's like, but, but like now with, with the models
- 30:31capable of writing the code like to the unit test code too, that
- 30:35becomes it, it, it becomes kind of easier to digest, you know,
- 30:39it becomes a little bit lower friction to kind of write code
- 30:42that way. So that's, that's kind of the
- 30:45other piece of verification which is unsolved.
- 30:47And I think it's it's going to be tricky to to get to a point
- 30:52where we can make completely solve that.
- 30:54This unit test thing sounds like it's going to take forever.
- 31:00Like you got to run the test too though.
- 31:03Yeah, yeah, you do have to run the tests, but hopefully the
- 31:06model just figures out which tests it needs to run and just
- 31:08like runs those tests and optimizes that for you.
- 31:11So yeah, there, there. There's, there's degrees of
- 31:15being AGI pilled and you know, like depending, depending on
- 31:18kind of where you fall in that spectrum, you might see it
- 31:21differently. Yeah, the model is just going to
- 31:24learn from the worst of us and be like fuck it, I'm testing in
- 31:27prod. Like a troop row?
- 31:31Yeah, exactly. Yeah, yeah, I've seen enough of
- 31:35these models do that kind of stuff, like on GitHub issues or
- 31:38something where it'll comment it's like this was a human
- 31:41behind it, wasn't it? This this cannot be really.
- 31:45Yeah. Have you seen those?
- 31:47Like I think there was a trend on I think levels IO on, on
- 31:51Twitter, like kind of tweeted about this and then people
- 31:54started doing it was like, I think he called it like vibe
- 31:57DevOps or like vibe infra or something like that where he
- 32:01didn't have any like deployment strategies or like deployment
- 32:06code. It was there was no
- 32:08infrastructure as code. He would literally just like SSH
- 32:11into his production box, open up cloud code and just like tell it
- 32:16to deploy stuff and like like do like, you know, do database
- 32:18maintenance or just like, you know, upgrade, upgrade the
- 32:21schema or something like that and then.
- 32:23Oh I miss this. People, people just kept doing
- 32:26that over, over all their projects.
- 32:28And I was like, yes, this is maybe this is the future.
- 32:31I don't know. Yeah, oh man, that makes me so
- 32:35nervous. But I am glad that somebody's
- 32:38trying it and pushing the limits.
- 32:40Yeah, for sure. Speaking of pushing the limits,
- 32:43I want to hear about the power users and how they're using
- 32:48cloud code. Like how have you seen people
- 32:51just surprise you with what they're doing?
- 32:54Yeah, there's, there's a lot of power users who have surprised
- 32:59me. I think the, the, the number one
- 33:03thing that surprised me was like this one person who was using a
- 33:09fleet of like 10 to 12 clods for like 1 problem.
- 33:14And he was using the file system as a mechanism for all of these
- 33:21different instances to talk to each other.
- 33:24And he like gave all of these different instances a, a
- 33:29persona. So he he had like a, you know,
- 33:33like a a back end engineer as a front end engineer, like the,
- 33:37the, yeah, exactly like the and they all operated on like
- 33:39different folders in his code base.
- 33:43And I was extremely impressed by that set up, so much so that I
- 33:47think the sub agents kind of feature in cloud code today is
- 33:51like inspired heavily by that approach.
- 33:55That makes sense. But it was, yeah, it was, it was
- 33:57extremely cool to kind of see that.
- 34:00And there's, there's I think people who have, I've seen
- 34:04people with like 100 MCP servers installed or something like
- 34:07that. And I was like, what do you even
- 34:09do with 100 MCP servers? But hey, it works for them, you
- 34:12know, like they, they're happy with it and you know, it works
- 34:15for them. So yeah, there's always like
- 34:17these like surprising things where all the composable parts
- 34:20of cloud code like they're being used in such creative ways in,
- 34:25in ways that we didn't quite expect them kind of to be to be
- 34:28used. Plot twist, the 100 MCP servers
- 34:32are just playing Spotify from the command line.
- 34:37Yes, love it, love it. Yeah, I actually want to create
- 34:40this like little web app that literally just like controls
- 34:44your spot Spotify and that's all it does that you just like off
- 34:48to it and it has like clot sitting on top and just like all
- 34:51it does is like connect your Spotify doesn't want to play.
- 34:54I would love to be able to just sync with that on finding new
- 35:00music, Yeah, like, you know, I want and just give it all a
- 35:04brain dump on I want a playlist with this kind of music and try
- 35:09and explain everything that I'm feeling in that moment and then
- 35:12it goes and creates it. Love it.
- 35:14Oh, what if he what if he gave it a webcam and a mic?
- 35:19So what you could do is that you can like set that up at a party
- 35:24in the corner and it like looks at the vibe of the party and
- 35:27plays music according to it. It's the jukebox.
- 35:31It's the 2025 jukebox. Exactly, exactly.
- 35:35And then people can go and whisper requests into the
- 35:38microphone. Oh hell yeah, I think.
- 35:40I think we just created the next billion dollar app dude.
- 35:44Yes, I'm going to save this episode and not release it until
- 35:48I get 2025 jukebox.com or dot AI website.
- 35:54Yeah. And so I've heard sub agents
- 35:58called agents as tools. I'm also just been seeing how
- 36:04incredible it is to have that like sub agent kind of design
- 36:09pattern for lack of a better word.
- 36:12How do you see or foresee sub agents evolving?
- 36:18Yeah, I, I think sub agents are the, the possibilities are just
- 36:24too many. There's a, there's, there's,
- 36:26there's, there's a lot of different ways that this going
- 36:28to shape up. I think when we first like
- 36:32launched sub agents, there was like no good way for kind of
- 36:37like everyday users of an agent coding product to create their
- 36:41own custom sub agents. And the idea really was let's do
- 36:45the thing, the simple thing that works, right?
- 36:47It's like we want to do like the absolute simplest thing that we
- 36:51know will work and like people can play around with and
- 36:53experiment with, but there's so many other things you can do.
- 36:58Like right now, the way at least it's implemented in cloud code
- 37:02is, is you, it's it's sub agent as a tool.
- 37:04It's an agent as a tool, right? So it's like Mama Claude or
- 37:07like, you know, the, the, the main thread, like we'll call
- 37:10into these tools and then wait for those tools to return back
- 37:13to them at at some point and then continue with the
- 37:15conversation. But then what if you just had
- 37:18like, you know, a master master model where you had like
- 37:21multiple sub agents kind of all doing their own thing.
- 37:24There is no like parent. They're all communicating with
- 37:26each other. The, the, the way that they
- 37:30communicate with each other becomes an interesting kind of
- 37:34decision as well as like, is it, is it message buses?
- 37:36Is it like point to point communication?
- 37:39And when you, when they are communicating with each other,
- 37:42like when do you actually inject those messages in?
- 37:45Like do you inject, did you preemptively inject them or do
- 37:47you wait for them to finish? Kind of how important is that,
- 37:51you know, where are these sub agents really running?
- 37:53Like are they going to, is the code that they're writing going
- 37:56to conflict with each other? Or is it, is it going to be read
- 37:59only or like do you designate some of them as read only and or
- 38:02you designate some of them as like read, write like there's a
- 38:04lot, it opens up a whole can of worms, but it's also really
- 38:08exciting. I think there's a lot of
- 38:10research that's going to being done about this, a lot of kind
- 38:14of open source repos also that are kind of exploring this using
- 38:17cloud code as the base. So I'm extremely excited about
- 38:21kind of this direction and kind of what we find.
- 38:23To be honest, it is unclear to me right now whether some of
- 38:27these like more complexed like a more complex agent or sub Asian
- 38:31topologies lead to better results.
- 38:35And I think unless we have some form of evidence of like these,
- 38:42this kind of Asian topology like works really well, I'm, I'm
- 38:47hesitant in kind of adding that complexity to the product
- 38:51because it, it not, it's not just like the complexity of
- 38:55adding it like the code that you're going to add, but it's
- 38:58also the complexity for users to understand how it works.
- 39:02And, and, you know, I feel like a lot of lot of coding agentic
- 39:07coding tools are kind of geared more towards power users to
- 39:10begin with. And what, what's more exciting
- 39:14to me right now? I mean, power users are great.
- 39:16And I, I, I think I'm a power user, so I build for myself all
- 39:18the time. But what's more exciting is like
- 39:20there's this whole other spectrum of users who, who are
- 39:23just like, just about, you know, just getting their feet wet with
- 39:27this, like they, they're skeptics or they don't quite
- 39:31believe in AI and they like, you know, oh, like, I can write this
- 39:34better. It's wasting my time.
- 39:35Like there's like all of that stuff.
- 39:37But they're, they're not wrong. I mean, I think they're right.
- 39:39If, when, when you for certain things.
- 39:43But I, I'd love to kind of have sub agents and the future of sub
- 39:47agents kind of cater more towards them and helping them
- 39:50get a better outcome from, from, from the product.
- 39:54There's so much that you said there.
- 39:56And one thing that stands out to me in all of that, when you have
- 40:03agents going about and you add that extra complexity of just
- 40:08like a swarm of agents, right? And or a hive of agents that are
- 40:14flying around and doing their own thing and then communicating
- 40:16with each other and figuring out how and when and where you want
- 40:20them to communicate. Or you want to add extra
- 40:23context. Is complex in itself.
- 40:27I instantly think about there's certain things in the context
- 40:34windows and maybe it's a little less so for coding agents.
- 40:37But if we were to extrapolate this out and say for agents
- 40:43across the web, the whole thing that I think about as you're
- 40:47talking about these complex agent intertwinings and passing
- 40:52around a lot of context from one agent to the other and not
- 40:57really having a superior agent. But even just if, if you did
- 41:01have a superior agent that is overlooking it, all of it, you
- 41:04know, like the I've Sauron agent, you still are going to
- 41:08have a really hard time being able to identify what is
- 41:14sensitive in all of this information that's being passed
- 41:18around. Like there's no protocol right
- 41:20now for this is sensitive. And it's not.
- 41:24I'm not even saying like PII. I'm saying like stuff that I
- 41:28wouldn't potentially want going around the Internet, you know,
- 41:32and it's not like my Social Security number.
- 41:35It might just be like my YouTube preferences.
- 41:39Yeah, No, I get it. I I think that that is, I think
- 41:43you kind of nailed that one. It's like, I think that's 2
- 41:46problems, right? Observability is, is almost, it
- 41:50is really hard for, for complex sub agent, apologies.
- 41:56And because of that, as a result of that, like how you do
- 41:59permission management and how you do like that kind of becomes
- 42:03complex too. So like for example, like if in
- 42:07in card code, if you, let's say you spin up like parallel sub
- 42:10agents like that you just spin up like 3 parallel sub agents
- 42:13that, that are like going off and doing their own thing for
- 42:15you. Anytime any of them encounter
- 42:19some form of like tool that it doesn't have permission to run
- 42:22like bumps up and like tells you, asks you say, hey, can I,
- 42:26can I use this tool? And then you like go and say yes
- 42:29or whatever. And then it like it goes off and
- 42:30does it's thing. This is not scalable, right?
- 42:35Like it's not. It works because you know, the
- 42:38sub agent implementation we have is quite simple and so it works.
- 42:43But if you have more like complex agent topologies, it
- 42:46doesn't scale. What is the answer?
- 42:50I don't know. I'm not sure.
- 42:51It's like it's, I think it's something that we're going to
- 42:55have to come up with a better way of dealing with this.
- 42:58And then permissions is one thing I think like once you get
- 43:02permissions to do something, what do you do with that and who
- 43:06do you pass it on to? And like how do you know that
- 43:08that person or that agent will not will do the right thing with
- 43:13with it? So.
- 43:15And I think he's dynamic, like you can't give permission
- 43:18forever. It's permission right now.
- 43:21And then maybe for 5 minutes or maybe for an hour, but I'm going
- 43:25to revoke that permission because I don't want you to be
- 43:28able to always do that. And so that's a little bit weird
- 43:31too. I, I, I find permissions
- 43:34fascinating too, especially again, like extrapolating it out
- 43:38for just regular agents that sometimes I do want to tell the
- 43:44agent to go buy something and I want to give it permission to
- 43:48buy it. But then sometimes I don't.
- 43:51And I definitely don't want it to buy the same thing like 5
- 43:55times. So if I give it permission once,
- 43:57it potentially has that permission to just keep buying.
- 44:02Yeah, I mean, oh, I found a cheaper deal on this Ferrari.
- 44:06You wanted to buy $500,000? Boom.
- 44:10Yeah, that would be bad. Yeah, especially if it's the
- 44:14fourth one it just bought. Yeah, one for each day of the
- 44:18week. I thought that's what you
- 44:19wanted. I'm just trying to help you out.
- 44:21Exactly. Oh, exactly man.
- 44:24Yeah, you can get into a lot of trouble there.
- 44:26I'll use like quad code amp lovable and what I noticed going
- 44:31back to that permissions part is whenever it comes up and it will
- 44:35ask me, hey, can I do this? I joke like I just will
- 44:41constantly hit yes so that I don't have to review it and be
- 44:44like, I guess I'll know later when it breaks and it's kind of
- 44:49like the new looks good to me on like a merge pull request.
- 44:54That's that's really how I feel whenever I press yes without
- 44:58looking at anything. I'm just like, send it.
- 45:01We'll see what happens, yeah. We we, we've like joked about
- 45:04just having this like little red button that we like sell to
- 45:07everyone or just like even just give out to our customers that
- 45:10just says like you are absolutely right and you just
- 45:12like press that and that just like auto access permissions for
- 45:15you every single. Time everything just like take
- 45:17it all. I don't want to be bothered
- 45:19again. Yeah, it's like super Yolo mode.
- 45:22Yeah, that's Peter level style that is.
- 45:26But also you were talking about something fascinating with at
- 45:30scale. I'm not going to be able to save
- 45:35any time if I have 12 sub agents that are constantly asking me
- 45:39for permission. It's a full time job.
- 45:41Like trying to hit yes even if I'm not even looking at what
- 45:45it's doing. God forbid I have to like look
- 45:48through the code it generates right?
- 45:50But if I am not even looking, I'm still going to have to just
- 45:53constantly be pounding the yes button.
- 45:56Yeah, I, I mean, I think my take on this, at least right now, is
- 46:02that as the models get smarter, we'll be able to rely more on
- 46:06them to do kind of these like, you know, the Eye of Sauron,
- 46:12like Asian that you have like is, is, is going going to get
- 46:15really, really good at understanding user intent and,
- 46:20and like providing dynamic permissions.
- 46:23That's the only way that I see the skilling, to be honest.
- 46:26I don't see how like you can create a really complex web of
- 46:30like dynamic settings and dynamic config and auth and just
- 46:33like, you know, but it's going to have a breaking point.
- 46:38And, and the more I'm, I'm kind of working with LLMS, I'm
- 46:44realizing that if you're, if you're scaffolding is just like
- 46:47really, really complex, you will not survive, you know, and then
- 46:52so maybe it solves the need right now and maybe like it is
- 46:55useful for a few months, but looking to the future, I think
- 47:00it is going to be offloaded to some sort of like model that's,
- 47:03that's highly tuned to something like this.
- 47:07How often are you going to the researchers and just saying
- 47:11like, watch me work real fast and I'll tell you what's
- 47:15painful, and then maybe you guys can figure out how to fix that
- 47:19on the model side. Yeah.
- 47:21I mean, I think we like our team and like, we're like quite in
- 47:25touch with the research in, in my ways.
- 47:27There's, I think that's like one of the advantages of working at
- 47:33A, at a lab is, is that you kind of have that and the, what you
- 47:38can come up with then is, is just like blessed and backed by
- 47:43research. And, and also it's like a
- 47:45flywheel. So it's not just like one way
- 47:47information coming in, but it's also like what you learn from
- 47:49user behaviour and what you learn from product usage kind of
- 47:52like feeds back into research and like what the research
- 47:56priorities are going forward. So it that's like a flywheel
- 48:01that, you know, we're definitely tapping into and then we, yeah,
- 48:05we make it a point to kind of tap into that.
- 48:08As much as I imagine you also have the boon of being able to
- 48:11see what's coming down the pipe and then see like, OK, is this
- 48:17new model, whatever characteristic, can we leverage
- 48:24it in some way, shape or form with cloud code?
- 48:27Yeah, I think that yeah, that's, that's, that's definitely a, a
- 48:31big advantage. We, we kind of like have access
- 48:35to, you know, some of the preview models and things like
- 48:37that and that that helps set product strategy kind of a
- 48:42little bit earlier than we would if we didn't have that.
- 48:46Do you and this might be above your pay grade.
- 48:49So, and we'll have PR listen to all this, so they may tell us to
- 48:53cut this question completely, but do you foresee a world or is
- 48:59it already happening where there's just like so many
- 49:06resources that are going towards Claude code and just coding
- 49:08models in general that that is now like a gigantic model
- 49:16machine in a way? I mean, I think Entropic has
- 49:19leaned into coding for for a few model releases.
- 49:22Now, that's not to say that there's not other stuff
- 49:25happening, but there's definitely is, you know, a kind
- 49:28of a focus on coding just because our models are really
- 49:31good at coding. And I would argue the best, I
- 49:35think it's kind of unanimously known that people try, but
- 49:40they're like, it's not as call it code as like what you
- 49:43benchmark everything else against.
- 49:46Right. Yeah.
- 49:46I think that we've been kind of fortunate.
- 49:48And of course, like props to everyone who kind of built these
- 49:51amazing models. But yeah, I think that there's
- 49:56definitely a focus on it. I can't say so much about like,
- 50:00what if there's like trade-offs or like, you know what things
- 50:04like that, I honestly don't even know.
- 50:06But I, I, I, I know that that that is an area of focus and,
- 50:11and you know, there is a significant number of people who
- 50:14are kind of looking into it.