I'm not sure why I invested the time to read all this, but even so, it left me confused, because it seems very limited in ambition.
And in that case, why not just use claude-desktop, it supports VMs (or SSH) for environments, and supports forks and child sessions passing messages back to parent sessions.
So I'm not sure what has even been achieved here which can't be done by using /goal and scheduled tasks in claude desktop.
I'm actually fairly hopeful of "software factories", but to stand-out you need to be shipping a very compelling user story, and a clear explanation of how you overcame these issues:
- Factory gets distracted building the factory
- Factory gets distracted fixing bugs / edge cases instead of shipping features
- Factory spends more time coordinating work than shipping fixes
- Factory rinses through tokens, forcing you onto API tier pricing
- Factory can't say no to fixing issues filed
Right now, I very much believe that a person with a claude subscription can massively out-ship a fully automated software factory despite the latter costing an order of magnitude more to run, especially if you measure shipping by actual features and outcomes rather than lines of code or PRs merged.
Don't get me wrong, I would love to move to use one of these factories, and one day they will solve these problems and be better, but right now all the current generation seem to run into similar problems, and I don't see enough evidence here that this one is any better than the hundreds of others out there.
I just have a cheap second hand machine with a lot of ram under my stairs and an app which lets me get notified on my phone for things like secrets or deployment approvals.
So yeah I agree: I think people vastly over engineer these things.
Claude can sabotage your work, so it is not a sensible choice. They also have thing called "adaptive reasoning" which means they can serve you output quality of a cheaper model for the price of more advanced one. You can never predict when you get dumbed down processing. It's like building a house on a swamp.
That doen't sound right. It's the same model, they just dynamically adjust how much effort is devoted to reasoning for a given response, based on the expected difficulty of the given prompt.
At the end of the day, you're paying by the token. If you're asking an easy question, you don't need to tell the model to think really hard about it.
And if you don't like adaptive reasoning (I don't), just turn it off.
Agreed. I've found far more success automating different parts of the typical SDLC workflow. For instance, I've frontloaded most of my effort towards creating design artifacts, then decomposing those artifacts into a `/workflows` on claude-desktop.
To supplement this, I've largely automated the PR process, using github stacks and event-driven agents to review and drive PRs to merge. Recently, I added a classification router using the OpenAI Decisions API to assist with this since some features I want to test personally.
I highly recommend adding some kind of GitOps philosophy where merged changes deploy to a QA build automatically... It's saved me so much time during testing, and furthermore you can point agents + tests at that environment for further validation.
Beyond that, IMO the only remaining gaps are verification and perhaps some sort of context engine. In the former case, I find this takes the form of two dimensions: (design) intent and (code) correctness.
I am very biased because I do build and host my version of a "software factory". I find "software factory" to be more the marketing term for "workflow automation".
> - Factory gets distracted building the factory
Just use something simple - what I am doing is simply have a language that describe how the factory should look like, and the platform just automatically set it up for me.
> - Factory gets distracted fixing bugs / edge cases instead of shipping features
I don't quite find this to be the case, the factory does what it is told to do. It is easy to just let it work on edge cases? Sure. But it is not like it automatically does something that it should not be doing. For fixing bugs, it seems like a good thing.
> - Factory spends more time coordinating work than shipping fixes
Not quite sure what you mean here, but of course if you push 100 PRs every day, you need some coordination.
> - Factory rinses through tokens, forcing you onto API tier pricing
They are doing more work of what you can do iteratively, they do use more tokens. However tokens and intelligence are getting cheaper and cheaper. I find deepseek perfectly adeguate for most tasks my software factory is doing.
> - Factory can't say no to fixing issues filed
Yes, they absolutely can. My factory has fork and decision point. If someone decides that the tasks should not be done, it is simply not done. Similarly, my factory can ask a human for review. Or it can route work - something is complex and requires planning and design and then implementation vs something is trivial just do it vs something add no value, just terminate now.
However, I agree that R&D work happens better in a iterative session - mostly because there is so much back and forth and we are still steering the machine.
But, there is a lot of work that is not R&D - and that does not need constant human supervision.
Most people when they talk about software factory, they think of a huge set of automations that do everything. I don't find that useful at all.
I have ~10 of software factories and each has a small and simple goal, eg. Pay down technical debt, Ensure the documentation is up to date, review PRs that need rebase, merge low risk PRs, etc...
It is not ONE BIG FACTORY, they are many small one - each doing something to make the codebase a tiny bit better, so that I can focus on the R&D work.
I think it comes down to expectations and partially people trying to just shoehorn in buzzwords for attention. But I think there is a slight genuine distinction.
And that in one stack you can totally have both parts of the system being deterministic and non-deterministic, but if you have a mix you can only have a non-deterministic output.
I agree that the right thing to do in a work context is to avoid building a software factory at all costs and wait like 6-12 months before there are good industry-standard options to adopt.
That said I think the problems people are trying to solve are real. The difficulty with everyone-claudes-from-their-laptop flows is scaling them (and to some extent, securing them). When you have multiple people all shipping from terminal there start to be non-trivial differences in people's installed skills, models, MCPs, which processes they follow to develop, test & review etc (beyond "run the CI pipeline").
You can solve this in small teams with tight co-ordination and elbow grease but in enterprise-ey context it starts to be a big problem - like since Bob left changes to subsystem X don't seem to come out right anymore, for reasons that nobody can quite explain. Possibly the reason was on Bob's laptop but it's since been wiped. Later we noticed Bob's agent made some weird decisions and it would be great to be able to figure out what websites it looked at when it decided to use version x.y of dependency `sparklefoo`, but there's now no way to find out. Oh well.
Also, reviewing MRs is sort of the wrong level of abstraction for large agent-driven changes, you don't see the intent or process really, just reams of generated code. Clear MR descriptions help but you don't have "ground truth" available anymore. Ditching the session history loses you the actual rich information that drove the change and a lot of data that is useful for process improvement. On top of that every project reinvents preview environments and tons of other things that should ideally be conventions.
OFC I didn't follow my own advice and am messing around on a self-hosted "app builder" optimised for small apps & kids: https://github.com/flokkit/apptown (It's really just terminal coding agent(s) with embedded skills & standardised previews/deploys all running server side in Docker, in a trenchcoat). Several of my friends are also tragic victims of "software factory disease".
I'm not sure why everyone try to build a software factory. The cost of copy a software is essential zero. There are no need for 1000+ copy of MS word and each one have their own bug.
I just open claude code or codex and ship. I've never once had a measurable improvement in revenue generated or time saved by making a "factory" or trying to make a perfect "harness".
This is cool, but is missing details on a lot of what is, to me, the actually interesting parts of this, like:
How did you actually process the orchestration loop? Is it just a prompt which says "please fix this forgejo issue?" That's my read on it, looks like tmux, forgejo, and Claude
Do you have a multi step process with review? Or is it just one shot per feature.
How do you track acceptance? How do you know if the work is completed?
Have you seen any emergent structures like agent swarms or gates/laws emerging?
Are you using permanent / long running / claw style agents or regular Claude? Do agents have different roles?
What have been the big obstacles in actually getting work done?
What have you used the factory to produce and are you happy with the results?
> When an agent learns something valuable that is worth remembering for future sessions, it will write it into the project’s AGENTS.md, as long as it’s short. If it’s longer than a paragraph or two, then it will put a markdown file in docs/. This way all the project knowledge is stored inside the project. How do you define something valuable? Do you just add to the system prompt something prompting the model of along the lines to add “something valuable” that it learn to the agents.md? Or is it something that you find when analyzing output and tell it make note of that? Or something different entirely?
> With the advent of AI summarization tools, I believe that not many humans will read this, so I guess my main reason for writing this to try to understand myself what have I done and how it works, but also inspire others who still like to read human generated content, to perhaps experiment.
I find that’s why I write anything myself as well these days. To understand my own production and actually get the sense that I learned something. A lot of the time it feels like screaming into the void but at least in doing so I can actually use critical thinking to formulate how to best explain my point. Thanks for writing this by hand, made it a lot more compelling to read.
For me the trigger isn't the model deciding something is valuable. It writes a note when I correct it, or when it disproves an assumption it was working from.
It is important that there is an index of some sort though that is kept up-to-date.
I have a similar system and it was interesting for me to read. Not that I am going to adopt it wholesale but there are interesting ideas and tips for me. Like Lima or Semaphore UI
> There are many various control panels for agents developed by various people. I explicitly decided against using these because they are most likely vibe-coded or VC-funded.
> I had the time, and my own vibe-coding abilities, to create something that works for me, rather than building my workflow around a tool by some YouTube influencer.
>
> Source: https://kudmitry.com/articles/self-hosted-software-development-factory/
Your project does not seem to be any different.
In a few days, another one with ~$50 who has free cherished time, and has irresponsible attitude to the history vibe-coding, will have the same article with the same exact message.
In a few months, there are 30 different articles and absolutely different incompatible opinionated tools.
Yeah, but I can setup an agent loop to write new standards to unify all the standards once a new one is released. Automated N+1 standard creator! This is the future we've been too afraid to dream of
I'm not sure why I invested the time to read all this, but even so, it left me confused, because it seems very limited in ambition.
And in that case, why not just use claude-desktop, it supports VMs (or SSH) for environments, and supports forks and child sessions passing messages back to parent sessions.
So I'm not sure what has even been achieved here which can't be done by using /goal and scheduled tasks in claude desktop.
I'm actually fairly hopeful of "software factories", but to stand-out you need to be shipping a very compelling user story, and a clear explanation of how you overcame these issues:
Right now, I very much believe that a person with a claude subscription can massively out-ship a fully automated software factory despite the latter costing an order of magnitude more to run, especially if you measure shipping by actual features and outcomes rather than lines of code or PRs merged.
Don't get me wrong, I would love to move to use one of these factories, and one day they will solve these problems and be better, but right now all the current generation seem to run into similar problems, and I don't see enough evidence here that this one is any better than the hundreds of others out there.
I just have a cheap second hand machine with a lot of ram under my stairs and an app which lets me get notified on my phone for things like secrets or deployment approvals.
So yeah I agree: I think people vastly over engineer these things.
Claude can sabotage your work, so it is not a sensible choice. They also have thing called "adaptive reasoning" which means they can serve you output quality of a cheaper model for the price of more advanced one. You can never predict when you get dumbed down processing. It's like building a house on a swamp.
That doen't sound right. It's the same model, they just dynamically adjust how much effort is devoted to reasoning for a given response, based on the expected difficulty of the given prompt.
At the end of the day, you're paying by the token. If you're asking an easy question, you don't need to tell the model to think really hard about it.
And if you don't like adaptive reasoning (I don't), just turn it off.
Agreed. I've found far more success automating different parts of the typical SDLC workflow. For instance, I've frontloaded most of my effort towards creating design artifacts, then decomposing those artifacts into a `/workflows` on claude-desktop.
To supplement this, I've largely automated the PR process, using github stacks and event-driven agents to review and drive PRs to merge. Recently, I added a classification router using the OpenAI Decisions API to assist with this since some features I want to test personally.
I highly recommend adding some kind of GitOps philosophy where merged changes deploy to a QA build automatically... It's saved me so much time during testing, and furthermore you can point agents + tests at that environment for further validation.
Beyond that, IMO the only remaining gaps are verification and perhaps some sort of context engine. In the former case, I find this takes the form of two dimensions: (design) intent and (code) correctness.
I am very biased because I do build and host my version of a "software factory". I find "software factory" to be more the marketing term for "workflow automation".
> - Factory gets distracted building the factory
Just use something simple - what I am doing is simply have a language that describe how the factory should look like, and the platform just automatically set it up for me.
> - Factory gets distracted fixing bugs / edge cases instead of shipping features
I don't quite find this to be the case, the factory does what it is told to do. It is easy to just let it work on edge cases? Sure. But it is not like it automatically does something that it should not be doing. For fixing bugs, it seems like a good thing.
> - Factory spends more time coordinating work than shipping fixes
Not quite sure what you mean here, but of course if you push 100 PRs every day, you need some coordination.
> - Factory rinses through tokens, forcing you onto API tier pricing
They are doing more work of what you can do iteratively, they do use more tokens. However tokens and intelligence are getting cheaper and cheaper. I find deepseek perfectly adeguate for most tasks my software factory is doing.
> - Factory can't say no to fixing issues filed
Yes, they absolutely can. My factory has fork and decision point. If someone decides that the tasks should not be done, it is simply not done. Similarly, my factory can ask a human for review. Or it can route work - something is complex and requires planning and design and then implementation vs something is trivial just do it vs something add no value, just terminate now.
However, I agree that R&D work happens better in a iterative session - mostly because there is so much back and forth and we are still steering the machine.
But, there is a lot of work that is not R&D - and that does not need constant human supervision.
One detail that is missing.
Most people when they talk about software factory, they think of a huge set of automations that do everything. I don't find that useful at all.
I have ~10 of software factories and each has a small and simple goal, eg. Pay down technical debt, Ensure the documentation is up to date, review PRs that need rebase, merge low risk PRs, etc...
It is not ONE BIG FACTORY, they are many small one - each doing something to make the codebase a tiny bit better, so that I can focus on the R&D work.
I think it comes down to expectations and partially people trying to just shoehorn in buzzwords for attention. But I think there is a slight genuine distinction.
Workflow automation: deterministic outcomes Software factory: non-deterministic outcomes
And that in one stack you can totally have both parts of the system being deterministic and non-deterministic, but if you have a mix you can only have a non-deterministic output.
I agree that the right thing to do in a work context is to avoid building a software factory at all costs and wait like 6-12 months before there are good industry-standard options to adopt.
That said I think the problems people are trying to solve are real. The difficulty with everyone-claudes-from-their-laptop flows is scaling them (and to some extent, securing them). When you have multiple people all shipping from terminal there start to be non-trivial differences in people's installed skills, models, MCPs, which processes they follow to develop, test & review etc (beyond "run the CI pipeline").
You can solve this in small teams with tight co-ordination and elbow grease but in enterprise-ey context it starts to be a big problem - like since Bob left changes to subsystem X don't seem to come out right anymore, for reasons that nobody can quite explain. Possibly the reason was on Bob's laptop but it's since been wiped. Later we noticed Bob's agent made some weird decisions and it would be great to be able to figure out what websites it looked at when it decided to use version x.y of dependency `sparklefoo`, but there's now no way to find out. Oh well.
Also, reviewing MRs is sort of the wrong level of abstraction for large agent-driven changes, you don't see the intent or process really, just reams of generated code. Clear MR descriptions help but you don't have "ground truth" available anymore. Ditching the session history loses you the actual rich information that drove the change and a lot of data that is useful for process improvement. On top of that every project reinvents preview environments and tons of other things that should ideally be conventions.
OFC I didn't follow my own advice and am messing around on a self-hosted "app builder" optimised for small apps & kids: https://github.com/flokkit/apptown (It's really just terminal coding agent(s) with embedded skills & standardised previews/deploys all running server side in Docker, in a trenchcoat). Several of my friends are also tragic victims of "software factory disease".
Thanks for sharing this.
I am working on something very similar. For my personal needs but also maybe for my professional life.
I’ll try to do a ShowHN once it’s ready.
I'm not sure why everyone try to build a software factory. The cost of copy a software is essential zero. There are no need for 1000+ copy of MS word and each one have their own bug.
I just open claude code or codex and ship. I've never once had a measurable improvement in revenue generated or time saved by making a "factory" or trying to make a perfect "harness".
This is cool, but is missing details on a lot of what is, to me, the actually interesting parts of this, like:
How did you actually process the orchestration loop? Is it just a prompt which says "please fix this forgejo issue?" That's my read on it, looks like tmux, forgejo, and Claude
Do you have a multi step process with review? Or is it just one shot per feature.
How do you track acceptance? How do you know if the work is completed?
Have you seen any emergent structures like agent swarms or gates/laws emerging?
Are you using permanent / long running / claw style agents or regular Claude? Do agents have different roles?
What have been the big obstacles in actually getting work done?
What have you used the factory to produce and are you happy with the results?
Do your agents get depressed?
How do you self-host Claude?
"Software factories" feel like the next version of whatever this was: https://steve-yegge.medium.com/welcome-to-gas-city-57f564bb3...
Gas Town is a software factory (or an attempt at it). Steve even says in that article
> Gas Town is an industrialized coding factory
I don’t think the term software factory was being widely used at the time when Gas Town was created, but that’s exactly what Gas Town was trying to be
> When an agent learns something valuable that is worth remembering for future sessions, it will write it into the project’s AGENTS.md, as long as it’s short. If it’s longer than a paragraph or two, then it will put a markdown file in docs/. This way all the project knowledge is stored inside the project. How do you define something valuable? Do you just add to the system prompt something prompting the model of along the lines to add “something valuable” that it learn to the agents.md? Or is it something that you find when analyzing output and tell it make note of that? Or something different entirely? > With the advent of AI summarization tools, I believe that not many humans will read this, so I guess my main reason for writing this to try to understand myself what have I done and how it works, but also inspire others who still like to read human generated content, to perhaps experiment. I find that’s why I write anything myself as well these days. To understand my own production and actually get the sense that I learned something. A lot of the time it feels like screaming into the void but at least in doing so I can actually use critical thinking to formulate how to best explain my point. Thanks for writing this by hand, made it a lot more compelling to read.
For me the trigger isn't the model deciding something is valuable. It writes a note when I correct it, or when it disproves an assumption it was working from.
It is important that there is an index of some sort though that is kept up-to-date.
I stopped reading at software development factory. What even is the point?
Agree. I'm happy to have the prompts and harnesses improve for frontier models, but have zero desire to learn about someone's made up system.
I have a similar system and it was interesting for me to read. Not that I am going to adopt it wholesale but there are interesting ideas and tips for me. Like Lima or Semaphore UI
Your project does not seem to be any different.
In a few days, another one with ~$50 who has free cherished time, and has irresponsible attitude to the history vibe-coding, will have the same article with the same exact message.
In a few months, there are 30 different articles and absolutely different incompatible opinionated tools.
In a year, there's a mess no one knows how to manage: https://xkcd.com/927/
Yeah, but I can setup an agent loop to write new standards to unify all the standards once a new one is released. Automated N+1 standard creator! This is the future we've been too afraid to dream of
There can be only N+1!
Your comment cannot be rated high enough.
I miss the good old days when everyone would just invent their own JavaScript framework.