“Best practice is by definition, current practice”, is a concept I learned from John Allspaw, a previous CTO at Etsy. That is to say, we can always improve our practices. This was a troubling concept for some who thought that surely at this point the ways to manage a database are well understood, for example.
With the industry’s current attempts to wrap its collective heads around the best ways to leverage agentic AI in software development, this concept of best practice being merely current practice, is once again easy to understand.
What’s interesting
"I walked into that room expecting to learn from people who were further ahead. People who’d cracked the code on how to adopt AI at scale, how to restructure teams around it, how to make it work. Some of the sharpest minds in the software industry were sitting around those tables. And nobody has it all figured out.” Finding Comfort in the Uncertainty - Annie Vella
The truth is, current best practice is being figured out as we speak. There are many people both old hat and new to the game who are publishing daily about their experiments, what’s worked for them and where it’s fallen down. Nobody has it all figured out.
In many ways, it feels like the early days of the DevOps movement. I was leading the DevOps transformation at Salesforce and at the time, things were changing so fast we held the internal DevOps conference twice a year. I was posting new articles I’d found daily on the internal message boards and people would ask me how I found the time to do my job, read the articles, and still have time for my family at home.
It was a frenetic time, different than the dot com boom which I also lived and learned through. There was an incredible amount of learning about how to do things better. Just like now.
What I’ve learned
Last year we were able to use AI to help us write code and it could handle tasks approaching the difficulty of an undergraduate homework assignment without hand holding. Then in November, something changed. Everyone admits it. We could use agents as development partners. They became much more capable. In typical Silicon Valley fashion everyone wanted to figure out how to do more! Now there were swarms of agents, coordination, task decomposition.
What is the role of the human in all this? Engineering manager? Project manager? Architect? All three?
I’ve been working on an AI ROI product to release in March and I’ve been doing a lot of coding with Claude. Here are 10 “best practices” I’ve learned, read about, or thought about to help me be successful.
- Take breaks. Pomodoro timers. Going for a walk. None of these concepts are new, but often only people at the management level were coached about them. Now that someone is controlling lots of agents they need to spend more time in deep strategic thought. You can’t do that with your head down. I can’t tell you the number of times I’ve watched engineers who’ve made the move to manager look at me in shock when I’ve told them part of their job is to just sit and think. Some people think it’s a shame that Claude has token limits and windows. I think it’s fantastic that there is a circuit breaker already built in.
- Plan, plan, then plan some more. To that end, execution is fairly effortless with the agents, so don’t spend time on that. Spend time on planning, be strategic. Claude always asks me if we can drop out of plan mode and implement. I say no until implementing something will teach me something. That’s the real lesson behind Minimum Viable Product. When the experiment is ready, then we implement. Yes, all the planning sounds like waterfall, but we’re not doing two week waterfall. One day waterfall at best.
- Spec-Driven-Development (SDD). Waterfall might sound a bit like SDD. But, it can be used to great effect. When doing an AI Readiness Assessment over 40+ portcos last year, I learned about teams that were using AI to write specs for legacy codebases in obscure languages. The AI was good enough to document the code. Then those specs were used to start new development tasks in modern practices and languages without having to make the AI do all that translation work at once. They achieved much better results.
- Commit often. When running all these experiments, we need to be able to undo them. Committing often and being able to undo is critical. We don’t commit when everything is working, we commit when anything is working. Sounds a lot like TDD!
- Be very direct. When managing people it’s important to communicate in the style that’s most effective for each report, as an individual and this is hard. With agents, we don’t need to do this. It’s key to be more project manager than coach. Don’t leave it up to the agents to decide because they have no problem continually going the wrong way, and going deeper down the same rabbit hole and wasting a lot of time and money in the process. Lightly trust, always verify.
- Use Memory.md to create a checkpoint. At least with Claude, I often tell it to checkpoint to disk when something is working the way I like. This is different than revision control. It makes it easier to load that context later. It forces me to think about what I’ve done and where I want to go. This is similar to #1 but I’ve had many occasions of walking away from the computer for 30 minutes to do something else and just get hit with one or two really good ideas.
- Vary your agents. Diversity is a strength on our teams, and with agents too. Not just a variation on the same model. Completely different models. Gemini gives me different answers than Claude. Sometimes radically so. Do deep research. We used to joke not to let 1 hour of good reading get in the way of 8 hours of wasted coding. Now that we can easily blow through 8 hours of wasted coding, this is even more true, not less.
- Empty chair tasks. We need to worry about the humans burning out because of the one-armed dopamine bandit (the idea being that when the agent nails something we get a shot of dopamine so we keep chasing that). But we don’t have to worry about that with agents. One trick I adopted was when signing off for the day to give the agents something to work on. It doesn’t need to be a 12 hour task. There should be something to review when sitting down to work again. This is something we used to only get by having people on the other side of the world.
- Pair programming still has a place! If you’re a manager, sit down with your engineers and pair program with them. In old school pairing, one person was designated to do the typing. Now the agent does the typing, sorta.
- Bring Ops along for the ride. Adam Jacob gave a really good talk about this at Config Management Camp this year. If you don’t, the coding speed gains will be eaten by the slow pace of code testing and infrastructure deployment. They will eat all the productivity. As the DORA Research says, you can make all the investment in AI you want, without good Platform Engineering, there is no ROI.
What I still want to know
I alluded to it in number 9, but I want to know how to make this work well across multiple humans. How do we make this effective for teams? So many of the practices above are about how a person can get more out of AI agents.
There are millions of years of evolution that tell us that a team of humans will beat a single human every time. We have agents to type for us, and listen to us and offer suggestions, but they have a limited world model.
How to get teams of humans using this in the most effective ways is something nobody has figured out at all.
Help me help you
If you have teams who are starting to use AI and are having trouble, I want to help them figure it out so that I can learn too! It doesn’t have to be a big engagement digging into every aspect of the SDLC (that could be ok too).
It could be weekly conversations, coaching, and feedback about running experiments and seeing how it goes, maybe for a quarter. The goal would be for these teams to see improvement across the SDLC and beyond into business metrics.
What you get…
Me! Not merely teaching but learning alongside your teams. I do this in every engagement but in this case there are a lot more unknowns! Your teams get access to an expert in all parts of the SDLC and beyond.
I want to get more at bats, with more teams, to help figure this out. Many people are publishing things about experiments they’ve run themselves (like I did above) or inside their companies. I want to have a view across portfolio companies. I want to cross pollinate ideas, and learn what works and carry that to all of you.
What I get...
If it goes well, for a quarter or two, then late in the year I’ll publish a free e-book with what I’ve learned, and especially how it’s applicable to private equity.
We do cutting edge research, your teams benefit, the industry moves forward faster: win-win-win.
What do you think? Email me.
|
|