Latest / The Forward Slash Podcast / /agent guardrails: you can't blame the bot
Transcript
- James Carman: I think it's going to down in the enterprise, at least when it comes to agents is like, and I talked about this in my article about, know, ⁓ we've got to basically the outcomes are scripted. They're codified. They're known like the outlets of this agent to of things that you can do the leaves, if you will, in that tree. Those are scripted. We know what those are. Furthermore, you need delegated authority. Like those things have to have the right permissions on them. If you're doing it on behalf of me, I don't have the permission to delete the prod database. So even if you are doing something for me and that tool's out there, it ain't gonna let you do it, because you're showing up with my jot, right? So I think that's something that we're missing is that delegated authority. John Willis: There you go. That's right, yeah. Yeah, I I, I spent a lot of time on this too. I think there's two things. One is there's certain people are trying to solve this through sort of deterministic invocation of agent, right? Like let's pile everything up. again, once inference is part of the agent's decision processing, you're going to find these things that are edge cases that humans can't see that the power of the inference can. The other one that I think is where I think is really interesting is how do you build containment? In other words, is there, there sort of mechanisms that you can say, even if the inference makes a decision, do something weird, like, you know, like I think maybe WASM is a little too far too nascent to be generally, but things like that, or there are certain, um, you know, operating systems sort of. kernel level controls where maybe it can only run this task or even something like EBPF. Again, I'm not saying this is solved by any means, but I do think we need to rethink if we're going to autonomous agents in regulatory control, we not just think about not just atomic nature of the agent, but atomic nature of the containment vehicle itself. So those are where I think we can actually get to a place where we might be able to run some semblance. of autonomous agents in regular. And by the way, if you haven't gone deep on any of this, do not pass go, you know. James Carman: Yeah, yeah, you definitely I like that that phrase containment that's kind of what I was talking about is like that the outcomes are scripted you you only have Yeah John Willis: Yeah. Yeah. You talk about a control plane. That's why that whole article resonated very well with me because you were hitting on all the things that I've been thinking about, which is a control plane. And then, so if you think about how does a control plane manage agents, it's like even as simple as I do this, my workshop, like why not think about like agents in terms of read, write and execute. Just simple exercise. Like can, and read is not, you know, like lead is just as dangerous, right? But, James Carman: Hmm? Sure. John Willis: But it's less dangerous than a write, which creates permanent sort of mutation, which is way different of a multi-system execution. And so like, ⁓ I'm going to do agents or not do agents. I'm going to try to be a lot more clear about what are the policies, what are the definitions of how we run agents. And we can have clear sets of goals and restrictions and control points or a control plane for if it's read-only, write or write and execute. James Carman: Yeah, the one thing I'm experimenting with right now, it's kind of an interesting concept to me, ⁓ is as we're building agentic systems, if the containment is such that the agents or the agent or agents feel too constrained, give them a mechanism of feedback to say, if I could only do this, I could solve this problem quicker. And then so you can catalog that and then review that and then those become PR. So it's a scripted way to evolve the problem space. John Willis: Oh, that's a great idea. That's really good. Yeah. Yeah, no, that's really good. Well, think, yeah, I love that. love it. And then I think the other, what I see also is, a parallel to that is escalation policies. In other words, like there's sort of this human in the middle, human in the loop, human on the loop, right? And human in the loop, right? Like, not going to be autonomous if we have to stop every time and have a human go, but maybe there's points of escalation. Like it's about to do send ⁓ it's confidential That's going to be sent to. A limited number of people, but for some reason it has a list of 10,000 people. Maybe that's a point of where we send it out to Slack for somebody to double, double check or things like that. Like in sort of some form of there's certain things where, the numbers don't, and I do this in my lab, I create these conflicting conditions and like, and like you might want to like, if the, if the number is over 365 days, which it's over a year. maybe we should just send that to Slack for a double check, things like that. James Carman: So there's some, so you're saying almost like thresholding type of a thing. There are some scripted and predefined conditions under which you would solicit human feedback. Yeah. John Willis: Yeah. And this is sort of the known unknown stuff, right? Like in other words, you know, when I'm thinking about like, this is something that's going to send, it's an agent that's going to send confidential information to the only the C level people. ⁓ you know, maybe, you know, I want to have it flexible enough. So I don't know, like there could be some, you know, sort of chief of staffs or whatever, which don't have the C title. But if I see it go into more than 30. Cause even if it went to like, five of those on a list were like the people under the chief of staff, so probably shouldn't have got it. But if it's like a thousand, know what I mean? Like, so, so I think that would be a known, known unknown. In other words, I don't know. I thought it was going to determine to strictly do this. It, some reason to some calculation, it decided to send it to a thousand people. That's enough for me to make sure I'm double checking. Right. James Carman: Yeah. Yeah. And would you also maybe, I I'm just thinking through this, like, I see the scripted part and the thresholding and put a little bit of intelligence in there, almost like a waiting, as you said, like if it's C level people, you need more scrutiny here, those sort of things. So that's scripted, that's deterministic in nature, but then would you do almost take like the TSA approach, like, okay, we're sending enough of these things through the little thing, ⁓ wait a minute, we're pulling you aside randomly. Would you do human intervention on a random basis? John Willis: Wait. I think that's not a bad idea. think certainly, again, the easy part is to talk about it. The hard part is figure out what it is that leaves you autonomy but still gives you a level of control. But again, more important to me, like a kill switch, the ability to have a kill switch. mean, the Knight Capital was interesting because I talked to other high frequency trading companies. where they lost $450 million in like 40 minutes. They said, yeah, that can happen, but we would kill it in five minutes. We would literally see an out of control trade, and we'd have a kill switch for that. In other words, so that kind of thinking. But again, my meta-meta point is you're going to have to show, and you still may lose, you still may get fined, you still may go out of business, but you're going to have to show that you thought about these things. You can't just show up and say it was AI. James Carman: Yeah, Claude made me do it, right? That's interesting. So that idea of that kill switch is almost like kind of that, what do they call it? I think they talked about it in Accelerate, the Andon cord, right? When the manufacturing line, something's going wrong. John Willis: Yeah, Claude made me do it. That's a good shirt, Yeah, there's a big part of lean. Yeah. I was like, but again, that's a beautiful, ⁓ tie together because that was the beauty of the, ⁓ you know, the, I, and the beauty of the Anon core was anybody could pull it. Right. ⁓ and you didn't, and there was no blame for pulling it. Right. So that was a whole, the lean sort of blamelessness, but, but yeah, that was the point it was, they were automating cars to the point where they, they wanted that flow, you know, toward at some point and even today, some of the best automation. James Carman: Right. Yeah. John Willis: produce in a plant somewhere in 2,000 or 3,000 cars a day. They don't want that to stop. And in fact, some of the arguments are the more Andon codes you pull, they actually wind up being on the faster, because you learn quicker, right? But yeah, the Andon code is a great sort of like for maybe thinking about autonomous agencies that we need the ability to learn much. You had it earlier, I think you talked about is having it sort of make decisions about telling it where it might have been able to. James Carman: Yeah. John Willis: get a recommendation for a better way to do it. is actually a form of an AI based Anond Cord James Carman: Yeah, I just started doing that just literally yesterday. Started incorporating that feedback loop from the LLM. Like, how could I raise any friction you have while using these tools that we've prepared, your environment, your tool space. John Willis: Yeah, yeah, that's great.