Tim Cochran, Principal for Amazon Software Builder Experience, is no stranger to software development; in enterprise, scaleups and in startups. He’s well known for articles like Maximizing Developer Effectiveness, Measuring Developer Productivity via Humans, which focus on in developer experience, and Bottlenecks of Scaleups, a wide ranging series that focused on the challenges startups have as they scale up to become larger businesses. As always, special thanks to our sponsor Navalia for their support as a founding sponsor!
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.
I've been following this sort of process when I'm working with multiple agents, so for having one backlog that's kind of a describe as nits. So what I do is I one backlog which is like my main work, but as I'm, as stuff is happening, I always think of stuff, but, but it's kind of like a different mental thing. It's like, if I, if I can log this, I know that it's going to be fixed on the same day by another agent. It isn't going to be like deprooritized and fixed like two months later. Then it kind of changes the way you think about it. So every time I'm working
and I see something that I, I want to improve, I just, I've got, I've set up an MCP tool, I just go new knit and it puts in the other backlog and then I have another agent looking at that. Jim Cochran's storied career includes 19 years of thought works, including clients like music platform Spotify. He wrote the well-known developer effectiveness article at martinfeller.com based on the work he was doing with clients, including Spotify and e-commerce giant Etsy. He also collaborated on the measuring developer productivity via humans article after he joined Amazon. Recently, he's working on AI and Native transformation,
which may be relevant. And he's our guest today on the engineering with AI podcast. Jim, thank you so much for coming and being on the show today. Really appreciate it. Like how happy, happy to get started and chat about this topic. Yeah, cool. We've been working on getting this together for a little while. So thank you.
Appreciate it. So like we just talked through your bio there. Would you add anything? Like what would you change? How did you make the switch to Amazon? Where do you want to start? Well, I can embellish it a little bit. So as you mentioned, most of my career was at the pool works where we we crossed over. So spend a lot of time helping companies build products and platforms using agile methods. So it's a pair of programming for most of my most of my career and
and TDDing. I think those articles kind of represent the fact that I was pretty passionate about developer experience. I think that's how a lot of folks know me, kind of been been a big proponent of focusing on the day-to-day lives of developers to improve productivity as opposed to sort of random, quantitative metrics. And they've written quite a bit about that, you know, taking some of the learnings from the start-up, scale-ups and enterprising and just sort of contrasting the different approaches, different impacts. You know, everybody was investing in it,
but in achieving different impacts. So now at Amazon, where I focus on developer experience, been there a couple years, as you can imagine, the hot topic is AI. So it was starting with AI adoption and now more moving into AI native workflows. So that's how our teams adopted our native workflows, but also how do we improve our tooling, training, processes, platforms to
to best support it. So that's cool. I mean, when you talk about developer experience and especially with Spotify, there was a little bit of like internal discussion that I got to hear about how Etsy was, it's just because I knew people who were on that account too. But like with Spotify, we all know. Like they were, well, we all think we know. Spotify is famous for publishing stuff around like what their developer experience is like internally, especially how they were organized sort of going back. Gosh, it's probably 10 years now. When you think about working with those
different organizations and then your work at Amazon, does anything stand out to you about like what developer experience they got right at this one versus that one? What were the differences or yeah, how did you think about that when you reflect back on all the clients you worked with? Yeah. Yeah. And that's somewhat what that article was was sort of contrasting some of the differences. Well, you know, when I look at those, I won't specifically talk about Etsy and Spotify, but those type of customers, those sort of scale up customers, I think the biggest
thing was the engineering culture from top down. So the importance of the developer experience and the importance of time to market and high quality engineering coming from the leaders and not just the VP of the CTO, but the CEOs. That was part of their special source, their business objective was to utilize tech. And the same at Amazon. Obviously,
Amazon is a lot bigger and been around a lot longer, so there's a much of a variety of teams there. So that's a big thing. I mean, I always remember walking around Etsy and seeing on the TV screens that the time it would take to go from a commit to production. They would have that on walking around the development areas. And what they would do is they wanted to keep it 30 minutes. And when it went above 30 minutes, they would just invest more to bring it out.
And I remember talking to the CTO at the time, Mike Fisher, and he was he talked a lot about unfairness, right? He wanted developers to be fearless. And at the time, I think he wanted to bring down that time from commit to production to even faster. That sort of emphasizes that importance of engineering when that's in your face every year. Yeah. Yeah. Yeah. I, different customers, like with different TV screens, it might be like their own advertising, or it might be like one client that I worked with, it was like how many transactions per minute,
you know, their e-commerce engine was processing or something. But yeah, that's like a real focusing on the engineering side, not just sort of like, you know, what this means for the business. Let's sort of get into the generative AI theme, you know, that's very much like what we're about. What tools are you using these days? What tools are you observing others to use, right? Inside of what, from what you can see, right? And what do you like? Like what's, and I don't need sort of everything, but like focused on, you know, generative AI tooling and those kinds of things. What's working
for you? I use lots of different tools because I'm researching. I, I use Kero. I use Kero has two versions of it. One, it's an IDE version that's set up for spectrum development and then the command line version. But I also use Claude code. I use client, these different tools in my, in my personal projects. So from a tuning point of view, I mean, I think I'm often a bit more interested
in techniques and the tooling supports that. So I've been, I've been trying to get down the techniques so that I've been working with, you know, trying to have multiple agents running. I think sometimes, I go back and forth was a good idea or not. Sometimes my brain just explodes, trying to figure out how, how to have two ideas at the same time. So I've been kind of working through that. And, you know, and my workflow at the moment is, you know, I'm either working through an idea, like I start with
an idea and I have prophecies and then, and then I pair with an agent to refine, to hone that idea and to produce the specification and then a task list. And then when I'm working with implementation, I really want to have these small atomic tasks that in an idea situation, a lot of my tasks, I can, I can one shot it and the agent can, can complete it and, you know, I'm aiming for, you know, under, under an hour, you know, sort of tasks that can be, can be pushed. That's me in my personal
projects. Obviously in a brownfield situation, which a lot of organizations are that there's lots of bottlenecks and things where you're not able to achieve such, such throughput. But, yeah, that's kind of my, my way. And I think the other piece that's interesting is also just I've been trying to have my STLC and my workflow defined through skills. So I kind of set up skills for each part of the workflow. So the pool from my backlog, do my pre commit, set up a review, check it, check and fix
the build. They're all done as, as skills. So for the most time, the, you know, I don't have to interact with the agent for it to do those things. Cool. So Cloud listeners will be familiar with. You mentioned two other tools, which I'll admit I hadn't heard of. Did you say Kiro and Climb from memory? Yeah, Kiro. And since towards it was evolved from Q and, um, and Climb's and, uh, open sources, I, ID, base plugin. Um, so those tools, but I use kick cursor and all the, I,
I, I, I look at what's new and, and try to research those tools. Yeah. Got it. But sort of largely, but like you say, so to stay abreast of what's going on and as research. Got it. But in your own practice, it's more, when you, when you say skills, I sort of jump to cloud, but that's not necessarily true. Like these, these other tools might have those kind of frameworks too. Yeah. And, and that, and you can also do that. You can do that kind of, uh, approach, not necessarily through the fruit skills, but you can achieve that kind of lazy loading through, through other, um, tools as well.
Yeah. Uh, just now when you were talking about that, you talked about like tasks you could get done an under an hour. And how do you arrive at that? Like I personally, like I'm starting to develop my own like spidey sense of like what it and I, you know, pairing together can get done in an hour versus, you know, what's going to end up taking a couple of days. But you may have other guardrails or, or you just sort of applying that heuristic, you know, best guess like, like, I'm doing like, how do you arrive at that? Like that one hour guard rail and, and what other
guardrails might you have in your process? What I mean there, when I mean task, I mean it's an incremental task, right? So the, the, I might be working on a larger feature that'll take longer than an hour, but, but I want to break it down into atomic tasks that I can give to the agent and, and can then be pushed, right? So they can, you know, they're not just sitting in my feature branch, they're, they actually can be pushed. So what I do is I, I pair with the, with the agent to produce that plan and, you know, Kiro will do that for you. It creates task
list for you based on your, on your specification is, that's the specification driven development flow. But you can also recreate that just by, just by working with the agent. So that's, that's my sort of Nirvana state, right? And I think why some teams won't be able to do that is, is because of existing friction, right? Like if you're, if you're, if you have a long unit test suite, a long build, flaky tests, all those kind of things, long deployments, you're not going to
be able to achieve that kind of thing, right? But, you know, we, with the, with the high, a high fruit, the tame, yeah, you could, you could achieve that. I've started to, to notice that like, if I have a process which is going, you know, sideways and starting to take too long to deploy, I'm, I'm like you, I'm deploying pretty frequently as I go. And, and if anytime that deployment starts to, you know, get onerous, like if the agent like misunderstands how to deploy this part and gets it wrong, or if the deployment takes too long, I tend to point it at it and say,
that can you go and make this better, please? Like, I haven't, like the side project I'm working with hasn't gotten to the point where the unit test suite takes very long. But I imagine if it did, I would go, well, can you go and make that run faster, please? You know, like parallelism or, or, you know, shortening different kinds of things. So I imagine you're doing similar things. To your point, like once those cycles get out of control, that's when teams really start, they, you almost lose your understanding of reality. I've known teams that were like so like months,
well, well, four to six weeks ahead of their QA department. So they were working on stuff that, like for one, like might not even make its production because like it would have gotten like, it might have been a bug fix for a feature that hasn't even been shipped yet. And yeah. And then that feature gets canceled. So when you think about like how to keep those cycles short, is there anything intrinsically different about how you're doing it when you're working with GNI tools? Well, I think it's really important because we find this a lot where somebody adopting AI
isn't happy with the quality of what the agent is producing. And often that's because they don't have the validation in place, right? So, you know, maybe might have some mock-based unit test, but that's not necessarily going to tell you that application is really working, right? So, you know, I think it's really important that the agent can run those, you know, into an API tests, you know, in a production-like environment quickly so that it knows whether it's built the
right thing. So I think those are super important. I don't know if there's anything necessarily different about it. It's probably what I've kind of been thinking about the moment is because co-generation is now so much faster, all of that kind of pain points infriction that you perhaps didn't prioritize because relatively, like proportionately, it wasn't a big thing. Now you have to fix, right? So that's why it's more important because your bottleneck is now, you know,
one example might be, so if it took me three days to build a feature and the code review took a day, well, that was 25% of the time. Now perhaps it takes, I don't know, half a day to build that feature. So now that's like, the code review is 67% of the time. So now your bottlenecks have shifted, right? And so I don't, it's more important to those bottlenecks are now more apparent. You're also going to see it because you're going to see it in the prompt history and how you actually
improve them. Yeah, I mean, I think you're going to use agents to come up with ideas. And like you said, like I pointed that agent at my build and I was like, I can speed it up. Sometimes it has good answers, sometimes it has bad answers. And you know, you can guide it a little bit. But yeah, but you can, you can also try things that you wouldn't have done previously because it, you know, would have taken you a lot of time to go and understand an API and, you know, but now I can just
go and go and spike something and see, okay, does that improve things? I think there's also, it's not necessarily like speed, it's also kind of like readability. Things that maybe would have represented cognitive overhead for the developer previously. But like you probably wouldn't have fixed because how the hell would you have measured that previously? Now we can measure that via tokens. So one example is like a long build file trying to figure out why did my build break? And I have to like pass like this really long build file and somewhere in there is my error. Well, the agent is
going to do that as well. But the human was already doing it. It was just kind of like making up for it. So so maybe, you know, we want to create a more succinct build output, right? That make that saves tokens and makes it quicker, but that'll help the human as well. So is that kind of friction that there's a little paper cut that perhaps already existed that now you can. I hadn't thought about like literally using the tokens is like, Hey, there's cognitive load. It's putting a number on it. That's that's neat. Okay, so when I'm reflecting on like my little side project again, like it sort of got like,
I'll website and it's got, you know, some stuff which runs, you know, kind of constantly gathering data and pushing it into it anyways. And like, I find it's pretty good at writing its own unit test suite for all of the functions, you know, and it's pretty good even at doing like, Oh, let's go build a functional suite that tests that the website is doing what it's supposed to do. Can I log in? No, can I click on this link? But when we go in and do like, let's say we're changing an algorithm that shapes the way that we ingest data and how we might categorize or classify something
which is coming in to buy our data pipelines. No, no, you know, it's, I don't, it is not yet like coming to me with like, Hey, we should really build our own testing sandbox database, you know, so that we could test these algorithms and heuristics out. No, no, it's, it's just like, here's the migration file. Would you like to run it in production now? And it's kind of leaving it to me to be like, Oh, okay, we really do need to build this environment. It's kind of not helping. Whereas with like, you know, on like a standard like, Oh, I'm going to go change some Python. Yeah,
it'll just write the units that's on its own, you know, like you'll just do it. But when it comes to anything more complicated about like, let's build out an environment, it's not doing that. I'm wondering if you're seeing something different or if you've got pointers there or yeah, like what's your experience been like there? I think you're right. I think, you know, it's trained on lots of, trained on most common examples, right? So anything where you hit the most, the thing that everybody does, it's going to do great. I think when you do something that's a bit different, it's going to
struggle. I mean, mostly in that situation, I don't think we can expect it to do it. So I think what I would, often what I would do is just create context. So I might describe roughly what I want it to do and provide some kind of guidance, right? In terms of the specification or the hypothesis and it may be able to help with filling in the blanks. But yeah, I don't, especially if we don't,
we're doing something that's a bit different, but I do think we're testing that I'm kind of been wondering whether it's better to kind of focus on these sort of, you know, in the middle of the pyramid, the kind of like the component style. Because I worry that, you know, mock-based unit tests don't really tell me. And then sometimes I think the agent gets a bit confused about about that. And so sometimes, so what I've tried and tried to do is more focus on building
fast running kind of component tests like run through the API or run through a module where, where not everything is mocked out those kind of things. And then again, that's just good developer experience practice anyway. But it helps the agent, you know, have guidance as to what isn't isn't working. And it's a good trade off of speed and value. Yeah. Yeah, I like that. Yeah, I mean, it will sort of naturally mock stuff on its own.
Pretty often, but yeah, to your point, like it's, yeah, you end up with all sorts of like dubious, like, well, is the test now made into the mock? And does that mean that it's going to have, like, where we can't change the implementation later, you know, are we testing the implementation instead of the actual functionality, those kinds of problems? I like where you're going with that. Yeah. Can we shift our focus a little bit away from like how it's working for you and your research and how it's working for you as you, as you're doing software development? What about the teams
that you're serving? Are you, are you noticing any differences in the way that teams work? Are you seeing like, oh, teams are going to succeed? They're doing, you know, and I think on some level, it's like, oh, you know, the best practices still apply and yes. But on what level are, you know, certain best practices really sending out or, or yes, the common best practices, but there's this new one. Like what, what are you seeing in terms of like when you're working with different teams that are starting to use these tools? What's tripping them up or what's helping them win? What are you
seeing? Yeah. Yeah, and, you know, I work with lots of different teams and it might be internal or external customers or Amazon and then I talk to a lot of folks in the industry. But what I'm, you know, if I sort of compare the teams that have like leaned in and got a lot of value versus leap and a lot of productivity benefit versus teams that maybe have leaned in and got it like a little bit the benefit. So I think, I have its best practices or anything, but like I think a big
piece of it is just that it's such a paradigm shift. So it has the team had the chance to learn and practice. And I think the the manager, the leaders have such a way to shape that. I think sometimes when I'm when I've been researching, I've been surprised. Sometimes that for some reason, the developer hasn't taken the opportunity to go and learn for themselves. So I think creating that kind of space where your developers had the chance to see the seed best practices,
to kind of learn as a team and discover. So that's the biggest saying. I think we've had teams now that have made the decision to all code is going to be written by an agent, right? And the developer role is now supervising. And that can be quite helpful because, you know, I mean, last year, probably it was going to be a mix, right? But if the team has, as a whole makes that decision, then they can they they can think about how to improve the
the agentic experience and how to change processes and tooling as a team. So that can be helpful. In terms of best practices, I mean, everyone struggles a lot with the the context. I think your previous guests have talked about it. So the you know, the problem with the the the recency bias, right? Like where, you know, I put my coding standards in the context why didn't obey those coding standards, right? And so I think those kind of things everybody struggles with.
And so it's I like to think about, you know, the information you're giving the the agent, right? And it's between the specification, the knowledge, the context, and then those feedback looks, right? And so I think those though, if you can master those three things, that's and I that's all the, you know, all the information it's getting. So those best practices are the most important, I think. I love that. Specification, context, and feedback. That's nice and succinct. And it seems like, yeah, like fairly complete. Yeah. At first glance, that sounds pretty thoughtful. Yeah.
Yeah. And I think the other piece that's interesting, particularly enterprises is the platform, right? Like I think a lot of times what a developer is doing is interacting with platform services, right? And the agent has to be able to do that as well. So there's a lot of work that the platform and end teams can do to enable. And that's, you know, by again, it's probably suffered that should have existed before. Maybe it did, maybe didn't, but like having really good APIs, having
those mtp servers and things like that. So so that you can kind of like, you know, every team works differently and they want to reduce whatever. Toil or burden they have. And if you can provide those like building blocks, you know, you can do a lot, a lot of interesting things. So that's the other pieces like the interaction between those teams that are progressing. And then the tooling and platform capabilities APIs. Have you seen that changed a way where I mean, product management
and story breakdown? I think like at first, you know, it seems like naively like, well, I mean, gosh, you're just going to have agents write PRDs and then agents read those PRDs and then just do stuff. There's obviously people in the middle for most of these things, although sometimes that does happen. But are you, are you seeing any, you've talked about how with Kiro, I guess, it's really breaking something story chunk size down into tasks, working with you on what those tasks ought to be and then helping you sort of keep it organized, you know, and doing the material. So that sounds
like a little bit of a change to like at least the developer end of story breakdown. But what other changes have you seen in terms of like product management story breakdown and those kind of things? Yeah. So we've seen quite quite a lot, right? You know, the best teams of the ones that are applying it from I did production to operational support. From the left, the earlier stages, kicking off a project, so getting a project, a prioritized or approved through using prototypes,
I think is a big one. So it's sort of interesting, right? Now it's cheaper to build the software, therefore do we need to do as much due diligence as we did before, right? And so now we can create rather than writing lots of documents, we can create a prototype and we can, we can prove it out. It's either a good way of showing it to my colleagues so they can understand what I'm talking about or even to a customer. So that's, we've done that a lot. I've seen that teams I talk to,
so that's one piece. Product development, yeah, I think what I was kind of describing earlier, I think we've seen a lot of cases where the agent, if it's, if you've got the context, if you Fed it, context on the business, the product mission, those kind of things, does a really good job preparing with you. It's kind of like a rubber duck sometimes, right? It asks those awkward questions that you didn't think about. But if you can give it enough context, so it's a fairly smart rubber duck,
so it can kind of be a devil's advocate to you. And then, and then you know, it knows what you're trying to get towards. So you're trying to get to that sort of technical design and that task level breakdown. I find a lot of the prompting I'm doing is sort of explaining the domain to it, and then it'll go in search and it's like, oh, thank you for giving me a little bit and then it'll go search and it'll bring me stuff back about the domain that I didn't necessarily have. And and sometimes it's done so in a naive way, and I have to teach it again, sometimes not,
sometimes it's teaching me. Yeah, I find it amazingly productive to sort of stay and talking to it about the domain, right? And and not getting into like, should we put a curly brace here? I love where you're going there in terms of like really helping out, understand the business goals and those kinds of things. I think that is important. Yeah. Yeah. And if, and you know, if you're in an enterprise, you probably have a lot of really good information in your in your Wiki and your compluence and and so providing figuring out how the agent can access that stuff
easily is really. Yeah. Yeah. Yeah. Yeah. Yeah. MCPs for that and other kind of thing. Yeah. Have you seen any changes in the way that teams do like architecture and planning for distributed systems and those kind of things? Probably less. I think that's probably where at the moment the we're safe. But I do, I mean, it's similar to how we're describing with the product like being as sort of rubber dark and even in creating like architecture assets, there can be a lot of
tedium in in producing diagrams and things. So, and you know, it's kind of aspects, right? Just making it faster. They may not have the ideas, but they can make it faster for you to produce those assets, right? So creating a mermaid diagram or whatever. If you train it on the formats that you're looking for, it can produce those things. And, you know, and then it can help you battle test your ideas, right? But as you sort of said, the big thing you were talking about earlier, like, yeah, I wouldn't necessarily trust it too much to come up with initial ideas, right?
Right, right, right. I have what it shows frameworks a couple of times, right? And sometimes it's almost like, what frameworks are you good at? You know, instead of me trying to say like, oh, this will be really good in framework X. Like, no, let's ask you. What frameworks are you going to be really good at? Yeah. Yeah, I mean, you know, and it's trained on the most popular frameworks. Right? So if it's leading you one way, that means that that's probably the simplest way to do it. Yeah. Fair point. I mean, we all wonder if that means we're all going to sort of
go into a kind of stasis where nothing to get to me. But yes, that's a fair point. They probably got popular for a reason. So it's a reasonable, reasonable choice. Cool. Okay. What about in testing, right? And it's funny. I keep saying and these when I'm talking to people, like, I feel like I'm testing all the time. But I realize recently, I'm desk checking all the time. Because things are getting done all the time. But yeah, when you think about, we've talked a little bit about this. You talked about component testing earlier versus mocking anything else you can
say about like how how testing works differently now. Yeah. You kind of talking about testing more like in the QA crisis as well, but not just wherever you want to go. I mean, yeah, I, yes. I mean, to your point, my own experience has very much been like, gosh, I feel like I'm testing all the time. I feel like I'm QA person. But really, I think what I'm talking about there is I'm desk checking all the time because stuff is getting done all the time or at least ready to desk check all the time. Right. And so what I think about the sort of agile process of like have a pair of
developers go pick up a story and work on it for day and a half, something like that, you know, and get it finished in the old world, maybe two days. And you know, you'd bring the product and manager and the QA person over and maybe the QAs got the keyboard and mouse and they're literally just using the thing while the product manager watches and product managers like, oh, I didn't think it would go that way. In QAs, like, oh, I wonder if it happened handles this corner case, you know, and out of that can come sort of product feedback around like, yes, that's what I was looking for. And it's still the right thing. And out of that can come QA feedback around like, hey,
here's a good corner case for you to cover with your, your unit tests that I wouldn't have thought of if I hadn't done this desk check. And desk check is almost not a testing process. It's sort of a, it's, it's this process in between development and the actual testing work. So yeah, I mean, you could reflect there. I certainly did. And I have been recently, but, but I am also just curious on how like testing works. I'm okay. Handing clawed like, hey, go add the unit test now, please. And that's kind of a do the needful kind of command, you know, and it just goes. And I'm pre-revenue.
So that's safe enough. I would not advise my enterprise clients to do that. But, but I don't know, like what, what is working well in testing? Is anyone just letting like a Ralph Wigan loop handle all the testing and not having new ones in the loop? Or what are you seeing? Yeah, I think we have more tests now. You and I come from a testing, strong testing background, right? And I don't think every organization does. And so I, I think now I have a lot more code
coverage in what we're testing. I think, yeah, it, ultimately, it actually really into it, writing unit test is kind of boring. And not like a lot of, a lot of developers would treat it as an afterthought, like not necessarily TDD, but like, okay, I, I'm committing. I have to hit my coverage number. Let's check it in. So they weren't necessarily using it as a way of validating what, while they were working, it was just like, okay, I've got to do this. So I think, so now, yeah, writing, generating test cases is much cheaper. And so there's no excuse, right?
I think that's one part, like, like, I think we've seen more, more folks using unit tests than perhaps it didn't in the past. Right. Right. No, to your point, like, like, and like I said earlier, code will just suggest, like, of course, we're going to make some unit tests now. And so we probably will, by default, get a lot better coverage. I'm with you. But, but to your point, on like the red green refactor loop and the way test driven development used to work, I think, I don't know if you read that book, growing object oriented software guided by tests,
something like that. So it was sort of this, like, thing, it was focused on Java, but it was describing a distributed system. And the whole idea was, like, emergent design. Yeah. You're, you're going to let your tests guide where this thing is going. Very organic, very, was and beautiful. And I lived that for a long time, you know, I wonder if we still will have that. I wonder if, like, future generations of developers will look at that book and it will just seem like Greek. Like, what was these people talking about? Yeah. I mean, there's a part of it that
I don't know if it's testing necessarily, but in the specification, right, you need quite often when you write requirements, they're subjective. And that causes a problem with that. Sometimes that's the reason why you don't get the, the results back to you one is because you've written an English and what you think you said isn't what it, what it read, right? It interpreted differently. So using some way of, like an, like an exercise to kind of crystallize what you're actually saying.
And, you know, I always remember the book. I think it's specification, by example. So tests can form that, right? Like, like the BDD style test, you, you can specify what you're trying to say by, by giving an example. So I think that's a place where, yeah, some teams do that, right? They, they kind of take a TDD approach with their specification, whether they have the, the test written at the start. And that provides, that's kind of like what we talked about earlier with
the feedback loops, right? That forces the, yeah, it is very eager, right? So it's, it almost really wants to just get going and write the code. But if you force it to slow down a little bit and think through it, yeah, either by producing a plan, but also by having it write that test at the beginning, can help it hallucinate less. And, yeah, so, so I think at this point in time, tests have a place there, I think, in, yeah, this spec. Oh, well, and, and I like what you're saying about sort of
behavior cucumber or given when then or whatever you want to call that syntax, I do think that is making a big research, right? I think proper red green refactor loops are maybe getting harder or maybe don't make as much sense. But yeah, the behavior driven design that I think that is, that's coming into its own right now, for sure. Yeah. Probably, and that's probably the, the way I go is more like, at the kind of, what is it, the sociable unit test style, the more slightly bigger than the unit kind of style and, yeah, and having it driven through the, through the spec.
I like that. And then the check stuff, definitely, like, I've been thinking about that as well, it's because, because you need to do a review and then you don't necessarily want it to late in the process. So I do think that, you know, having some kind of mechanism where the agent kind of goes, like, I'm ready. And it kind of publishes the place to you for you to see it. But it isn't necessarily, like, it isn't, sorry, pushed or in a gone through CI or anything. It's because you probably just want to start, you want to look at it and iterate a little bit, right? Especially if it's something like,
you know, a UI change or something like that. So I do think there is an agentic approach to a desk check. I'm sure there'll be some tooling about that at some point. But yeah, it's like, especially, I imagine if, if, if teams are working in a femoral cloud-based environment, so it'd be fairly easy to do just sort of like, you know, when it's ready, it tells you it's ready. And then you can go and like, have the product manager comment on it, have the developer comment on it. I think that would be a pretty good workflow. Yeah. Yeah. Personally, like, it's easy for the little web app, right?
Like, and I, for these kinds of changes, I'm probably letting the little web app talk directly to production as long as it selects. Yeah. Which it almost is for almost, it always is for the app I'm thinking of. And yeah, like, I've taught it, like, don't deploy, don't push, don't even commit, like, start the logo. That's, that's what we're going to do next, you know? And sometimes it'll sort of follow along and it'll start an MCP playwright, you know? And it'll be doing it while I'm doing it, you know? And I'll have its Chrome playwright on one monitor and my Firefox and another monitor, and we're both sort of doing it. And I have found that useful. I'm probably working at a level
just slightly underneath what would be like fully productive because I'm still really inserting myself, especially with like web changes. I want to see the experience improvement. I want to feel if it's good enough. I don't want to just keep going, you know? Yeah. Yeah. And the thing that's sort of interesting about this is like that, you know, know everything at the beginning, right? And sometimes I, there's probably a better way of describing it, but I feel like when you're writing code, you kind of wallow in the, in the problem, in the domain, and, and you think about it. You don't,
so like, to expect a developer to be able to write everything at the beginning. So there is some value to sort of like just, just, it's kind of like a focusing. It's just, just like forcing you to think about the, the problem. And, you know, so I think that that we can't automate everything, right? Sometimes you just, you just have to be sitting there thinking about, what edge cases have I missed? What is this the right functionality? Do I have a better idea? And so new sort of staring at screens coming past, I imagine you have ideas as, as you're thinking about it, right?
And exactly. It's almost part of the creative process, you know? Yeah. Yeah. And I can, I could imagine like certain times of things like, yeah, just set up 10 tasks in a row and just let it go, you know, and let it choose through them all and let it check its own work. And that's probably fine. It seems like for other things, no, I want to see the results of step one and the results of step two and the results of step three. Even if it's like, yeah, the unit test will pass good. Okay. Now go into step four. That might be it for step three. Yeah. But I still want to see it, you know? I've been following this sort of process when I'm working with multiple agents,
having one backlog that's kind of a described as nits. So what I do is one backlog, which is like my main work. But as I'm, as stuff is happening, I always think to stop. But, but it's kind of like a different mental thing. It's like, if I, if I could log this, I know that it's going to be fixed on the same day by another agent. It isn't going to be like deprooritized and fixed like two months later. Then it kind of changes the way you think about it. So every time I'm working and I see something that I want to improve, I just, I've got, I've set up an MCP tool. I just go new
knit and it puts it in the other backlog. And then I have another agent looking at that. And that can fix it later on. So it can be a bit so, you know, because this seems like, you know, an age of one necessarily refactor the way that you would have done. And maybe that's okay, right? Like we shouldn't expect it to do exactly what you would have done. But you can have that knit and have it worked on later. So that's, and maybe that's a way of like not going crazy with most agents going on. So you have one that's sort of working on the less, less high value stuff. It's just, just, yeah, right? I've been planning around that one. It's where
it's, it's helped my brain. But yeah, that's cool. I'm thinking of it as like a worker pool of agents almost, you know, you're just like continuing to push things into their queue. And like you, y'all, you'll figure this out. Well, I stay focused on that. Yeah. We talked about integration, right? Like, I think, and there's like the obvious read of this like, yes, CI pipelines and CD pipelines and all these kinds of things. But also just like knowing like how the pieces of code line up, like you reference code context windows already, you know, like I don't really trust it to
know, like whether or not it should use that method that it found in like an adjacent code base. Like no, and I don't trust it to look when it should either. So I'm almost thinking of like the literal like piecing together of the code base in terms of integration and how the pieces work together. But yeah, I mean, what changes have have all this brought for your experience with integration so far? Yeah. So like when you're quoting another API or a library or something. And any time you're, well, or just merging, you know, frankly, you know, and in terms of like,
the literal act of integrating code. But yes, also the other thing, also integrating two pieces of code which are across an executable boundary or separate deployable. Yeah, that too. But anytime, like where you're, yeah, having code interact with other code, like how do how do the robots do when it comes to that for you? A lot of it's the realities of these round field systems, which it's probably where it would have been difficult for a developer. It's going to be difficult for an agent right where you have something that's confusing, undocumented, no unit tests. And that's where it's
going to struggle, right? And I think if, you know, as we, I mean, what some of the the nice things about a GenChick is now that it help, we can modernize code bases faster, right? So we can, maybe we were working with something that was lower quality in just sort of like just dealing with it, right? Like we didn't really have the time to go and bring it up to our quality bar, but we were just living with it. And every time I had to touch it, it was like a pain. But maybe now we don't
have to live with that anymore. And we can, we can go and bring it up to a slightly higher core, maybe we're not going to rewrite it completely, but we can bring it up to a higher quality bar where it's better documented and the code makes more sense. And I think that's where you're, but it's the similar sort of pattern. It's like that, that was friction already existed, but now we can deal with it. And I think, so those are places where, you know, merging, it's going to be difficult. There's kind of complex code bases, like particularly if you have anything, you know, like some of
these systems that are, like some of the stuff we do at Amazon, where it's very performant and highly available. We have to be really, really careful with, and it wouldn't trust. And that's why you need the, the human review. Right, right, right. Well, and like you said, it's pretty good. It's chewing through a brownfield code base. If you ask it to do that, like if you go say, like, hey, I'm worried about this merge, like please go analyze the five ways to go wrong. It's going
to bring you back 25. And seven of those you wouldn't have thought of, right? And three of them will be dumb and you'll have to tell it, like, no, those don't matter. As long as you remember to tell it, like it's actually pretty good at this stuff. Like it just doesn't always remember to do it itself in some weird way. Yeah, that's, and that's kind of one of the learning, it's actually a learning experience of like when people first start, like, well, I didn't reflect, like, well, it won't. You have to tell it to refactor. And so that if you can create this standard,
sort of operating procedures where it goes through these, okay, these are the checks that I want it to do. And we'll be more explicit about when you create that task list of like, okay, I need it to now check for this and check for this and check for this and create those custom agents or some agents to do that. Agents and skills, yeah, for sure. That starts to become critical about, like, no, no, I really do want you to do this more often. Yeah. Just putting it in the client empty does not do that thing. Yeah, because it's even in all caps. Yeah. It was amazing,
like, like, you'll be like, it'll, you're just going duplicate your code and then, then you just ask it after that. Can you go and find anything that's duplicated and we'll just find the code that it just wrote exactly because it's, it's that, it's that, yeah, that constant, that recency bias problem in the, in the context. Yeah. Yeah. And I'm not sure how self-aware I am and it's, it's even less self-aware. That's for sure. Cool. So, so interesting thought about, like, Amazon scale, right? And we're kind of getting into, like,
deployment and infrastructure. Like, are you seeing anything different there? Like, observability, like, I've definitely used it to like, girl, make me more, you know, AWS alerts and quadrature alerts and things like that. What, what are you, you're probably seeing fancier things there? Like, what, what are you seeing with observability, deployment, infrastructure, those kinds of things? Similar. So, I think the, the best teams are, yeah, a team that are looking at what, what kind of
friction they have, and not from a coding point of view, but like, like, if you take a team that's running in any enterprise service, probably coding doesn't make up that, that much of their time, teams that are working with pulling down logs and, and trying to diagnose. I think it probably, what it, what I see is that it does a good sort of first guess, right? Like, I think, especially with complicated distributed systems, it struggles, it wouldn't necessarily struggle, but it's quite hard
to actually capture the information that it needs. But like, as a first pass, like, okay, let's run, go through like the most common problems that, okay, we forgot this conflict toggle or some kind of like that kind of toil that developers spend so much time, like, okay, we forgot to put this configuration in production or whatever. And those kind of things can just be gone now. Like, the agent can just fix all those kind of first pass, you know, bugs and toil. Yeah, those are the
actual things that really destroy a team's productivity, right? Those, those little things. Yeah, deployments and things like that. Yeah, definitely, the agent can, can help fix builds and aspects like that and help in that regard. Yeah, I mean, that's mostly what we're seeing. We've referenced debugging a few times already, and we've talked about refaction a little bit too. Have you, do you have any stories there? Any experiences you want to get into on either of those? I think teams often struggle with the context. With debugging, some of the problem is the
context window. Because logs are so verbose, I think, because I've had teams try to create agents that will, you know, pass all these logs and try and do root cause analysis. And then quickly, context window just fills out. Yeah, the smarter ways to do it with AI, like, you'd do multiple passes. You do a deterministic script that pulls out the useful information and then you feed it to the agent. So you don't have the agent like, just passing through reams and reams of logs and
things like that. So I think that's some of the lessons we've seen is don't have the agent do something that could be done by a script. And could you get a waste your your context? So refactoring, making sure you document your coding standards and then be explicit to tell the agent to follow it. I do think that again, sort of this deterministic thing of like, you don't need your agent to be a linter. I think Pete said that was something like that. I agree with that,
like, and I think I've seen that in places where, and maybe that's okay, right? Maybe what it's sort of a progression, right? You create an automation using the agent and it runs that automation. But when I want to sort of use it more, probably need to turn it into a deterministic script where possible. And I only use the agent where you actually need that ability to reason. So I still think as much as possible for refactoring rely on those those tools. But it does pretty well of what you
described of just telling it like, yeah, I mean, you can just tell it find like, I want to write clean code, find all the problems that break, you know, solid principles or find all the duplication, tell me how many unused feature toggles or, you know, all those kind of things, it's just, if you give it explicit atomic tasks, yeah, I think we've seen seen that be really good. So you talked about in your background, you've done a lot of paragraph programming and so of I, and I came to really love paragraph, working with ThoughtWorks. And I didn't learn to love
teaching other people to do it didn't want to though. And so I'm very glad that in my current role, I don't have to make anyone do pair programming that doesn't want to. But personally, I love it. I kind of feel like, like, that's what I'm doing with the agent. And I wonder what would a pair that also was working with an agent be doing? Should they be running three agents? Like, maybe, I don't know, what impact are you seeing on pair programming, mob coding, all these kinds of things? Like, does it still make sense? What are your thoughts there?
Well, so it comes a little bit back to how effective your development environment is. If you don't need like two developers and an agent, you know, watching a 10 minute build, whatever. So if you have a faster environment and you're interacting pretty quickly, you know, and I'll see, it's like like pairing. There's always, there were always pauses and gaps and that gives you a chance to get to know your pair or to talk through like what the problem and to think through it.
It's probably still valuable. I see it as a very important learning tool at the moment, because I think what I see sometimes, especially teams that don't do any pairing, you find that the different people on the team are at much different levels. And it's because there isn't enough collaboration or sharing. And it just the nature, like some folks are going to be really laser focused on the problem and other folks are reading, you know, read it and learning
all the latest things. And we want to share all that knowledge, right? And especially in the context of the team. So I do, we have actually seen that teams that haven't been pair programming or mob programming have adopted it, especially when you have a mixture of senior and junior. Because you know, when you learn and you do like an online course or a hello world kind of thing, it's a limited value, right? You really want to see the tips and tricks in the context of that team. That's, I think, as a learning, you know, my colleague,
Amar and I have been advocating for more programming. And yeah, I think we ran a session, and within like 30 seconds, it was like, what did you just do? And they learned something from us immediately. And so I think, from a learning point of view, it's coming a resurgence. I don't, I mean, probably what you're getting at is, would we pair as much? I don't think so. Because I think the agent does provide some of that rubber duck kind of nest that you're getting. So I'm not entitled to show what the right, yeah, the right rituals are TBD, I guess, but well, okay,
I'm waiting for you on that, right? Like it does give you some of the rubber duck, some of the two heads are better than one stuff. And it is definitely a faster thing also. And typing speed was never the point. So, but we used to say that teams that were doing pair programming didn't need to do code review. And so there used to be a lot of conversations and to put this in context for listeners, Tim and I are used to a background where you're pair programming six hours a day, you know, like three hours in the morning, three hours after lunch, maybe more, you know, depending. And like almost
all, like 90% plus of programming is done in a pair and 95% or more. You do not program unless you're sitting with another person in the end in these kinds of environments. And so that would lead teams pretty frequently to like, what's the point of code review? So we would skip the whole PR step, right? On many teams, not all, but teams that I was on for sure, when we talked about chunk based development, that's what we meant. Like you're commit push, commit push all rebase, commit push all rebase, commit push all rebase. There wasn't like, oh, let's go like make a branch
and make a pull request, like that wasn't happening, because you pair programmed it. And so there wasn't much point. So I wonder if like, this is going to mean like, yeah, no, the PRs are the way now. Like genuinely in industry, like PRs have been the way for a while anyway, you know, outside of that works. And if you're not doing that sort of six hours a day of prayer programming, you probably should be doing pull requests. But is this going to really force our hand, I guess? Like what, what do you think? Probably. I mean, I think what you described me, only that desk check,
sort of first review. And then the second review that's okay, this is the final review. I think kit probably makes sense, but it, but again, it should be, you know, it's not, should be short lived, right? Like to be a short lived kind of future branch, just for the purpose of the review. But it, and I think what's, what's sort of interesting is when you think about pairing and what value got out of it, because there are lots of different values. So if we're not pairing and we're
going to do co-reviews asynchronously, well, how does the team align? How do they get to know each other? How do they, how do you get good ideas from people, right? How do you battle test things? So it might be that we're more intentional about some of those things. So, so yeah, I mean, it might be that, okay, day to day, we're not really pairing or mobbing or whatever, but we are explicitly, you know, there is an explicit every Friday afternoon, we are getting together and we're, we're,
we're mobbing, right? Because we don't have these, we're not getting that alignment through day to day. I think you're right. I think some explicit mobbing is probably a really smart idea. I think that's, that's bang on. Cool. Okay, ratios, I mean, are you seeing anything different in terms of like, oh, you know, one product manager can keep up with like, call it six developers. Is that true anymore? Do you need like, three product managers for every three developers now? Like, what, or, or two way ratios, are you seeing anything change with how teams get staff?
Things get built. Well, it's interesting. I'm just going to build a lot of technical products. So, sometimes the developers themselves have a lot of autonomy and play a lot of the product management role. And we do have product managers as well. But what I've kind of been thinking about this, and I was thinking about this before AI anyway, for a very highly effective team, to more think about development as just like a studio associated with a, with a product domain.
When I kind of look at some teams and organizations, even though they might be following Agile or whatever, I still think they're following an effect, like a manufacturing model where you sort of, and it might not be their fault. It's just a nature of complexity, job definitions, legacy or something like that. And you end up very much, yeah, very much like, this person does this role, passes to the next person, passes to the next person person person. So I think when a team, once they've become efficient from a tooling point of view, I think it's,
then it's more interesting to think about how can we experiment faster? And, and to do that, like I think thinking about your team is sort of a studio where you have a, a set of, everybody's, everybody's like a, a technologist that's, that's equal. You have specialisms. And kind of, you know, so to do a feature or a project, you get together a small pod, a small squad, whatever,
there's part of that studio and you go and implement it. And it may be more necessary about infirmity and maybe like, okay, we'll go and do something and we'll go and learn whether this is a good idea. And then we'll come back to, and then decide if we want to move forward. So I kind of been thinking about that as more of a model. I was working on a article on it that haven't, haven't finished yet. But I think that might be more, and that was before even, I was starting writing it before the AI explosion, but I think there's more relevancy now where the team should focus more on that speed to learning, speed to experimentation. To your ratios, I think what I,
I don't know about ratios of project managers developers, what I've probably seen now more is that I would like developers to be more product minded. I don't think we need as many developers that care more about code as craft or like, I think we do need, depending on the, on the nature of the product, right? You may need some developers that are, that are just really good at the low level scaling aspects, but probably for majority folks, we want them to be more customer minded to build
more customer empathy and to understand it, which that's easy to say. It also requires the product manager and the manager to empower the team to be able to do that, right? A lot of times that, those metrics, that information about the customer, those interviews are not available to the developer, they're just given a requirement. So I think if we can be more transparent about those kind of things and, you know, treat the developers like somebody that can have an idea, and they
spend a lot of time in the domain of the product, they can have an idea, they can put it out there, and we can experiment in the same way that a product manager can. That's kind of what I'm thinking about. That just intuitively just totally makes sense to me. Like some of the best teams to your point, like even back in the before times, when we still wrote code with our hands, we're doing that sort of studio approach, you know, where they were keeping really close in touch, they were still pair programming, but it wasn't so much like, you know, this one's your story and that one's your story and, you know, and it was much more like, no, we're all working on stuff, which fits that studio
model. And now like post AI, like it feels even more like that's like each developer is almost a studio with multiple agents going very small piece of a studio, maybe, but yeah, I love what you're saying. Yeah, and it's sort of thing like we're saying in the moment, well, all these developers have this time to focus on highly differentiated high value tasks and like, well, okay, but like they have to be empowered to be able to know what those things are, because if you give a developer time, they're just going to yakshade, you know, so they have to like be exposed to like those kind of
business objectives, those customers, to get their mental juices going and to think through like, well, what is the most important thing to move the product forward? So we aren't just relying on stuff coming down from the business or all the product manager, right? What about the way that you hire, train, mentor coach, like has it changed anything there? Yes. I mean, it's like any new skill, you have to train it, I think, so I think we need to build literacy, fluency in AI, but it's not
just like here's how to prompt whatever, it's like some of the fundamentals, like it should understand what an LLM is and how it's built so that you can understand why some of the things are showing up, and then you can reason about, okay, I now understand why it's forgetting the context and all this kind of stuff. So I think AI fundamentals, you know, basics of those things that we talked about, right? Like the specification context and building feedback loops, I think getting those free
things together, like if a developer can master those free things, then they'll, you'll get less, like, oh, it doesn't give me the right response kind of things, right? That's how you improve, improve the quality, but a lot of it's just through doing, right? So I mean, I think some of it you can do through getting a developer to do their own projects and things like that. Hiring aspect, I don't know if it changes that much. You want to hire small people, I think, whoever you hire should be prepared to use AI at this point, but I think that's the market already. So I think the other
pieces, like, I don't know how to actually do this, but we need developers to have fundamental understanding of software as well, right? Like, like, I know that right now with hiring and some of the coding tests are going to be very difficult with AI. But I borrowed the sort of thought we're smarter over sales taxes, you know, trains example. When I was at a startup called Dindley and hired a bunch of people that way, and what would I expect now, you know?
Am I looking for someone who guided the LLM to write a really great March over? Like, I guess, I don't know how well that's going to look. But, and to your point, it's one thing to trust these LLMs to like, I don't know, really have the latest framework memorized better than you do. That's fine. But you still need to understand software development. You still need to understand software engineering. You can't trust it to do that yet. And I don't know, it seems like that's probably going to remain for a little while. Yeah. Yeah. I mean, especially in DevOps model,
right, where the developers have to vote their own code when you're when you're debugging, trying to figure out, like, you're going to have to read that code and understand it. We are, we've used a lot of your time. Thank you so much to him for your patience. We're kind of coming down into like, then more, more personal questions. I ask everybody a couple towards the end. Is there anything that you've had to change your mind on anything, and it can be about the eye, it can be about software development, it can be in your personal life, it can be anything, anything that you thought you were right about and later found out, oh, wait, no.
And something you've had to change your mind on. Well, I didn't think, I'm sure there's a lot of people can't think it would have progressed as quickly as it is now. It was middle of last year. Yeah. When we had big jumps in models, yeah, I was probably skeptical, like, optimistic but skeptical, but we've just seen these big big jumps. So definitely, I mean, AI in general, sort of changed like a lot of, I mean,
I spoke to a lot of principle engineers that were complete naysayers, like six months ago, and now they're like, okay, very positive about it. Yeah. Yeah. I might have to add that as a prerequisite for the question is that you can't answer. I was shocked at how fast I can walk. Because I'm actually right. That's the answer I'm getting. But it's also true. Two more. Something you're most proud of. With regards to anything.
I'm definitely proud of like, yeah, I'm proud of the work that I did on feedback loops, the article I wrote. I think that's, I've heard it coming back a few times that folks have found it, found the valuable, that kind of model of rather than thinking about through the day as lots of kind of like tasks or jobs, but really thinking about, or tools and things like that,
but thinking about what you're trying to achieve through a series of feedback loops. So I was pretty proud of that framework and how that came out. Cool. And one last one. What's something that's giving you joy right now? I mean, I'll give you one answer about AI. I'm just enjoying like experimenting and playing around with code and and being creating ideas quickly. But outside of code, I'm enjoying that the snow is finishing in New York and we have to go out
hiking and things like that. That's probably what I'm pretty happy about. You're not going to say hanging out with Gene Kim and Kent Martin Fowler in your top. All right, Tim. Thank you so much for spending some time with us today. Really appreciate it. Yeah, and that's all right.
Kyle Hodgson talks with Svet Bajlekov, co-founder of AMMP, a monitoring platform for commercial and industrial solar and battery sites. They get into how a team of about 14 uses AI agents across engineering and...
Ian Johnson is Staff Software Engineer at Parento and author of Harness Engineering. And, he's the first guest that talked to me about how they are building a factory. Ian's book, Harness Engineering:...
In this episode, Pete Hodgson discusses the evolving landscape of AI-assisted engineering, the importance of governance in AI workflows, and how organizations can empower grassroots innovation while maintaining control....
Hari Krishnan is back to talk about advancements in spec driven development, about advancements in open weights models, and about the book he's writing for Manning. You can get the book for 50% off (and possibly save...
Asoba’s CEO Shingai Samudzi is no stranger to ML, as a data scientist he’s put it to use throughout his career. Now, as Asoba looks to accelerate solar energy in South Africa, he’s assembling a new approach; combining a...