Ought to people keep out of the software program growth course of and vibe code, or do we want builders within the loop inspecting each line of code? I imagine the reply is to deal with the purpose of turning concepts into outcomes. The fitting place for us people is to construct and handle the working loop moderately than both leaving the brokers to it or micromanaging what they produce. Let’s name this “on the loop.”
As software program creators we construct an end result by turning our concepts into working software program and iterating as we study and evolve our concepts. That is the “why loop”. Till the AI rebellion comes people will run this loop as a result of we’re those who need what it produces.
The method of constructing the software program is the “how loop.” The how loop includes creating, choosing, and utilizing intermediate artefacts like code, assessments, instruments, and infrastructure. It could additionally contain documentation like technical designs and ADRs. We’re used to seeing many of those as deliverables, however intermediate artefacts are actually only a means to an finish.

Determine 1: The why loop iterates over concepts and software program, the how loop iterates on constructing the software program
In actuality the how loop incorporates a number of loops. The outermost how loop specifies and delivers the working software program for the why loop. The innermost loop generates and assessments code. Loops in between break down greater ranges of labor into smaller duties for the decrease loops to implement, then validate the outcomes.

Determine 2: The how loop has a number of ranges of interior loops that work on smaller increments of the total implementation
These loops could comply with practices like design evaluations and check phases. They could construct programs by making use of architectural approaches and design patterns like microservices or CUPID. Just like the intermediate artefacts that come out of those practices and patterns, they’re all a way of reaching the result we really care about.
However possibly we don’t care concerning the means which are used to attain our objectives? Perhaps we are able to simply let the LLMs run the how loop nevertheless they like?
People outdoors the loop
Loads of folks have found the enjoyment of letting people stick with the why loop, and leaving the how loop for the brokers to take care of. That is the frequent definition of “vibe coding”. Some interpretations of Spec Pushed Improvement (SDD) are a lot the identical, with people investing effort in writing the result we wish, however not dictating how the LLM ought to obtain it.

Determine 3: Human runs the why loop, agent runs the how loop.
The attraction of people staying out of the how loop is that the why loop is the one we actually care about. Software program growth is a messy area that inevitably bogs down into over-engineered processes and dealing with technical debt. And each new LLM mannequin thus far has gotten higher at taking a person immediate and spitting out working software program. If you happen to’re not glad with what it spits out, inform the LLM and it’ll offer you one other iteration.
If the LLMs can write and alter code with out us, can we care whether or not the code is “clear”? It doesn’t matter whether or not a variable identify clearly expresses its goal so long as an LLM can determine it out. Perhaps we don’t even have to care what language the software program is written in?
We care about exterior high quality, not inside high quality for its personal sake. Exterior high quality is what we expertise as a person or different stakeholder of the software program. Useful high quality is a should, the system must work accurately. And for manufacturing software program we additionally care about non-functional, operational high quality. Our system shouldn’t crash, it ought to run shortly, and we don’t need it posting confidential knowledge to social media websites. We don’t wish to run up huge cloud internet hosting payments, and in lots of domains we have to move compliance audits.
We care about inside high quality when it impacts exterior outcomes. When human coders have been crawling via the codebase, including options and fixing bugs, they might do it extra shortly and reliably in a clear codebase. However LLMs don’t care about developer expertise, do they?
In concept our LLM brokers can extrude a massively overcomplicated spaghetti codebase, check and repair it by operating ad-hoc shell instructions, and finally produce an accurate, compliant, high-performing system. We simply get our swarms Ralph Wiggumming on it, operating in knowledge facilities that draw power from the boiling oceans they float on, and finally we’ll get there.
In observe, a cleanly-designed, well-structured codebase has externally vital advantages over a messy codebase. When LLMs can extra shortly perceive and modify the code they work quicker and spiral much less. We do care concerning the time and value of constructing the programs we want.
People within the loop
Some builders imagine that the one option to preserve inside high quality is to remain intently concerned within the lowest ranges of the how loop. Typically, when an agent spirals over some damaged little bit of code a human developer can perceive and repair it in seconds. Human expertise and judgement nonetheless exceeds LLMs in lots of conditions.

Determine 4: Human runs the why loop and the how loop
When folks discuss “people within the loop”, they usually imply people as a gatekeeper throughout the innermost loop the place code is generated, corresponding to manually inspecting every line of code created by an LLM.
The problem after we insist on being too intently concerned within the course of is that we develop into a bottleneck. Brokers can generate code quicker than people can manually examine it. Reviews on developer productiveness with AI present combined outcomes, which can be at the very least partly due to people spending extra time specifying and reviewing code than they save by getting LLMs to generate it.
We have to undertake basic “shift left” considering. As soon as upon a time we wrote all of our code, handed it to a QA group to check, after which tried to repair sufficient bugs to ship a launch. Then we found that when builders write and run assessments as we work we discover and repair points immediately, which makes the entire course of quicker and extra dependable.
What works for people can work for brokers as effectively. Brokers produce higher code once they can gauge the standard of the code they produce themselves moderately than counting on us to examine it for them. We have to instruct them on what we’re searching for, and provides them steering on the most effective methods to attain it.
People on the loop
Moderately than personally inspecting what the brokers produce, we are able to make them higher at producing it. The gathering of specs, high quality checks, and workflow steering that management completely different ranges of loops contained in the how loop is the agent’s harness. The rising observe of constructing and sustaining these harnesses, Harness Engineering, is how people work on the loop.

Determine 5: Human defines the how loop and the agent runs it
One thing just like the on the loop idea has additionally been described because the “center loop,” together with by contributors of The Way forward for Software program Improvement Retreat. The center loop refers to transferring human consideration to a higher-level loop than the coding loop.
The distinction between within the loop and on the loop is most seen in what we do after we’re not glad with what the agent produces, together with an intermediate artefact. The “within the loop” approach is to repair the artefact, whether or not by immediately modifying it, or by telling the agent to make the correction we wish. The “on the loop” approach is to vary the harness that produced the artefact so it produces the outcomes we wish.
We repeatedly enhance the standard of the outcomes we get by repeatedly enhancing the harness. After which we are able to take it to a different stage.
The agentic flywheel
The subsequent stage is people directing brokers to handle and enhance the harness moderately than doing it by hand.

Determine 6: Human directs agent to construct and enhance the how loop
We construct the flywheel by giving the brokers the knowledge they should consider the efficiency of the loop. A very good start line is the assessments and evaluations already included within the harness. The flywheel turns into extra highly effective as we feed it richer indicators. Add pipeline phases that measure efficiency and validate failure eventualities. Feed operational knowledge from manufacturing, person journey logs, and industrial outcomes to broaden the scope and depth of what the brokers can analyze.
For every step of the workflow now we have the agent overview the outcomes and advocate enhancements to the harness. The scope consists of enhancements to any of the upstream elements of the workflow that might enhance these outcomes. What now we have now’s an agent harness that generates suggestions for enhancing itself.
We begin by contemplating the suggestions interactively, prompting the brokers to implement particular modifications. We will even have the brokers add their suggestions to the product backlog, so we are able to prioritize and schedule them for the brokers to select up, apply, and check as a part of the automated movement.
As we acquire confidence, the brokers can assign scores to their suggestions, together with the dangers, prices, and advantages. We would then resolve that suggestions with sure scores needs to be mechanically accepted and utilized.
Sooner or later this may look lots like people out of the loop, old-school vibe coding. I believe that will probably be true for traditional varieties of work which are performed usually as the advance loops attain diminishing returns. However by engineering the harness we received’t simply get one-off, “adequate” options, we’ll get strong, possibly even anti-fragile programs that repeatedly enhance themselves.
