Engineering an Agentic Engineering Framework: Lessons from Building Builder Garage
One of the more interesting aspects of developing Builder Garage, an open-source framework for agentic software engineering, is that I'm using the framework itself to engineer it. The practices, workflows, and governing
One of the more interesting aspects of developing Builder Garage, an open-source framework for agentic software engineering, is that I'm using the framework itself to engineer it. The practices, workflows, and governing rules I'm developing are being put to use in the construction of the very software that delivers them.
This has created an interesting environment for experimentation and discovery. I'm able to evaluate not only the functionality of the framework but also the effectiveness of the engineering practices upon which it is founded.
Along the way, I've encountered challenges, reconsidered architectural decisions, suspended initiatives, and discovered potential capabilities that I hadn't originally envisioned. Several lessons have emerged from that experience that I believe are worth considering as we continue to explore agentic software engineering.
Dogfooding the Engineering Process
Dogfooding is an established practice in software development. Using the software you're developing allows you to experience it from a user's perspective and discover shortcomings that might otherwise go unnoticed.
With Builder Garage, however, dogfooding extends beyond the functionality of the software. I'm also evaluating the effectiveness of the engineering processes embedded within the framework.
Are agents consistently following established instructions? Are responsibilities and authority boundaries sufficiently defined? Are implementation reviews genuinely independent? Is the evidence being collected sufficient to validate the work? Are certain engineering processes introducing unnecessary friction?
These are questions I'm able to investigate through the daily use of Builder Garage.
For example, during two release cycles, certain pre-merge requirements weren't recorded in the intended sequence, despite those requirements being documented in the release runbook. This led to the introduction of reminders within the promotion pull request template, placing the requirements closer to the point at which they needed to be satisfied.
This is a relatively small example, but it illustrates an important consideration when designing agentic workflows. Having a documented process doesn't necessarily ensure that the process will be followed. How and when instructions are presented within the workflow also deserve consideration.
When I encounter these kinds of gaps, there isn't a single defined methodology through which I determine the appropriate solution. That determination often comes through a combination of experimentation, research, discussions with AI, and exploring how existing tools address similar problems.
Even after implementing a solution, further practical experience may lead me to reconsider it.
AI as a Multiplier Beyond Code Generation
Much of the conversation surrounding AI-assisted software development focuses on the speed at which code can be generated. While that is certainly a significant benefit, I've found AI to be equally valuable in the exploration that takes place before and around implementation.
Much of my work on Builder Garage involves conversations with AI about architecture, engineering practices, workflow design, authority boundaries, and potential solutions to problems I've encountered.
AI provides access to a broad body of knowledge and multiple perspectives that I can explore. This doesn't mean that AI is all-wise or always right. Its value is also in helping me investigate why a solution isn't working, identify gaps in an approach, and consider alternatives that I might not have previously explored.
As an engineer, I'm still responsible for evaluating those perspectives, validating assumptions, and making decisions. AI amplifies my ability to engage in that process.
I think this is an aspect of agentic engineering that deserves more attention. The opportunity isn't limited to accelerating implementation. There is also an opportunity to expand our capacity for engineering discovery and problem-solving.
Established Engineering Practices Still Matter
Having spent more than 20 years developing software professionally, I bring many established software engineering practices into my work with AI agents.
Architecture, separation of concerns, modularity, testing, security, and maintainability remain important considerations regardless of whether I'm writing the code or directing an agent to write it.
However, when agents are doing most, and sometimes all, of the coding, additional engineering considerations emerge.
One example is how independent implementation review is conducted within Builder Garage.
My current workflow separates implementation and independent review between two agents:
- Agent #1 is responsible for implementation.
- Agent #2 is responsible for independently reviewing the implementation.
- Findings requiring correction are returned to Agent #1.
- Corrected implementations are independently reviewed again.
- Human acceptance remains a distinct responsibility.
Independent code review isn't a new engineering practice. However, applying it within an agentic environment introduces questions about agent responsibilities, authority boundaries, context management, evidence, and verification.
For example, what information does the reviewing agent need to conduct an effective review? How do we prevent the reviewing agent from assuming implementation responsibilities? How do we establish that the artifact being advanced is the same artifact that was independently reviewed?
The underlying engineering principles are familiar, but their practical application within agentic workflows requires additional consideration.
New tools don't erase the need for established practices. New tools also introduce new gaps that need to be filled.
Engineering Discipline in an Environment of Accelerated Implementation
One of the things developing and using Builder Garage has reinforced for me is the importance of not losing sight of engineering discipline simply because AI allows us to build things faster.
The reduced effort required to implement software can introduce the temptation to move directly from an idea to working code. However, the speed at which an implementation can be produced doesn't diminish the importance of understanding the problem, considering the architecture, establishing acceptance criteria, and validating the resulting software.
This is one reason I've incorporated explicit discovery, implementation, independent review, and acceptance practices into my agentic workflows.
Not every engineering task requires the same amount of discovery or process. Part of what I'm continuing to explore is how to maintain appropriate engineering rigor without introducing unnecessary ceremony.
The objective is to establish practices that contribute to the quality of the software and the effectiveness of the engineering process, rather than introducing process simply for the sake of having it.
The Importance of Engineering Restraint
Another consequence of accelerated implementation is the temptation to include everything along with the kitchen sink.
A recent example from Builder Garage was my exploration of GitLab integration. Considerable engineering work went into determining how the framework could support GitLab alongside GitHub, including implementation, independent review, and verification.
I ultimately decided to suspend the initiative.
The decision wasn't driven by an inability to implement GitLab support. I reconsidered whether multi-platform support was sufficiently important at this stage of the project's development to justify the additional engineering, verification, documentation, and ongoing maintenance.
Interestingly enough, that same initiative led to the discovery of another potential capability.
I had originally intended to use stacked pull requests as part of my own development workflow for the GitLab initiative. A misunderstanding of my intent resulted in stacked pull request governance becoming part of the work being done on Builder Garage itself.
Rather than simply dismissing that work, I recognized the potential value of exploring stacked pull request support as an optional, reusable capability within the framework.
One engineering journey resulted in the suspension of an intended capability and the discovery of an unintended one.
As AI reduces some of the barriers to implementation, I believe it becomes increasingly important to carefully consider what's important now, what can wait until later, and what may never be needed.
The Unresolved Questions of Orchestration and Agent Organization
There is still a considerable amount of manual agent management involved in my current workflow. Although many of the engineering activities are performed by agents, coordinating those activities and directing the movement of work between agents still requires my involvement.
This has led me to continue exploring orchestration and automation.
Should Builder Garage eventually provide native orchestration capabilities, integrate with existing third-party orchestration tools, or support some combination of the two? Which aspects of the engineering workflow should be automated, and when is the appropriate time to introduce those capabilities?
Another related question is agent definitions versus agent role assignments.
My current approach primarily involves assigning responsibilities to Agent #1 and Agent #2 within the engineering workflow. However, with the growing practice of creating custom agents, I'm interested in exploring whether explicit agent definitions might provide advantages over runtime role assignments.
There may also be opportunities to expand beyond the two agents that have been central to much of my work thus far.
How would additional specialized agents fit within the existing engineering workflow? How would their responsibilities and authority boundaries be established? Would predefined agents, runtime role assignments, or a hybrid approach be more appropriate?
These questions are particularly interesting because decisions about how agents are organized could influence how they are eventually orchestrated.
I'm not yet committed to a particular direction in either area. They remain subjects for further discovery, experimentation, and evaluation.
Establishing Personal Best Practices
Developing Builder Garage has become a means through which I'm establishing and refining personal best practices for agentic software engineering.
I use the word personal intentionally. We are still in the early stages of discovering what effective agentic engineering practices can look like. I'm not suggesting that the approaches I'm developing represent definitive industry standards.
What I am doing is putting engineering ideas into practice, evaluating their effectiveness, reconsidering them when necessary, and incorporating what I'm learning into an open-source framework that other engineers can explore, challenge, and potentially contribute to.
Agentic engineering has increased my confidence in my ability to produce quality software by allowing me to leverage and amplify many of the skills I've developed over the years.
Builder Garage remains a continual work in progress, as does my understanding of agentic software engineering. Much of the value I'm deriving from the project is in the engineering discovery that takes place along the way.
Explore Builder Garage
- Website: buildergarage.app
- GitHub: github.com/bdonaldharris/builder-garage
This article is adapted from my personal essay, Building the Garage While Working in It: Lessons from an Ongoing Journey in Agentic Software Engineering.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes โ full credit and traffic to the original publisher.