AI engineering
He Built an AI Software Factory from Scratch, Here’s What He Learned
- Emily Bache interviewed Matt Wynne, creator of Cucumber
- See https://github.com/mattwynne/rpg-combat/tree/factory
- A dark factory is one where everything is automated such that it could operate with the lights off. “I think it’s a sort of an idiot’s capitalist fantasy that we’re going to be able to just like fire all the humans and the CEO can just sit there having ideas and money will just start falling into the bank account.”
- A factory is just automation. We can achieve more from LLM-based automation than we can with pure deterministic automation.
- Apparently we need to get good at the skill of building software factories.
- The example shown in the video has two types of commits: Ralph (the factory) and kaizen (where Matt is improving the factory itself). Emily said, “Now that sounds like engineering to me,” where you let the factory build something and then tune it so it builds things better.
- Mark wants to get to the point where he doesn’t read the code. But later admits that his mentor (Justin McCarthy) said you can’t trust anything the LLMs do. But if you put a feedback loop in, you can get them to converge something that’s “pretty close to what you would have wanted.”
- If you can’t take his training course, find a safe problem you can play with to learn about these things.
- Emily: “If you’re planning to use agents to generate code that you don’t intend to read, there needs to be a well-engineered system to ensure the code quality is good, the architecture stays good over time, and you’re building features according to the right specifications.”
- Note: I looked at the GitHub repo and branch listed above. 93% of the files and 99% of the total bytes are overhead dedicated to the factory. You read that correctly. Very little of the codebase is the actual kata, its tests, or the various config files.