Building a Software Factory that actually works (Full Course)
- Host
- Greg Eisenberg
- Guest
- Ras Mic
- Date
TLDR
A software factory is not a product, model, or coding harness. It is a repeatable workflow encoded in a handful of Markdown files that lets AI agents isolate work, build with structural conventions, prove results with evidence, and iterate through automated review before a human merges the change. Ras Mic’s core argument is that this process enables parallel agent development without accepting sloppy or unverified software.
Key takeaways
A software factory is a model- and harness-agnostic workflow, not a proprietary tool. Ras Mic defines it as a set of workflow skills and domain knowledge that maximizes an agent’s output at each development stage. His implementation uses roughly 5 or 6 Markdown files, including
agents.md, so it can work with different models and tools rather than locking the builder into a specific product.Isolation prevents parallel agents from overwriting one another’s work. The first step creates a fresh Git worktree branched from
origin mainfor every feature, effectively giving each agent its own copy of the application. Mic says this allows as many as 15 simultaneous features or agents to work independently, then merge back into the main codebase without the conflicts caused by multiple agents modifying the same branch.A code-structure skill makes working software maintainable software. Mic’s agents are instructed to use a service-layer architecture instead of merely producing code that runs. He contrasted code generated by GPT 5.6 Sol, which functioned but contained duplication, dead code, and scattered functions, with a review by Fable that exposed those problems. The structure improves handoff to humans and future agents.
Evidence-driven testing replaces an agent’s unsupported claim that the feature works. The proof step records a before state and an after state, using screenshots or video for visible changes and tests or measurements for nonvisual ones. Mic showed a page-load improvement from roughly 850 milliseconds to 60 milliseconds, giving him objective evidence instead of relying on the agent’s self-report.
Visual proof lowers the review burden for nontechnical builders. Mic acknowledged that he increasingly skims code rather than reading every line, then checks whether the agent followed the code-structure skill and supplied before-and-after evidence. A feature such as an admin email page can therefore be reviewed through a compact visual comparison, making the agent’s work legible without requiring deep code inspection.
Automated code review turns shipping into a feedback loop rather than a final inspection. Mic’s GrepLoop skill opens a pull request with evidence, invokes Greptile or another review agent, and sends unresolved feedback back to the build step. A pull request that initially scored 3 out of 5 must cycle through build, prove, and review until it reaches 5 out of 5, after which Mic merges it.
The human’s role moves from writing every line to setting standards and approving the gate. In Mic’s workflow, agents isolate the task, implement it, generate proof, respond to review feedback, and repeat until the external reviewer is satisfied. The human becomes the agent manager who defines the workflow and clicks merge, rather than manually coordinating every implementation detail.
The factory metaphor is useful because each step has a distinct production function. Isolation is a dedicated station for a custom order, build is the assembly line, prove is quality control, and ship is release after the quality bar is met. Mic ultimately agreed that these plain-language labels may explain the system better than his original names, while emphasizing that the factory itself is simply encoded process.
Insights and implications
The scarce resource shifts from coding capacity to quality-control design. Once agents can execute 15 features in parallel, adding more agents is less valuable than defining reliable evidence, architecture rules, and review thresholds. The system’s throughput is therefore constrained by how precisely the builder specifies what “done” means and how automatically failures are routed back into implementation.
Trust in agent-built software comes from process evidence, not model confidence. Even a highly capable or low-hallucination model can produce code that works while remaining structurally poor or incompletely tested. A before-and-after record plus independent review creates an auditable chain from request to merge, allowing builders to reduce manual code reading without treating the agent’s narrative as proof.
The portable advantage is institutionalized workflow, not access to a particular model. Because Mic’s factory is stored in Markdown and remains harness-agnostic, model improvements can be inserted into the same operating system for development. Teams that document their architecture, testing evidence, and review loops can compound capability across models, while teams that rely on ad hoc prompting must rebuild their process whenever tools change.