Skip to content
PodSubs
ShowsPeopleGuestsJobsNewsEvents
More
BlogPodCred
Menu
ShowsPeopleGuestsJobsNewsEventsBlogPodCredNetworksSign in
Join nowSign in
  • Shows
  • People
  • Jobs
  • News
  • More
    • Guests
    • Events
    • Blog
    • PodCred
    • Networks
    Join nowSign in

Refactoring Podcast

Refactoring Podcast artwork

Building Your Software Factory 🏭 — with Benedikt Stemmildt

Oct 30, 202652 minAudio
ShareXLinkedInFacebookWhatsAppEmail

This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify Today’s episode is brought to you by: TRM Labs Criminals are scaling with AI. Build the technology that helps crimefighters fight back. TRM is hiring, go to https://www.trmlabs.com/careers Today’s guest is Benedikt Stemmildt, founder of hackers&wizards and co-chair of the CodeTalks conference. With more than 15 years in software, Benedikt now spends most of his time helping companies and product teams adopt agentic engineering, from training to full transformation. We talked about why product and engineering roles are merging, why engineers resist AI the most, where the time you save with agents should actually go, and why Benedikt is not a fan of spec-driven development. 🥇 Interview Summary If you are a 🔒 paid subscriber 🔒 you will find my own summary of the interview below. It’s the 5-minute, handcrafted takeaways of what we talked about, with timestamps to the relevant video moments, for those who don’t have time to sit through the 1-hour chat. Here is the agenda for today: * 🤝 Product and engineering converge * 🧱 Why engineers resist the most * 🧹 Where your AI time should go * 🏭 Factories, not spec-driven waterfall * 🔍 Reviews, agents, and the road ahead ⠀Let’s dive in 👇

Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

Transcript

From the show. Tap a time to play from there.

SPEAKER_01I actually don't really like spec-driven. So spec-driven to me is kind of like, why are we doing this now? Because we did waterfall development before, and now we are again doing some form of water, and we know from without AI that it's not going to work. And now we are doing the same again, and we assume that this is going to work. So I'm kind of confused about the strategy of spec-driven development.

SPEAKER_00Should you do spec-driven development when you work with agents? And should you still do code reviews? And in all of this, how do you grow your team through psychological challenges, change of skill sets, and more? So today we are talking about all of this with Benedikt Stemmilt, more than 15 years in software, hosted several conferences and founder of Hackers and Wizards, where he spends most of his time training software engineers and product teams

SPEAKER_00about agentic engineering. So let's dive right into the action. Welcome Benedikt and thank you so much for being here with us today.

SPEAKER_01Hi Luca, I'm super happy to be here.

SPEAKER_00So Benedikt, you are the founder of Hackers and Wizards. You're also the co-chair at the CodeTalks conference. And at your company, you do training in agentic product engineering and agentic workflows. So am I right? Is this a good definition?

SPEAKER_01Yeah, that fits. We try not to do only the training part of it. So training is one of the products. We usually try to do like the full enablement thing and transformation of the company. And training is the most, like, I think the most famous and most easy part of it, upskilling the people.

SPEAKER_00Yeah. Yeah. So I'm excited to talk about this with you because I know you and the team are practitioners. You have more than like 50 years of experience in tech. And I really wanted to I want to understand how you think about this. So first of all, you talk about product engineering, which is a term that is discussed a lot these days. So I want to understand what you mean by that, first of all. So if it's about marrying the two disciplines, it's about a role that people have in a company.

SPEAKER_00I mean, what do you mean by that?

SPEAKER_01It's a good, but it's also like a very difficult question. Yeah, to stay the full

SPEAKER_00hour just in that.

SPEAKER_01Yeah, it's also like, it could be super philosophical as well, right?

SPEAKER_00Yes.

SPEAKER_01Yeah, but I think the, like, the idea is that I mean, it has to do with everything you said, right? Like roles are merging more together. So as an engineer, I also need to think more of the product as a product and not only about, okay, I am going to implement this feature now. But also as a product manager, you kind of are trying to get more closer to engineering. Is that a viable feature in terms of like,

SPEAKER_01how hard is it going to be to implement that and so on? So it is about the converging of the roles, but it's also more on a level, I don't know, I think even before AI, people were not really People could have thought more about their software as a product. And that is still an issue, independent of AI, that you really need to look at the outcome of things and the vision of the product. So that's why we call it product engineering and not maintenance of a system or whatever.

SPEAKER_01That's kind of the idea.

SPEAKER_00Before we continue, I want to talk to you about today's sponsor, which is TRM Labs. So I have a quick question for engineers listening. What's the hardest system you have ever built and who was on the other side of it? So TRM builds investigation software. So the other side is things like drug trafficking, human trafficking, terrorist financing or national state threats. And TRM just launched Ardennes, an AI-powered platform that helps investigators keep up.

SPEAKER_00It returns findings backed by evidence that humans can explain and defend. And these problems have life and death consequences. So TRM has incredibly high talent density, and it's looking for the best of the best, dedicated people who want to be on a mission. The company has doubled revenue in the past two quarters, like explosive growth in a remote first team with roles around the world. And they're hiring like crazy right now.

SPEAKER_00So if you're looking for the work of your life towards the mission that matters, you can go to trmlabs.com slash careers. Yeah, absolutely. And you work on that both with people who are like product managers, I mean, people coming to it from the product angle. And from, and, and with actual engineers, right? That instead need more to go to the, to the other end of the spectrum, right? So do you think The goal is kind of making these roles closer so that,

SPEAKER_00you know, each of these types of roles can actually do some of the, some of the other and, and converge on a workflow that is more like common for everyone. I mean, when you, you said at the beginning that you do not only work with individuals or with companies, do you have like a workflow you have in mind at the end? How do you think about this?

SPEAKER_01Well, I think we all don't really know yet what the perfect or best practice workflow will look like. But I see some patterns that are working well. And one of them is that For example, we engineers like to do pair programming, right? Or at least a lot of engineers that I know. I'm a big fan of pair programming and also of ensemble programming even, right? As a whole team, we develop together on a feature.

SPEAKER_01Now that we have the AI body implementing everything super quickly, I think these types of work can be used also in the full process so that a product manager and an engineer and someone from the business can Can assemble together and work on the feature together instead of having like them work individually and handing over the work. Um, so, um, what we see a lot is that if, if teams really collaborate now, that makes them really fast.

SPEAKER_00Yeah. Yeah. It makes sense. And if that's the goal, like when you jump in and help people get closer to that, uh, what are the most common problems, uh, you find?

SPEAKER_01So first of all, the biggest, there's a huge barrier in terms of on a psychological level. Like, is this going to replace me? Is that something that like, and then there's this, I don't know, kind of like an escape. So, okay, the code quality is not good enough. So, right. So people are kind of like, there are these, These psychological barriers, and they are often something that you need to overcome.

SPEAKER_01And then if you do that, there is the second barrier that is very, very big, which is the current process and the current organizational structure of the company that is super hard to kind of like a wall you need to punch through to. And once you have this or like a very hard tight knot, and once you untie it, then Then you can make progress, you know? But yeah, there's this, this is like, yeah, like a strange, I don't know.

SPEAKER_01There's so much force in the current, in structures, like people, how they work together that it's really hard to overcome.

SPEAKER_00Yeah. I remember, uh, I remember, uh, when I spoke with, uh, Kent back on the podcast, he talked about power structures, right? That agile, you know, had to untie and loosen up, you know, for things to, to work properly, but the power structures are resistant. To, to change. And he was talking more about hierarchy, you know, because for example, waterfall is better for hierarchy in top-down direction and stuff. But I think there are, there is like structure that in process and how people work in general,

SPEAKER_00not because there is a king that says how things should be done, but it's just, um, inertia in, in how people work. It's hard to, uh, to change probably.

SPEAKER_01Yeah, and I think the comparison to the Agile change we had a few years ago is kind of very valid, you know, because now with this new tool, we have another way of working that needs to change. And Agile is now something like a power structure that is... Kind of holding us back because, I mean, agile, not really agile, that would be wrong because I think agile is super true, still super true and super valid. But Scrum, for example, as an implementation of it feels now kind of not working very well anymore because

SPEAKER_01the ideas of Scrum are tied around the speed that we had without the AI. And now with the AI, the process does not really work anymore. Yeah, like people are used to work like that now and that kind of holds them back on trying new things or leveraging it as much as it can.

SPEAKER_00Given that you work with all kinds of people and roles like engineers, product Even people, I think from other roles, from what I understood, when you talk about this kind of psychological resistance and adopting the right mindset, do you find more resistance, for example, in engineers rather than other roles? Or it's, you know, everyone has their own biases. It doesn't matter whether you are a PM or an engineer or whatnot.

SPEAKER_01Oh, no, that's actually, like, engineers do have the most resistance. Yeah. That is, like, and I don't, I also don't think that this resistance is, like, not, how do you say that, like, it is okay to have it, right? There is a truth in the resistance because that makes you, You just don't want to build like software that is not of high quality, right? So you can't just simply throw away all the principles you have. And we learned a lot and we needed to defend ourselves a lot to get where we are at the moment.

SPEAKER_01And now it kind of feels like that there's high risk of going back to this world that we had before with a lot of bugs, with a lot of brittle architectures and so on. And it took us years and a lot of effort to get where we are. And, yeah, now product managers think they can develop software, right? And for them, it's like they are super happy now and you have other psychological barriers you need to tackle. But, yeah, the engineers are the most resistant, yes.

SPEAKER_00Yeah, I asked that because I suspected that, but I mean, this could be like for very valid reasons. So I'm not saying they shouldn't. So I really want to go into the details now because of course we have also spoken before and I know how you think about some things. And one of the things that you told me is that when you work with companies in becoming In working more and better with AI, what you see is that they often have faster engineers and engineers

SPEAKER_00that might be going very fast by themselves by using AI with their own workflows and their own ways, but that does not result in shipping more product or in faster And I think that's also backed by a lot of research these days that shows that basically, yes, there are way more comments, there are way more PRs, but then at some point the pipeline gets stuck, you know, for some it's like code reviews validation, for others it's other things, for others it's like requirements are too slow,

SPEAKER_00whatever, but the outcomes are not just as getting as faster as we are producing code. And you told me that's something you are seeing as well.

SPEAKER_01Yeah, definitely. So that's also a many-faceted question because What we see as the first thing currently is that, yes, you get way faster with AI, right? So if you have a backlog and you can produce much more code quickly, and if you do the, let's assume that you are not doing the review with humans anymore, you build your setup in a way that you can actually review with agents as well, and then you produce a lot of output, basically.

SPEAKER_01And that leads to that maybe your backlog is even empty at a certain point. And then, yeah, you don't really, I mean, you don't really know if this output also creates outcome, right? And before we didn't really measure this. And now we kind of, I think there's two things now that happen. Like one thing is people just build a lot of stuff in the product that makes the product worse because you just can.

SPEAKER_01And the other thing is that Yeah, that people don't really kind of know how to answer the question, what do I do when the backlog is empty, right? Or how do I ensure that I build the stuff that is actually valuable?

SPEAKER_00Yeah. Yeah, I think this is a very good point. And I was talking with a friend of mine last week, and we were saying that I think before AI there was for the fact that building things had a much higher cost, you were justified in spending a lot of time beforehand in figuring out not only how to build things, but also what to build, because then you will be building that for quite a long time.

SPEAKER_00But now maybe some teams are getting to the The fallacy that since it feels like it's cheap to build more things, you can just make a product better by building more and more things without asking yourself too much, what should I focus on? Should I do A or B? No, let's just do both, right? But maybe what you're saying is it does not always result in a better product when you do like that. Yeah, almost never, right?

SPEAKER_01Yeah. Yeah, I think the problem is that Like even before AI, people were not really measuring that what they do is something that really creates an outcome, but they could have, I mean, now you have the chance to actually do that. So instead of kind of like just implementing all the stuff that you think is nice, you can now, so the question is basically, where do I spend the time that I gain from the AI efficiency?

SPEAKER_01So if I'm loud, I'm 10x faster, should I spend all of that faster on just implementing features faster? Or should I spend that on validating features, on being more hypothesis-driven? Or how much do I spend on cleanup? For my workflows, for example, only... Only like 20% of my agents are working actually on building new stuff into the products. And 80% of the time and of the tokens are spent on doing refactorings

SPEAKER_01and improvements of the architecture so that it stays also good, right? And I think people are over... When we didn't have AI, it was super great if we could finally implement some things. And so people are now kind of implementing too much, in my opinion. They are too focused on just getting stuff into production or building stuff instead of thinking about if that is actually valuable.

SPEAKER_00Yeah. So you said that you have many agents that, for example, do refactoring and not just do more product work, which is the low-hanging fruit instead, right? If you're talking of these areas where it doesn't come as easy as with new features to invest more in terms of using AI and agents, but instead it becomes very valuable if you do that, what would be these areas in your opinion? If you think of the companies you work with,

SPEAKER_00areas where there is an underinvestment in using agents and AI with respect to what teams could do.

SPEAKER_01Yeah, that's a great question. So on the first hand, it's kind of to work more hypothesis driven. So trying to figure out, and that is really hard because, okay, so trying to figure out if the feature is actually something that the users want, like if this is actually improving the product. And I can do that by doing prototyping or by having like a alpha canary deployment version and then collecting data from the users.

SPEAKER_01And only once the numbers tell me that this is actually something valid to bring it into the product. So to get signal very early and not kind of... Trying to do product management way where you kind of say, okay, we need all of these features. They need to be all in, like, do we actually need them? You know, like, is that something that, like, what is the data that backs that up? And on the other hand, it's, yeah, what usually gets also lost is that, like,

SPEAKER_01updating the architecture constantly, updating dependencies, doing refactorings and kind of Usually if you see these longer software projects, like stuff gets kind of built from the side and on top of it, and then it looks like a, I don't know. And now with the agents, you can basically with every new iteration kind of do a full overhaul so that it's always like a nice picture so that your architecture is kind of always in a clean shape. Holistic, well-defined shape.

SPEAKER_01And where you would before maybe have some issues in terms of like, oh, we have a monolith and now for this type of thing, microservices would have been better. And now you can just say, well, then let's cut it and make it a microservice, right? And these kinds of things are not, yeah, I think people are still from the old world and feel, okay, it still needs to stay a monolith, for example.

SPEAKER_00Yeah. Yeah. So now it's a couple of times that you mentioned refactoring, keeping like the whole architecture sound. How do you, how do you do that in your projects? How do you use agents for that? Because I think we are all used in at like, for example, using agents to build feature by feature. But then how do you think like big picture? Because I think when you say architecture and refactoring, it's more like broader. So how do you keep that sound?

SPEAKER_01Yeah, so I really like the scheduling functions that you have, right? I mean, it's very basic to do a cron job, but it's really helpful because you can just schedule, for example, daily cleanup routines or weekly cleanup routines. And there's a very good combination of these things. So you can Yes.

SPEAKER_01Creates a new component. Now we have two components that are doing the same. And the daily cleanup routine will then notice that and say, well, we introduced a new component here that would have been necessary. So it merges them together again. And on a weekly basis, you can do something broader, you know, that you say, okay, now that we have all of these features and so on, can we kind of change the architecture, change it? And of these routines that are running in the background schedule, I have a few of them.

SPEAKER_01And that's why also the most token spend goes in these cleanup routines because they run constantly. And yeah, so it's like 80% of the spend that I have.

SPEAKER_00Do you measure actively like where tokens go and did you find anything interesting? I mean, for example, this was already interesting to hear, like 80% goes into this cleaning up, you know, catching up with things that could have done better and so on.

SPEAKER_01Yeah, so I actually do. I mean, it's super interesting as well regarding all times in terms of like, Like caching and not caching and how the effect to cost is and could you use that with a smaller model or a smaller effort and so on. And I collect the data so that I'm able to kind of optimize the right models to use for which of these routines because you can pin the model for the routines. And so it's often a nice idea to pin it to models that don't use so many tokens.

SPEAKER_01And yeah, you can't really do that without measuring, you know? So yeah, so I'm like measuring it quite, quite heavily.

SPEAKER_00Yeah. Yeah. Do you think that It's worth investing, like in trying to understand what's the best model for the best routines, because my feeling is that most teams feel like they don't have the time to do that. They just stick with the latest and greatest, you know, and they say, I can go any kind of worse than X, you know, by doing that, but maybe they're missing out in terms of savings and speed when it comes to tasks

SPEAKER_00that could be just as well accomplished by much smaller models. I don't know.

SPEAKER_01Yeah, I mean, when I'm using the agent in a supervised way, so I'm talking with it and I'm kind of like, I don't really optimize the models in these situations as well. So because this is like tedious, I don't, I mean... Yeah, but if I build something like a routine or like a factory, we haven't talked about factory yet, but if I kind of try to automate a workflow to an unsupervised way, it's often helpful to do this because you don't need to manually switch, right?

SPEAKER_01So you don't need to be... I mean, switching is always very tedious because who does that, right? Like who is like thinking about, oh, this is a small task, so I'm doing the other model now and so on. I kind of have a default, which is Opus Medium at the moment because Opus Medium feels like being super strong for every case and also fast. But yeah, in some cases, some of my routines are running on Opus High and others are running on Sonnet High instead of Opus Low or something like that. So I really try to tune that a bit.

SPEAKER_01Yeah. Yeah.

SPEAKER_00That makes sense. And since, I mean, you said we haven't talked about factories yet, so thank you for asking. But what do you, would you say your setup is a factory and what quality? What qualify? I think we are not, I mean, I don't think anybody is like on the same page about what factory means in terms of software. So let's try to get some consensus. What's a factory? What qualifies as a factory, first of all?

SPEAKER_01That's a hard question. So I would say, so for me at least, my definition of a factory is, and I don't really like the term factory at all because developers don't want to work in the factory. I mean, okay, we don't work in it because we built one that the agents work in it.

SPEAKER_00We can try to invent a better term like now. Yeah, we need to invent it.

SPEAKER_01So if we put the term aside, what this actually means is I'm automating my process, right? So it's like a default, like I could automate a marketing process. Now I'm automating the engineering process and we just... So let's put aside factory and then it's easier to define it because I would say that supervised it's not a factory and unsupervised it's a factory.

SPEAKER_01Even if I have only a few small things that run autonomously, unsupervised, that would mean that I have some kind of small factory. It will probably not be the whole process and it will probably need supervision at some points, but I'd say that a factory is actually something very small already. Yes.

SPEAKER_00Yeah, it makes sense. I like this revised definition. So it's like the factory is supposed to be run, to be managed, like by exception, you know, people jump in if something goes wrong, otherwise you have more of an automated process. And I think we have talked about different parts of that already. And I especially like the part about, you know, Catching up with what falls through the cracks in architecture and refactoring. Do you also have opinions about how to work on the product side,

SPEAKER_00like what comes before coding, like specs and requirements? There are big trends and Keywords and buzzwords there to like spec-driven development and other things. Have you found something that works for you? Have you found something that you hate? We like talking about things that we hate in this podcast.

SPEAKER_01Yeah, that's true. Okay, okay. So I actually don't really like spec-driven.

SPEAKER_00Oh, I like it. Go on, let me go in a clip. Yeah, okay.

SPEAKER_01Because I think the... So Spectrum to me is kind of like, why are we doing this now? Because we did waterfall development before, and now we are again doing some form of water, and we know from without AI that it's not going to work. And now we are doing the same again, and we assume that this is going to work. So I'm kind of confused about the strategy of Spectrum development. I mean, I understand that the idea is If we have a better defined requirement, then the agent is going to implement it better.

SPEAKER_01But this was the case also before AI, right? And we noticed that we are not able to write the requirements in better ways. And we need the engineers and the process and the time to figure out what the right requirements are. So I really don't understand what we are doing with spectrum development. But what do I propose instead? So... I really like the idea of thinking about like a little bit in two speeds or in two,

SPEAKER_01I don't know. So the product work, I usually do it supervised, like chatting with the agents, talking with the agent, building a small prototype. Showing the prototype to someone, getting feedback from them. So this is kind of more like a collaborative thingy. And then when it goes to, I want this feature now to be on the real product, then I can kind of just push it into the factory and the factory is going to productionize it.

SPEAKER_01So for me, my factory is a little bit like an extension of the CI CD pipeline. Yeah. And I mean, you could argue that this is now kind of spec-driven development because when I have the prototype and all of that, then I have my spec. But to me, it doesn't really feel like, I think the process of how you get there is quite different than what the spec-driven people are kind of advocating for.

SPEAKER_00Yeah. So the way I personally think about that, because I'm not a big fan of spec due and development either, but especially because I think it leads to Wrong slash confusing interpretations of what this means. Because if I think in my own product work, I mean, there are features where when I want to build them, I know exactly what I want to build. Okay. Because I have the full thing in my head. And so I can totally understand that if I,

SPEAKER_00if I create a more detailed spec that helps the agent, you know, adhere to that and stay closer to the vision, then the outcome is probably better. But the problem is that most of the times I don't have that. Most of the times I have like this idea that I want to build, but I don't exactly know what's the shape, right? And so it helps me to just get something out there, like a cheap, crappy prototype done by The agent out of a very thin spec,

SPEAKER_00like a couple of lines of stuff, just to update, you know, inform my intuition and understanding of what I really want. And then after that, maybe I'm able, as you said, to come up with the full spec, but it's like, you do that in multiple steps. So it's like iterations, like we've always known and done, right?

SPEAKER_01Yeah, I think that this spectrum thing is kind of advocated by the engineering community a lot, by the developer community. And it comes from the pain that they know, you know, like not well-defined requirements and so on. But when I talk to the product managers, they are more in this, what you described, this exploration mode, this, I don't really, discovery mode, right? Like I don't really know what this is now. I know there is a problem and now we need to figure out how to address the problem. So I can't really specify it yet, what I want.

SPEAKER_01So let's kind of try to explore it. And then we have this design sprint thingy way of working. And yeah, I think that, yeah, that this is completely different, you know, and then maybe you need a spec to hand it over to this productionizing thing, but it could also be the unfinished code, you know, like the beta version of Yeah. Of the code, which has a lot of bugs, which has a lot of performance issues and unsafe things security wise and so on. And then the factory doesn't even need a spec anymore.

SPEAKER_01The factory would get the code and would look at it and say, oh my God, who implemented this shit? And now I kind of like do all of the cleanup stuff that makes it good code. Yeah.

SPEAKER_00Yeah, absolutely. And another kind of problem I have with overly detailed Things that might be specs, but also harnesses, also parts of the processes that they look to me like they're more fragile with respect to new models and models changes. Because it's like, I mean, whenever a smarter model comes out, I always ask myself, and that's something where I don't feel like I'm doing a good job. So if you have any recommendation for free, but I feel like I should update,

SPEAKER_00you know, the harness and how I work on things, because maybe some of the things that I thought I need to say intentionally the model, otherwise it will not apply them or it will forget about them. Now maybe the model is smarter and I don't need to, you know, and so spec-driven development in particular, like you do, you say very specific things, maybe some of them, the model would have figured out anyway or come up with better solutions. But yeah,

SPEAKER_00the thing is I still struggle at, you know, keeping I think my heart is state of the art with respect to what's appropriate with the different models. I don't know if you have any suggestions or any experience about that.

SPEAKER_01So, yeah, so first of all, I have the exact same issue. So that's, so that's might be good, the way that we share the same problem. And so I also really find that with that hard. And it's also the spectrum of like, How deterministic do I need to do things and how non-deterministic can I keep things because it's also helpful for these things to be non-deterministic. And I think with every new model, the scale changes.

SPEAKER_01And for me, it's a little bit like reverse engineering. I tend to, if there's a real new class of model, let's say like Opus 4 or something to Opus 5, right? So there's like a real major version update of the model. I actually try to just remove all of my skills and rules and then observe it, how it is doing it without any guidance. And then figuring out which guidance I want to put back in there.

SPEAKER_00Yeah. You mentioned skills, so it just popped in my mind. Do you use many skills for different things? Because, you know, there are different like schools of thoughts. There are people who are segmenting everything into separate skills and have like big collection with that. And those who say, no, let's keep things simple. I use no skills or very few skills, put most of the things instead in the agent's file. So different approach. So how is it for you?

SPEAKER_01Okay, so usually my ClaudeMD file and rules files are thin, so there's only like this guidance of how this repo is structured, you could say, like where to find things so that it's easier for the models to kind of orient themselves in the codebase. And then I tend to have a few skills, but not more than like five or six.

SPEAKER_01So also try to keep it minimal. But I do have a lot in specific agents. So my skills are often just like a wrapper to call a specific agent. So I tend to have like 10 or 15 of these specific agents. And in these agents, I have the configuration of what this agent is going to do or focus on. So when we look at the cleanup thing, for example,

SPEAKER_01there's one skill for this cleanup thing, and the skill kind of orchestrates the call of multiple agents. But I only do this because I figured that depending on the harness, so I'm using Cloud Code harness a lot, and Cloud Code is not really... Calling agents on its own. I don't know why, but so it is kind of shy on calling agents, even though this specific agent would have been matching to what the task is.

SPEAKER_01So I built this bridge using the skill that it kind of in the skill and it's kind of written like call this agent and that agent and so on.

SPEAKER_00Yeah. Yeah. Interesting. And so while you were talking, I was thinking that Uh, you mentioned like 10 to 15 different agents to do different things. Uh, I think something that we still, uh, having, uh, gotten to some consensus is how to think about agents in terms of their scope and what a single agent should do versus when you need more of them, uh, whether You think about agents like people,

SPEAKER_00you know, with broad responsibilities and roles, or you think about them, I mean, when it comes to software, like maybe they're associated to steps of the software development life cycle, there's an agent that does reviews, The agent does coding, which is different with respect to how we work with people. So you cannot say agents of people anymore. So how, how do you think about agents in terms of structuring your, your fleet agents and assigning responsibilities and splitting them and so on?

SPEAKER_01I think for me, it's a mixture of, of both actually. So, um, well, And I also, I mostly use it for technical separation of things. So to also optimize the context window and token usage, because I can, again, an agent, I can pin that very well to a model. Mm-hmm. And I can, I mean, pinning skills to a model is kind of, I don't really understand how this works. So if anybody knows, please tell me. But if I, like,

SPEAKER_01if you have three skills, and they have all a different model, and now I load all three skills, like which model is

SPEAKER_00being used?

SPEAKER_01I don't understand how, like in the documentation, it says something like, yeah, I don't get it. Like, how is this going to work? Yeah.

SPEAKER_00We hope that someone at Anthropic is listening to this and will jump in in the comments.

SPEAKER_01Yeah, and if it first loads a skill and then changes to a different skill later, then all my cache will be wiped. So this is also very bad, right? So I don't understand the skills being tied to a model thing. But agents to a model is kind of nice, right? Because I know that this full agent is then going to work with this model. And that is kind of what I use them for, to kind of scope their brainpower, you know? And sometimes it's helpful to do that by people ideas, so front-end developer.

SPEAKER_00But this is kind of a

SPEAKER_01mixture of tech and person, you know, like specialists for certain things. But I also have someone that is kind of like the orchestrator, like that is also an agent that is kind of Um, scoped to just keeping the, uh, the organization of, of all of the implementation. And I actually start each session, not with the default agent, but with these orchestra, with the orchestrator agent.

SPEAKER_00Oh, okay. So the orchestrator orchestrates because that's the name, uh, the different works, different work from different agents that, and these agents work on different parts of the, of the So the development process, maybe they're like coding agents. I don't know if you, you said front-end, I don't know if it's like front-end versus back-end, it's separate agents or, or do you also have like a reviewer agent?

SPEAKER_01Yeah, exactly. So like, I don't have a reviewer agent because the reviewer Review is then done by, you know, like the, I have a review skill and the review skill uses then multiple agents to kind of do the front end review, the back end review. And I'm not really using the front end agent for implementation. I have like a full stack guy for that, right? Like someone who's the product engineer, you could say, who tries to build it end to end. And then in the review, the specific personas then kind of review the parts that were built and optimize

SPEAKER_01the parts. Yeah, but the orchestrator for me is just someone who kind of keeps the overview about everything. So I can just dump stuff in there or if there's a new, like for example, a lot of the products that we build, people can just provide tickets in the product itself. They can just say, here's the bug or I have a request here. And all of that stuff is just being picked up by the orchestrator. And then the orchestrator kind of organizes all of that stuff so

SPEAKER_01that we can keep track of everything and don't forget anything. The orchestrator is also like running all the time basically.

SPEAKER_00Yeah. Okay. And so you mentioned reviews, which is another big controversial topic today. What's your take on code reviews? So on a spectrum that goes from I review every single line of code that my agents produce to I don't even know what programming language they're writing things in.

SPEAKER_01Okay, that's a huge thing. I actually have a little bit of a different view on code review. So why do we do code review as engineers or as teams as well? I think that this part of the quality of the code that is part of the code review is at the moment, I think agents are much better in that than humans. So I see a lot of agents figuring out stuff that I would have kind of skipped as a human.

SPEAKER_01So I don't really review code lines anymore at all. Yeah, but I still know the technology and so on because I made the architecture decisions beforehand and so on in this kind of supervised, collaborative, exploratory way. Yeah, but I don't review every single line of code. But on the other hand, we do the review to keep our mental model of the technology, right? Like how is our application shaped? What is our heat map and so on?

SPEAKER_01And I really like to review that. So there is kind of like a reporter In my setup that kind of updates my artifact. So in Cloud Code you can use artifacts. And artifacts are kind of nice because they are like living HTML documents that you can also share with others. So if you have like a client who wants to know what is the status of the project and where are we and so on, then you can just share them the artifact and the artifact can constantly get updated.

SPEAKER_01So my reviewer agents actually update the artifacts so that I can ensure that the overall model of the system goes in the right direction because reviewing is about understanding the mental model of the application, for me at least a lot.

SPEAKER_00Yeah. So these artifacts as you review are like diagrams of the architecture or are like, for example, I use architecture decision records a lot. So what are you reviewing like exactly?

SPEAKER_01Yeah, so for me, I try to have as little text as possible. So I do like the concept of architecture decision records. But I don't really read them because it's like too much stuff to read. So I like I try to visualize. Yeah. I mean, the model is doing that or the agent is kind of writing them and then also reasoning on them. But I don't really review those. But I try to visualize a lot. So heat maps are interesting.

SPEAKER_01Of the codebase, architectural diagrams.

SPEAKER_00Hitmaps like which files in the codebase are hit the most with changes and churn or like hidden coupling, stuff like that.

SPEAKER_01Yeah, actually, so for coupling, I really like to use like a domain map. Like you can see like which context, like which bounded context you have and how are they coupled to the others. Heatmap is for me exactly what you said, like which part of the code is being changed the most. So this is probably code where I need to focus on or where I need to kind of Make sure that this is going to be

SPEAKER_01high quality or also an indication for something which we would maybe need to refactor in a way that I have a better spreaded heat map so that it's not like, you know, that you don't have this one class where you need to work on every time when you do something, which is like kind of like a code smell on the architecture level, you could say.

SPEAKER_00Yeah. Okay, makes a lot of sense. And do you think, I mean, I was thinking while you were talking, this looks to me like also indicative of a trajectory of from what a software engineer has been doing so far to how a software engineer can kind of work in the future, like reviewing higher level artifacts, coordinating maybe a small fleet of agents doing this and that. How do you think about this transition that many people are going through?

SPEAKER_00Maybe you're a founder, so it's kind of psychologically easier for you because you're used to do many, many different things. But I think many software engineers are either anxious or skeptical or concerned about where the work is going. Do you have an opinion that is more like optimist or negative about the industry and where it's going? How do you feel about that?

SPEAKER_01Well, I think the first thing is that I think that people just should try that stuff out, right? Like I can be skeptical of it, but I can still use it or try it out. So if I want to kind of, I would encourage everybody to just use these tools to figure out where their place is in this new world. And you can only do that by kind of trying it out, right? And then if you kind of would ask me what, there are two roles that I currently see that might be emerging out of this. And one role is someone who's going to work more on the factory.

SPEAKER_01So on the process automation side, which skills do we need? How should we organize all of that and so on that our code is being productionized the right way. So for this later part. And these are often, so at least from my experience, often the more skeptical or more critical, more engineering type people that are kind of trying to actually like review the code and then figuring out how the factory should look like so that the code gets better and so on.

SPEAKER_01And then I feel that there's this other group of people that will be more That will evolve more into the product engineering role. And in this design sprinty thing, building prototypes and figuring out if this is a real feature and will help the product managers to build better prototypes, you could say. Or maybe product managers that are currently very far from engineering will also evolve more into this engineering direction. And this could be like a new emerged role, you know?

SPEAKER_01Yeah.

SPEAKER_00Yeah, I like it. So basically you're saying if you're skeptical, like weaponize your skepticism and use it to build better systems that make you less skeptical of what's coming out of that, right?

SPEAKER_01Yeah, exactly. I mean, so the question is like, why are you an engineer and what are you losing, right? So on the more psychological element, Despite the skepticism. So there's also kind of this problem that engineering is really something that is a lot of fun, right? And you get into the flow and when you develop and so on, and now you fear to lose that flow because only the agent is doing all the fun stuff anymore, right?

SPEAKER_01And you kind of like type in a few sentences and then the agent has a lot of fun. But I think that if you look at the factory side of things, There is again this very similar task like engineering. You need to figure out why did the agents not do it in the right way? What was missing? This reverse engineering of the model. Do we need to add something? Can we leave something out?

SPEAKER_01So there's a lot of flow there again as well, in my opinion at least. So it feels to me like that, right? I feel the same engineering flow. And that could be something that also skeptical engineers really enjoy if they are not on the, you know, like on the flow side of things when it turns out like building products is also something that brings people into the flow, but that's kind of a different type of person.

SPEAKER_00So have you found this also kind of relates to being a specialist versus, you know, generalist type of engineer, like specialist engineers might be more Keen to working on platform and optimizing for quality on developer tools while instead the generalist ones are the ones that are more likely to turn into product type engineers.

SPEAKER_01I mean, you can never generalize these things, but I think there is a lot of truth in that, right? It's a similar thing with full-stack developers. Full-stack developers who are also more tending to build the full product and so on and are happy about shipping products and so on. I mean, there's still also full-stack developers that are super skeptical and then maybe also more on the factory side, but When it comes to specialists,

SPEAKER_01I would say that you can really leverage them to kind of optimize their special role in the factory.

SPEAKER_00Yeah. Yeah. Makes a lot of sense. So Benedict, thank you so much for this great chat. I think we covered a lot of ground, a lot of controversial things, but I think we gave good answers. Not sure if our answers will get to the consensus of everyone, but we did our part today.

SPEAKER_01Yeah. Thank you so much Luca. It was a lot of fun. I hope everybody is happy and could kind of get something out of it.

SPEAKER_00Totally. I'm sure. Thank you. Thank you so much, Benedict.

SPEAKER_01Bye-bye.

SPEAKER_00Thank you so much for listening. If you found this chat valuable, you can subscribe to the show on YouTube, Apple Podcasts, Spotify, or your favorite podcast app. Also, please consider giving us a rating or leaving a review as that really helps other listeners find the show. You can find all past episodes and learn more about the show at Refactoring.fm. See you in the next episode.

Open the transcript file

Hosts and Guests

Nobody is credited on this episode yet.

Credit the people on this episode

Be the first to rate this episode

More episodes

All episodes
  1. Shipping faster didn’t save eBay – with Randy Shoup

    Nov 13, 202651 minAudio

    This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify - Today’s episode is brought to you by: TRM Labs Criminals are scaling with AI. Build the technology that...

    Credit the people on this episode

  2. Your Team is a System ⚙️ — with Francisco Trindade

    Oct 16, 202655 minAudio

    This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify Today’s episode is brought to you by: Notion Learn more about Notion’s Developer Platform today at...

    Credit the people on this episode

  3. Refactoring Street Fighter With AI 🕹️ — with Adam Tornhill

    Oct 2, 202654 minAudio

    This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify Today’s episode is brought to you by: Notion Learn more about Notion’s Developer Platform today at...

    Credit the people on this episode

  4. Building Tools for Defenders 🛡️ — with Rahul Raina

    Sep 18, 20261 hr 1 minAudio

    This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify Today’s episode is brought to you by: Notion Learn more about Notion’s Developer Platform today at...

    Credit the people on this episode

  5. Making AI agents work in your team 🤖 — with Dennis Pilarinos

    Sep 4, 202654 minAudio

    This is a free preview of a paid episode. To hear more, visit refactoring.fm Listen now:YouTube | Apple | Spotify Today’s episode is brought to you by: Notion Learn more about Notion’s Developer Platform today at...

    Credit the people on this episode