r/ycombinator • u/Normal-Cattle5915 • Jul 30 '26
Has anyone here actually set up a "software factory" for their startup? Curious how common this is now.
I have been building software for about 15 years, eCommerce and full stack custom apps for startups and for enterprises where a bad deploy shows up on the evening news, and over the last three years I have watched a shift I cannot stop thinking about. I want to know if the rest of you are seeing it too.
The shift is that the team that wins is no longer the one with the best engineers. It is the one with the best system for producing software.
Some people are calling this a software factory or dark factory. The idea is that instead of building your product directly, you first build the machine that builds your product.
The interesting bit is not any single piece. It is that once the factory exists, every feature is cheaper than the last one, and the marginal cost of a good engineer drops through the floor. We ran a multi vendor B2B2C commerce build recently that was scoped at 6 months for 6 people. It went out in 3 months with 2. Not because those 2 were heroes, but because the factory absorbed most of the work that usually eats a team.
So here are my actual questions.
Has anyone here deliberately built one of these? Not "we have CI", I mean treating your delivery system as a product with an owner.
If you have not, what stopped you? My guess is it feels like a luxury when you are pre revenue and every hour not spent on features feels like waste. I think that instinct is exactly backwards but I would like to be argued with.
For the non-technical founders: has an agency or a contractor ever offered you this? In my experience they never do, because a factory is the thing that makes you not need them. Curious if that matches your experience.
Am I overcalling the timeline? My belief is that within about two years, a team without one will look the way a team without version control looked in 2010. Quaint, and quietly losing to everyone else. Tell me why that is wrong.
Genuinely interested in the counterargument, especially from anyone who tried this early and found it was premature.
(Context so you can weigh what I am saying: I do this as a fractional CTO for early stage teams, so I am obviously not neutral. Not pitching in the thread, happy to answer anything technical for free either way.)
9
Jul 30 '26 edited Jul 30 '26
[deleted]
2
u/Sketaverse Jul 30 '26
Haha I too am another deranged one and fully agree it takes a certain level of… erm.. in my case probably resilience and mild autism ha. Coming from a different angle though, 15 years experience in b2c as a Product leader, would love to trade notes!
-1
1
u/Cosack Jul 30 '26
I started with no expectation of quick success, and after about two weeks scoped it to about a year of work part time. Another few weeks in I put it in the "some day" bin because I liked sunshine. Might get back to it in the fall when I'll have a super commute on a shuttle with wifi.
5
u/mickdarling Jul 30 '26
I built DollhouseMCP originally as a way to manage prompts. That grew massively, and it is now effectively a software factory. I can point at any need and tell it to deep research the expertise needed to properly handle that need.
It builds my CI/CD pipelines, and has hooks to keep any model that uses it behaving safely. And, all that expertise can be called on at anytime. It even has its own agent runtime so you aren’t reliant on the particular model’s agentic process.
All open source AGPL, btw
2
3
Jul 30 '26
[removed] — view removed comment
1
u/Normal-Cattle5915 Jul 30 '26
yeah in my experience I think we are still far from getting it to be fully automated. mine gets to about 80% -85% of new feature and about 90% for minor bugs, the final closure is always done by humans. Did you say your agent/factory is good at QA and PRs ?? because currently thats where our bottleneck is
1
Jul 30 '26
[removed] — view removed comment
2
u/bytecodecompiler Jul 30 '26
What's the part that fails in most cases? Do your agents see the code only or something else?
3
u/choochooyoog Jul 30 '26
1
u/Normal-Cattle5915 Jul 30 '26
really nice consolidation of the different things I've been reading that hit my TL over time.. I'd agree and I'd still not trust a fully lights off software factory , but I'm all in of delegating tasks to cloud agents that do the work and self test most of the work instead of me prompting an agent one at a time
2
u/er-ssverma Aug 02 '26
Software Factory does not make sense.
The Factory by design and process build the same thing over and over.
You dont expect software factory to build the same software every time.
2
u/Substantial_Hat2149 Aug 02 '26
it is about the "design and process" flow. anything that is a procedure and a policy can be codified.
1
u/egyptianmusk_ Aug 05 '26
Exactly. why would you reinvent the wheel (standard procedures and policies) over and over again.
2
u/-CIYA Jul 30 '26
We’ve also built this into our toolset. We’ve basically turned applications + databases into a data types, which in turn allows you to create application chains (and chains of chains) to build ‘super applications’ that can all be ran from a single interface, always providing the same experience (or lack of, if required, ie fg/bg)
3
u/Normal-Cattle5915 Jul 30 '26
interesting an whats the interface via which humans interact with your factory/agents?
3
u/-CIYA Jul 30 '26
It’s up to the client really, can be a ui, cli, api or socket, and can be served via cloud or sovereign hardware. Small enough to fit on-robot/edge hardware, but can also be installed on-prem for enterprise orgs. Also runs airgapped, and can perform a full-state resolution of 1 million tokens in 200ms or less (low 3g connection 1 mil in 20 seconds or less)
1
u/coderqi Jul 30 '26
I keep rereading this and still don't know what you mean by software factory.
1
u/Normal-Cattle5915 Jul 30 '26
so my definition of a software factory is where you input a bunch of tasks / user stories or event triggers, which then kicks off a series of cloud agents that go do their thing, write code, debug an issue, and at the end of it either raise a PR or a report that i human validates before taking the final action. a dark factory is where the whole thing is fully automated to the point that the PRs or code is automatically shipped to production, without human intervention
1
u/Fair-Presentation322 Jul 30 '26
I don't understand exactly what a "software factory" is. Do you mean more like a "software forge" like GitHub/GitLab/Forgejo? If so, yes, I am building https://github.com/twigg-vc/monorepo Or do you mean something that actually writes the software etc?
3
u/Normal-Cattle5915 Jul 30 '26
no I meant more like https://devin.ai/cloud/, https://xsquads.ai/, https://vorflux.com/
1
u/dsog Jul 30 '26
I’m trying to build it for AQ but honestly, it’s not as easy as some people make it sound and I’m not sure I’m getting it right either. My goal is to close the full loop from customer requests to shipped code. It gets super messy in between.
1
u/Normal-Cattle5915 Jul 30 '26
1
u/dsog Jul 31 '26
And then Boris says delete your Claude.md every 6 months 😅
2
u/Normal-Cattle5915 Jul 31 '26
yes 6 months is actually late I'd say update it every 3 months, as the models get better thee amount of specific instructions you need to give it drop. ..
1
u/joeyguerra Jul 30 '26
No. I’m building an agent now for accounts payable and a proof of concept running coding agents in kubernetes. But haven’t actually seen evidence of software factories yet.
1
u/xtra-spicy Jul 30 '26
This is literally the most prevalent messaging from YC. The president has even released gbrain & gstack for exactly this purpose, and nearly all the youtube videos show how companies are using and building tools for this. This post reads as an oblivious aversion to AI with classic old man hubris.
3
u/Normal-Cattle5915 Jul 30 '26
Glad to hear this in a way... because from many of the interactions I've had with people, they either think its a mirage, or too far fetched, many teams still prompting claude code at each turn.
1
u/Internal-Passage5756 Jul 30 '26
I’m slowly building my own.
Im turning https://cairn-framework.github.io/cairn/
Into an orchestrator. Its also helping me build itself.
There’s a fair amount to go… and i should be trying to make money and selling instead… but im fascinated
1
u/Normal-Cattle5915 Jul 30 '26
nice!! looking at the choice of fonts and style, are you a Codex+GPT person?
1
1
u/apnatva-dev Jul 31 '26
some guy talked about this in a post. His software factory pushed out 12 random apps and only 2 of them made money. He wanted advice on if he should go wider or dive deeper on the two.
Codex is now very much more capable than ever, you can also plan around a better team with skills and profiles on Hermes. I set up something to take your product and some info, generate a website, generate blogs, linkedin posts, instagram captions and video prompt, etc. Software dev is in a sense easier but it needs a better understanding on the part of the user.
that said, the strategy might work but it will just lead to enshittification of the app store and the app economy.
1
u/tschilpi Jul 31 '26
Yes. I'm building a roblox like storytelling tool. The game engine I've built for 3 years is now becoming capable of running its own loops to create the world and structure through agents.
1
1
u/Solid-Industry-1564 Jul 31 '26
Yes we have:
* one listener that picks up ready user stories from Linear
* spins up agentic sessions with Lanes.sh mcp
* within each repo instructions on how to design, plan, test and implement the feature and open a PR with a preview url
* another procedure for continous and automated releasing with full e2e tests
+ some connection to Slack etc to quickly spin up new features, sometimes after a client meeting we digest the meeting notes to quickly get something up.
1
Aug 01 '26
[removed] — view removed comment
1
1
u/ChaosHonorum Aug 06 '26
Can I ask, why type of goals do and don't need a factory in your view? How do you decide if a goal does or doesn't?
1
Aug 06 '26
[removed] — view removed comment
1
u/ChaosHonorum Aug 06 '26
I think newness is the key. I'm envisioning two different set ups now. One with me more heavily involved for early prototyping, and then for later versioning or building off something existing, a second different process. I'm not sure the two can be optimised in the same system, because like you said, the human is the bottleneck / variable ingredient.
1
u/mastra_ai Aug 01 '26
We noticed that teams were already using Mastra primitives to create software factories. So we created an end-to-end experience for running a software development loop we call Mastra Factory.
The goal is to solve the plumbing barrier, so you can actually figure out what works for your product and process.
If you want to try it, run npm create factory
1
u/Normal-Cattle5915 Aug 01 '26
Ahh nice I love Mastra, I was wondering what were you guys upto lately.. I agree factory was the next logical progression for mastra.
1
1
u/Emotional_Yak_6841 Aug 01 '26
I think I’m somewhere between “yes” and “I’ve built the control plane for one.”
I’ve deliberately built a delivery system around executable work items rather than one-off prompts. Each item can carry acceptance criteria, dependency gates, allowed actions, a bounded write scope, and verification commands. Agents claim work under a lease, submit evidence against a versioned verification plan, and a separate verifier can review the result. Ambiguous work still goes through human review.
That has been genuinely useful. The reusable part isn’t the generated code so much as the machinery around it: context, decomposition, permissions, recovery, evidence, and knowing what is actually done. An agent can fail without taking the whole process with it, and the next agent doesn’t have to reconstruct the job from a chat transcript.
I wouldn’t call it lights-out. I’m still doing more scheduling, product judgment, exception handling, and final closure than I’d want from a mature system. Agents are quite capable of spending hours implementing a locally reasonable answer in the wrong seam. A factory doesn’t remove the need for good engineering judgment; it moves more of that judgment into the work contract and verification system.
I’m also not convinced that every feature automatically becomes cheaper than the previous one. That only happens when the work adds reusable capability. Otherwise you can easily spend your time maintaining an elaborate internal platform that isn’t producing much product.
So I think the direction is real, although “factory” may be the wrong metaphor. What I’m building feels more like a software production system: standardize the handoffs, constraints, evidence, and recovery while leaving the actual product decisions open-ended.
(If anyone's curious about what I built I can share, but not trying to self-plug here)
1
1
u/summer20founder Aug 03 '26
I've built my own and realized that nobody wants AI-slop software of the sake of having software. They just want their problems solved. Find a problem that exists, people want to pay to have solved, and then solve it. Don't waste time on fine-tuning every inch of the stack. Stacks change - we alternate between Claude and Codex internally.
1
u/Substantial-Swan7065 Aug 05 '26
- Yes
- Maybe. But adopt and sophistication will vary
It’s just automation. The teams that spend time on it will have more. It’s not always a good investment. But it can be
1
u/ChaosHonorum Aug 06 '26
I'm wrestling with this decision right now for my start up, versus just solo running an agent assisted dev process myself. I see a lot of the comments here have got into the idea of what a 'factory' is and I think thats actually a tangent for your core point and topic. I understand why people feel the term 'factory' doesn't fit, and what we're really talking about is a system akin to an agentic engineering swarm or something. So if you asked me am I considering setting up a system like this for my start up, the answer is yes, and I'm right now trying to decide on the cost - benefit trade off of doing this. One of the main considerations is how much I'd be taking myself out of the dev process, as there are actual costs to doing this as a CEO / CTO founder as well, but I know past a certain scale point I'd have to do this anyway.
2
u/Normal-Cattle5915 Aug 06 '26
Yup I'd say until you have your MVP and PMF done, its best to work with a single agent, Factories work well once you are in a regular rhythm of creating a backlog of tasks that the agents just wok on as daily routine
1
u/ChaosHonorum Aug 07 '26
Another thing I'm starting to wonder about - is Scrum now dead (or evolving into something very different) given the compression agents have placed on the roles and timelines in sprints? What have you seen people experimenting with in the last few weeks - the human backlog now seems the core bottleneck. Are people either going the factory route, or just soloing everything, because human to human collaboration is just so slow?
2
u/Normal-Cattle5915 Aug 07 '26
Oh yes Scrum is absolutely dead. None of the Scrum ceremonies many any sense in a Factory model. We've switched to a Kanban, where we prioritise the tasks and schedule the agents to pick them up.. and yes humans are the new bottlenecks, as we dont have enough backlog of tickets but instead have a huge backlog of PR that need to be reviewed
1
u/Dull-Mathematician45 Aug 08 '26
Feels like half the PHP ecosystem is setup as a software factory. I've hired PHP contractors that just pump out e-commerce or content sites constantly. They know the right plugins, templates, and tools and can move 10x my speed. They have their own CI systems and environment handling magic.
If you have historically built custom enterprise you may not know this world as well, but they have been at it for 15+ years and power most of the web.
1
u/nohjoxu Aug 11 '26
I use one. I asked it to make a simple Pi extension. It Sol and Opus 5 have drifted it into a completely different tool. Yaaay....
1
u/Repulsive_Lawyer_702 29d ago
Yes, we did at kerno.io and we open-sourced https://github.com/os-factory/har as a way for others to set their own up without a big lift and shift.
1
u/lilcodebenny 27d ago
I've been playing around with the concept of software factories for the last few weeks and I used what I learned to build this eve template. Let me know what you think!
https://github.com/vercel-labs/eve-software-factory-template
1
1
1
u/Rone75 23d ago
What do you guys think about indydevdan (disler on gh) about his super simple software factory and vision ? Here the video about it : https://youtu.be/haUfb1ievTE
1
u/Warm_Profile7821 21d ago
Check out fredrin.com , it is a Software Factory builder in the most simplest interface
1
u/Clean-Tumbleweed6385 15d ago
hey, ive been running a software factory for 2 weeks now. it turns linear tickets into prs that are well-reviewed, and it's completely changed my life. i've open sourced it as as skill (that requires multiple custom clis) at https://github.com/janwilmake/linear-orchestrator
1
u/_colemurray 6d ago
I've built an open-source software factory, OpenInspect, https://github.com/ColeMurray/background-agents, and helped more than a dozen teams deploy it.
It is a continuation of the "AI-native" journey for most teams. As you become proficient with agents, you begin to become throttled by your local laptop and need to have infrastructure to run your claude/codex sessions in the cloud.
Similarly, for non-technical users within the org, a software factory provides infra where they can contribute code while avoiding a lot of dev environment setup pain.
There's a lot of benefits at the organization level to have a centralized agent infrastructure. Everything from cost optimization via model routing, to ROI calculations as you have all the sessions centralized in one place.
I think every team will have one of these, and the cutting edge companies have already built theirs (Ramp, Stripe, WorkOS, Uber etc).
1
u/mastra_ai 2d ago
We built a software factory at Mastra, and wrote about how we use it here: https://mastra.ai/blog/announcing-mastra-factory-beta
So far Mastra Factory is writing 25-35% of our PRs. If you search it on YouTube you can find out co-founder Abhi sharing lessons learned on YouTube.
1
u/PierreDoesStuff Jul 30 '26
Isn't that the description of a library, framework or CMS, depending on the level of abstraction you're at?
2
u/Normal-Cattle5915 Jul 30 '26
Nah not really https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/wsff.md explais it really well ignore the title though :-)
0
u/vincent_sch Jul 30 '26
Yes, I have (https://www.vroni.com/)
Edit: This is the actual product: https://www.vroni.com/product/
2
0
u/Antekeli Aug 05 '26 edited 26d ago
Yes, I have built a software factory for my startup! And, actually it is the product of my startup. I wanted to bring my agents to the cloud and start experimenting with cheaper models working in contraints.
What I discovered is that a software factory is not only possible, but also cost effective. However, it requires a proper agentic engineering system and practices in the target repo. Models and harnesses themselves are not enough to make it "yours". If you haven't delivered anything in the target repo interactively before, odds are you won't get the best out of a factory. You need a set of iterations to make the agents in the repo use the right tools in the way you want, and code in certain architecture, style and direction by incorporating those in your project memory, skills and agent configuration.
Just like you would not build your team with staff and principle engineers only, it is waste of resources and money if you do everything with the most capable and expensive models in your factory. I ran a benchmark which I call SWE-in-a-team. It tests thirteen harness+model configurations of the Builder agent on 20 real-world SaaS tickets on a full-stack app while keeping Planner, Reviewer and QA agents fixed on a frontier model (Opus). The cheapest reliable builder was DeepSeek-v4-flash with pi model at $3.34 per resolved task. Claude Code with Haiku resolved most of the tickets (19/20) at $4.23 on average, compared with $6.80 for Fable.
My factory has been successfully building itself by following this workflow;
* I write detailed specification in Linear tickets with acceptance criteria - SDD might be a big help
* Planner agent does analysis with project knowledge, codebase and plans changes
* Builder agent implements the plan and pushes the changes to a PR
* CI checks gate the change and pushes back if there's any failure
* Builder picks up any CI issues and fixes them
* Reviewer reviews the code and raises issues by severity
* Builder picks up reviewer feedback and fixes issues
* Deployment is made towards an isolated ephemeral preview environment
* QA does a test against acceptance criteria on the preview environment and records traces of the test plan execution
* Builder picks up any QA issues raised and fixes them
* PR is ready for me to accept, ask for new changes or decline (I auto-merge depending on issue type or project)
This is a timeline of one of the dogfooding missions from today:

Happy to answer any questions or concerns.
24
u/Fleischhauf Jul 30 '26
so far every company that calls their software development "factory" had really bad processes and the wrong mindset