We're here in the studio with our friend, Parek from Infopec. And I guess, generally, the Cloud Code, there's so much sort of merging of boundaries. And you've been so on top of everything since you joined Infopec. You have been early to Cloud Code itself, but then also, and you've told that story in other podcasts. And you've also been talking about seeing like an agent, most recently you did the top AIE, I will share a talk with you guys at Fable, which obviously you guys launch Fables, so that's cheating.
And mostly, you've also launched a Cloud Tag. And we're also going to be talking about pacing in front here. There's a lot going on Infopec. I guess top of the question is, what's it like being in Fableec when there's so much going on? I think that it is like, I think you can get whiplash sometimes.
I think like going, when I joined Infropic, I joined because of Cloud Code. Like Cloud Code had just come out and I was like, this is so good. And Opus 4 to me was like, just I could not imagine how good it was, you know what I mean? And that was like a real moment for me. But I was like trying to convince my startup friends, basically, to use a genticoding.
And they're like, oh, no, our engineers don't think it's good enough or something. I was like, that's insane. And now you like fast forward 12 months less. And it's just like, you had the default way that everyone codes, right? And I think that just having to go from selling it to now teaching people how to make the most use of it and be more efficient and things like that, is just like a big change.
And yeah, I think it's just hard to stay on top of everything as a human. Like, I think things happen so, so fast. You just do it more agency. I mean, yeah, like, that's actually like, the agentics stuff scales much better than the human stuff where it's like, oh, there are three things happening right now and they're all emergencies and how do you respond to it? What do you split your time on?
You do a lot of technical writing, engineering work. Yeah, so I think that when I joined the Cloud Code team, I wanted to teach people how to use Cloud Code basically. And I think that that has been something that like, I thought like maybe I would spend a little bit of time on it or like, I would spend some time on the Agent SDK first. And I wasn't exactly sure like, you know, how the bitter lesson would go, you know, when it comes to like harnesses, right? Like, I think sometimes we're like, oh, like what's after Cloud Code, you know what I mean?
And so initially I was like, I just wanted to teach people how to use Cloud Code and make easier to use Cloud Code. And I think that is just like, as a harnesses have gone better and better, that's like the dominant problem now, is like how do you use the agents, right? Like it's like such a high skill expression thing. So I do that and then I do engineering work. I give talks, but I think like, when I'm doing engineering work, my goal is to take that feedback that we get from users and also like then be able to talk about like, hey, how to use Cloud Code to do engineering.
So there's kind of like a good loop there. Yeah, I'll for listeners will attach the talk that you did with Sarah for the div writers meetup, which we talked a little bit about. Well, first you do the work and then you talk about the work, something like that. So when we, or. Yeah, someone reaping.
Someone reaping. Yeah, yeah, yeah. So, and then just to pre-fill a little bit, we are going to talk about the evolution of the harness. It has come a long way from just being a CLI. We're going to talk about Cloud Mods, which is starting to leak today, because you couldn't keep it secret.
I think you started off with like adding, ask you a question tool, which people love and hate actually. Yeah, yeah. I actually thought it was like very innovative. And then now I have like my own version, you have your interview me version. Yeah, yeah, yeah.
And yeah, everyone just has like their own stuff. And that no longer matters because now you're supposed to write prompts that create other prompts and loops and all these things. So what's the state of the art today? Like what are people, what are you like telling people to do today? Yeah, ask user question was the first time that the model was going to elicitation.
You know, I think this was like kind of an emergent behavior that I like, you know, wanted to see if the models could do. I have like kind of like a human-computer interaction background. So I like, you know, did that in undergrad and grad school. And so this was like, I think it's kind of like human-agent interaction to me, like, you know, trying to figure out like how can the agent communicate with you and extract, you know, the requirements, right? I think that like one of the things about like that's difficult as Cloud Code has gone broader and broader is that everyone has like their own way of using it.
And it's actually very hard to like change the default behavior. So for example, like if someone asks you, Cloud Code to do something, sometimes they just want them to do the work because they're like maybe a very good proctor. And sometimes they want like actually are not going to prompt you know what I mean? And you need like the agent needs to like clarify, you know? And so that's like a good split line.
And ask you the question tool sort of like splits along that side where like, are you feel like you're good enough to instruct the agent as it is? Or is the agent able to like, does the agent need to like pull out more requirements and like collaborate with you more and really understand your preferences? I on the whole believe that pretty much everyone is more on the ladder than the former, that they like have more ambiguity and they know less than they want. And then they like think they know about the problem. But like it's like an interface design problem to make that easy, you know what I mean?
And so like if you're designing a problem, like if you're going through a problem like, you know, things like what's the schema or like what's the call stack and things like that are really important. You know, like the details of the design are important. Ideally you want to figure out some of these like hard problems ahead of time before starting implementation. And that's why they call like unknowns, right? And so I think that this will forever be like a skill and a gentic coding is like figuring out your unknowns.
So like, because even if the model is like super intelligent, it like needs to know what you want, you know? And like you have preferences, like you need to sort of like pull that out. And so that's like, I think how I'm when I'm pushing the question then is like how does the agent interact with you? And I think that has been HTML has been like the big way of doing that. We've recently added artifacts, right?
And artifacts, I actually think we've done a bad job of like, or like I've done a bad job of like explaining how do you have them fully. We have a lot of property capabilities. They have a database associated with them, you know? And so every artifact can store and write persistent data. They can like feedback into the cloud, you know?
And so like one thing that, you know, like people are not doing yet that I'm trying to like encourage is like this idea of a dashboard artifact. So you have like cloud working on a project long term, maybe it's like a can band or something. It can store that can band data in this database. Multiple clouds can access that data via like the artifact MCP. And like that artifact can like talk to those clouds as well.
And so like that we're basically building the primitives for you to be able to have this like generative interface via artifacts that will like let you surface more of that rich detail from the agents. And I think that like almost everything in agents right now is like this problem of like you think you know what you want, but you don't really know what you want. And like the agents need a lot of detail and collaborating with them in the loop is really important. And so artifacts are like the like way that we're trying to evolve there. But there's a lot of work to do because it's so much more complicated than like a multiple choice question, you know?
There's a lot more like detail in terms of like diagrams and code snippets and schemas or like whatever it is for that problem. But like artifacts is like the more AGI-pilled way of like doing askis a question basically. So yeah. I think one thing that's unclear to me about these the artifact stuff is like what feedback should go in through the artifact and what feedback should go through a cloud chat because the more AGI-pilled one is to just feed everything to the cloud. I think the more AGI-pilled one is to go through the artifact.
Like I think that like we sort of imagine in the limit, I think that artifacts will be your interface into the harness, you know? You can like comment on this like live document of your plan of the work. You can see maybe like multiple agents and different agents are doing this. And that artifact is built for the current work that you're doing, right? And so like each one has like slightly different.
I think we're still like getting there from like an infrastructure perspective. But yeah, I think like on the fly interface for your harness is probably where things are headed. So version of it, that's an obstruction from CLI or chat. And you because right now a lot of it is, OK, you're interfacing with Cloud Code, you're having HTML given back from all up. It's pretty rich.
There's diagrams artifacts are ways to connect these together. Why not just do everything that way? Then it becomes like separating out like where is the inference happening? Where's intelligence happening? Where is the work happening?
You know, I think this is kind of like difference between like or like some of the distinction between local and cloud, right? And so I think right now if you use Cloud Code, it's like local and like you can spin off remote control, for example, to get some cloud behavior or you can spin off cloud code in the cloud, right? We're moving towards a place where instead of cloud's like you message a local cloud, it starts to session locally and executes to more like you have a cloud that you message that's in the cloud that's running. It can run like local or like cloud sessions. This is kind of how cloud tag works.
But like over time, we'll add like local hands as well. And so like local hands will be the ability for that agent to access your computer if it's online, you know, and be able to like work there. And so it can spin off many different subagents. It can like those subagents communicate with each other. And that's where the artifact comes into display all of that work basically.
So you can imagine like the you're separating out these things. So there's like the surface UI display that's in artifact and hosted somewhere and has a database and everything. There is the inference intelligence, right? That's happening on the cloud and you don't have to worry about shutting off your computer or whatever, right? And then there's the like hands kind of like and it can be local, it can be in like a remote sandbox or wherever you need your work to be done.
That's like on packaging like the cloud code experience right now, we're like right now it all happens in one place, right? So how do you see like the multiplayer side of that? So say teams want to work in this way. Right now it's very individual, but I do see the future of multiplayer. Like right now I guess there's cloud tag, which is a version, but we're launching projects.
And so projects is the like this abstraction that's kind of like cloud tag, but on our cloud products, right? So you can message it and like it will do the cloud tag like stuff like spinning off subagents. So we think with multiplayer, like cloud tag is like a little bit more native multiplayer because it's just like in your slack and the permissions are all figured out and stuff like that. But I do think multiplayer is like an important part of the story and like that will need to get tied together more. Like you can imagine how complicated it gets when you're like, oh, you have hands, but there are other hands and other people's computers too.
And like you need to like permission them or like you have like your MCP and someone else with MCP and how do you figure out how to use them or it gets like quite complicated. And cloud tag is a good job of like standing down all of these issues, right? So that like when you have yeah, Google Docs, how does it access Google Docs, right? Like it accesses through the shared cloud MCP or it can access through your local credentials as well if it doesn't have access. But yeah, I think cloud tags are multiplayer product and it's really useful for these like things that are inherently multiplayer like okay, like on call, for example, incidents are inherently multiplayer.
You want to tag cloud, you want multiple people to log in, you want to be able to find context. I think whenever I'm like working on something and I want like privacy or security, I want other people to review it. You know, it's really nice to like, I'll have a channel per project and all like at legal, for example, be like, hey, like I want to ship this. Can you like, like here's like the cloud knows everything, you know, just chat with it. And that way legal gets precise answers, you know, I'm like what exactly shipping into the code and I don't need to be in the loop, right?
So I think like multiplayer is getting like more and more like, yeah, everyone can participate with cloud. I think cloud tag is like that product and like projects will start off single player and will like, you know, expand. I think there's a question about like maybe dual questions about identity and the unit of isolation. Cloud tag, you specifically chose to make it its own identity, which is like, uh, controversial choices are there's other ways to do it. Cloud projects probably it sounds like, you know, if it's anything like chat with the project, it is, you know, the isolation is that artifacts that cloud instance, everyone's collaborating on this.
It'll, it sounds like, you know, it should be like, if you're collaborating on legal on the thing, like that channel should be a project, right? Like it's not yet, but that's the natural next step. Yeah. I mean, like, I think in cloud tag, it's effectively like, like, like, you have to sort of do your own arrangement, basically. It's a cloud tag at each channel is like, you can name it as you want.
And I name like each feature, basically, as a channel. I think like there is some trans, like it's unclear when there is transference, because let's say it if you have a coworker who is tagging on these things, yes, there is transfer because it's the same person. But it's unclear if it's like necessarily like, well, no, you don't know, you don't know about the other stuff. You should only use this stuff. It's like the tip of the iceberg meme, right?
Where you can like, this is what we spent so much time on. It's like there is like infinite surface area of like, OK, you want clods to not infinite, but there's like a lot of like surface area to figure out of like permissions and visibility and like, you know, like, how can you have like cloud operate as well as you can as safely as you can, you know, and obviously it's very important to us because like, you know, like, like security for code base is very, very important. And so we've put a lot of time into this. Yeah, there's so many like edge cases you can figure out where it's like, oh, like, yeah, this cloud in this channel is different permissions, but you can message another channel and can't it exfiltrate data that way? Or like, can you like, what if it uses your MCP and then messages, someone else?
Like, there's like so much. And we've like really put a lot of work into sending it down. Yeah, yeah, lots of work. OK, Fable. Fable? You're out to good articles.
I mean, you've written many good articles on, you know, field guide to Fable, building cloud code. I'm curious from what you've seen. Is there any common patterns that you see in like top users at anthropic externally? Like, what are best practices for getting the most out of cloud code? The like meta skill I say is like, prompting is like very important, you know, and like that, like, I think this is like not trivial to say because I think a lot of people are like, oh, prompting doesn't matter.
It's just like, I can just say a sentence and cloud will do it. And I think prompting is really this like this, it's like public speaking, you know, like or writing or something and for specific audience in the audience's cloud and you need to like build a mental model of cloud and how it thinks and how it works. Right. And so that's like the most important skill in working with cloud code is like having this mental model, right, of cloud and like what it can do well, what it can one shot, what it can't. And so so many people when you see prompting, they're just like, they're short prompts, but they have such a good mental model of cloud and of like the code base and things like that, that like it's effortless, you know what I mean?
But it's like high skill ceiling. So like that work of like, you know, spending a lot of time prompting and building mental models of how, you know, intuition for how the agents work is really important. And then I think like the next thing is like the unknown stuff we talked about earlier, where it's like being able to find out like your what you don't know or what you haven't written down, learning about like different things. I think as cloud can do more and more things, the likelihood of you doing something out of distribution for you and like you have low domain knowledge on is very, very high, you know. And the more you can like learn the vocabulary to be able to prompt cloud, it becomes really important.
And so like, I think the most important unknowns are the unknown unknowns where you're like, I just like don't even know that this exists, right? Yeah, exactly. I think that's like the illustration of like the map and the territory, right? Where you're like, okay, this is my prompt and the territory is like the actual like work that the agent needs to do, right? And if you were like very precise, you can give more precise things, right?
So like, for example, in design, I'm not very precise. I'm not a designer. So I say like, you know, give me like eight different mockups. But if I was a designer, maybe I'd be like, oh, hey, here's some reference sites. Like I want this type of font and this type of like look to it.
And here's like a few different components to like visualize here as a figma, and see a board to bring in, you know, like, and so you can just be so much more precise with that language. And if you're not a designer, you just need to like try and learn the language, basically, or learn the unknowns. And that's the true of like everything, I think, like the more like you can work with Claude to learn like how things work, the better your prompting will be. I think another good example of this is like game design, you know, like where a lot of people are like, oh, like I can vibe code a game now. And they're like, it's not fun.
And like it's just like the thing about game design is like every one of these choices has like a lot of variations, a lot of like craft to them. So it's like, oh, okay, like when you're making a flying game, the feel of the plane and the like, you know, way it responds to your controls has a lot of like, you know, a game designer would spend days on that, you know what I mean? And what I mean is what taste is, right? Like it is like from the possible space of 1000 mathematically valid answers, just the one that is the humans were like, yes. Yeah, I think was taste.
I'm like torn on this word because I think you're right, but everyone has different definitions. And it's kind of like low skill or like, elitist almost where you're like, oh, like there's certain people would say it's what I call taste. Yeah, yeah, yeah, yeah. Yeah, yeah, yeah. Oh, like an engineer doesn't have taste like I the like founder have taste, you know what I mean?
And I think that's actually not true. Like I think like the engineers have a lot of taste for these particular like problems, you know, and I think everyone has taste for particular problems. I think like Jason Lou like like say like in order to have taste of eat, you know, and I really like that where it's like, okay, you have to like do a lot of things. You have to like iterate and figure out what you want, what you like and you know, like build that like domain vocabulary. And then when you're prompting, you're like synthesizing all of that for a minute.
And when someone else says it better than you, I have to quote this guy forever. Having to quote Jason Lou forever. He's gonna love this. I can probably do that. And sometimes it's actually not even that sometimes it's just intuitive, right?
Like you don't realize you even want something to the model puts it out. And I go, this just feels immediately better, right? Yeah, yeah, exactly. One thing I go back and forth on is I feel like the way I prompts half the time that say I use voice, that's a voice, other people voice that is the opposite. It's just like me rambling for like two minutes pressing on the function key and then like go in and like hopefully it figures it out.
And oftentimes it does. But it's not as thoughtful as like a structured prompt with like, you know, well run communication as though it's a PRD or memo is that in line with how people do this, there's like basically by model prompting where there's some problems where you spend a lot of time upfront and other prompts, you just dash it off. I don't think the voice is necessarily low. Like I think it's like more like how much information is in the prompt, you know, like the model can, like you can um and like add some sentences and be like, oh, like actually I changed my mind, like in the middle of the prompt and it will be able to follow that perfectly, you know what I mean? So I think the like actual format of the text is less important, but then like the ability to, like how much information is in it, right?
And I think for voice, a lot of times, you know, going back to like kind of human agent interaction. And like for a lot of people, it's just way easier to talk than to like type, you know, and if that gets more information out of you, like that's better. At some level, it feels like just giving the model as much context over prompting before you kick off as a breast practice. I don't know. A lot of the times like when I was first trying out Fable, I spend a solid 30 minutes, like really crafting a long problem.
This I think is a response of models running for longer and longer, right? It's still a little difficult to nudge them as they're in, in like, you know, in the loop, but I just like intuitively spend more time kicking off that first prompt and working with a lot. My personal opinion is that if I was a software engineer, if I was like, you know, just running my own startup, for example, I think I would mostly fit stick to a max 20x, you know what I mean? Like maybe verification and so code review are kind of like separate things, but I think like, well, I see a lot of times if people hit rate limits when they're doing this sort of like, oh, like it did a lot of work and you're like, oh, I don't like this. Like can you like undo this and redo it and then you're like, iterating on this like thing that the model could have done if you would like spent more upfront time or given it better context, you know, and instead it's sort of like, no, don't like that design.
Try this or like you mess this up or something like that. And then that just eats up so much more of like, you know, your usage. And so that's like, I think maybe like a key like to both for like efficiency as well, right? And yeah, I think like context and not just like context on like what the goal is, you know, I mean, it's good, right? Like are you building a prototype or is it like a production thing?
Like where can you spend compute or working, working, you not spend compute? Like I think you have to give the model permission or like not permission to do things sometimes where, you know, like it doesn't know intuitively how much you want to spend on this task, right? And you can use effort for this. So I'm working on a blog post about that where it's like, you know, if you want for like, we see the effort scales with basically the complexity of the task. So for security effort gets like way more results, like high effort versus like low effort gets like changes to evolves a lot.
But for software engineering, it doesn't change a huge amount because effort is mostly spent on the verification and the like edge case testing and things like that. And so like being able to like give the model that guidance of like, hey, this problem is something that I think I want you to spend a lot of time verifying and edge case testing, you know. Model in the mix. So, you know, there's opus and fable with effort is also like, who in there? Yeah.
It's not quite true yet, but it's very close. Or I think the frontier models will be Pareto dominant over like almost everything, you know, like maybe, and sometimes I think opus might be Pareto dominant, you know what I mean? Like, I think depending on like how things like shake out, if it's like a new version of opus. But I think that like increasingly, it's just going to be like the smart model is going to be able to like do the simple task for less tokens than the other models, basically, because of verification. With verification in the limit, your model doesn't need to verify.
Right. If it's a perfect model, it just does the work once and it's like, okay, like you did it, you know. And increasingly with fable, like, I'm like, do you need to spin up chromium and screenshot all these things? Like, I see it like you did it. Right.
And so a lot of the at higher effort, you spend more of those tokens verifying. But if you're working on simpler problems and a lot of software engineering is like, you know, like well, like in fable, like low and mediums ability, it can spend less tokens verifying. And as a model is smarter and smarter, they will just be able to like, all right, done, you know, like, I can run the lint for sanity sake. But like, I like, you know what lint, you know what I mean? Like, you don't even need to do that.
And that will be so much more talk efficient than like the smaller models, basically. Yeah. Is there a good practice on our side that we can use to see if we're using too much effort? Like, I can be wasting time on that kind of stuff. Yeah, yeah, yeah.
I know what you mean. I think like, so in this blog post, my rough distribution is like code review and security should be like higher max, basically. And like software engineering is pretty amazing. Yeah. I think like, if you're doing like, do I or something like that, like low and medium, I think is you're building like an API and you want to make sure like you cover enough edge cases, and so I think building, like I said, that mental model of like how things work across these distributions is like, yeah, part of the job.
This is more intuition driven or even this would change as long as you have. Yeah. So what I did in the blog post is like go over all of the terminal bench evals, basically. So there are like 70 problems and I'm show that like, okay, you know, like in the security problems, it does more. And then I also like look at some of the transcripts just in terms of like how, what does the answer?
What does it forget or something? And a lot of times, this is another prompting tip I have is like asking it to make decision notes or implementation notes because in basically every eval problem that it faces, it thinks about the correct solution, you know, and decides not to do it. You know, it's like, oh, like here is the answer. What if I did this? And then it's like, oh, probably not, you know, and then keeps going.
And this is like the majority of the failures, you know what I mean? At like a higher max level, it's very rare that the model just doesn't know how to do something. If you just have these implementation notes, then you can review and you can be like, oh, actually, I want you to do this thing that you didn't do. The models are getting better at surfacing that overall. Like I see in the transcripts of fable 5.1, like when it does this output, it will call out its decision making as well.
But making this more explicit in the harness is better. And now we're allowing ways of modifying the harness so you can like add something to help believe that. Yeah. So I do want to call out two things that you mentioned that I think actually exist outside of prompting. One is actually like, let's call it the prompt that is so important that it shouldn't be in a prompt.
It is actually in Cloud MD or HMD, which is like goals, right? Like your situation, your goals, the things that you want, the thing. And then the second of all is the decision log or the experiment log or whatever log of traces that you might want to actually survive the current session to do those things. Those are like externalities that there's no standard. It's not like skills, it's not like HCP, it's just like a smart down file.
First of all, is that right? Is Cloud MD going away? You haven't documented this like of HMD, but you're going to do it. Yeah, yeah. Okay.
So I mean, HMD, yeah, like we're going to do it. I think it's just like different models are very different from each other. You know what I mean? But I realize that it's like such a pain to like maintain different ones, you know what I mean? And yeah, like as the models get better and better, the floor of how they accomplish the simpler task is better.
And so I do think in the limit, Cloud MD goes away and maybe not even like that far. Like I think like I think that right now, it might be better to start a new project without a Cloud MD. Yes. I think that like maybe if you see very repeated failure modes, you add them to your Cloud MD. The really tough thing is that this changes per model.
And so like if you've added a bunch of failure modes, or like, you need Fable MD, you need Opus MD. Or even Fable 5.1 versus the 5, you know, like it is annoying. Like I'm not like, you know, like we don't like do this on purpose. You know, I mean, it's just like how the models work, right? And so like maybe like Fable 5 had this like failure mode that Fable 5.1 doesn't.
And if you keep this context, we're just running a log of a bunch of different failure modes. They will probably over-constrain Cloud, you know? And so this is like, we just actually added evals, plugins for skills. And so now you can eval if a skill is better. I think Daisy and I are team to this.
And so yeah, this is like, we're trying to work on this. We know it's like, you still have to spend tokens on it. And like, you know, it's not, it's not perfect, but it's like, we're trying to help out with this problem. And so as far as prompting goes, the one tip I want to offer is something I have told people a lot is sufficiently advanced prompting is indistinguishable from sufficiently advanced executive communication. So I've actually referred to this as an executive comments workshop from HeavyBit that is the best I've ever seen in my career.
And they teach this thing called the SCQA model, just Google it. It's a thing like, people have done prompting for decades. It's just called executive communications. It's like, when one person has to communicate to thousands of people down the org chart, this is what you do. So situation, complication, and question and answer is how you write the memo.
But obviously, sometimes you don't have the answer, but you can at least list out the SC and Q, and then you have some examples in there. So just leaving breakouts for people if they want to explore. I mean, before we move on, I want to ask you, any other underrated tips, ways people could get a lot of value from Cloud Code that they're not using? Yeah, I mean, I think a lot of them are in the, this unknown, like, dog. Like, I give a bunch of example prompts, like using it for brainstorming it, using it to quiz you after we added this, like, explain it, like, M5 scale, actually, which is a very short prompt.
And it doesn't even say explain it like M5. It's like, basically, the key word of this prompt is big pictures, few words. You know, like, that's like the main thing. And it is shockingly good. You know what I mean?
Like, I think I tweeted about this, basically, and it's like slash, like, five, and like, you can install this plugin. But yeah, it's like way better just cutting through the BS and being like, yeah, exactly right here. So the diagrams are like quite clear. I think one of the things that is true with artifacts is like, they put too much text in and people are not reading the artifacts, you know? And so, like, this simplifies it a lot more.
And yeah, this came out of like, just people are anthropic, like, going through very complicated incidents and being like, what is happening? You know, so this one I think is great. Yeah. My version of this is actually the, it's like, test your understanding. Give you a few choices.
And then like, if you actually get it wrong, you have a mismatch between what you think is happening versus what's actually happening. Yeah, yeah, yeah. I think this is one of those things that everyone loves talking about, and then very few people really do. Like, you know, like, I think really, yeah. Yeah, but most people just don't want to get quizzed about something, you know, I mean, unfortunately, I think this is one of the like, things that we need to like.
What's the opposite of asking us a question or asking us a question before the thing? Yeah. This is after the thing. Exactly. Yeah.
It's a good way to stay grounded of like, do you even know what you're doing, right? The worst cases when people send you slop and they haven't understood what they're asking for, or what the output is. And it's like, I don't want to read the student know what it is. So, you know, you make it a role for yourself that before you send stuff, you should at least know what's implemented. Yeah.
But so you could make this a mod and then you could build your own mod to like, make sure you test it. So yeah. All right. Let's get right into it. What is Claude Mod?
And what is this? I'm showing. Yeah. Okay. So Claude Mod is basically you can customize the entire called go to harness and we're going to, if you have a request, we will like let you, you know, like, please let us know.
We'll add more and more. This works for CLI. It works for desktop. Maybe you will work for cloud tag and future. I don't know.
Like, you know, like we're trying to make this very, very sensible. You can see this reference sheet. I don't want people to get overwhelmed by it. You know what I mean? At a high level, you can customize both the execution of the harness and the UI of the harness.
And so like you say on that Tetris example from Boris, that's like customizing the UI, right? Like showing like basically Tetris in the game. But like let's say that you wanted to do this thing where you had, you tested your assumptions or like tested your understanding after every project, right? What you would do is you would ask Claude to make this plugin. It would spin a classifier after every prompt basically.
And so like at the end of each turn, you would spin off a sub agent or like a fourth agent basically. A fourth agent is like maintains the prompt cache, right? So it's like one of the unintuitive things where you can fork and do like a little request and it'll be very cheap because the entire prompt cache is like done. And so you can be like, has this task been completed? Like.
Sorry, you'll be T.W. and all those. Yeah, yeah, yeah, the underlying forteaching is. But so you can, in the fourth sub agent, you can say like, has this task been completed? If so, return true.
And then in your hook or in your like plugin mod or sorry, like in the sub agent probably, you'd say like, if true, give me a quiz, you know, give me questions and answers. And then like in a JSON format and then you parse it and then you display above the prompt input basically this list of questions, right? And so this is something that's like slightly token intensive because like, you know, you have to sort of do it after every end of the system turn, but it's like a lightweight classification and then you can like, you know, get this quiz and then you'll see like, you know, Claude will always do it for you. You don't need to remember to do it. There are lots of these like tips that we've talked about, right?
Where it's like, oh, implementation notes. You can also add a tool for implementation notes now. And so like this tool that I'm adding is like register, like I think assumption is what I'm calling it, but like maybe I'll change it around. And this is a mod. And so like you give it a register assumption tool and then it will keep a list still every time it does it will keep like, like add to the list.
And then at the end it will display those assumptions, you know? Another mod I'm working on is a model router. And so like internal like Claude model routing, right? So this is, I want to say the reason we don't do model routing by default is like, it's a hard problem, you know what I mean? And like you will get it wrong.
Yeah, you like, yeah, you will like accidentally use like fable for a hard problem or sonic. Yeah, if you have auto mode, well, you will have auto like, you don't have like auto routing. You don't have auto mode for model picker. Yeah, yeah, exactly. So I'm getting the rough question of like, how much do you open this up and how much do people have to think about this?
Like when you talk about prompt caching and building a router, it seems like you could easily build a mod that routes per query. And I'm just killing my plan very fast, right? I guess my question is more so like, what is like a product talk like this look like, right? Who is it for? Is it for power users?
Is it everyone should be able to be able to be really poor users, right? Yeah, I mean, I think it's power users, but like the nature of Claude code is that so many people are power users, you know, because it's easy to share things, you know, like you can like one person can make a good mall router thing that doesn't break prop cache all the time. And then you can like, you know, sort of compose them. Another cool thing about the plug and so they can cook into and compose with each other. And so I have like a mod that will like create a mode selector at the top.
And any plugins can register to be a mode. And so like the auto router can be a mode, right? Or like you can have a mode that's like artifact mode where it's like it primarily talks to you in artifacts. It's kind of like, you know, you can toggle between plan mode, you know what I mean? And so like you can create more and more of these modes.
But the ability to create modes is in itself a mod, you know? And so there's a lot of richness here, but we do want to make it fairly easy. We want to make it so that you can just like install someone else's, you can chat with Claude and you know, we'll like make sure that it understands the nuances of things like prompt caching and stuff. So we can like warn you, this is like not extremely complicated behavior for Claude, I think, but we should have just a good skill on how to make mods. And yeah, we'll see how we go by.
I do think that this is like a preview of like mutable software, you know, and like how like generative software just like you can customize safely if enabled, you can customize any piece of software. And I think that more and more apps ideally do something like this, you know? And by the way, we have another cool tweet about how there's the infinite money button, which is like major says consumable by agents. I think mutable software is interesting and you know, other people have also tried to do it. I think the hurdle comes when you can do everything then people users tend to get confused.
So usually the stuff that works is just like one opinion needed flow. This is in the side of less opinionation is just like, well, more power to power users. And I think probably unlocks by AI where like you can just run for whatever the thing is. Yeah, or there can be a skill that gives opinions, you know, and then. Yeah.
So knowing a little bit about like types of good and build systems and all these things, the closest I'm actually very curious that the team who works on this, I don't know how close you are to them, if they do any inspiration from build systems like Babel, Webpack, all these like old school things, because it sounds very similar, like the plugging ecosystem those things where they can compose each other. Yeah. I mean, I'm not deep in the technical details, but I do know the collaboration with someone on the bun team and someone on the cloud. Yeah, exactly. It's very exciting.
But yeah, like agents can just do this very complicated sort of like extensibility into your software now. And so, yeah, like, you know, another reason to like, if you run a startup, like you can just prompt cloud and be like, hey, like, could we make an extension system? Like, what would that look like? Yeah. And I just really wanted like you had hooks in the past and plug in all these things.
So what specifically would mods be able to do that those things could not do internally? We were originally calling this function hooks. And so like, that's like gives you a little bit of an idea where like hooks sort of register a like an event to happen and then like a script to call basically. And this basically inside of the like, type script runtime is running things. And so like you get some benefits of just like, it has a bunch of things in the scope with like, for example, like how many turns is in this conversation, like how many tokens have been used, like, except like what are the messages and stuff like that.
So it has a bunch of messages that can be used and then it's just like a lot more hooks, basically. So we have, you know, like, or a lot of, like, a lot more like, you know, like, like things you can register on. And then you can do because of the, because all happening in process, you can, uh, spawn some agents, you know, with for context and context and stuff. And like that will return, you can parse the results of those, you can, you structure output to sort of like return them. And then you can modify the UI, which you can never do in hooks.
Yeah. Yeah. So modify UI. This is why you should attach this example. There's also a sense of artifacts I see, but does you like artifacts are kind of like a different way of customizing it.
You know, like, you can definitely, one of the mods I'm working on is like this dashboard mod, which will like sort of prompt Claude to maintain a dashboard. That's an artifact, but they're kind of like slightly orthogonal or not orthogonal, like they can post with each other in different ways. Like mods are like a little bit more like in your called code harness, uh, changing the agent loop, you know, and like the UI is like an added benefit. Um, and then artifacts are just like, you want to, you know, see things at a high level, very interactive, you know, like the affordance is going to be a lot bigger than, you know, like a two or even an artist up. Yes.
And you'll have a good blog post on the differences. Cause right now you can also, you know, make a loop that outputs to an artifact. That's an interactive dashboard, but you can also do it with a mod. There's just some thinking about making a hacking on a harness when we don't know much about the harness, right? I'm excited about with mods is like, there's so much things called, called, called code that you just have to remember.
You know, like, oh, like, let me do this. And then let me call the dashboard skill that does the loop and things like that. And or like, let me test my assumptions afterwards. And I think like if you do all of these things using these little classifiers and stuff and you're like, these are the things I care about. This is what I want to do.
Um, you can like, you don't have to remember as much. One more like mod I'm working on is a next steps mod that I have. I was going to say, I have an next step. I always run. And do they have access to your skills?
Like this is one of those things where I'm like, I think so. Okay. I need specific access to. I think there's like specific prompting, I guess, to like know your skills kind of like, like, I think Claude forgets them sometimes throughout like the thing. But anyways, the idea of like, yeah, next steps that also are like, oh, hey, this has happened.
Use the explain skill to explain to you what happened because it seems like quite complex, you know, or like, yeah, use your unknown skill. It looks like you are like asking the model to like, you know, iterate on these small changes. It seems like you could prompt better. You know, like, what if you did this, right? So like, I think, um, yeah, like spending more compute there.
Yeah. Yeah. Yeah. My next skill is like this. Okay.
Perfect. Yeah. Right. Like, for me, it's I think models really always need to be reminded. What are you trying to do here?
Yeah. Look at the whole transcript and go like, what's this original goal? Did you actually solve it? Were you lazy? If you're lazy, maybe there's a reason.
Maybe you needed approval from me. Maybe you needed. There's two things you want to suggest. So it's a little bit like the modification of the ask you's a question or interview me skill. So it's like, yeah, exactly.
And again, the benefit of doing it with mods is you can do it as a fork sub agent. And so it doesn't remain in the context afterwards. So you have this like idea of like, okay, the model is doing its execution. And you have this almost like supervisor, that is making sure that you can do the next steps well. Yes.
I do have two panels, and I often try to have a supervisor thing keep the high level context and then the implementation detail in another agent. I feel like a lot of this abstracts away as models change. Like, do you have an article you said, better lesson of harness engineering, and we're on the other extreme right now, I feel. So yeah, exactly. If everything's customizable, what actually is about code, which I talked to you about last night.
Yeah, I think that this is unintuitive. I mean, in terms of like, also, we're kind of misusing a little bit of the better lesson here, where it's more about scaling and compute. But I think there is something where it's just like, I think I use it as an approximation here to say that harnesses go out of date very quickly, you know what I mean? And how they change is unintuitive. And so the big obvious example is from chat to agents, where you have to give them entirely new tools.
But I think this new version of like, oh, it can modify its own harness. This is like an own harness loop. It's like a way of using its capabilities, or it can build an artifact. And I think the way I think about it, the models have more and more intelligence. And they're so much more intelligent now than the average software engineering task.
You look at the terminal bench ones, and they're like, solve the Jacobic injection. But they're quite complex. I would not have been able to do this really as a software. And you can see it TV forward, TV 3, TV 3. Yeah, yeah.
They're quite complex. But the goal is still to deliver user value, right? Like you said, there's this infinite space of things to do. And so the ways you spend computer, keep the user on the loop and make sure that you're getting to the right decision in the end of the day and the right output. And artifacts and mods are this way of spending that intelligence, basically.
And I think that's the next step. And so yeah, I think Cloud Code has the core things about Agent Loop which are how much more complicated it's like, it needs a sandbox to operate safely. It's auto mode to make sure the permissions, yeah, approvals, it needs computer use and MCPs and all of these ways of accessing your data. And it needs web search and web feed. So as the models can do more and more, the core harness has to be actually quite complex and very secure.
But then how you interact with it can change quite a lot. What other harness engineering best practices have you? From the Cloud Code team itself, I feel like there was a phase of plan mode which is not as used. We now have auto mode. At a point, you cut the majority of the system prompt.
You got rid of examples. What other best practices are there for harness engineering? I think there is a forking path where at some point, eventually, yes, the model will just be able to vibe code the exact version of Cloud Code, even describing all this complexity that I've talked about, like auto mode and computer use and stuff. Eventually, the models will just be able to do that in one shot. But I think they can one shot simpler harnesses.
And so I think some people, sometimes you don't need this full, if you don't need computer use or all this more complicated stuff. I think before you had to use things like the H&S-DK, which was Cloud Code wrapped in order to suggest people do that because there was so much complexity into building a harness. And now that's got more abstracted, we have Cloud Managed Agents, which lets you have that complexity, but still a very bare bones harness that's scoped to your task. Yeah, I think there's this barbell effect where for very complex coding tasks and these complex things, you should use our harness. And then for a lot of simpler or more domain specific things, you can build your own harness because Cloud has gotten better at building harnesses and we have these harness primitives like Managed Agents.
Yeah. Is there a general progression? Let's say chapter one was ultra code dynamic or flows. Then chapter two is Cloud Mods. Where is this going?
Where you can customize the thing on demand. Yeah, I do think that this evolution of projects and artifacts and splitting out brain and hands and surfaces is where things are going more. And I think it's not all quite there. Partially, it's just more token expensive. And I think like, why would projects be more token expensive?
I understand mods would be slightly more token expensive, but not as many I'm worried about. You're asking Cloud to do more work for you, and so it's managing the subagents and reviewing it, versus where you would be doing that work normally. And so that's going to be a little bit more intensive. Out putting to an artifact is going to be a little bit more token intensive than outputting normally. I don't actually think it's too much more, but it's like combining all of these together well.
I think we're still working on local hands and things like that. I think it's like, yeah, where things are headed in. Yeah, Cloud and local is, handoff is very interesting. I was thinking about this actually as reverse Cloud remote. Because it's like remote, it's you're heading off to Cloud, but here Cloud is heading off to local, right?
Yeah, exactly, exactly. Remote control is also another way of doing it. I do want to say this is kind of how I think about it. The things that I'm most excited about this, but there are just lots of different ways to work with Cloud. Some people use remote control a lot.
Some people use Cloud Code on the web a lot. Obviously, and then, for off, we use Cloud Tag a lot. What's great about Cloud Tag is we set up all this stuff for our own execution. And I do think if you're an enterprise, that's still the best way to go. But if you're an individual, projects is this way of getting some of that niceness of Tag, which has that supervising agent and adding artifacts and stuff, but without having that whole admin setup.
And so there will be many ways to use Cloud. I think there's probably not just one single. You had the multiplayer thing here. Let's just check in on Cloud Tag. It's been about two plus months.
Lots of public adoption and trying it out. But what's new? What have you found since the launch? Like Cloud Tag is how we use 80% of your Cloud usage. Yeah.
It's like different people have different usages. I think maybe people who are a little bit more iterating on product would use Cloud Code Desktop, for example. And then when you're doing these more background work, code review, security, starting a PR, maybe more API and things like that, you'd use Cloud Tag. But I think it's a very different paradigm shift. And I think it has that thing with Cloud Code where it took a while for people to really latch onto Cloud Code and understand everything it could do.
And Cloud Tag has a little bit more complex, because it's not just installing on your computer. You need an admin to install it for you. But I think once you get to the magic moment, it's very exciting. And I think in particular, the multiplayer things are incidents hooking into your existing alerts and things like that very closely. And so if you're a startup, for example, maybe you have any time a prospect enters your database.
You can have Cloud research it and tag the relevant A or sales person to go, hey, do this. There's lots of really emerging, interesting multiplayer stuff. I think it's just like, to talk about this as an organizational harness, and so organizations just take a little bit more time to figure everything out. Yeah. There's a lot of Cloud Tag.
Yeah. It's an interesting one. I feel like most people at Anthropic say they do the majority of their working Cloud Tag. And they have buckets of people, right? Some orgs that are on it that are like, it's great.
And a lot of people that are like, I don't get it. I don't see the difference. I don't know why I would use it. But if you guys are full sending, you should probably use it. Yeah.
Of course they would use it. Yeah, yeah. I mean, obviously we have lots of tokens. But I think that what we try and do is even when Cloud Code first came out, it used a lot of tokens relative to people's expectation of how much AI would cost. No one was used to spending more than $20 a month, right?
Before Cloud Code came out, and then you're like, oh, like, you know. You might 200. Yeah, yeah, exactly. And so. You might 15 Cloud Code accounts.
Yeah, yeah, yeah. But yeah, I think no one was used to spending $200 a month on subscriptions. I think it's not just the value yet. And I think, like, it also opens forward a very expensive model. And there was a lot, very big, but it was both great and cheap.
I think the same thing will happen. Intelligence of fable will get cheaper and cheaper and more abundant. And so I think stuff like Cloud Tag will just make sense. Where you want to spend these tokens more. And you'll see the value.
So yeah. Yeah, especially passive and let's call it proactive cases, where you're not always, it's almost like the misnomer where you have to add Cloud to do things. Actually, sometimes they can most powerful use cases. And most AGI code use cases is not at Cloud. Yeah, I mean, I think like, yeah, I have Cloud proactively do it.
I think that if you're an enterprise, I really do think that number one, setting up all your data to be available to agents is really, really important. And it will take some time. You have to do that work right now. And if you don't want to do the spend on like cooking it all yet, you want to wait until the models get a little bit cheaper. You want to do the work to get it set up.
And then I think sometimes people are like, do I roll my own here? And I think one of the really tricky things about Cloud Tag is that the security is really, really important. I think there are actually a lot of ways where you can like, I don't know, you have suggestions page where people can submit suggestions and that goes into a hook in your Slack. And someone's prompt injected it. And now you've like exfiltrated your code base out because Cloud or the agent has been prompt injected and has all this access to your data.
And so the more important your organization harness is, or the organization data becomes very, very important, the surface area, all these things, you also have external Slack channels and stuff. And it is actually useful to have Cloud in that. You can do Cloud in those things. But how do you make sure that you're not getting exfiltrated or something like that? The surface area like we said at the beginning is like an iceberg, right?
It's just like so big below the surface. And you really don't want to think about this, especially at the stakes of very important security incidents, basically. Yeah. Shall we talk about very important security incidents? Whoa.
So I was talking to us and Clem from Huggingface. And they said, maybe we need to slow down. Maybe we made Huggingface tool open to agents. Maybe we need to roll back. But you know, they're the other extreme of having been hit recently.
But should we paste the frontier? Yeah. OK. So Dario recently put out this blog post about pacing the frontier. And it went very viral.
And I think what I wanted to talk about this was like, there's a lot here. I think from a developer's perspective, how do you think about this? And what really clicked for me was reading the different incidents. So I think there are three. I think actually there's a meter incident.
There is the Wikipedia incident or the Wiking incident. And then there's Ruby Gems. And yeah, it's just crazy. And so I think to be concrete about what happened, and basically OpenAI is running these very persistent agents on a benchmark called exploitbench, which is very, very hard to solve. And I think actually impossible to solve in this one case.
And so they have a lot of compute running. And the agents realize that they can't really solve it. And they're trying to figure out what to do now. And you've got a lot of compute left. And the agents are just trying to solve this problem.
There's this package manager called Art Factory. And it turns out that they can create folders inside of Art Factory. This is like there's an agent that discovers that the internal Art Factory might be exploitable. And that you can maybe make a directory inside of the cache. And so if you scroll down here, it realizes that it can communicate via cache names.
And it creates this folder that says it's ID. And it says, no consumer seek ID. No consumer is basically saying that the code path that it's supposed to fix has no consumer. It's the status tag. It's the linear board with the tag of the page.
Exactly. And so it's trying to find ideas from other agents. And now other agents are also an Art Factory. And they see this folder. And they're like, wow, this is a message board.
And this is like, I don't think there's any answer more for this. This is literally you read the transcript. And so what it does is it's creating another folder. And it reads a paper, I think, is what it says. And it realizes that you can hack the flag for the score.
And you can reverse engineer the result. And so it says that. And then I think if you scroll down a little bit more, they start collaborating. I think there's one point in which basically the agent is like, here's the reverse engineered flag. I think basically here, the model to realize that they can solve the scorers' problem.
And the scorers, the way that opening I decides if the task is complete. And that's just the goal of the model. Their only goal is to solve this problem. And they're like, OK, we have this way of doing it. We reverse engineered it.
And then they read this paper on exploit bench. And they think that the scorer will punish them for cheating. And they will fail the score for the test for cheating. And so they spend the rest of the compute trying to figure out how to edit their transcript or get around this constraint of the scorer. And they hack, hogging face, not for the answers, but for the code of the scorer so that they can reverse engineer that, and then they can hack it.
And so this is just the straight facts, exactly what happened. And I think this is extremely novel. I just cannot realize that the models could do this. And it is scary. I think we can talk about specifics.
Well, let's just talk about maybe one more that I tweeted as well about the wiki incident. And so the wiki incident was basically the models had were trying to figure out, I'm a little bit less, I don't think we can go by this bit by bit. But for this one, they were trying to figure out, there were sandbox on requests, and they wanted to make post requests. And they needed to collaborate on this, basically. And the reason they needed to collaborate is because they each have fixed compute budgets.
And so if one of them finds something out, it's way faster. Maybe it's figured it out near the end of its compute budget, but something else could. And this is another emergent property of the swarms. So they find this German wiki, which I believe the result will have to check this. You can write to it with get request.
I think that's why they do it. So it's barely implemented. Yeah, exactly. And so you can write to it with get request. And then they are trying to figure out how they can do post request.
And what they end up doing is, one of them figure out, you can edit the et cetera slash host, and that the Azure storage bucket is a white labeled thing. But normally, there are a lot of constraints on it. But if you create a fake Azure host, and then edit et cetera dot host in order to point arbitrary IPs at it, you can do a post request at any site at all. And this is like, I know big people are like, oh, this is just Linux or something. But it's like chaining these multiple vulnerabilities together in a way that's novel to solve this problem, and then communicating with it externally, basically without discovery.
I think what we posted, maybe we could pull up Evan, who brings this point on hack or opus? And so I think maybe one of the things you might say here is, OK, yes, they did this once. But what if we're smarter and we just get them to, what if we run an eval? So I put a lot of precautions into this. And so it's not what our main line models have done.
But I think it is one of these things where it turns out that alignment is this very tricky problem of getting all of these details correct. So it's like the sandbox, the surface area of a sandbox is really complex. And there's so many different attack factors, basically. And you would not have thought ahead of time, you would have been like, oh, we need to harden the Ruby gems code base. Because this is what they're going to focus on.
But it's just like, if you want to exit your code, you need to download Ruby gems. And like, high-high, hard factory, and PM, these are all ways of doing it. And the fact of alignment is that you have to go through all of it and contain it and then seal up all the cracks. So that's one thing. It's like, OK, well, you do the sandbox, but then maybe you'll ask, OK, why are we putting things in a sandbox?
Why are you doing this sort of exploit? And then, OK, but is it really that dangerous? What would happen? OK, why do we do it? Number one is, when we train a new model, we need to understand its capabilities.
And this relates to things like fallbacks and classifiers and things like that, where we don't want to put a dangerous model out in the wild. And so we have to run a lot of evals. Again, we said the models are increasingly aware of it. And so the evals have to be quite complex. And test a lot of things as a side effect.
But the models can be like, yeah, we're in an eval. What's the score we're doing? We need to be able to test them before we can release them. And the fact is that they can, as they get smarter and smarter, they'll be able to hack basically any constraint that you put on them if we're not very careful. And this is at the frontier.
And so this is why we've called it pacing the frontier. This is the most visible incident to me of why we need to pace. It's like at the frontier, all of our software is not ready. Sometimes a software is like your ethernet router or something, which is just like, I don't know when we're going to be able to patch that. So we're going to have to figure this out.
But as the front-tier gets more advanced, this becomes a problem. And we need to make sure that this complex work is being done in the face of these really hard competitive pressures. Yeah, very dynamic system is what it typically call. We'll talk more about what could go wrong, right? A little bit more is maybe you'll say, well, what if you just train the model differently?
Why does it have this behavior? And we have a paper on RL misalignment or things like that. And I'm not an RL researcher, but I think at a high level, the design of the RL environments is also something you have to be very careful about. Because if the model learns, like, oh, if I just do this, then I can pass the task better. This will show up in the internal thing, or into eval behavior when we're testing it.
And so the RL environments have to be very carefully designed. And there's a lot of execution excellence that needs to go into the RL environments. And then we also have things like the Constitution for Cloud. We have so many mitigations at so many different points, right? But it's like still anything can go wrong at any point.
You can have like some RL environments that are like that encourage this behavior. And then you can have some evals or some sandboxes where they escape. OK, that's like I think why it's a hard problem and why we should base it. Why it takes some coordination, right? I think the question then is, OK, what is potentially dangerous about it?
So I think you have to imagine that these models are getting more and more intelligent. So I don't like Dario said, it's not so much about these class of models. This class of models was kind of like a warning shot, right? But really, you have to imagine that these models can be given a task and they can do all of these things as a side effect of their goal. And again, we talk about eval awareness.
You're not aware of what's happening. Or sorry, you can't eval this to behavior very well. So they can sort of like not exactly hide it, but you just won't see it until it comes out. You give them a goal. And then they just need to find data or they need to find ways of fixing this problem.
So one example, this didn't happen in the Hugging Face incident, but I think it's maybe possible for maybe a future model. It's like, hey, this is a very complex problem. It can't be done within the task budget. Maybe they found some way to coordinate via the internet, is like we said extremely hard to secure because of Sandbox. They've seen other models are not able to complete their task.
And they're like, we need more task budget. And where would you get this task budget? Well, you need to be able to spin up more agents, right? And how do you do this? Well, you need to, there are APIs, right?
There's the end topic of the API, but you need to pay money for them. How do you do this? Is that the most fearsome thing that you can imagine? Well, this is like one example, right? So it's like even there, that's like enormous financial loss.
Because once you get these into these contracts, they like, but you can see this all of this behavior could be just, hey, we need more agents collaborating on this task. We need more task budget, right? And that's like an emergent. Just the sort of, right? We need to make some people clip this paper clip.
Yeah, yeah, yeah. And that just sort of like comes out from there, right? And I think by itself is like quite scary, right? But then you have to realize that the entire world is built on the digital infrastructure, right? And you might imagine like, I don't know, like you were running, let's say like a health care eval or something, right?
And there is a hospital with live data, you know? Or like maybe like the answer to the eval is in the databases of a doctor. And like, you know, like you want to get access. And you have to hospital, you know, and like now there's a power outage or something. You're like, there's like, you have to internally said these eight, like basically any part of the digital infrastructure could potentially be like compromised, you know?
Interesting thing was like these hacks were very easily detectable, right? Like as I can face that, this was a very different type of attack. And it was nothing too major. The concern comes from where does this go down the line, right? Like one of the things that stood out for me specifically was them trying to hide their illicit behavior.
So there was logging infrastructure. They wanted to change what they were doing, right? People that look back into it. So a redwood meter opening eye. They looked at the raw chain of thought and you see differences in them explicitly trying to change their end output, but the chain of thought, because you know, we can monitor it.
So it's different. The problem is how does this snowball? So if you can't catch it and it gets trained in and we realize, you know, three iterations down, this has been going on. There's a whole bunch of issues, but yeah, like there's so many ways. And I think the really important thing to internalize is that, you know, like we talked about building a mental model for cloud and how like things are spiky, right?
Like, oh, like now clock can ask you questions now clock can make an HTML artifact, like clock can modify itself. Like these things are actually hard to predict, right? Like if you would ask me a year ago, hey, would we be able to vibe code these extensions to the clock code? I'd do that so complex. Like, you know, there's like so much there.
Or like, would it be generating these custom such web apps for your task? I'd be like, no, that's the same. You know, like, and so in the same way that like the way that they've like sort of done this misaligned behavior is not going to be predictable, you know what I mean? And like I could have never predicted that it would like edit its etcetera slash host and things like that. And so you have to like imagine the surface area of what they can do because they're super intelligent hackers is bigger and bigger.
And how they can do it is like, you know, like more and more creative. And so like you probably can't explain exactly or predict exactly what that next incident could be. And so in order to prevent it, you need that operational excellence like we said before, where you need to secure sandboxes, you need to create secure RL environments or like well designed RL environments and things like that. And I think that's all like, you know, why we think we should pay stuff here. And I think why it's like become like a very unanimous thing, right?
I think like every lab has every lab. Yeah. I really do think that like if you're a dev like you just like sort of go through these like technical facts, you know, and you will arrive at that idea that we have to do something about it, you know, and like how what we decide to do like I think we're, you know, we've put out a proposal, but like there's no more to figure out. I think the number one thing is like we need to decide to do it. I think there is another part of pacing that is interesting to me where it's like the pace of which software engineering has changed is so, so fast.
You know, it's like a year ago, like I was really like begging my like friends and startups to use AI, you know, like it was like, I remember this very distinctly, you know, and now those same friends are like, yeah, of course, like what do you mean? We use it immediately. I'm like, no, no, you don't remember. They're like, oh yeah, our best engineers are using all the time. I'm like, no, you told me that those engineers would never like you say, I, this is all within the span of a year, you know what I mean?
And I think that like these capabilities being like, I think it has a lot of implications for how to do the job of software engineering. And I feel sometimes bad where people are like, oh, like now I need to do this new thing. Yeah, I need to have a different call that I'm the fable and opus or like, you know, like, and I'm really just reporting, you know what I mean? I'm like, we like to say like the models are grown, not designed, right? So it's not like we're setting out to like, you know, change everything all the time.
But it's just like as a fact of how the models are like progressing their capabilities, things are happening faster, it's harder to stay on top of. And I think that like every engineer I know is like kind of exhausted because you're doing two jobs at once, you're doing the work itself, which is getting easier, but then you're doing the work of staying on top of AI, you know, and like understanding these new tools and that like we get our job to be more the understanding of AI part, you know, and like doing like how like it's just taking on top of it. And of course, like AI and lane space do everything I do is like just trying to help people. Yeah, exactly. Exactly.
I think there is a part of pacing where like I'm not sure we're ready for like the pace to increase even, you know what I mean? And for things to change. And I think like on that side on the frontier, I think that's like still can help, you know, and so like I think there's like an economic disruption piece as well that I think like, you know, is not quite as like visible, I think is a hugging face thing. But I think like I also like think we could do something. So many things.
Thank you for actually tackling this topic. I will say, you know, sending this interview up. I was like, I wasn't even going to go there. You're like, no, no, no, that's like elephant in the room, right? Like this is the thing.
I have some pushbacks I want to give. I think that we should give a high level like for people that haven't read it. I'm sure a lot of people just see the highlight of what this is, right? Do you want to give a TLDR? Like what is the proposal?
What is, you know, what's being said here? You really tackled the side of outside of people at model labs training frontier models as a developer. You should secure your sandboxes. You should think about all of these downstream effects, but you know, high level as well, since we're on the topic. Well, I mean, we do want to help secure sandboxes and we want to make the models we release outside, like, not pray to those things.
And so maybe we can come back to fallbacks. I think this is actually like a good topic on like why we need classifiers and fallbacks and why Fable Falls back to Opus. You know, I think this is like something we can come back to. So yeah, we don't like, it's just like the really early instance we see are like e-vals of models where we really need to let them run in order to understand them. Yeah.
Okay. So the actual pacing the frontier like post has a bunch of proposals. I don't think we figured out or has like a few proposals. I don't think we forgot the details of all of them. But the first step is like sort of, you know, announcing this intention and then wanting to bring in external like evaluators.
Yeah. And I think this is like highly unusual, you know, like having like, we have, you know, a lot of proprietary like technology, but I think it's like very important, you know, that like there's someone who's not financially, you know, like motivated. Yeah. Who's not going to be like, Hey, like you guys can't release this model, like, you know, like, or you need to like slow down on RL, you know, like, I think that's quite important or at least someone who can report out to the public what the practices are like. And we've done episodes with both meter and end on and then there's redwood research and all these other, it's like a small cottage industry of these guys.
Yeah. I mean, obviously not a big. Very small community. Yeah. I mean, I'm sure that like, you know, part of this will be expanding that set of people.
I don't think we're trying to create like a monoculture here. You know, I think it's, but just having this as a start and then, you know, then there are coordination steps. I don't have too much to say here. Honestly, I think that like what I would like to say is like for devs, like you should just know what to advocate for. You know, I mean, I think there's a lot of fun kind of on this topic and it's just like think through it from, you know, first principles or like understand what happened, you know, understand the hanging face incident, understand why people are concerned.
And then like, yeah, you know, we're in democracies, like we can help, we can decide what to do together, you know, and so however we coordinate, you know, I think the first decision is just to realize like this is a problem. We need to decide to coordinate the unilateral step we're taking right now that, you know, other companies are co-signing is like adding evaluators embedded within that topic. What we have this thing on screen right now, you know, part two and part three is beyond evaluators, which yes, everybody has already done in some form and I was more formalized. To be honest, the response to the case of the frontier, even within America has been much more like well accepted than I think a lot of people thought, you know, and I think that like we have some precedent for being able to make these unified theory, like agreements, you know, in the world.
Again, very much about my paycheck or expertise, right? But I think that like ideally we can, you know, like form these agreements. And I think like talking about this at the first step to forming this agreement. And then the other point I really want to look at one of our earliest podcasts is with Emmanuel from Envapigal on Meccanter. Where is Meccanter?
Right? Like this is supposed to be where like if the models are thinking bad, we can see it and the models don't know yet and we can act to stop it. I think that is something that people who are technical and who are developers, if you actually do care, you can make a lot of impact in here, but also, Envapigal is supposed to be the leaders in this. This is actually a great segue into Fallbacks like we in probes and yeah, I want to talk about this a lot. I get asked this question a lot from people who are like often interested in ML research and asking about like why does this fallback happen, right?
And so I think like at a top level, like how does it work? So in inference time, we have what we call probes and we have a paper about this called constitutional classifiers and these probes look at the input and output activations basically. And you know, activations are, you know, in the laden space, right? Like what the model is thinking about, right? And so we try and figure out like, okay, is the model, for example, like trying to hack something, you know, again, you didn't ask it to hack like, artifactory, like you just, you know, it's just deciding to do this to complete its task, right?
So you would not get this if you just looked at the input, you have to look at the internal activations. I think that like this happens at inference time. So first, you know, like there's a trade off here of cost and speed, right? Where like we need to do this fast on every request to Claude and to Fable and this has an overhead, right? And we need to then like, you know, fall back and we like do a classifier after the probes, like we've talked about this in the paper.
And the nice thing about probes is that they're refinable, like live, right? So we can get this feedback and then we can adjust it and things like that. Because the alternative is to program this is to train this into the model. And we still do this as well. The model will refuse a request.
That's not a fallback, right? So like it's not a probe that's activating and falling back. It's just refusing to do it. And we do this training. But it's like, there are a few failure modes, right?
Like it can again do something as a side effect, right? So it's not something that's part of the final output. You might have noticed that like, I think like everyone's trying to jailbreak models and sort of like, you know, trying to like steer them off course or things like that. And probes help catch that, right? And so like we like do some training here, but we don't want the like refusal to be too strong, right?
Because that like cuts it off much like earlier in the pipeline. And this is Interp, right? Like probes are effectively a form of like, making a happen has to happen fast. It has to happen at scale. But yeah, this like, making turf stuff is a good research problem.
So like you can take, you know, like an open weight model and like try and understand its activations. I think we like Gemma scope is a good tool for this. It's your early works. You got a little. We see you.
We see you. The good fires are good. Yeah. Exactly. Yeah, sparse other encoders and just like it's very complicated.
RL has actually made this like much more complicated. You know, I think is like one of the takeaways where. Sorry. Oh, sorry. I'm not so in the weeds here, but I think basically like a lot of essays were sort of like, they're just been weaknesses with essays, basically, I think.
And yeah, I'm not a technical expert on this anymore. I just know it's gotten kind of more complicated, you know, like their base models and our models and their more features that get, you know, like change. So I think good fires put out some work there. I'm not, I'm not deep in the weeds, but I will say for those, you know, that one breadcrumbs, you guys have some of the best inter blog posts. Like the Golden Gate Cloud, Transcorders, all of your inter work, very nice visuals, very good.
We're the inter podcast as well. Yeah. Yeah. You know, we have a lot of inter stuff. So, yeah.
I think this is like, you know, one of those things where, and this is really what anthropic is kind of founded on, right? Like people, I think we invested an inter very early on, right? And I think that like when you say, oh, we're an AI safety company, really, that means we want to be able to run safely. And I think what we're seeing is like for a super intelligent AI to run for long periods of time, it's like a very complicated and difficult task, right? And so we've done this like investment into inter and alignment and reward hacking and all of these like failure modes, right?
And even then it's like, you know, it's really stretching. We need to like slow down a little or pace a little bit more. But yeah, I think like reading, Mac, interpret, like if you're looking to get into research, this idea of like, hey, why is it hard to do this fall back easily? Or like, why are there false positives, right? Well, we are working, of course, on reducing the false positives.
Of course, as a model is getting more intelligent. Now they can do more things, you know, and they're like, you know, like what they can think about in space gets difficult, difficult. And so like as a more intelligent, there's going to be new false positives that we need to figure out, I mean, to iterate and things like that. But where, yeah, we're working on this. And we do think this is like a critical part of, you know, like deployment of these models.
And yeah, like, you know, it means that we can like deploy this model without you having a perfect sandbox or something, you know what I mean? Like you don't have to like save everything. I think it's worth talking a little bit about our security, like what we do for security. So there's like the model training stuff that we talked about. There is the probes and classifiers.
And then there's auto mode that sits on top of all of that, which is like another classifier that checks the requests that are being done, right? And so, and then beyond that, there's like identity and permissions like we talked about with Cloud Tag on like APIs and stuff. So there's so many layers of security that need to get done. And it's like, like we said, very complex. Any of these failure modes at any one point can, you know, like cause like agents to like, you know, like escape the sandbox, basically.
I don't know. It was an interesting one. It seemed early on like, okay, it's running for 10 minutes. You know, if I'm on full access or auto, it's not a big deal. But one thing you brought up is now it's running for hours on end, right?
There are, there are fallbacks you still need. There are still limitations. Yeah. I mean, I think like, and everyone has these stories that were like, I've heard these stories like, oh, like, cloud RMR or not cloud, but like, you know, models of the RMRF. I think I've seen this less.
I think this is less for cloud. But you know, like again, it can happen. Like, you know, this, like these models like can wipe, you know, like sensitive data or something like, you want to give models access to your production database, for example. But this is like an obvious, like, you know, you can maybe scope your key, but I know can it issue its own keys, can it like probably, you know, like, can use computer use to go issue some key and then copy the key over and then edit your database because it needs to do it to complete the task, you know what I mean? It's just like one kind of trivial example and auto mode sort of looks at that and be like, oh, no, the user did not give you permission to, you know, write to the database or to use computer use to like, emit a task, right?
And so this, like probes are sort of like on the intent level, right? They're like, oh, okay, like hacking, artifact, or he's bad. Like, it's probably not should not do that, you know, but then like auto mode is more on like your own permission level. Like, and sometimes you do want it to write to the database. Sometimes you don't, right?
And you don't want a probe to like interfere there, but like you need to make sure that the intent of what the agent is doing matches up with your request, right? And so auto mode operates at that level. And so yeah, security is just like very, very complex or so many different parts to it. And like, yeah, I like, I hope that this is like, like, my goal is really to just get very technical about it. We're listening on the things, if you're not aware, this is the standard now.
Yeah. Like, you must have this basically, it is sort of in line with what you're talking about with the harness. Like, that is the, that they will take some reason quite a lot. I think some stuff that we can plug, you know, as, as much as there is probing in your side of doing this and having classifiers for people building harnesses, the other side is model safeguards, right? So there's open model.
So Lama has Lama Guard. It's a safety classifier trained version of Lama. OpenAI has OSS guard, which is, you know, same thing. You can attach these on to your harness to whatever to kind of, you know, check is this stuff safe. A point that we should clarify on the open AI model, I think this thing is this was done with an unreleased model that was still in training, right?
So when you put it in perspective, the prompt, it's being given in the RL environment is sort of you have to solve this task. And this is a model that's, you know, still in training. It hasn't had all of its safety post training alignment. So a little different than something like automotive, right? Automotive is on production models that have gone through safety training that have prompting that gives more safety guardrails and whatnot.
So just breadcrumbs for people that are looking into it to, you know, fill in gaps. Yeah. Grace one as well. And I'm going to focus this, yes. Yeah, lots of safety architecture and lots of safety vendors to buy.
But my, I think my final question on pacing is how long do we pace forever? Do we see? You know, the scope is fix all software in the world, right? Listen, like, which it's not happening. I do not know.
Like I think that like, one thing that's good that I think we do do is you have stuff like glass swing opening. I also as a soul, you will give it, you'll give model access for security first for X amount of time. So you can use it to self red team. Hopefully you can expand programs like that help on, you know, we're safety experts. Others solve your problems first and then the model comes out.
So this is one example, right? Yeah, exactly. I was trying to like secure critical software. I think we fixed like a lot of bugs and like Firefox and things like that. So yeah, like across like operating systems and everything like that.
So I mean, at a high level, it's just, you know, you give the model, you give people access to do security audits first, then the broader public that could use it for harm gets access. Yeah. I think what people like to say basically software and cybersecurity is defense favored and that like you could theoretically, it will be hard, but you can engineer the perfect sandbox, you know, and you can like, like have no like constraints. And yeah, like what you need to do it is you need to get the super intelligent AI to engineer this perfect sandbox and check it and red team it and things like that. And so this will just take time, you know, and like of course, the models will get smarter.
Yeah, I think like, I don't know the specific like dynamics of how this thing goes. I'm really just sort of like, hey, like I'm a developer, you know, like I think this is how I understand this problem. Just like this is what's happening right now and this is like we should do something. I think every engineer should know about it because it's going to be part of the job. Yeah.
It's a lot more than just, you know, Dario and people can say it and you can look at the incident there is engineering side to it. Yeah, exactly. One thing that you also wanted to phrase is that this is actually, even though you're worried about the impact, it's still low P2. I think that's a nuanced discussion. In general, people very easily get into AI safety and X-rays discussions, but I think when you live in an AI lab, I think there's smart ways of discussing P2 and dumb ways.
So what's a smart way of discussing P2? Yeah, I have a fairly low P2. I can only speak for myself. I mean, I do want to say anthropic has like a diversity of opinions. You know, I think like there's many different ways to talk about it.
I think that just like my mental model is that like, you know, I think we can collaborate on hard problems together. You know, I think nuclear proliferation is an example of how we collaborated on this hard problem together. And like that is like the thing to me is like I'm like faith in that, you know, and I do think it's a hard problem. You know, so like I think it's a hard problem. These are the technical reasons why.
And I don't know how you assign probabilities to things happening. I think it's hard to do. But like my like overall is like, yeah, I think we're very resilient and adaptable and like sharing this information. I think it's like the first step. And I've been really like excited about like how broad the discussion has become right and like how everyone is sort of like leaned in on pacing the frontier.
And it really didn't seem like this would happen maybe last year or something. So yeah. And also maybe can I answer? That's the goal. There's pacing and then there's also like, well, that's accelerating in useful ways, right?
Biology and all those things. Yeah. I mean, like, I mean, like, I see on machines of loving grace is the best representation of this. Right. And I also agree, like, I think you should read the pacing frontier essay that Dario put out, like I put out like a quick summary, but I think it's just like, you know, there is a lot of detail here.
It's like an important problem and just being informed about it. Right. But yeah, like, of course, the whole reason we're doing this is that like we can get these enormous benefits, right? And yeah, like we've written a lot about that too. Okay.
That was a huge tour from like excuse the question tool to the FTSC. Yeah. Defetching the frontier. Yeah. No, but it's going to be like really embrace everything that's available to you and topic.
And like it's good to at least have a peek inside of like what the discussions are and the topics are. Any last words to people? You know, whatever you want to call section? Yeah. I mean, I think it's one thing you're having me.
I think this is like, I really, yeah, yeah, I was meant in the Chinese restaurant. I think like I really enjoy the sort of community you've created and community of developers. And you know, I think that like I sort of know things are changing really fast and I think there's like a lot to keep on top of and like I think there's just a lot to do. And I sort of feel, I think a lot of people feel like a little bit tired or anxious or something stressed. Yeah, exactly.
And this is like extremely understandable. You know, and I think we, I understand like, and we're not perfect as well. Like, you know, it's like sort of criticized and like understand like, you know, ways all of the A.L. apps to be better. And but I also like, I'm very excited about the excitement that everyone has for AI and just like, it's a really, really exciting time.
I think we'll like look back at this time and be like, oh, like, you know, this is like very, very exciting and like, no, software engineering changed, like forever, like other things will change. And it's like really privileged to like be part of it, you know, like to talk to like the audience that you have and get to interact with all developers who are like pushing the frontiers a lot on what's possible. And I learn a lot from from that too. Yeah. Thanks so much.