Latest / Ship It Weekly - DevOps, SRE, Platform and Cloud Engineering News / Ship It Conversations: Mallory Haigh of PlatformEngineering.org on Why Context Isn't Enough for AI Agents, Harness and Governance, Probabilistic and Hybrid Paths, Agent Identity, and Building Platform Trust Before Agents
Transcript
- 0:00Drop someone in the middle of New York City with
- 0:03no directions and they'll get lost. Lots of teams
- 0:07do that to AI agents. They hand over some context,
- 0:11maybe an agents.md file, and call it done. My
- 0:16guest today says that's not enough. The agent
- 0:19needs to know what to do, how to do it, how it'll
- 0:23know it's done, and what it's allowed to touch.
- 0:27And if your platform can't do that for humans
- 0:30yet, she'll tell you to pump the brakes. As one
- 0:34of her workshop attendees put it, if we can't
- 0:37even write a README for our repos, how are we
- 0:40going to write one for our agents? I'm Brian
- 0:44Teller from Teller's Tech and this is Ship It Weekly.
- 1:04Welcome back to Ship It Weekly, where
- 1:06I filter the noise and focus on what matters
- 1:09when you're the one running infrastructure and
- 1:11owning reliability. Most weeks, it's a quick
- 1:15DevOps, SRE, platform, cloud, and security news
- 1:19recap. In between those, I do conversation episodes
- 1:23with people building and operating these systems.
- 1:26Ship It Weekly turns one this November. To celebrate
- 1:30through mid-December, you are getting two conversations
- 1:33a week, Mondays and Wednesdays, with the news
- 1:37every Friday. Then we're back to our usual rhythm.
- 1:41Today, I'm joined by Mallory, Head of Platform
- 1:44Education and Advocacy at PlatformEngineering.org.
- 1:48Mallory works with platform and DevEx teams
- 1:52on how platforms actually succeed or fail inside
- 1:57engineering organizations. And lately, on what
- 2:00changes when AI agents enter the software delivery
- 2:04workflow. We talk about... why context delivery
- 2:08alone isn't enough, the harness and governance
- 2:12layers that actually run agents on a platform,
- 2:16the three kinds of paths agents work on, why she
- 2:20tells some teams to fix human governance before
- 2:24adding agents, and where a platform team should
- 2:28actually start. All right, let's jump in.
- 2:36Mallory, thank you for joining me. Thanks for having me,
- 2:39Brian. This is really exciting. So I'm interested
- 2:41to hear one line that you had mentioned was context
- 2:45delivery alone isn't enough. What do you mean
- 2:48by that? I try to think of a lot of the things
- 2:50with AI in general in the same way we think about
- 2:53interacting with humans. So context delivery
- 2:55with a human isn't alone. I can put you in the
- 2:59middle of New York City and say you're in the
- 3:00middle of New York City. But if I don't give
- 3:03you any clear direction on where I'm expecting
- 3:04you to go or what I'm expecting you to do, and
- 3:07I just took you out of the middle of your day
- 3:08and put you there chances are you might get
- 3:11yourself into some trouble or you're going to
- 3:12get lost. It's the same thing with agents. So
- 3:16when I talk about context delivery on its own
- 3:18just not being enough, there's other things we
- 3:20have to actually give that agent to. It's things
- 3:22like, what exactly are you supposed to be doing?
- 3:25How exactly should you be looking at doing it?
- 3:28And how are you going to know whether or not
- 3:30it was done and done correctly? Then there's
- 3:34also this other piece, which comes to governance
- 3:36and security, which sits alongside that. That
- 3:39says, okay, here's how you do your work, and
- 3:42here's how you're allowed to do it, where you're
- 3:45allowed to do it, and the constraints of that
- 3:47entire operation. That's what I mean. You just
- 3:50give something context. You give it an agent.md
- 3:52file. That's not enough. There needs to be
- 3:54a lot more. And what is that more? Is it a Kyverno
- 3:58rule? What do you mean by that? Definitely part
- 4:00of it. We talk about this agent infrastructure
- 4:05layer. And that's really what runs agents inside
- 4:07of a platform. And there's two pieces. So there's
- 4:09the harness. That's how the agent does the work.
- 4:12So that's an execution component. There's context,
- 4:15capability, that evaluation rubric, basically.
- 4:19So like, did I do a good job? Am I done? But
- 4:21the second piece is that governance layer. So
- 4:23what's allowed? What's safe? What is actually
- 4:26being observed here? So that's things like identity.
- 4:28So whether or not that is something like... OPA,
- 4:32Kyverno, just regular kind of RBAC roles applied
- 4:35in a slightly different way. It's security parameters
- 4:39and context too. So things like codified security
- 4:43standards, whatever that might look like for
- 4:44you, or even just some sort of vulnerability
- 4:46scanning and testing. And then there's also just
- 4:49its unique requirements for observability. Agent
- 4:52observability is something that people are talking
- 4:54about a lot. And that's a big part of that governance
- 4:56piece. But both of those harness and governance
- 4:59layers make up agent infrastructure as a whole.
- 5:01So when you talk about observability with agents,
- 5:05what does that mean? Like what kind of analytics
- 5:08are we trying to get out of the agent or what's
- 5:10valuable to pass into like, I don't know, Grafana,
- 5:14whatever? Yep. And I think there's a lot of different
- 5:19ways people are talking about this. But again,
- 5:20I come back to like, how do we think about observability
- 5:22with humans? A good platform at the end of the
- 5:26day is very auditable. So I can see what actions
- 5:30were taken either by an agent or a human, so
- 5:33an actor inside of that platform, or the platform
- 5:37making a decision itself. And what we like to
- 5:41think about is if the platform makes a decision,
- 5:43that should be part of the audit trail as well.
- 5:45So you're observing actions, but you're also
- 5:48observing outcomes and system health and performance.
- 5:51You know, there's always that discussion too
- 5:52about observability isn't just looking at system
- 5:56health. It's also that system performance aspect.
- 5:59So for agents, you know, you're looking at token
- 6:02spend, you're looking at, you know, the time
- 6:04to completion, to getting to that evaluation
- 6:06piece. So if there is a loop, for instance, that
- 6:08it goes through a retry loop, how many times
- 6:11is it going through that loop? You should, by
- 6:13the way, set a limit on that. But how many times
- 6:15did it go through it before it got to that acceptance
- 6:17criteria? There's always pieces too with just
- 6:21sort of monitoring the step-by-step process.
- 6:24So was this gate passed? Was this gate failed?
- 6:28What triggered this particular event? So it's
- 6:30that bigger picture observability that we talk
- 6:32about in platform engineering as one of the pieces
- 6:35people tend to get wrong really quickly because
- 6:38they just focus in on like... performance metrics
- 6:40or, you know, system performance, like, oh, we have
- 6:43a whole bunch of 400s. That's a problem. Um, it's
- 6:47a little bit different and a little bit more
- 6:48nuanced than that. So it's efficiency, but it's
- 6:51also, like, correctness? Are we actually validating
- 6:54for correctness, and how are we doing that? Or
- 6:56is the user providing that input, or how are we
- 6:59determining the correctness from the agent? I
- 7:02think that's a good question because it really
- 7:04depends on the circumstance in which you're using
- 7:06that agent to begin with. And this is something
- 7:09that I work a lot with teams on is sort of deciding
- 7:11when are you going to bring an agent into here
- 7:14and why? What are you trying to specifically
- 7:16improve? So with anything in platform engineering,
- 7:19you want to have a clear why. Why are you doing
- 7:22it? And that should guide you towards what it
- 7:24is you actually need to measure to explain that
- 7:26you're successful. So whether or not that's some
- 7:29sort of throughput metric, whether or not it's
- 7:31something around uptime, you know, mean time recovery,
- 7:34whatever other DORA metric you want to use. That
- 7:37stuff is all really important, but you have to
- 7:40be able to actually articulate that against your
- 7:43why. So why are you even doing this to begin
- 7:44with? It's nice to say, great, you reduced our
- 7:48downtime, but why did we need to do that? Did
- 7:50we have a problem? And it's the same with the
- 7:53agentic pieces too. So we want to put that agent
- 7:55in to actually make something better, make something
- 7:57faster, be more innovative, reduce toil on developers
- 8:02or operations folks, move at a speed that regular
- 8:08humans just can't do. So we have to be able to
- 8:10say to ourselves, what do we need to observe, and
- 8:12what do we need to actually think about in order
- 8:14to say, hey, is this actually working? That is on
- 8:18top of the definition of success for the particular
- 8:21task that the agent is asked to do. So whether
- 8:23or not that's, you know, here's a ticket in Jira,
- 8:26go through this, the success criteria defined
- 8:28at the end, and when you meet all of that success
- 8:31criteria, plus you meet these testing success
- 8:35or fail points, then you're done. Then you can
- 8:39consider this shipped and you can hand it off
- 8:41agent to the next step. That's the kind of stuff
- 8:44we're thinking about. Makes sense. That's also
- 8:46assuming, I guess, the definition of done is
- 8:48well articulated in the ticket. Well, this is
- 8:53why I think agentic integration as a whole is
- 8:57making people very uncomfortable. And it's not
- 8:59just because of the AI bad conversation that
- 9:01people like to have. It's also the Whole thing
- 9:03with AI is it's forcing us to confront our own
- 9:05humanity in a very strange way. And that is a
- 9:09good example of it. The definition of done sucks.
- 9:11It doesn't matter whether or not it's a human
- 9:14or a machine. It still sucks. It's just the machine
- 9:17is a lot more capable of creating a lot more
- 9:20chaos than the human is because they can move
- 9:22that much quicker. When people say IDPs are becoming
- 9:25context layers for agents, what are they getting
- 9:29right? What they're getting right is that An
- 9:32IDP is an abstraction. And in a way, a context
- 9:38layer is an abstraction. It's an abstraction
- 9:40on knowledge and practice and, you know, behavior
- 9:45expectation. And what IDPs are at their core
- 9:49is engineering behavior. The idea of the golden
- 9:54path as a whole is to direct human behavior in
- 9:56a certain way. And we can extend that path to
- 9:59agents to direct their behavior. The IDP is the
- 10:03foundation in which the agentic platform is built,
- 10:05regardless as to what direction your agentic
- 10:07platform goes or whether or not, you know, you're
- 10:09only bringing a few autonomous pieces in, really
- 10:12gradually scaling up, whatever that looks like.
- 10:14That IDP is the foundation and that has to be
- 10:17right. And it has to work for the human users
- 10:19in your organization because they are the ones
- 10:21that will determine whether or not it's built
- 10:23contextually, to overuse that word, correct for
- 10:27the organization. And the things that they have
- 10:29to do inside of it and their day to day. So that's
- 10:32like, it's partially right. And it kind of scratches,
- 10:36I think, at multiple layers. But there's a lot
- 10:39more to it. Are you seeing that they're missing
- 10:41on the flip side of that, conversely? Yeah. And
- 10:44that's a good question. This is the question
- 10:46I think everybody asks me. So that's one layer.
- 10:49in an agentic platform. And really that's sort
- 10:52of your tooling layer. It's your foundational
- 10:53substrate that everything else is built on. But
- 10:56there's other pieces too. So there's that agent
- 10:58infrastructure piece that I talked about earlier.
- 11:00So that harness, how the agent does the work,
- 11:03it's the governance piece, who's allowed, what's
- 11:05allowed to do it, what's safe, how is it watched.
- 11:07But then there's this other piece that's at the
- 11:10middle of these that allows them to interact.
- 11:11And this is the path specifications. So you can
- 11:14think of this as looking at golden paths and
- 11:17sort of, you know, 100x-ing them. What this
- 11:20really is, is the repeatable actions and the
- 11:23rules around when agents are called and when
- 11:26they aren't. So there's three kinds, realistically,
- 11:29that we are primarily thinking about. The first
- 11:32is that probabilistic set of paths that are very
- 11:35agent-driven. There's also the deterministic
- 11:38ones that are pipeline-driven. And then there's
- 11:40hybrids that are that agent and a gate kind of
- 11:43combined together. You know, if I think of a
- 11:46probabilistic path that's agent driven, that's
- 11:48an agent deciding what to do at each step where
- 11:50the output is fairly non-deterministic. So it's
- 11:52like reviewing a PR, posting comments against
- 11:56whatever your standards are that it has access
- 11:59to. And, you know, an easy one to start with
- 12:01is that PR review piece because it's fairly risk
- 12:04averse. It could just be read only. Doesn't touch
- 12:06anything. The deterministic piece is what we're
- 12:09fairly used to in platform engineering. That's
- 12:10pipeline driven. So it's something like a CI
- 12:12build. It runs same way every time it's called.
- 12:15There's no agent involved in its execution. Maybe
- 12:18it's triggered by an agent, but the path itself
- 12:21just, it runs. It's the way it is. You know,
- 12:25and it's incredibly predictable in that way.
- 12:27The hybrid would look more like a validate change
- 12:30type path where there's this agent and gate piece
- 12:33in there. So agent generates output. Let's say
- 12:36it's PR. It's the common one. But then there's
- 12:39that deterministic gate that validates it's a
- 12:41CI build, essentially. And if it fails, the agent
- 12:44has a retry loop it can go through. And let's
- 12:47just say at the stage you're at, a human review
- 12:48on that pass of the loop. It can't do the merge,
- 12:53the agent. The CI says whether or not it is appropriate
- 12:56to be merged, and the human does the final deciding.
- 12:58But that's a hybrid path at its core. So those
- 13:02are the three layers that we really need to think
- 13:04about. The IDP is just a piece. So is that agent
- 13:07infrastructure. But it's these paths that have
- 13:10to be almost redesigned with agents in mind.
- 13:13Sometimes you take the human path and you're
- 13:16augmenting it and you're also making sure it
- 13:18can work at much faster speeds and in parallel
- 13:20at the same time. How do you keep an agent from
- 13:23just looping forever or optimizing the wrong
- 13:26thing in that model? Yeah. So that's a good question
- 13:30too. The really important thing is setting limits.
- 13:33If you saw a developer that was just going and
- 13:38repushing a thousand PRs with similar messaging
- 13:42and eventually get frustrated and their messaging
- 13:44says things like, please work, oh my God, make
- 13:46it stop. You'd step in and you'd say, whoa, whoa,
- 13:50whoa, let's look at what we need to change. Same
- 13:53thing with an agent, but put a limit in, put
- 13:55in three to five, I would say is your magic number
- 13:58to start with. Why is it the magic number? I
- 14:00don't really know, just seems to work. I think
- 14:03humans just like those numbers allow the retries
- 14:07to also be learning experiences. So you can make
- 14:10sure when you're setting it up that each retry
- 14:12gives that agent information that it can learn
- 14:15from, or that, you know, comes back as feedback
- 14:18to the human that's built this platform to say,
- 14:20hey, maybe the kind of agent infrastructure layer
- 14:23needs to be adjusted here, or for lack of better
- 14:25terms, your system prompt needs reconfigured.
- 14:27There's something not quite right. Because often...
- 14:31The failure is a learning experience for either
- 14:34the human or the machine, and you might as well
- 14:36take advantage of that. So what should the platform
- 14:38score or evaluate in that loop, in that process?
- 14:43Yeah, it does depend on the path type. So let's
- 14:48just look specifically at a probabilistic path.
- 14:51What we really want to be evaluating here is
- 14:55the decisions that the agent took. Maybe how
- 15:00many decisions it had to take, how many tokens
- 15:02it used in order to do this, whether like how
- 15:06many retry loops it had to go through in order
- 15:09to get to that definition of success. And, you
- 15:13know, there's time components here. You could
- 15:15be looking at costs as well as tokens. You can
- 15:17look at it either way. And honestly, just kind
- 15:21of the measure of success, the measure of the
- 15:24behavior that the human's job at this stage becomes
- 15:27monitoring behavior and monitoring outcomes.
- 15:30You know, one thing I'll talk to teams about
- 15:32quite a bit is if you're running an agent constantly
- 15:35and it's always doing the same thing with the
- 15:37same outcome, maybe you need to revisit whether
- 15:39or not an agent is appropriate there. So you
- 15:41need to keep track of outcomes. Do you have to
- 15:45be calling through a crazy amount of tokens every
- 15:48single time you run this when it's a fairly simple
- 15:51process that's readily executed in the same way?
- 15:54You could probably reduce the number of tokens
- 15:56you're using and get the agent to be a lot more
- 15:59checklisty because you have it so standardized.
- 16:02And that's the things to watch. You know, if
- 16:05you're always getting the same output, you're
- 16:07probably wasting money if you're just letting
- 16:09an agent, you know, kind of free reign through
- 16:11everything. So we talked a little bit earlier
- 16:13about governance. So one thing that I've definitely
- 16:18realized in the industry is platform teams already
- 16:21struggle with governance when humans are doing
- 16:24the work. How do we... change that with agents?
- 16:28And it seems like it gets harder with agents,
- 16:30at least in my opinion, what I've come across.
- 16:32How do we handle that? Yeah, it absolutely does
- 16:34get harder. And I think it really comes down
- 16:37to the reason why is because we're confronting
- 16:41our own lack of trust in ourselves and in a system
- 16:44we've built. Fundamentally, at the end of the
- 16:46day, platform engineering, regardless of whether
- 16:49or not there's agents in this loop, is a practice
- 16:53about building trust. It's organizational trust
- 16:56in the system. It's organizational trust in the
- 16:58people who have access to the system or the actors
- 17:00who have access to it. So that foundation has
- 17:03to be good and it has to be trustworthy. And,
- 17:06you know, I, in the last three weeks alone, have
- 17:10told multiple platform teams to pump the brakes
- 17:12on putting an agent in because they can't even
- 17:15get human governance correct. They are still
- 17:18struggling. And this is where, you know. We'll
- 17:21really sit down and understand where this is
- 17:24happening. Where is this trust breaking down?
- 17:25And is it just because we haven't codified the
- 17:28governance yet, that identity security and observability
- 17:32piece? Or is it unclear what you're supposed
- 17:35to be doing? In which case you have to work with
- 17:37security. You have to work with the governance
- 17:39pieces of your org to really make sure you're
- 17:41getting this right. And, you know, if their trust
- 17:45in the system isn't there and they're able to
- 17:46sort of pull the plug on this stuff, that's where
- 17:49you need to focus. We focus so much on developer
- 17:52experience, we forget that there are other stakeholders
- 17:54we have to care about. And that often is governance
- 17:56security teams, you know, having to feel like
- 17:59they have a say in how these platforms are designed.
- 18:02And yeah, it gets even messier when agents come
- 18:05in, especially if that foundational trust just
- 18:07isn't there. How can you trust a machine, multiple
- 18:11machines in parallel, if you can't even trust
- 18:14a person to go through a process without someone
- 18:17standing over their shoulder constantly? So how
- 18:20should teams think about agent identity versus
- 18:22human identity? Yeah, I don't often think of
- 18:27them that differently. The reason why, I think,
- 18:31is because it does separate that trust a little
- 18:35bit. If you trust your system to allow humans
- 18:38to do the right kind of thing, agents can probably
- 18:41work within the same boundaries. The difference
- 18:43is the parallelization piece, so you can have
- 18:46multiple running at the same time. And in that
- 18:50case, my recommendation is always, you're not
- 18:53looking at generalists, you're looking at specialists.
- 18:55So you need to constrain around that speciality.
- 19:00Rather than, we used to constrain a lot, or not constrain a lot, we used to split people into, you were a front
- 19:05-end engineer, you were a back-end engineer.
- 19:07Never shall the two meet. We probably spent a
- 19:09good 10 years doing this when it was unnecessary.
- 19:11Full stack is very useful. And that's really
- 19:16not how we necessarily want agents to think,
- 19:18especially when we're trying to do this in the
- 19:20enterprise at large scale. We want to be specialized.
- 19:23Have an agent for Terraform specifically, maybe
- 19:28inside of this particular product team. Don't
- 19:32allow the scope to go beyond that. It's way easier
- 19:35to control the smaller the scope is, and it's
- 19:37also way easier to monitor. And, you know, you
- 19:40can't control what you can't see and what you
- 19:43can't understand. So the smaller the chunk with
- 19:46identity, the easier it is to manage. But start
- 19:48with the foundational layer you have for humans.
- 19:51You just have to augment it. So you probably
- 19:53have RBAC in place already. You probably have
- 19:55some level of role binding or an inheritance
- 19:57pattern in place. Base it off that just now into
- 20:01the specificity of whatever that agent's specialty
- 20:04is. Do you have like the same like time bound
- 20:08access that you do for humans or? I don't think
- 20:12there's a standard set for this yet. And it depends
- 20:15on the context. Like I'm a big fan of lower environments,
- 20:18a little more relaxed. It's also where you should
- 20:21start really in terms of building in governance
- 20:23and security because it's easier to codify those
- 20:26standards in a more relaxed environment and then
- 20:28harden them as you go. But yeah, I would approach
- 20:32it at the same kind of way you approach the human
- 20:35side of things, just obviously considering that
- 20:37these things can move quicker. If you're relying
- 20:40on an external model, there's always the questions
- 20:42of what happens if that model is somehow compromised.
- 20:47And obviously that happens internally too with
- 20:49internally hosted models, but it's that sort
- 20:52of thing you have to consider. But time constraint,
- 20:54definitely have it in place. You can make it
- 20:56shorter. It's not the end of the world. These
- 20:57things run quickly. But start somewhere, measure
- 21:02and see how you feel about things and evaluate
- 21:04the organizational trust in those things at that
- 21:06base level and then make changes as you need
- 21:10to. So we talked about agents involved in generating
- 21:14code or being on the developer side of things.
- 21:17How do you view using agents on the SRE incident
- 21:22response side of a platform in an IDP? What are
- 21:27your thoughts on that? It's one of my favorite
- 21:29places to put these things because you have the
- 21:32ability to have a very powerful, essentially
- 21:35like emergency dispatch system or early warning
- 21:38system. You know, a really good client of mine
- 21:43talked about how they've brought an agent into
- 21:47kind of their log ingestion and they're getting
- 21:50terabytes of logs per day. This is one of the
- 21:52biggest financial services companies in the US.
- 21:54Terabytes of logs. I don't think a human can
- 21:56go through that, but their agents do. And they're
- 22:01able to recognize potential problems before they
- 22:03even surface. And they don't do auto remediation
- 22:07just yet. I mean, yeah, they aren't quite there
- 22:10yet. You know, we're still working with them
- 22:12to build in the foundations of what auto remediation
- 22:15needs to look like. But it's making sure that
- 22:18it's cataloging the issue. It's alerting the
- 22:20right people in the right channels at the right
- 22:23time. So don't go send a PagerDuty page to Bob
- 22:28who's on PTO. Send it to Dave who's in the office
- 22:34and on call right now. And it knows that. And
- 22:37that's really helped them get ahead of some really
- 22:39large issues. But also when there is something
- 22:42that is major happening that maybe wasn't seen
- 22:44or it's kind of that instant everything's on
- 22:47fire, they have a much cleaner picture of where
- 22:50it is. And they're not sifting through terabytes
- 22:52of logs to decide what's relevant and what isn't.
- 22:55Agents are fairly able to recognize those patterns
- 22:57based on how they've built that context layer,
- 23:01that governance layer, that agent architecture
- 23:03around that get them the information they need.
- 23:06Yeah. I think identifying the gaps in metrics
- 23:10or alarms that you have is just as important
- 23:12as identifying the alert fatigue patterns that
- 23:15you may have. And yeah, I'm sure agents can help
- 23:19with both of those. Yeah. And an agent fatigue
- 23:21pattern, this is something your base platform
- 23:25should be handling too. If you want to do platform
- 23:29engineering right and really make your SREs have
- 23:31good days, or anybody that has to see 6,000
- 23:35alerts that don't mean anything every single
- 23:37day, consider how the platform can help that.
- 23:41Because you can make sure things are routed.
- 23:44You can make sure things are relevant to that
- 23:47person's context window. You could probably get
- 23:51my opinion on what I think about AIs in terms
- 23:53of how they exist in the world. But it's really
- 23:58important to address that for humans. Because
- 24:00alert fatigue is real. I cannot tell you the
- 24:02amount of times, even on my own stuff, And I'm
- 24:04probably the worst for actually fixing this because
- 24:06it's just me on my own projects that I get an
- 24:09alert. I'm like, yeah, whatever. And then I'll
- 24:11get a bunch of users pinging me like, dude, everything's
- 24:14broken. So fix that for the humans first. Okay,
- 24:19so I guess speaking to the human side, do platform
- 24:22teams need to focus more like on the design for
- 24:26agents as another kind of user? Or philosophically,
- 24:29do we think about that differently when we're
- 24:30designing the platform? I love that question
- 24:34because it's really the foundational thesis of
- 24:37what I'm talking about right now. What we're
- 24:40talking about, what we're writing books about,
- 24:43conference main stage talks and everything. And
- 24:45it is that at the end of the day, if your underlying
- 24:48platform, that IDP is not strong, is not mature,
- 24:53is not delivering value, is not actually reducing
- 24:57toil, isn't adopted, good luck putting an agent
- 25:00in there, or any, you know, kind of AI at all. And
- 25:03don't. I wouldn't do it, honestly. So you need to
- 25:07get that foundational design for humans first.
- 25:09Then your design has to shift to really thinking
- 25:16about codifying the things that make us understand
- 25:20how to do our job. You know, that's that's that
- 25:24part of that agent infrastructure piece. It's
- 25:26so important, and it's something that I've been
- 25:29talking a lot about recently, is like, you have
- 25:32to now codify every single assumption you make
- 25:34as an organization. Every single cultural piece
- 25:38of working on that team. Like, I know I need
- 25:41to go talk to Andrew because he knows exactly
- 25:44how to write Terraform and I'm an idiot at it.
- 25:47It's like, I keep breaking it. Or I know that
- 25:50if I need this information, I jump into Confluence
- 25:51to go get it. Or the assumption that I'm a junior
- 25:56engineer, so I'm not going to get all the...
- 25:58really, you know, hardcore tickets. I'm going to
- 26:00get kind of the grunt work. Those are things that
- 26:04we've never written down, generally, and now we
- 26:08have to. So it does, often. One of the most interesting
- 26:11things I think from like a psychological perspective
- 26:13to see is teams are now going through this process
- 26:16of doing anthropology on their own organizations
- 26:20and writing, like, an ethnography on, you know, how
- 26:24they work, how they approach problems. And having
- 26:27to document that's really hard. So that is the
- 26:30next step. But honestly, it's a good exercise
- 26:32to do regardless because it'll make your platform
- 26:35better for humans, but also make it the right
- 26:38place to throw agents. Yeah, I think anyone that's
- 26:41onboarded with a new company just realize it might
- 26:44even be outside of the engineering organization,
- 26:47but there's this tribal knowledge that like,
- 26:48what does this acronym mean? You know, you have
- 26:51this imposter syndrome where it's like, wait, is
- 26:52this an acronym I should know? No, this is... I don't
- 26:54want to ask someone. Yeah, yeah, no, this is an internal
- 26:56acronym that, you know, it's just tribal knowledge
- 27:00that people have. Or even just like, how, who do
- 27:02you go to when you have a question about something
- 27:05specific? Or, well, I need access to this, but you
- 27:09got to go ask, like, John in finance. He'll get
- 27:11that for you. Well, who was going to tell me that
- 27:13until I ran into it? Um... Yeah, like just think
- 27:17about onboarding a new human. How long does it
- 27:19take to get them comfortable and actually doing
- 27:20stuff? But there's things you don't even think
- 27:22about in that too. So it sounds like engineers
- 27:25trusting agents less. It's not so much because
- 27:29they're risky, but maybe because the platform
- 27:32around them is unclear. Does that sound right?
- 27:34I mean, there is going to be that element of
- 27:36humans not trusting AI. And you know what? I
- 27:39think it's valid. But if they trust the platform,
- 27:44to have constraints because they've seen it with
- 27:46people they've seen it not only help people work
- 27:49faster but work safer they're going to feel more
- 27:51comfortable about agents coming into that system
- 27:53and working within the same guardrails and working
- 27:58within the same patterns the patterns are clear
- 28:00they're observable and they are value generating
- 28:06to begin with and it's clear to see how they
- 28:08do that I try to avoid saying value generating
- 28:11for a lot of engineering conversations because
- 28:14often the eyes start glazing over and they look
- 28:15at me like, how dare you? But it's true. It's
- 28:18what we're doing. And it really is important
- 28:22to start thinking that way when you want to go
- 28:25down the agentic route anyway. Yeah, we have
- 28:29to build that foundation and we have to have
- 28:32that foundational trust there before we can introduce
- 28:35something that runs a lot faster. Before you
- 28:40can ride a bike, you start with training wheels,
- 28:42then you take the training wheels off. Look, now
- 28:45you're steady enough and stable enough, you can
- 28:47go mountain biking, or you can get on a race bike,
- 28:49or, um, heck, you're crazy enough, you want to go
- 28:52do motocross or something. You know, it's it's
- 28:55you don't just start by jumping in the Formula
- 28:58One car. Okay, so I'm a platform engineer. I have
- 29:02an IDP. I'm running Backstage. I have a service
- 29:05catalog. I, I've been told by my director of engineering
- 29:09that I need to have an agentic workflows built
- 29:12into my platform. Where do I start? What do I
- 29:15start with? First thing you do is ask why. It's
- 29:19like 90% of my job, I think, is telling people
- 29:21they need to ask why more. Okay, why? What are
- 29:24we trying to achieve by doing this? Are we doing
- 29:26AI for the sake of AI? Engineers move faster,
- 29:28velocity, right? That's the answer I get, right?
- 29:30That's better than just because someone on LinkedIn
- 29:33said I should, which believe it or not happens.
- 29:36You know, okay, so we've established why. We
- 29:38want velocity. So we have a platform. It's mature.
- 29:41It's adopted. Why are we talking about velocity
- 29:45being slow? Is it just because we want to unlock
- 29:47the potential of AI? Then great. We will look
- 29:50at the platform that we currently have in front
- 29:52of us and say, what makes the most sense for
- 29:55an agent? And this is where there's three paths
- 29:58I want people to usually start with here. And
- 30:00the first is that... very, very probabilistic
- 30:03agent-driven PR review task where it's that
- 30:07read-only output. You know, they go through,
- 30:10they add comments based on the standards of the
- 30:14organization, your ADRs, whatever you have in
- 30:18place. There's no modification of code happening,
- 30:21but that is the first place to start because
- 30:23let's be honest, code review is a... very time
- 30:28consuming process. A lot of the time, it's one
- 30:31of those things where I have 25 PRs to review
- 30:34and I'll get to them when I get to them. Or I
- 30:37have to set aside a specific day to go ahead
- 30:39and do that. But what if that PR could happen
- 30:41really quickly, like within a couple minutes?
- 30:45That would speed us up exponentially. So that's
- 30:49a nice one to do first because to be honest,
- 30:51it's very low risk. You as a human can go in
- 30:54and make sure that what it is saying, it's not
- 30:56hallucinating, that it is correct against the
- 30:58standards that you have. You can review the behavior.
- 31:01But at the end of the day, like that's still
- 31:04way faster because if it's let's say it's four
- 31:06or five hundred lines of code, that PR review
- 31:08would take a human a decent amount of time. It's
- 31:12also a good exercise to make sure that teams
- 31:14are doing PRs in a way that they are able to
- 31:19explain the code that they've generated, whether
- 31:21or not they've had. Claude do it for them you
- 31:24know I think you still need to be able to say
- 31:26this is the thing that I've built or that my
- 31:29agent and I have built and this is why it's important
- 31:32to this ticket and this is why we think it's
- 31:34the right approach. So I think that's a good place
- 31:38to start. After that, you know, you could really
- 31:42start looking at that hybrid piece, so that validate
- 31:44change component, once you're comfortable with
- 31:47that PR review on its own. So, you know, the agent
- 31:51does its PR, its own PR, sorry, and then there's
- 31:55some sort of, um, CI or deterministic gate of another
- 31:58type that's called to validate it, and there's
- 32:00that retry loop until it gets it right. That's
- 32:02another one to start with because I think it's
- 32:04quite safe. Um, the, you know, the the baseline you
- 32:10can move from with both of those is very strong.
- 32:14You know, have a human review the evidence that
- 32:16it was successful. And then once you're happy
- 32:19with that, go into security scanning. Then, hey,
- 32:22we're confident running this in dev all the time,
- 32:24maybe even staging. That's an easy velocity game.
- 32:28And it's a fairly quick one to put in place as
- 32:31long as you have the foundational platform there.
- 32:33Makes sense. So you had recently talked at PlatformCon.
- 32:37Is there anything you'd like to leave our audience
- 32:39with? Any thoughts from that conference or your
- 32:41talks in general? Yeah, I think there's two pieces.
- 32:45And it's at the end of the day, the kind of overarching
- 32:48story is that as a platform engineer, you're
- 32:50so valuable to your organization, technically,
- 32:53not just when it comes to building that IDP,
- 32:55but building that agentic development platform
- 32:57or that agentic finance, marketing, communications
- 33:01platform, whatever it might be, because you are
- 33:04good at taking requirements and translating them
- 33:09into value and being able to talk between different
- 33:13traditionally siloed teams and build a product
- 33:16that actually works for them. So that's kind
- 33:19of the overarching thing, but there's two really
- 33:21key components here. And the first one is, remember
- 33:24this, and this is a quote, actually. Person in
- 33:28one of the workshops I did at PlatformCon New
- 33:30York this year said, and it's possibly my favorite
- 33:32thing I've heard in a long time, and it's that
- 33:33if we can't even write a readme.md file for
- 33:37our repos, how the hell are we ever going to
- 33:40write an agent.md for our agents? So keep that
- 33:43in mind. You know, that is so important foundationally
- 33:46to what we're doing here. And the other piece
- 33:49that I just want to kind of give people is that,
- 33:53you know, change is scary sometimes that scary
- 33:58change puts us on the precipice of something
- 34:00really special. And I think this is that time
- 34:03for platform engineers to be at that gateway
- 34:06into something really impactful. And AI has a
- 34:10lot of ethical questions around it and has a
- 34:13lot of pluses and minuses, but you're in the
- 34:16place where you can actually not just implement
- 34:20this cool technology, but build something really
- 34:22powerful. And that is this base of knowledge.
- 34:25This is putting on paper the culture of your
- 34:31organization, and it it won't just help agents,
- 34:33it will help the people that work there. I promise
- 34:36you it will. So yeah, that's like, that's my big
- 34:39things right now. And and I'm really excited in
- 34:41this space. I think it's really, really exciting
- 34:43to be a part of and to be able to speak about
- 34:46it and work with teams directly on what they're
- 34:48doing, um, and kind of everything I say comes from
- 34:51doing that and actually working with organizations
- 34:53so I'm not just kind of making it up as I go
- 34:56along. Well said. Where can people find out more
- 34:59about you, follow you, that sort of thing? Yeah,
- 35:02so just find me on LinkedIn, sort of the easiest
- 35:03place to find me. And I tend to post a lot of
- 35:05stuff there, whether I'm writing on Substack,
- 35:08stuff on YouTube, podcasts like this one, the
- 35:10stuff my colleagues are working on. So some colleagues
- 35:13of mine recently. Released a book, which is called
- 35:16Thinking in Platforms, and it's really about
- 35:17taking platform engineering as an ideology and
- 35:20expanding it beyond software, outside of IT even,
- 35:23into the rest of the world and sort of the philosophy
- 35:26on what guides us and how we do things. PlatformEngineering.org,
- 35:30that's where you can also find me, not
- 35:32just in the community abroad, but inside of
- 35:35the Platform Engineering University. You can
- 35:37see me in a lot of the courses. I do teach quite
- 35:40a few of them. So if you want to get certified,
- 35:41you get to see my face a whole bunch and hear
- 35:44my voice. And then also Platform Engineering
- 35:47Consulting. So pec.platformengineering.org.
- 35:50And that is how you can get what we like to jokingly
- 35:53call Mallory as a service. Awesome. What all
- 35:56do you provide in that consulting? I'm just curious.
- 35:59Yeah. It started jokingly getting called a platform
- 36:03therapist because I spent most of my time feeling
- 36:05like I was giving people therapy or group therapy.
- 36:08But it's not really a joke anymore. A lot of
- 36:12what we're doing there is really helping teams
- 36:14be successful with the frameworks that we've
- 36:16developed for platform engineering. You know,
- 36:18I will go train teams on the best practices.
- 36:21And it's not, by the way, like, here's the tools
- 36:23you're going to use here. And here is how you're
- 36:25going to write a Pulumi. And here's how you're
- 36:28going to work with Kubernetes. It's not that
- 36:29at all. The cultural, the human side, but it's
- 36:33also this business case, metrics evaluation,
- 36:37roadmap development, building golden paths. It's
- 36:42all these pieces. There's this agentic stuff
- 36:43now as well. So I'm just a coach. There is the
- 36:47element of therapy. We do joke about that quite
- 36:49a bit because, like I said earlier, it's so much
- 36:52of me asking people, but have you asked why?
- 36:56And yeah, building their standard of practice
- 36:58for platform engineering, really. That's awesome.
- 37:01Thank you, Mallory, so much for coming on. Really,
- 37:03really appreciate your time. No problem, Brian.
- 37:05Thanks so much. It's been great. And yeah, I
- 37:07look forward to chatting with you again. That
- 37:08was my conversation with Mallory from PlatformEngineering.org.
- 37:12The biggest takeaway for me is that context
- 37:16alone isn't enough. An agents.md file is like
- 37:21dropping someone in the middle of New York City.
- 37:24The agent also needs to know what to do, how
- 37:27to do it, how it'll know it's done and what
- 37:31it's allowed to touch. I also liked how she breaks
- 37:35down paths. Probabilistic paths are agent-driven
- 37:39like a read-only PR review. Deterministic paths
- 37:43are your pipelines like a CI build. Hybrid paths
- 37:48pair an agent with a gate. The agent opens the
- 37:52PR, CI checks it, the agent retries, and a human
- 37:57still makes the call. And cap those retries.
- 38:01Three to five is her magic number. The part that
- 38:05stuck with me most is that platform engineering
- 38:08is really about trust. She's told teams to pump
- 38:12the brakes on agents because they can't get human
- 38:16governance right yet. Start with the identity
- 38:19and RBAC you already have and give agents narrow
- 38:24specialties. So where do you start? Ask why.
- 38:29Then try a read-only PR review agent, move to
- 38:34that hybrid path, and write down the tribal knowledge
- 38:38your org never documented. Your agents need it,
- 38:42and so do your humans. You can find Mallory on
- 38:46LinkedIn, plus PlatformEngineering.org, through
- 38:50the links in the show notes. Follow or subscribe
- 38:53to Ship It Weekly wherever you listen, find previous
- 38:58episodes at shipitweekly.fm. Thanks for listening,
- 39:02and I'll see you Friday for the news.