Since the beginning of this year, I have undertaken more and more complex builds using AI agents instead of the usual humans who have built great custom software solutions with me (btw, thanks to all for the great stuff we have built together). The most complex build to date is a multi-tenant version of a case management platform. A system that would easily replace an earlier one created with two low-code teams over the span of 2 years.
Critical success factors, or why this complex build was a success:
First, it has a layered approach which splits up the complex problem into much more straightforward problems. In addition, these problems in and of themselves are quite common, and software patterns or open source solutions exist to solve them. By writing these down and approaching the build from these different perspectives, I was able to keep the context within acceptable bounds for the current state of LLM’s. In addition, it made it possible to keep the ‘eyes of the LLM’ focused on the ball, which is, in my opinion, key to any project’s success. Note that this approach is contrary to the agile way of working, where a (partial) result is always the end goal, and you work towards intermediate solutions that already deliver value.
Second, I took quite a bit of time setting up infrastructure and architecture to support the build. Wiki, project planning and ticketing systems, brainstorming, and let’s not forget my hardware. I used these systems to architect (in full collaboration with LLM’s) a system that already had a lot of well-thought-out functional domains. This greatly helped me to focus the LLM on the specific functional domain I wanted a solution for. And I kept all of this up to date during the build. This allowed me to control the build as I was used to, and it gave subsequent phases easy access to all the important decisions and thinking, without having to understand a huge codebase.
Third, my experience in working in custom software development environments and being ‘tech heavy’ and ‘business savvy’ at the same time. It lets me quickly understand a bug’s impact, the value of TDD, and when to loosen the reins. Also, building with LLM’s requires a lot of decision-making and (just like with human builds) the ability to understand the impact of those decisions on tech and business outcomes. However, the speed at which a build progresses is a lot higher than with human teams, and thus the need for speedy decisions is also higher.
FAQ:
Have you supported it in production? Nope, but soon you will see the marketing plan in action, and I will keep you posted. However, I have noticed a much lower number of bugs that actually made it to my human tests or even production than I experienced with the human build. In one case, a developer accidentally removed the mandatory director sign-off in production, and several hundred thousand worth of subsidies went out without approval. In another incident, a team built an SMS-number reset that ran through email. That same email address was also used for password reset, which quietly reduced MFA to a single factor. Having worked through those types of bugs from human teams, I am confident I can tolerate and solve the LLM’s mistakes just fine.
The context overload to LLM’s is real. I experienced it when I became too greedy and thought I could allow scope creep across domains during the build, because I wanted a taste of some actual results. It resulted in some hair-raising security issues that I would like to forget about. So be warned!
Token usage was also quite reasonable. The only time I experienced high token usage was during the context overload period (see above) and the subsequent cleanup. Other than that, I get to the end of the week comfortably on my subscription. I have to add that I also make use of my two local GPUs for simpler tasks (like writing tests).
My opinion:
You can build complex systems using current state LLM’s; they can be on the same level as human builds. Just as with normal builds, you need a strong combination of tech and business skills to maximize value delivery. The biggest difference: the cost is much lower.
Btw I am currently available for new assignments. If you are interested, please plan a meeting through meet.blueskyconsult.nl.