Working with an agentic software factory and enjoying it

Software factories took away my joy. I’m just pressing enter all days. No one cares what is being built and if it is good or bad.

I wish that was a made up quote - but it sadly is not. It’s from a senior developer friend of mine. But I have good news - we can still make something better out of it. And find the joy.

Product development is development, not manufacturing. Software “factories” can pull us toward manufacturing. We don’t have to let them.

407 user stories on the wall

I adapted a Spec Driven Development approach in a project that we have being developing for some time. The last step of that, when it looked through out docs and code base to get a starting point, surprised me. Because it took about 45 minutes.

In the end it came up with 407 user stories that we had talked about but not implemented, edge cases we hadn’t considered etc. All of them good, but what am I supposed with 407 user stories? I couldn’t decided the business requirement, because we have a Product Owner in the team. Should I give him 407 user stories to approve? (read more about moves like that in my upcoming book “How to get fired as a agile practitioner” ;) )

And you know what - even if I could have approve that… honest to God I wouldn’t. Who could?

Now we have a situation where I don’t write the code, I don’t read the code and just gave up reading the spec?! This is a very dangerous spot to be in. Because when my client want to continue to build on this - they are not going to call my agent. They are calling me. And I just gave up on the thinking behind the WHAT, HOW and WHY.

If any of my managers reads this - that section was for illustrative purposes only. I still want my job - I will show you how I actually do it below.

What I did instead, was to just start with a few user stories - like 10-15 or so. And implemented them. It took an hour. Then I took the finished product and showed our PO. Then I continued in another increment. Iterative and incremental but much faster.

One person rocket unicycle

I have seen quite mind blowing things being done by a person with a great agent software factory. Like building things that would have taken us months or years in days.

You hear these people describe how they read the specification very carefully before “pushing the button”. I even heard things like “For now I guess that we have to check-in the source code, but really it’s the specs that matter”.

I don’t doubt for a second that they read the spec (“It was 60 pages and it was amazing”) and understood it. But what they didn’t do, was to run that by the team.

No - they were the product, engineer, test and UX person all wrapped into one. Or had the authority to make those decisions by themselves. Which is awesome!

It’s like strapping a rocket engine onto a unicycle. It will go extremely fast, it will take you there, and you decide the direction (in the beginning). But the people around you will just see a cloud of smoke and wonder where you went.

Product teams

Very few successful software projects have been developed like (single person team) that for a sustainable period of time. It reminds me of the proverb

If you want to go fast, go alone. If you want to go far, go together

But I still want teams to develop products, because this is where the different views will create fruitful friction, where we will share accountability, meaning, taste and context.

Finally, and maybe most importantly; a shared sense of accomplishment and pride. The last 6 months I’ve built things that couldn’t have dreamt of just a year ago - but I have absolutely zero feeling of accomplishment. Because I didn’t “really do anything” - I just prompted and waited (“Pressing Enter all day long”).

That feeling of pride I think comes from the fact that we are struggling a bit with a problem or a piece of work. Automatic generation of the thing I want to have built is amazing but takes away the struggle and overcoming.

Irony of Automation

In 1983 (!?) Lisanne Bainbridge wrote a paper called “Ironies of Automation” in response to the rise of computer-based supervisory control in continuous process industries rather than factory floor robotics and more direct control.

The paper talks about that type of automation turns people into monitors, and monitoring is the part humans are worst at and enjoy least. The tasks that are left is harder, exceptional and sometimes unsolvable. The manual skills were lost over time since that part was mostly working.

But that was 1983 and has absolutely no bearing on the current situation … just kidding. I recognize every word of the article. This also mimics what I hear in the community around me (and in other knowledge work industries)

But there is a big difference for us - we can still own this.

Untrampled ground - the good news

We are, have been and will be in a period of uncertainty and need to navigate it, in the product development industry but simultaneous in just about all other knowledge work jobs.

This is our chance and a message of hope.

Because, since we have not yet decided, or even proposed, good way to work together using software factories as a team; we can own this problem, and create the way that we want. I share some thoughts on that here, but check out CollabAi that I think sounds great.

Out of all the amazing capabilities that AI have, or could have, given us (more understanding, faster speed, better quality, better outcome) we have chosen speed. And in most examples I see, only speed, has been promoted and bragged about.

But it doesn’t have to be like that. We can slow down the output creation and instead use the immense power of AI to build greater products, better quality, deepen our understanding of the customer etc.

In this great talk, Camille Fournier, put it like this:

We are building the future We have the power to make the future more or less humane It is not going to happen if we all buy into hopeless messaging

and finally

In this new world we need to talk more to people than we talk to Claude

Because at the end of the day people that care are behind great product that helps other people.

My suggestions - nothing new

Work in smaller increments. Resist the temptation to spec everything out in one go and the generate the whole system. That way is “risky and invites failure” and we tried in the 70-ies. It didn’t work. For the simple reason that product development is not manufacturing. We don’t know what will work best until we tried it on real people.

Use the power of AI to find out what works faster. Use the power to learn faster, to build better things, not just faster things.

Secondly - work together in teams. On everything. Let the computer do the heavy lifting, as we always have tried to do, but use the spare capacity we got to align together as a team to make the product better. This will bring back some sense of accomplishment and … healthy struggle - but now on a higher level.

It will not only feel slower, but actually be slower than going alone. When it comes to output creation. This is a Good Thing (tm), because it helps us to take time to find root causes, think things through and actually build the right thing.

There are many sayings around this; slow is smooth, smooth is fast. Faster isn’t alway better. Go together to go further. Or Slow down to go faster, as the lean people say.

Find your way

But, as you probably realize by my tips here, find your own ways of working. There’s no best practices here - we are in the complex (or maybe even chaotic) domains of Cynefin, maybe no good practices even. That we know of yet. Make them for you.

Use some enabling constraints like build potentially shippable product increments every 24 hours, never prompt alone and always define a hypothesis or experiment that can be verified from outcome for features.

We can still take ownership and make working with spec-driven development, agentic software factories or what-have-you humane, team-centric and enjoyable. The best is yet to come, for product development.