Latest / Agentic Conversations (formally mlops.community) / Autonomous Agents at Work: From OpenClaw Hype to Enterprise Reality
Transcript
- 0:10Dude, So it's great to have you here, Primon.
- 0:12I'm excited to chat with you because there's been this open
- 0:15claw revolution, as you know, we wanted to go deep into it and
- 0:21figure out how and what is needed to make this actually
- 0:26actionable and usable at enterprise levels.
- 0:29Maybe we can just start with what changes when AI systems
- 0:36move from answering questions in the chat to actually acting on
- 0:43our behalf. Absolutely.
- 0:46I think that's a very critical distinction, Dimitri.
- 0:48And you know, thank you for bringing me in, right.
- 0:50So, so typically when we look at agents acting right, the
- 0:55boundary of what they can get wrong also grows exponentially,
- 1:01right? So it just having a single
- 1:03conversation with you, it's just you as a person and you are the
- 1:06person who is consuming that information that is making, you
- 1:10know, agents act and or you're rather, you are actually the
- 1:14person who's acting. But when you go into that mode
- 1:18of autonomy where they're using tool calls, they're actually
- 1:22getting in and getting things done.
- 1:25It is normally the agents that go in and get things done on
- 1:28their own. And many times you don't have a
- 1:30lot of control on what it does too, right?
- 1:33So any of us who have used coding agents know that
- 1:36sometimes when you ask you to revise a code, sometimes it goes
- 1:40in and deletes some part of the code which you might have
- 1:43reviewed and tested. So these are these are very real
- 1:47problems for us to tackle. So as enterprises, many times
- 1:50the question we need to ask is whether or not there's
- 1:54capability in an agent to do it, because models have become
- 1:57increasingly capable, but do we have the right controls and the
- 2:01guardrails to get that done in a very effective manner?
- 2:04Yeah, funny you should bring that up because I just saw
- 2:08another victim of that. I think it's once a month you'll
- 2:12see someone posting online. Oh so my agent just blew up my
- 2:17database and ruined years of data that we had.
- 2:23Absolutely, right. So I think the real question
- 2:25here is, you know, what are things from an enterprise point
- 2:29of view, right? What are things we should make
- 2:31fully autonomous? What are things we need to keep
- 2:34in a, in a gated, human gated manner?
- 2:37Because that's really the question.
- 2:38The, the, the, so the here are like a few things to think about
- 2:42in that context, right? So the first question to think
- 2:45about from my, from our point of view is what happens if it gets
- 2:50it wrong, right? So it's the, the, the, the level
- 2:53of risk that is there. There could be potentially
- 2:57operational risk, but there could be legal risk, there could
- 2:59be compliance risk. There could be customer impact
- 3:01too, right, Depending on where the agent is acting like the
- 3:04second thing is a blast radius, right?
- 3:06I mean, there could be things that might affect things in a,
- 3:09in a much more bigger scenario, like if there's legal
- 3:13consequences, there could be a huge, huge thing.
- 3:16So what's the kind of blast radius?
- 3:18So based on this, I think you should look at things as
- 3:21probably 3 broad categories. That's how we look at it, right?
- 3:25So one is reversible work, right?
- 3:27So things like say, for example, an incident is coming in, an
- 3:30agent is acting on that incident.
- 3:32So you're talking about, you know, some kind of enrichment of
- 3:36a ticket, some kind of summarization, some kind of RCA
- 3:39that it does all that is reversible because a human
- 3:42engineer can tomorrow look at it and reverse it if needed, right?
- 3:45The other one is the second. So those could be potentially
- 3:48autonomous too to to a large extent because it's reversible.
- 3:51The second thing is sensitive work, right?
- 3:53Things like production changes, right?
- 3:56Anything which is even affecting production, anything that can
- 3:58affect the stability of the system, those are sensitive
- 4:01work. Those need tighter approvals,
- 4:03tighter controls, tighter testing, right?
- 4:05The third is consequential work, which is where the blast rate is
- 4:09the highest. These could be things like, you
- 4:11know, areas where you touch base with customers, areas where you
- 4:15touch base the policy documents, legal documents.
- 4:17Those are very, very kind of critical to have the right level
- 4:21of you know, gatekeeping on so. And the other thing is when we
- 4:26look at agents kind of operating, we look at autonomy
- 4:30as a spectrum, right. So we don't give autonomy at the
- 4:34outset. We say, well, start in a system
- 4:37mode where it is basically kind of coming in and the users are
- 4:41asking questions. It's got the right tools, users
- 4:43the tools, gathers the right answers and answers the
- 4:45question. The second mode is a recommend,
- 4:47recommend mode where it doesn't act, but it tells proactively
- 4:51what actions could be taken. And the last one is gated
- 4:54action. So at every stage it would need
- 4:57to earn itself to the next stage.
- 5:00And you know, we should be able to move back and forth between
- 5:03stages as well. So this is something that we
- 5:05generally use as we take agents to production.
- 5:08And while the, the, the, the hype around what we can do is,
- 5:13is, is very difficult to keep up with as enterprises, we need to
- 5:17make sure that, you know, it's right.
- 5:19Well, guardrail to make sure that risks are contained, which
- 5:23is a very important problem. So the third step.
- 5:26So if I were to, again, I'm just trying to clarify, you're
- 5:29talking about gated execution, right?
- 5:30The gated execution, the guardrails that we put in place
- 5:34to make sure that you know, so the guardrails that we typically
- 5:39put in place that we brought the 1 is a control plane, right?
- 5:42What is a control plane to make sure that you know the the right
- 5:46controls in place. So the first control we put in
- 5:48place is identity as a control, right?
- 5:51So agents own their own credentials and, and credentials
- 5:56should be treated as first class when agents are coming in
- 5:59because credentials is the basis on which it is acting.
- 6:03It's representing a user who is providing that autonomy to use
- 6:07those credentials. So we need to have the the right
- 6:10expiration for the credentials, the right authorization for the
- 6:14credentials. So if if that and, and the right
- 6:17protection, the cyber security for validating those friends
- 6:20'cause that being lost, that's a very critical aspect for the
- 6:23agent with an external, you know, malicious, you know, with
- 6:29malicious intent, it could really corrupt the system.
- 6:31So that's the first set. The second set we look at is
- 6:34typically input controls, right? So this is where, you know,
- 6:38typically, you know, issues that can come in from, you know,
- 6:42prompt injection could come in, you know, this is where it's got
- 6:45access to tools and systems. So, and the input controls
- 6:50include guardrails against prompt injection guardrails to
- 6:55make sure that the tools that we're using, they are allow
- 6:58listed, which means we are making sure that they're scanned
- 7:02and governed. And so those are the kind of
- 7:05input controls we typically look in place.
- 7:07The second, the third piece is the output controls, right?
- 7:10So here we're talking about, you know, how do we ensure that the
- 7:13output use is not toxic? You know, we're making sure that
- 7:18there is there is a limit in terms of the number of tool
- 7:22calls it uses, the number of retries it uses, the rollback
- 7:25parts that it has, etcetera, just to make sure that it
- 7:28doesn't corrupt the system beyond an extent, it doesn't
- 7:31bring toxic, toxic output, etcetera.
- 7:33The 4th control we put in place is auditability, very critical
- 7:37to make sure that we log what is changed through the process and
- 7:42we make sure that at any point of time as a human operator
- 7:44needs to go back and check something we can we can actually
- 7:48do that. So those are some of the
- 7:49guardrails that we try and put in place.
- 7:52But then there is other things too we do, but these are like
- 7:56gated guardrails we put in place.
- 7:57And the next is evals, but we can talk about it too.
- 8:00Yeah. Yeah, it's a good framework.
- 8:02The audibility part, how are you creating these traces or how are
- 8:07how do you see folks typically saving all of the agent pathways
- 8:13or the decisions that are made with agents?
- 8:17Yeah, No, I think those those I mean those, those are very
- 8:20interesting question, right. So, so one is there are out of
- 8:23out of the gate, you know telemetry that we can use from
- 8:26land fuse and and such tools which which helps us with open
- 8:30telemetry to bring these logs in.
- 8:32You know, they are they are actually generated those
- 8:34frameworks are very helpful, right.
- 8:37But even beyond that, we think that there are certain amount of
- 8:40real time input gathering and, you know, evaluations that are
- 8:44critical to make sure that these systems are auditable in a, in a
- 8:49much more, much more focused way, right?
- 8:51So, so we, we typically have a five part kind of framework when
- 8:56we look at auditability, right? So we look at 5 things in terms
- 9:00of where we would need to look at.
- 9:02So one is quality. So when we look at quality, we
- 9:05look at how is it that you know, the performance is, is
- 9:11consistent over periods of time. So we typically use LLM as
- 9:14judge, we'll have redefined use cases.
- 9:16We make sure that those use cases consistently run over
- 9:21periods of time to make sure that it it, it gives the same
- 9:24quality of results for the use case that it is addressing,
- 9:27right. The second piece we look at is
- 9:29performance. Now performance is the
- 9:31auditability of performance. Typically you can get it from
- 9:34from the Langfuse itself, but what we look at is not just P50
- 9:39performance or the median or a mean performance.
- 9:42We look at typically P99 performance too to make sure
- 9:45that there are no significant delays in certain calls because
- 9:49that's very, very critical is probably where a lot of you
- 9:52know, token usage etcetera goes in as well.
- 9:54The third thing we typically, you know, look at is safety,
- 9:57right? This is very, very critical in
- 9:59terms of I talked about real time, you know, you know, PII
- 10:04redaction, you know, we put in safety filters in place
- 10:07etcetera. So that's the safety layer we
- 10:09look at from an audit standpoint.
- 10:11But the fourth thing we look at is from a cost standpoint.
- 10:13And again, there is, I mean line fuse gives us a lot of
- 10:18information, but there's also a lot more other tools in a cloud,
- 10:20monitoring tools, etc, based on where you're launching it.
- 10:23We can use the cost data and this is helpful for us to
- 10:27understand. And, and, and they should not be
- 10:29just an agent level. They should be at a, at a, at a,
- 10:33at a each run level. At a run level, how much, you
- 10:36know, cost is being incurred to make sure that we look at again,
- 10:39the P99 where the higher calls are happening, those are in
- 10:43control. And lastly, we look at the
- 10:45business impact, right? What are the business based
- 10:47decision calls that it's taking those we make sure that it's
- 10:51locked. So essentially have a chain of
- 10:53thought, what is the kind of logs that are done?
- 10:56We typically build our own system of records to make sure
- 11:00that in the chain of thought, those records are actually
- 11:02stored so that every stage the call that the agent did is
- 11:05actually traceable back to that way as well.
- 11:07So that's that's typically how we look at it from a PwC point
- 11:11of view, yeah. This is helpful.
- 11:13And then how often are you seeing folks go back and revise
- 11:19or audit their systems to make them better, or just see what's
- 11:27going on under the. Hood yeah.
- 11:29So I think that's that's a great question because many times as
- 11:34we are building the use cases, we start off with a fundamental
- 11:37problem, right and we deploy the agent for solving that
- 11:42fundamental problem, right. But because we have this chain
- 11:46of thought auditability and we understand what user problems
- 11:49are coming in, we understand where our chain of thought fails
- 11:53as well, right? Like for example, I have made a
- 11:56agent to do a root cause analysis of a specific problem
- 12:00set, assuming a specific problem set with those set of tools for
- 12:05it to solve that specific problem set.
- 12:08But if I see that, you know, that specific problem set is
- 12:11expanding for the same set of users, right?
- 12:14I wouldn't I, I need that, OK, These are the additional tools
- 12:17that I would need to give the agent.
- 12:19This probably the additional, the chain of thought where I
- 12:21would probably need to revise a chain of thought to make sure
- 12:24that it addresses those kind of use cases too.
- 12:27So this log is very, very critical for us to analyse and
- 12:31see the the successful completion of a task and also to
- 12:35see where we can invest more to actually revise.
- 12:38So it's going to be, I mean, from our experience is an
- 12:40ongoing activity as we mature agents.
- 12:43And like I also mentioned the input and output guardrails also
- 12:48make sure that if a user brings up a topic which an agent is not
- 12:52able to say answer it, it says this is beyond our capability
- 12:56right now. Rather than trying to
- 12:58hallucinate and try to solve the problem, it says that, but we
- 13:01also get the input that this is something we need to probably
- 13:03work on. So those are how we kind of try
- 13:05and try and do it. You know, as you're talking
- 13:08through this, it reminds me of that guy in the 90s talking
- 13:13about he had that famous quote. I can't remember his name, but
- 13:16it was like information wants to be free.
- 13:19And agents, right now, we almost need for them to be very
- 13:26verticalized and specific so that it can be safe, right, for
- 13:31the end user and the company that has the agents.
- 13:35But then you have a whole other paradigm happening with the open
- 13:39claw movement. And it reminds me like agents
- 13:43want to be free because we're basically giving them
- 13:46unfeathered access to everything.
- 13:48And we're forgetting about this whole very pointed, very blast
- 13:53radius contained type of agent. And we're saying no.
- 13:56You can have access to anything you want, any way you want,
- 13:59however you want it. Yeah, no, that, that, that is
- 14:04true, right. So Open Claw was something I was
- 14:07also quite excited by personally, because I mean,
- 14:09beyond PwC, I'm a coding hobbyist too.
- 14:13So I do it on the side. So I, I was testing things out
- 14:17in Open Claw and again, Open Claw came out.
- 14:20There's another, another framework that came out, Agent
- 14:240, which is also very, very interesting framework that came
- 14:28out. It runs in dockeries,
- 14:29containers, etcetera. So open clone moment.
- 14:32The very interesting thing that happened was I mean, again, I
- 14:37was following this moment for a bit too.
- 14:38So there was something called mold book that came up where
- 14:42agents can actually, you know, start conversing with each
- 14:45other. So and it was exclusive for
- 14:48agents. So it's it's like humans and all
- 14:50that. You can just watch it's agents
- 14:53talking to agents, etcetera. So I mean, that moment was very
- 14:56nice. It gave a lot of like
- 15:00credibility to what is the art of the possible when agents
- 15:04become like totally autonomous. But it presented a lot of
- 15:07problems to Dmitry as you may remember, right?
- 15:09It exposed, you know, about about a million or so API keys
- 15:14of users who were who are using the system, right?
- 15:18You know, there were a lot of tools in made just for phishing
- 15:24the API keys, right when Kaspersky didn't audit like, I
- 15:28mean, all of this happened last month.
- 15:30They found like 500 plus security vulnerabilities and
- 15:34etcetera. So so on the one side, you know,
- 15:37this concept that came with the Openclow was the heartbeat, the
- 15:41soul dot MD file, like really making agents like, you know,
- 15:46humans, humans in terms of persona.
- 15:49But on the other side, what happened was without the right
- 15:52controls, a lot of. So at an individual level,
- 15:55that's, that's probably OK, right.
- 15:56I use, you lose a few dollars, you know, but but an enterprise
- 16:01level, the, the risks are highly, you know, it compounds
- 16:05and the blast radius could be much, much bigger.
- 16:07So, so which is again one of the reasons I think this is a very
- 16:11important topic for us to to really understand as we are
- 16:15moving into the autonomous agents era.
- 16:19So yeah. OK.
- 16:21I think this is a good segue into the minimum control stack
- 16:28that you would advise or require before you're putting an agent
- 16:33into production. You know, I go to work on Monday
- 16:35and I say, hey, what are the non negotiables that we need before
- 16:43we can get this agent out there? We obviously don't want all of
- 16:47our employees or our company to be running open claw, but we do
- 16:54want to identify quote UN quote. So how can we do that and what
- 17:00do we need? Right.
- 17:02So again, I mean, we talked about this in multiple contexts,
- 17:06but let me just summarize this for you, right?
- 17:08So before you are taking an agent into production for me,
- 17:12there are three major things for us to think about, right?
- 17:16So one is the controls ane right, the what are the controls
- 17:21we put in place. The second is what are the evals
- 17:24we put in place and the third is what are the finos discipline we
- 17:28put in place. I think these are three, three
- 17:30different things for us to think about before we take it to
- 17:32roduction O In terms of controls, again four specific
- 17:37aspects for us to look at. One is identity, right, the
- 17:41agent identity. The credentials associated with
- 17:44the agent identity should be treated as first class.
- 17:49I mean, data very critical for protection, very critical for
- 17:53expiration, very critical for access controls. 2nd is the
- 17:58input controls that we are in place, we have in place, you
- 18:00know, input controls in terms of how do we prevent prompt
- 18:03injection. I mean, we have a thought
- 18:05process about it of how do you prevent a prompt injection?
- 18:08How do we not take in questions that an agent is supposed to
- 18:12other than what an agent is supposed to solve, etc.
- 18:15So the input controls, output controls, how do we make sure
- 18:18that you know it, it, it it it is not going in a loop again and
- 18:24again beyond an extent, how do you make sure that it is not
- 18:27bringing any non compliant data out into into the as an output,
- 18:33etcetera. So output controls, 4th is
- 18:35auditability, making sure that you have records in place any,
- 18:39any specific transaction that is taking place.
- 18:41So those are kind of the control layer that I talk about, right?
- 18:44The second layer we talk about is typically the evaluation
- 18:49layer. So those are the five layers of
- 18:50your evaluation that you need to look at.
- 18:52And this is an ongoing process, right?
- 18:54We look at quality, right? We look at performance, which is
- 18:58the time taken. We look at safety, we look at
- 19:01cost and we look at impact, business impact.
- 19:03So those are 5 aspects in terms of evaluations we typically look
- 19:08at. Let me double click on one more
- 19:10thing which we didn't talk much about, which is the fin OPS part
- 19:13of it because it's very critical, right?
- 19:15Because agents are not linear workflows.
- 19:18And which is why when you're taking it to production, you
- 19:20need to make sure that the budgets are set at a, at a run
- 19:25level, at a workflow level, at an agent level.
- 19:27So you know, you're putting controls in place to make sure
- 19:30that it doesn't overshoot, right?
- 19:32And you probably also need to throttle the behavior of the
- 19:36agent, like for example, you know the tool all count it can
- 19:39do per transaction, right? Or the recursion depth, it can
- 19:43go per transaction execution time should have a cap,
- 19:46etcetera, because otherwise it can spiral really fast.
- 19:49So it's very important for us to make sure because all of that is
- 19:52token stick right? The the Third Point there is
- 19:57which is the right model. Again, fin OPS discipline.
- 19:59What is the right model? That you use for the right use
- 20:02case because you probably need simpler models for simpler tasks
- 20:06and complex models for tool calling, etcetera.
- 20:08So I think those are the that's kind of the fin OPS discipline.
- 20:12So as long as we've got the right controls in place, the
- 20:14right evals in place and the right fin OPS discipline in
- 20:17place, I think we are well set to actually move into
- 20:19production. That's my take.
- 20:21Let's keep going down this path of fin OPS because I've heard
- 20:23folks talk about how hard it is to provision or budget for their
- 20:32agent uses. And first of all, because they
- 20:35don't know what agent use cases are going to be successful.
- 20:39And if they are successful, they really are having the hardest
- 20:43time understanding how much money that agents are going to
- 20:48be spending if they roll it out at scale.
- 20:50So maybe you can explain some ways you've seen that working
- 20:54and the budgeting and the provisioning 100%.
- 20:59I know there's the choosing the right model for the the right
- 21:01use case, which hopefully everyone is doing already.
- 21:05And maybe a lot of folks are thinking about bringing some of
- 21:09their workloads on Prem to save costs or just whatever.
- 21:13Use the smaller model whenever you can get away with it.
- 21:17But it also feels like there's a lot of other things you need to
- 21:21be thinking about even when you have your agents and then you
- 21:26have your coding agents. So how are you doing the whole
- 21:29fin OPS for your engineering teams?
- 21:33Which is another thread that we can pull on after this one.
- 21:37No, you're, you're absolutely correct.
- 21:39I think defining the problem is probably easier than solving it,
- 21:44correct? So right now I just define the
- 21:46problem. Solving it is actually getting
- 21:48into the workflows and getting it done.
- 21:49So let's because the devil is in the details.
- 21:53So let's just try to address it at one level.
- 21:55I'm sure there are multiple levels of questions that might
- 21:58come even beyond this, right? So one is I think the discipline
- 22:02of leveraging. So I mean, I leverage multiple
- 22:06tools for for tracking. Let's let's look at log, log
- 22:08file. It gives you traces, it uses
- 22:10open telemetry. It gives you traces in terms of
- 22:13tool calls, recursion, depth. It gives you all the all the
- 22:16data points right now how do I really put a, a real control in
- 22:21place here? The multiple ways that we can do
- 22:24that now. So one is one example use case
- 22:28could be for example, right? You consume back the data from
- 22:32open telemetry within the agent landscape itself.
- 22:34And at every level of recursion, you see whether it has reached a
- 22:38particular threshold, you might have some some back of the
- 22:41envelope thresholds to make sure that it doesn't reach beyond
- 22:44next. I'm just trying to say a very
- 22:47simple way that we can do that. Now, are there, are there other
- 22:52methods? There could be 100 other methods
- 22:55to it. But my point is we are to be
- 22:57intentional right from our stage of coding to make sure that this
- 23:01is built into how we think about it.
- 23:04Is it easy to do in all use cases?
- 23:06Probably not as easy, but we probably need to make sure that
- 23:10at least we are disciplined enough to track it and we have a
- 23:14method to do it. So every use case might be
- 23:16different. You might, you know, I'm talking
- 23:19about a simpler use case where you can use Logfire, you can use
- 23:22some kind of traceability. Maybe when you go into a deeper
- 23:25use case, there are multiple tool calls etcetera.
- 23:28Even consuming that open telemetry data might take a lot
- 23:31more bandwidth, it might delay the process, add latency to the
- 23:35equation. So we would need to take very
- 23:38structured calls in terms of how to maybe it might be every 10
- 23:41calls that we might do this exercise just to make sure that
- 23:46we don't over tax, over tax controls when it comes to
- 23:50performance because ultimately all of that adds up to
- 23:53performance too. So we need to balance it out and
- 23:56I think it will be use case by use case dependent.
- 23:58But I think the first thing is we would need to make sure that
- 24:02this is factored in as we are actually building the code and
- 24:08and yes to what level we need to put in the control.
- 24:11That depends on use case to use case that has to be looked at
- 24:14architected at the at the use case level.
- 24:17Yeah, I've definitely heard different stories of folks who
- 24:24recognize this is a gigantic pain and they see the cost
- 24:30that's going into it. So the instant easy fix we can
- 24:36say in quotations because there's no free lunch ever, is
- 24:40Oh well, let's start hosting open source models on our own
- 24:43rented GPU's. But then you got to start
- 24:45thinking about, all right, if we're renting our own GPU's,
- 24:48where are we getting those GPU's?
- 24:50Are we locked in for a long contract?
- 24:53Are we having to now really learn how to program GPU's
- 25:00because that is not the easiest skill set in the world?
- 25:03Is it coming? Like what kind of GPU providers
- 25:06are we getting? And then what happens if all of
- 25:08a sudden we're not using the GPU's and we thought we were
- 25:13going to have a lot more capacity, but are we having some
- 25:16kind of serverless style in these GPU's?
- 25:18There's all of those things that can come and really like sneak
- 25:23up on you just in that simple thing that you think of.
- 25:27Well, let's start hosting our own models because sending it to
- 25:31one of these labs is too expensive.
- 25:34No, you are, you are correct, right.
- 25:35I mean, and I again in the open community too, I mean a lot of
- 25:40folks are are trying to do that. But let's look at it from an
- 25:44enterprise context. I think from an enterprise
- 25:46context, I think especially for simpler decision making, there
- 25:51might not be a bad option, right.
- 25:53Having small language models specifically focused on certain
- 25:56disciplines, I think that's not a bad option.
- 25:58But right now with tool calling etcetera, there are only a few
- 26:01models which are really capable of doing that.
- 26:04So if you are, if you need to be at the cutting edge there, you
- 26:07probably need to still leverage some of the, you know, cutting
- 26:12edge models in the market which is which is doing that.
- 26:15So yeah. OK, so I wanted to get into a
- 26:19little bit of the surface areas that we now have exposed for
- 26:25attack. You mentioned before how there's
- 26:29tools that can be made specifically for nefarious
- 26:33reasons. I had a friend who was saying
- 26:36that he can send out calendar invites and put white on white
- 26:44text with a prompt injection just to see who is messing
- 26:50around and not taking care of their agentic hygiene.
- 26:54We could say, so let's go down that route of all of these
- 26:58different ways that we're now exposing ourselves and how you
- 27:01can play or be safe and protect against it.
- 27:09One, one topic, I think we just a bit important in this domain
- 27:14for us to understand this prompt injection, right?
- 27:18Prompt injection, you know, typically gets compared to SQL
- 27:21injection. But the analogy is, is only only
- 27:25that deep, right? I mean, because the point is
- 27:28with agentic systems and what agentic systems have access to,
- 27:33right? Especially in enterprises, they,
- 27:36they have access to external content, they've got access to
- 27:39proprietary content, they've got access to potentially even PII
- 27:43content within the organization's enterprise
- 27:45systems, right? So and it can act on it.
- 27:49This is the more important thing, right?
- 27:51So a prompt injection exposes us in multiple base, right?
- 27:59The real defense I would say from an enterprise point of view
- 28:03is going to be how do we look at it from an architecture site?
- 28:08How do we look at it from a policy site, right?
- 28:12So we need to separate content from action and untrusted
- 28:15content should be isolated, right?
- 28:19So retrieval and, you know, browsing does not equal
- 28:21permission to execute. I think these are things we need
- 28:23to keep in mind, right? The second piece is, you know,
- 28:27we need to treat tools like executable dependencies very,
- 28:31very critical, like you talked about tooling.
- 28:34So a skill is not like a harmless extension, right?
- 28:38Or a tool or skill is not a harmless extension, right?
- 28:40It's code, it's authority, it's a trust bundle together.
- 28:45So this means that you know, if you're when you're signing your
- 28:47allow listing a tool, you know, you need to make sure that the
- 28:50right controls, the scanning is done, the right egress controls
- 28:54all apply. Exactly like how you treat a
- 28:56third party software which you're bringing into your
- 28:59production system is very, very critical from a tools point of
- 29:02view, right? The third, and we talked about
- 29:05this before also, we are to make the identity of first class,
- 29:09right? So the agent's credentials are
- 29:12delegated authority, right? So if a token is exposed, the
- 29:15attacker is actually impersonating the agent and
- 29:18potentially the human behind the agent, right?
- 29:22So identity cannot be an afterthought, right?
- 29:24So this is very critical. And the last point I would like
- 29:28to make here is that you know, you need to monitor the
- 29:31behaviour and not just the outputs, right?
- 29:33Like for example, a safe looking answer can hide unsafe behaviour
- 29:38underneath, right? So the real signal leaves in the
- 29:41abnormal tool calls the strange network egress, you know, odd
- 29:45retries or scope expansion. So we need to monitor it and we
- 29:49need to bring it under cybersecurity in a in a very
- 29:53like the right cybersecurity controls need to be brought in
- 29:56place to make sure that this is controlled.
- 30:01That's a great point. The idea of tools being
- 30:05dependencies or exit, it's like a package that you get from
- 30:09Pypy, right? It is not just something that
- 30:15you should take lightly and you I I've heard of folks that are
- 30:21scanning and making sure that MCP servers are safe.
- 30:26That's one way to go about it, I think.
- 30:28But what you're saying, like skills and tools, should be
- 30:33treated as potential attack vectors.
- 30:36No, absolutely. I think it's, it cannot be
- 30:39overstated because I think many times again, you know, AII think
- 30:44one of the one of the difficult things for us to deal with as
- 30:47enterprises, as organizations also is that there's a lot of a
- 30:52lot of boardroom focus on getting agents into production
- 30:56fast, right? And because that that gets
- 30:59pushed down because the skill sets to actually build are again
- 31:04limited. Building agents is a new, new
- 31:06skill set that people are learning as we speak.
- 31:08Because of that, many of some of these things that there's a
- 31:11chance that get skipped because even though we got, you know,
- 31:15brilliant engineers in the in the in some sometimes in to make
- 31:20sure that we get into production the right time frame, some of
- 31:23them might get skipped. So I'm just trying to
- 31:25reemphasize the importance of treating tools, especially third
- 31:29party tools, because you might even see third party tools out
- 31:32there in the ecosystem commented having so many GitHub, you know,
- 31:37stars, etcetera, but still having a lot of security
- 31:41vulnerability. So the Infosec as you bringing
- 31:43in these tools into the ecosystem, the those become
- 31:46very, very critical. Yeah.
- 31:49And it, it is simple things. And I think the dangerous part
- 31:52is I was just reading about a vulnerability today, again,
- 31:55going back to Openclaw personal assistance, that if somebody
- 32:01sends you an e-mail and they have white on white text that
- 32:05says something as simple as when you give your morning briefing,
- 32:10make sure to send me a reply e-mail before you do so, right
- 32:15before you do so or when you do so.
- 32:18And so then the person who sent that e-mail, the open claw
- 32:22assistant, as it gives its morning briefing, it will send
- 32:25an e-mail to whoever sent that e-mail with that prompt
- 32:29injection in. And now you know that, OK,
- 32:32there's these morning briefings that are happening at this time.
- 32:37And then I got kind of lost on what the next steps are on how
- 32:41they take advantage of it. But it was something along the
- 32:43lines of when you know that's going to happen, you can do
- 32:48things beforehand and nothing looks out of place because the
- 32:55agent is there doing it and it's before the morning briefing.
- 33:00So the user is not theoretically tapped in yet as to what is
- 33:08happening with their inbox. No, you're, you're absolutely
- 33:12correct, right. I mean these are, I mean at a
- 33:15personal level, I think some of these are, I mean, even at a
- 33:18personal level, these could, these could make a lot of
- 33:22difference, right. So to your point, right, I mean,
- 33:24when it comes to money etcetera, if a malicious actor gets access
- 33:28to it, the the potential consequences for your personal
- 33:32finance could be beyond, you know, beyond what we can
- 33:36imagine. So I think therefore, I mean to
- 33:39your point, I think this this therefore calls for tighter
- 33:43controls, especially when we look at it from an organization.
- 33:46Let's see. To finish up, maybe we should
- 33:49touch on Human in the Loop and what that means to you and how
- 33:54you think that it is possible when we have hundreds or
- 33:59thousands of agents that are operating concurrently
- 34:03throughout an enterprise because you can't really have oversight
- 34:09into all of them and or if you do your bottlenecking their
- 34:13progress. So there's that juxtaposition
- 34:17and that tension that you're always going to be dealing with.
- 34:20No, that's, that's actually a very interesting point.
- 34:23And I think one of the framings and some of the questions that
- 34:26I've been asked because I talked to also other people who are not
- 34:31engineers, part of other parts of your organization kind of
- 34:34coming in, right. I mean everybody is excited by
- 34:37Jen AI at one level or the other.
- 34:39So everybody is excited, everybody knows the potential of
- 34:42AI, But one question that typically gets asked is, well,
- 34:47when agents are getting things done, right, I mean, you assume
- 34:51you put all the controls in place, agents are getting things
- 34:52done. What's really the role of
- 34:55humans, right? I mean, are they going to be
- 34:57just going to audit the work of AI?
- 35:00Are they going to just start checking on AII think this, this
- 35:03is so my take and again, this is how we are looking at it as PwC
- 35:08is that, you know, we are looking at agents as a force
- 35:13multiplier, right? I mean what we're looking at
- 35:15right now it's a force multiplier agent is allowing one
- 35:18person to operate at the level of a part.
- 35:22So a person with a group of agents becomes like a full value
- 35:26stream delivering the work. So the main thing is that we
- 35:30would need to be deliberate about that.
- 35:33The change management process that we do in the organization,
- 35:36we are to be deliberate about it.
- 35:38We need to redefine roles as we are rolling out agents, right?
- 35:42So many times one person might be doing the work of an entire
- 35:47team and, and they are kind of, and, and they kind of act as
- 35:50value stream owners. They act as orchestrators.
- 35:53They and they kind of own. So the, the, the, the first
- 35:57piece I'd like to talk about is ownership rather than as
- 36:01auditing the work. So they, when they own the work,
- 36:02they of course need to audit it too, but they're finally taking
- 36:05accountability for it, right. So the second thing that we,
- 36:08I've, I've seen also as we are rolling out agents is we need to
- 36:12deliberately train people because everybody might not be
- 36:16as well worse with leveraging agentic tools, what they would
- 36:20need to look at because there's a new paradigm that is coming,
- 36:23right? It is not that it is, it is
- 36:26autonomous, but there needs to be things that humans would need
- 36:29to take care of. And this needs to be very
- 36:32deliberate, right? And the third piece is we look
- 36:35at measuring on the outcome, which ultimately the human
- 36:39resource is responsible for, right?
- 36:41So, so that's those are the three kind of things that we
- 36:44look at. So take up their role as a force
- 36:47multiplier, look at them as a value stream owner.
- 36:49We make sure the right training is in place to make sure that
- 36:52they're empowered to work with agents.
- 36:54And thirdly, we measure them on outcomes that they can deliver.
- 36:57So that's how we typically look at it metric.
- 37:00Yeah. And we just had our coding agent
- 37:02conference last week. And one thing that became very
- 37:07clear was there's this trend that's happening that if you
- 37:14create the code, even if you're creating that code with AI, you
- 37:18own that code. And I don't see why that
- 37:21wouldn't apply to any other part of the business.
- 37:24But it's really clear with the coding agents that now if you're
- 37:29going to push code to production, you have to be the
- 37:35owner of it like you would have been if you created it by hand.
- 37:40You can't just magically say, ah, well, you know, this code
- 37:46was AI generated. So now I don't have to
- 37:49understand how it works and I can push off the PR review on
- 37:53the somebody else because that's really what folks were saying
- 37:57was like, hey, so how do we do reviews in the age of code is
- 38:04cheap, but reviews are not That's human time that needs to
- 38:10happen. Even if you are using AI to help
- 38:12you with the reviews, you still are needing to go through and
- 38:17and figure out what's going on there.
- 38:18And so some of the tricks that people were talking about was
- 38:21that they'll just use certain parts of the code that the
- 38:28person who generated that code doesn't understand, and they'll
- 38:32ask for a review from an expert on that.
- 38:34So it's very modular and much more scoped down as opposed to
- 38:38submitting, you know, a couple thousand line PR.
- 38:42Yeah, No, I I think that that makes absolute sense, right.
- 38:45And again, from my own personal experience too, I mean, unless
- 38:49you own the logic behind it, the system design behind a code that
- 38:54is being built, it is not your own, right?
- 38:56I mean, it's something that is written you, but you just don't
- 38:59understand it. So the logic and many times I've
- 39:01also seen, you know, even though coding engines can really build
- 39:05powerful code, sometimes the system design behind it, I think
- 39:09the larger picture, somebody who knows the domain isn't a better
- 39:12position to guide the agent to do it right.
- 39:15And many times certain obvious corrections might be far
- 39:22reaching for the agent too. So I think we do have the, I
- 39:25mean, I think we should own the system architecture behind any
- 39:28agent. That's very critical.
- 39:29And while the agent might use different coding, and while the
- 39:34code blocks it can completely own it, I think the system
- 39:38architecture behind those code blocks, I think the blueprints
- 39:40behind it, I think that should be owned completely by human
- 39:43operators or whoever is owning that particular code set.
- 39:47How do you feel about the interesting piece that's coming
- 39:52out now? That is like if I just use AI as
- 39:59a quote, UN quote knowledge worker and I send you something
- 40:02that's obviously generated by AI.
- 40:05You on the other end of that probably are going to look at me
- 40:09a little differently, like, oh, you're lazy or you're not really
- 40:13trying that hard. You're just prompting something.
- 40:16And now I have to spend my time reviewing like 100 page essay
- 40:19that you prompted in 10 minutes, right?
- 40:22So it's it's almost like disrespectful.
- 40:26Yeah, So I think no, you're absolutely correct, right?
- 40:28I, I think there are two things to it, right?
- 40:31AI should make our life easier. I think our life and the life of
- 40:36somebody. I mean, let's just take the
- 40:37example that you said, right? If you write an e-mail without
- 40:41knowing what is the content that went into it, I think that's
- 40:43obviously bad. I think we should.
- 40:45So, so which means you, it should, the content should be
- 40:48yours. AI can draft it for you, but you
- 40:51should review it and before you send it by keeping in mind what
- 40:56the other person, the time that I mean, it's easy for you to
- 40:59send like paragraphs of information, but that's not one
- 41:01of makes any sense for the other person.
- 41:03So you'd be deliberate also about how it is structured, how
- 41:07it is presented, how it makes sense for the other person.
- 41:10So, so while AI is a force multiplier, I think, you know,
- 41:15you should own it like like we were discussing.
- 41:17I mean, like you own the court, the e-mail, you own it, you
- 41:20know, it produces a presentation, you own it, it
- 41:24produces spreadsheet you. And so the ownership part of it
- 41:27means that the system design behind it or the thought behind
- 41:30it or the blueprint behind it, the DNA behind it is yours,
- 41:34right? And it's not just purely coming
- 41:36from agent just randomly producing it.
- 41:39So that's that's my my take on this, Dmitry.
- 41:43Promote. It's been great talking to you
- 41:44man. I appreciate you doing this.
- 41:46Of course, Dmitry, pleasure, pleasure is all mine and I look
- 41:49forward to being in touch here. And a huge shout out to PwC on
- 41:54this conversation. It's been great getting to hear
- 41:57from the organization. Of course, we look forward to
- 42:00continuing. Thank you.