# Stop Building Software Factories — Justin McCarthy, Diffusion

## Executive summary

The speaker argues against the indiscriminate creation of 'software factories' when product market fit is unknown. Instead, organizations should focus on building 'brownfield factories'—continuous loops that optimize and maintain existing commitments (making them faster, cheaper, and safer)—and 'demand factories'—AI-driven systems designed to discover genuine market needs and define the brand envelope.

## Key takeaways

- Stop Industrializing Unknowns: Do not subject ideas to a factory process if you do not yet know what you want; this leads to wasted time and resources. Discern whether you are discovering new ground or optimizing existing products.
- The Power of Brownfield Factories: A brownfield factory is based on existing commitments and is paid for by customers. It uses runtime data (usage, support tickets) to reinforce the integrity and utility of the existing product, reducing technical debt.
- Continuous Operation is Key: A brownfield factory must be continuous, running 24/7, like a straight line of activity, and must keep its existing promises (features, cost, security).
- The Rise of the Demand Factory: Since code is abundant, the next challenge is building a demand factory. This system uses AI agents to synthesize market feedback, prioritize questions, and determine the maximum extent of what the market will buy (the brand envelope).

## Technical details

- Factory Mechanism and Loops: A factory process relies on loops, which take an input and an output and feed it back. These loops can be represented in YAML, Python, or a graph, and are essential for stabilizing the input and achieving reliability.
- Model Simplification Trend: The complexity of these systems is decreasing over time. Improvements in models and harnesses (e.g., Astra, Fable, Carbon) allow systems to become simpler, faster, and safer without massive creative input.
- AI and Product Discovery: The demand factory uses AI to help prioritize market questions, synthesize customer answers, and schedule experiments (e.g., price elasticity of demand), leading to lower latency responses.

## Practical implications

- Audit existing products to identify 'promises' (features, cost, security) and ensure the brownfield factory is continuously upholding them.
- Utilize AI agents to move beyond simple production and begin market discovery, focusing on 'gross margin' and 'brand differentiation' rather than just shipping more features.
- Treat technical debt (like old backlogs) as a resource that can be 'dried up' by continuous optimization, rather than a perpetual problem.
- Allocate experimental bandwidth strategically using models to determine the price elasticity of demand for new offerings.

## Topics

Software Architecture, AI Engineering, Product Management, Technical Debt, Continuous Integration, Claude 4 series, GPT-5, Bun and Cloud Code, Astra, Fable, Carbon

Source: https://www.youtube.com/watch?v=1S4hx3wgvBE
