Software engineer of nearly 30 years. AI tinkerer, scale modeller, sci-fi obsessive. Too many projects, not enough hours. Occasionally knows what he's doing.
So, my AI developers, Claude and Codex, had identities, responsibilities and access to GitHub.
Progress!
But there was still the slightly uncomfortable matter of where they actually worked.
Until now, I’d been treating AI coding assistants much like extensions of my own development environment.
That was fine when I was sitting there supervising everything. Less fine when I started imagining agents working independently, potentially on several projects at once.
I didn’t particularly want an enthusiastic AI developer rummaging through my machine, finding credentials, modifying things it shouldn’t, or interfering with another agent’s work.
The obvious answer was isolation.
Containers.
Give each agent its own workspace, the tools it needs, access to the appropriate repositories, and as little opportunity as possible to cause trouble elsewhere.
Essentially, individual offices for my digital workforce.
There were other advantages too. Environments could be reproduced, sessions could be separated, and the whole arrangement started looking rather more like infrastructure than a couple of clever command-line tools.
Of course, containers aren’t magic security boxes. They still need carefully controlled permissions, networking, credentials and access to the host.
And introducing isolation creates a fresh collection of problems.
What happens to work when a container disappears? How do agents exchange information? How do they access shared services without exposing everything?
Every answer seemed to generate another three questions.
I was discovering that building an AI engineering team involved considerably less artificial intelligence than I’d expected, and considerably more traditional systems engineering.
Still, the twins now had somewhere to work.
Next, I needed to make sure they could actually work together.
Preferably without me having to supervise every conversation.
I’d started building a software product.
I was now running a very small, entirely virtual office.
At least nobody was stealing the milk from the fridge.
@brianoliveri Probably ChatGPT because it’s more useful for everyday life stuff and Codex is pretty decent. If we’re talking just for coding, then I’d keep Claude.
Last time, I'd introduced Claude and Codex, my two AI developers. One to write the code, the other to independently review it.
A promising start.
Of course, having two AI agents is one thing. Giving them access to actually do anything useful is another.
Enter GitHub.
Both agents needed to work with repositories, branches, commits and pull requests. But I didn't particularly fancy handing over unrestricted access to my GitHub account and hoping for the best.
That might be acceptable for a quick experiment. It's considerably less appealing when you're trying to build something that could eventually operate with minimal human intervention.
There were questions of identity, permissions and accountability.
Who made a particular change? Which agent was responsible? What could each agent access? And how could I prevent an overly enthusiastic AI from doing something spectacularly stupid?
I wanted the agents to behave more like members of an engineering team, with their own identities and clearly defined responsibilities.
But there was another problem lurking.
Both agents were operating in an environment that also contained my development tools, credentials and other projects.
Even with good intentions, that's rather a lot of opportunity for things to go wrong.
And AI agents are nothing if not enthusiastic.
So the next idea was to give them their own isolated environments, with controlled access to the resources they actually needed.
Containers.
I'd started with two AI coding assistants and a relatively simple Solar Optimiser.
Now I was designing authentication, security boundaries and infrastructure for a small digital workforce.
At least they weren't asking for company cars.
Yet.
So, I'd decided to build a Harness to manage AI-assisted software development.
The next question was how to actually make it work.
I'd been using Claude extensively for development, and it was impressively capable. But there was a problem with asking the same AI to write code and then review its own work.
It's rather like asking a student to mark their own exam paper.
"Excellent work. Full marks. No notes."
Enter Codex.
The idea was to have two independent AI agents with different responsibilities. One implements the changes, the other reviews them against the specification, coding standards and architectural requirements.
If the reviewer finds problems, the work goes back for correction.
Simple enough in theory.
But I didn't want two chatbots politely agreeing with each other. I wanted a proper engineering process, with clear responsibilities, evidence of what had been done, and checks that couldn't simply be waved away by an enthusiastic language model.
And that raised another question.
Who decides what each agent should be doing, and who makes sure they actually do it?
Apparently, my AI developers were going to need a manager.
I'd started out trying to save money on electricity.
I was now contemplating the organisational structure of a software company staffed by machines.
This was escalating nicely.
Last time, my relatively simple Solar Optimiser had started evolving into a potential SaaS product.
AI had written some code at an astonishing pace, which was fantastic. But I was beginning to realise that the bottleneck wasn’t writing code any more.
It was managing everything around it.
Specifications, architectural decisions, consistency, testing, code reviews, security, documentation… all the things that make the difference between something that works today and something that’s still maintainable next year.
I’ve been developing software professionally for decades, and I certainly wasn’t going to abandon my engineering principles just because an AI could generate a few thousand lines of C# before I’d finished my tea.
I also knew from previous experience that the agents are far from perfect; anything AI generated has to be checked.
So I started experimenting with a different approach.
What if the AI agents had clearly defined responsibilities?
One could implement the changes. Another could independently review them. Specifications could establish what was expected just as with human developers, and automated checks could enforce rules that shouldn’t depend on an AI remembering them.
Simple tests showed that using a different agent found more issues than an agents own independent review.
Essentially, I wanted to separate writing the code from deciding whether the code was actually any good.
And rather than rebuild that process for every new project, why not make it reusable?
That was the beginning of what I started calling the Harness.
A development framework for coordinating AI agents, enforcing standards and ensuring that the human remains in control of the important decisions.
Of course, there was a small complication.
I was now using my experience managing a development team paired with AI to build a system for managing the AI that was building my original system.
Will this let me have the best of both worlds?
We’ll see.
Over the last few weeks, I’ve been fighting a war with a 1kW electric panel radiator.
I bought an Azur Stratos from @Screwfix for my garden outbuilding because it was advertised as Apple HomeKit compatible.
It isn’t. Not even remotely.
That was Plan A gone before we’d even started.
Plan B was Home Assistant - which it says it isn’t compatible with, but it is.
All I wanted to do is keep the room at 17°C unless someone is in there, in which case keep it at 19°C, simple, right?
Unfortunately, the radiator had other ideas.
First, it randomly powers itself off.
Then there was the Wi-Fi, which appeared and disappeared whenever it felt like it.
And then came Tuya Local.
Getting it connected was one thing. Getting it to behave was quite another, because the device profile had the current and target temperatures transposed.
If it wasn’t already mounted on the wall, I’d have insisted on returning it but I didn’t want the hassle of repairing the wall and installing something else.
I’ve been developing software for decades, I wasn’t giving up yet.
Eventually, after much experimentation, and creating a new device profile that I’ll submit to Tuya Local soon, the automation was working.
Entering the room, my iPhone connects to the AP in there and before I’ve even crossed the threshold - *beep* - Home Assistant has recognised the room is now occupied and sent the command to raise the target temperature to 19°C, the beep being the radiator acknowledging it.
Further automation detects the device powering off, waits 30s, and then turns it back on.
Hours of work setting up Home Assistant (which admittedly should be useful for other things later) and then more hours configuring it (how anyone manages that without something like ChatGPT is a mystery).
All that effort because Screwfix can’t get a product listing right as I’d have never bought the bloody thing otherwise.
This resonates rather strongly. I've spent the last few months building an AI development Harness, and most of the difficult problems haven't been getting agents to write code. They've been making sure they work safely, remember what's important, prove what they've done and know when to stop. The engineering around the AI matters enormously.
Anyway... on with the story...
The Solar Optimiser was supposed to be a fairly simple project.
A .NET service, a few API integrations, a database and some logic to work out when it was cheapest to charge my home battery.
Nothing particularly ambitious.
Then I started thinking about whether other people might find it useful.
Suddenly I wasn't just building a tool for my house. I was thinking about installers, multiple customers, subscriptions, dashboards and all the other things that turn a weekend project into an actual software product.
Meanwhile, AI was writing code at a frankly ridiculous pace.
Which was brilliant.
Until I realised that producing code quickly and producing a coherent, maintainable product aren't necessarily the same thing.
I could see the potential, but I could also see the problem. The faster development became, the more important it was to have proper specifications, consistent standards, reviews and some way of ensuring that everything fitted together.
And then I had another idea.
What if I could build something to manage the AI doing the development?
So, naturally, my little electricity-saving project was about to acquire an entirely unrelated software project of its own.
This was getting out of hand.
And I was thoroughly enjoying it.
3–4 months working with AI. Thousands of messages. Countless hours building software together.
It still can't spell my name correctly.
And people wonder why I'm building an AI development harness with governance, validation and independent reviewers.
Trust, but verify. Especially the spelling.
The idea was fairly simple. I already had three APIs identified: Octopus for electricity prices, the Met Office for weather forecasts, and FoxESS for controlling the batteries.
I knew how I'd build it. I just didn't particularly fancy spending evenings writing the code.
So why not see if AI could do it?
The initial plan was a modest .NET service that would collect the data, work out when charging was cheapest, and eventually tell the inverter what to do.
Nothing revolutionary. Just a little home automation project to save me a couple of minutes every day.
Nice and simple, right??
My adventure into AI started at work and was largely disappointing. The agents made so many mistakes that getting anything done often took longer than doing it myself.
Then, around the summer, something shifted. With a bit of guidance, I finally started seeing the productivity gains the technology had been promising.
Smash cut to home.
Since having solar installed the previous year, I’d wanted to automate the charging and discharging of our batteries. But time was limited, and the motivation to spend my precious free hours staring at Visual Studio was even more limited. I’d barely progressed beyond some research.
Then I had an idea…
After almost 30 years in software engineering, I've spent the last few months exploring what AI coding agents can really do.
Somehow, that's escalated into building the foundations of an AI-run software company.
Part engineering experiment, part learning experience, and possibly an elaborate way of avoiding writing code myself.
Thought I'd start sharing the journey.
Absolutely right that Howe went but replacing him with a manager with no PL experience whilst also buying a load of young players with no PL experience seems to be backfiring spectacularly. #NUFC