Self-hosted software development factory

(kudmitry.com)

195 points | by ingve 11 hours ago ago

93 comments

  • simplesocieties 9 hours ago

    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".

    • sadilek 14 minutes ago

      Factory: Agree. I don't even know what exactly that means.

      Harness: I increased my productivity by building a harness tailored to my use cases. I found myself degraded to the manual QA team of my agents. "Give me manual testing instructions" I used to ask. Now I have a setup where agents give me narrated demo videos that I can watch and comment on at the spot by voice to have things changed.

    • arcastroe 13 minutes ago

      > I just open claude code or codex and ship

      Assuming you're using clis or desktop apps for this, this creates a little bit of friction suited for desk work. And also encourages working on a single task at a time (assuming you only have a single branch of your project checked out locally at a time)

      I suppose this blog post is describing a workflow more like "I open an issue on github, assign a bot to the issue, review the PR, and ship"

      The latter has the benefit of being operated fully through mobile-optimized web ui's so it can be done on-the-go. This can be very freeing.

      It also has the benefit of parallelization. Multiple issues can be opened, assigned, and worked-on concurrently and independently.

    • CBLT 2 hours ago

      I agree with you, the best way to deep work with AI is to pair with it. Trying to create an unattended factory doesn't create something maintainable or robust.

      I still use the factory pattern to parallelize work on low-stakes tickets. I get value from fast exploration and turnaround. I don't use AI to triage. Human once-over into the appropriate queue works better for my experience, but your tickets my vary. Then I try to have as few human touches as feasible (but not fewer) as AI does the grunt work of reproducing bugs, making speculative UI changes, etc.

      • WA an hour ago

        Factory pattern? Just tell Claude "open subsessions for every issue so work on multiple issues can run in parallel" and it simply does it. No elaborate setup needed.

    • MisterMunchkin 44 minutes ago

      They don’t work. Humans need teams because people can only do/know so much. An AI doesn’t need a marketing department, it can just do marketing. You don’t need a “supervisor” to do performance reviews with AI.

    • pjmlp 4 hours ago

      Because that is not for you, software factories like the real factories, are for management to replace a whole team, and leave only one or two persons behind, responsible to keep the factory going without major issues.

      • jasode 2 hours ago

        >Because that is not for you, software factories like the real factories, are for management to replace a whole team,

        Your comment may give readers the wrong impression of this thread's article. The "software factory" the author is talking about is his self-hosted home setup of agents for personal projects. It's not a cost-cutting technique to layoff employees. Just a guy at home configuring a bunch of bots to do brute-force exploratory work on a modest 32GB server that he wants to monitor from his MacBook.

        • pjmlp an hour ago

          It is still the same, even if there is only one personal at the factory floor.

          This guy would have need to sub contract real humans instead, if it wasn't for the software factory on the basement.

          • jasode 32 minutes ago

            >This guy would have need to sub contract real humans instead, if it wasn't for the software factory on the basement.

            Not necessarily and your conclusion that reduces the AI tools motivation to a single reason of "replacing humans" is not always correct.

            For most home/personal projects, the alternative to no AI assistance wasn't hiring humans. Instead, no AI means not bothering to do the work at all.

            More examples of that fork in the road ...

            - a homeowner configures self-hosting NAS that records video from his house webcams to use AI detection tools to notify when people approach the house. If the homeowner didn't use AI, it doesn't mean he would have hired human security guards to monitor his webcams. Instead, he'd just live with "dumb" webcams instead of "smart" ones.

            - owners of Tesla cars use the AI self-driving functionality to transport them around. If they don't use the AI, it doesn't mean they would have hired human chauffeurs to drive for them. Instead, it means they have to drive themselves or in cases of older senior citizens who can't drive, they don't go anywhere at all and stay stuck at home.

            We need to be realistic here. The vast majority of hobbyists messing around with self-hosted agent harnesses at home would not pay for extra human developers for whatever coding experiments they want to pursue. If the author of this article was hesitant about spending extra money for 64GB RAM and thus decided on cheaper 32GB RAM for his home server, it definitely means he wasn't going to spend thousands for human developers.

            Yes, the Klarna CEO laid off hundreds of employees because he wanted cheaper AI chatbots to replace them. However, that's not what this thread's particular article is about.

            • mehdix 23 minutes ago

              This reminded me of a common argument media corporations make against piracy, i.e. every pirated copy is a lost sale. It's not. In most cases the preson would simply wouldn't bother.

            • coldtea a few seconds ago

              >Not necessarily and your conclusion that reduces the AI tools motivation to a single reason of "replacing humans" is not always correct. For most home/personal projects, the alternative to no AI assistance wasn't hiring humans. Instead, no AI means not bothering to do the work at all.

              It's not always the motivation, but it's the one which will dominate and do damage.

              In short term, some people can finish some pet projects thanks to AI assistance.

              In long term, the same people might be out of a job due to AI.

              If you ask them then, how many would say they'd rather still have jobs in a world without AI, than having had AI and having finished those pet projects?

        • coldtea 5 minutes ago

          >The "software factory" the author is talking about is his self-hosted home setup of agents for personal projects. It's not a cost-cutting technique to layoff employees.

          The author's use case isn't. But the general idea, as sold, is.

      • bijowo1676 2 hours ago

        software factories are for agencies, that regularly ship tens+ CRUD microservice apps for various use cases and stitch them together.

        sort of like web-design agency with cookie-cutter wordpress sites.

        imagine the world where you dont know postgrest exist, and you charge each client for the cookie-cutter app the big bill, while reusing 95% of the stuff

        • pjmlp an hour ago

          How do imagine enterprise consulting with SaaS and iPaaS works?

      • cajal 3 hours ago

        is there any evidence whatsoever that this approach has actually had any benefits for any real code anywhere in this world?

        • samrus 3 hours ago

          Its too early to tell. Im generally a cynic, but a year ago people were saying the same about codegen in general (all those articles about how it actually cost more time)

        • BrandiATMuhkuh an hour ago

          Mastra uses their own factory. As a Mastra user it’s a game changer. Almost any bug I report is fixed and shipped in 2 days

        • InsideOutSanta 2 hours ago

          Since different "software factories" work quite differently, I'm not sure it makes sense to ask whether "this approach" has benefits, because there isn't one approach.

          But I do generally believe that the way we use LLMs to develop software right now, by having multiple threads in a harness like Claude Code that then has connectors to Jira, Confluence, and other systems, is probably not the best possible way, and some of the ideas from some software factories probably make sense.

        • latentsea 2 hours ago

          It can be pretty magical when combined with an ultra-opinionated framework that agents just cannot fuck up, and tripling down on the verification side of things. I have zero doubt that it represents a very unevenly distributed future, and that the tech is still maturing.

        • pjmlp 2 hours ago

          Yes, it used to be called offshoring, now gremlins in Boomi, Workato, Opal, Sitecore AI, Contentful workflows,... take care of the work.

          The benefits aren't for the code, the benefits are for management cutting down cost centers.

      • darkwater 2 hours ago

        Maybe this will never apply to SV but in the rest of the world a poorly setup software factory can easily dwarf the costs of an actual human team just in tokens spending.

        • pjmlp an hour ago

          Yes, we are aware of the offshoring factory outcomes, this is only the next level.

    • llIIllIIllIIl 5 hours ago

      There’s nothing one orc can’t do that 1000 orcs can. Being a Sauron of agents doesn’t produce better results.

      • rheisen_ 3 hours ago

        Have you not been paying attention to the advances in math being facilitated by tens of thousands of agents working collectively?

    • skwee357 35 minutes ago

      But, but... are you a 10x engineer this way? /s

      I'm the author. I get you. But the world is so f-ed up right now that some days I feel really depressed with the state of software engineering. Aside from doing non computer related stuff, messing up with computers the way I described in the article, brings back the joy I used to have 10 years ago when I was just fooling around.

      Do you need it? Probably no. Was it fun to build it? Hell yes. Do I chuckle every time I look at this tiny machine doing things autonomously? You bet I do.

  • eterm 10 hours ago

    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.

    • Aurornis 4 hours ago

      > 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.

      I regularly spot check LinkedIn, podcasts, and influencer outlets to see what’s being talked about. “Software factories” and elaborate harnesses have been a popular influencer topic all year. Everyone wants to one up each other with how complicated their setup is.

      For a while I kept hearing variations of the same meme across podcasts and LinkedIn posts: That the best way to evaluate engineers in the AI age was to ask about their coding setup. The implication being that the more complicated it was, the better. I’ve lost count of how many times I’ve seen or heard someone say that the epitome of a “cracked AI engineer” was that they vibecoded their own harness. Using Claude Code directly was a signal that you were a noob.

      Which is all very bizarre for people who use Claude Code and all of its features. Every time I talk to someone with an elaborate custom setup excitedly explaining things it can do, they seem confused or surprised when I point out that I can do those things with the basic tools, too.

      Thankfully there does seem to be a return to simplicity. The trend now is back toward simpler environments like Pi or just using Claude Code directly. People are ditching their giant skills libraries and slimming down their collections of MCP tools. The “software factories” meme lives on, but you have to filter out all of the noise of people reinventing the wheel to get down to real advancements that are worth their weight over basic tools.

      • koolherc 25 minutes ago

        What gets me is that everything has to become a performance indicator. Same story as tokenmaxxing: once token spend, or now setup complexity becomes a signal, people start optimizing for that signal instead of shipping. Devs playing around with harnesses and factories is great, that's how you find out what the tools can actually offer. If that's plain Claude Code or Pi, great. If a factory works for you because you work somewhere that suits it, great. Using it as an evaluation metric for engineers is just dumb - it's like evaluating engineers based on their .vimrc.

      • antonvs 3 hours ago

        Surprisingly many devs seem to prefer to work on their own tools than investing the time learning how to use existing tools. A variation of yak shaving, I suppose. It can also be a learning exercise, but that shouldn't be confused with tools that anyone else should be using.

        For most devs, this is a particularly futile activity when what you're working competes with multiple "trillion dollar" companies, whose attention is all heavily focused on that exact functionality.

        Of course every now and then someone will produce something useful, but that's a vanishingly small proportion.

      • vasco 3 hours ago

        Because you have pedestrians giving you professional advice about something they never did.

    • rsalus 10 hours ago

      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.

      • jwilliams 9 hours ago

        We route the same way: an evaluator categorizes each PR as it arrives, by what it touches and how far a mistake would travel, and decides which go straight through. It started with one minor patch bump (https://jonathannen.com/start-with-one/) and now 100+ a day with 3/4 auto merge is a normal day.

    • latentsea 2 hours ago

      > '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
      
      Why not apply... control theory?

      Edit: also it's probably best to learn a software factory than to try and hand assemble one. The bitter lesson and all.

    • ffsm8 3 hours ago

      > 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.

      From _this_ articles PoV I completely agree, and taken literally I also agree -- so let me contextualize my perspective:

      A software factory shines by codifying your release flow, essentially. Wherever Agents drive the changes or you drive the agents locally - the core domain of the factory is _automating the way your code flows through test environments to finally a production environment_.

      You can glue multiple tools together to get a good old ci/cd system going, like the author of this article did - but actually implementing it as a full software completely detached from estsablished solutions does let you make a superiour experience.

      However, having said that... what you've just said still applies, regardless. A person working full time, consciously and deliberately making agents implement the features in the exact way thats desired is still the quickest _by far_ - because you can use the software factory as well, feeding your changes into the automations.

      the thing that makes the complete autonomous approach desirable in some contexts is just that you need to spend so little time to get the ball rolling. So while you deliver multiple times the features with the same amount of tokens in a given week while doing it hands-on with agents, a lazy person can still get a lot of work done autonomously while basically only spending 1h per week on it.

    • twelvechairs 6 hours ago

      You need very different systems and setups for different use cases e.g. pushing out template websites, analysing mechanical CAD designs or doing sociological research. Some need more human input, some more frontier ai vs simpler models, some more visual outputs, etc. Until I see a system that can handle that i wouldnt think its better for my own purpose than whatever im doing myself.

    • siscia 9 hours ago

      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.

      • siscia 9 hours ago

        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.

        • kooi 7 hours ago

          At what point is a small software a specialized harness or a set of text based skills?

          • siscia 6 hours ago

            I call "factory" something that doesn't wait on your feedback to take action.

            While an harness or set of skills are used interactive. Even if just starting the run.

            But yeah the line is very thin...

        • holoduke 3 hours ago

          The point is that setups like you have don't really work in teams. Those factories in reality are not really doing what you expect them to do. Lots of manual interventions and tuning required. At the end of the day just using Claude without all the automated nonsense works best

          • siscia 2 hours ago

            Are you talking from experience?

      • Fordec 9 hours ago

        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.

    • XorNot 10 hours ago

      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.

    • varispeed 10 hours ago

      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.

      • arcanemachiner 9 hours ago

        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.

      • dcrazy 3 hours ago

        This sounds like a synthesis and regurgitation of some headlines you read on this website in the past day or two.

        “Adaptive reasoning” is just the replacement for numeric thinking token budgets. It used to be that you could tell Claude how many tokens it could emit into the thought channel: https://platform.claude.com/docs/en/build-with-claude/extend...

  • nilleb 5 hours ago

    Hello!

    The markdown files repository describing the agents tasks, the agents sandboxing (docker container or micro-vm), agents access to secrets, all reminds me of Varda (https://github.com/nillebco/varda), as well as the policies to handle assignment of users to file paths, orchestration by means of a WORKFLOW.md, injection of AGENTS.md,

    Disclaimer: I am the author. Happy to receive feedback!

  • cpb 8 hours ago

    Thanks for sharing this! I've been scrounging up available hardware to approach the same, with slightly different arrangements.

    I didn't notice anything about harness telemetry. Would you poke a few more holes in your vlan in order to get better observability over the agents?

    I don't have the hardware to support proxmox at hand, so I'm seeking to stretch more out of what I've got with flatcar and gvisor isolated containers.

    Seeing the similarities and differences in our approaches has inspired me to write mine up. Thanks for taking the leap!

  • sroerick 10 hours ago

    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?

    • skwee357 42 minutes ago

      Author here.

      1. The orchestration loop is a webhook listener + systemd timers. When something changes in forgejo, it fires a webhook which spins up a claude session. When I add a "job" file (markdown in `.agents/jobs`), the orchestration loop picks it up and sets up a systemd timer

      2. The orcehstrator can react to comments and PR reviews and fix them

      3. This is a weak part, I dont other than trusting the agent

      4. None yet

      5. No, I dont have long running tasks, only scheduled jobs that run, usually at night

      6. Proper acceptance rate. Being able to stay focused on the sea of PRs/issues that agents open without losing track and turning into a rubber-stamp

      7. It builds my side project

      8. No, but I do (at least there are days I do)

  • hizlikovboy27 4 hours ago

    You mentioned choosing a Micro form factor case for lower power consumption. So, what does the monthlu electricity bill look like on average for keeping those Optiplex and ThinkCentre units along with the agent VMs that run 24/7 powered on?

  • jFriedensreich 2 hours ago

    It's funny how we come full circle to get back to the setups we had in the first place, just with agent actors instead of human untrusted contributors which is software forges. Orchestrator UIs look like kanban boards and the "software factories" are basically forgejo with some additional things. I always said: just add the missing things to the software built for humans or rebuild better software that is human first and you will be fine when agents caught up on capabilities. I really despise all the agent only projects reinventing everything just worse.

    • skwee357 5 minutes ago

      The full circle here is that back in the 60s and 70s people used a "thin" client to connect to a remote beefy server, which eventually was phased out in favor of beefy machines at home, but is now making a comeback because (a) you depends on a third party provider to do your work and (b) you need a beefy machine running 24/7 if you want to create autonomous workflows. So yeah, history does not repeat itself, but it does rhyme

  • smy20011 9 hours ago

    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.

    • akmarinov 4 hours ago

      Because it can be hyper specific to my use case and not have 1000 functions I don’t use

    • TwisterK 8 hours ago

      i built it bcoz i hav my own very specific use cases and i wan it to be useful for me and that it. It kinda like how mechanic will put all their favor tools into one box and bring it to whatever place.

      • smy20011 7 hours ago

        But it's not something that will be mass produced

        • baq 4 hours ago

          New software is not what a software factory does, but a ticket processing plant doesn’t have a nice ring to it

    • Gigachad 8 hours ago

      I was thinking lately, if your software is fully AI generated, your customer support is fully AI provided, your product managers are all claude, then your product is worthless. It can be cloned in an instant by another persons claude subscription.

      For software companies to stay valuable they will have to find something for their employees to do. Because having those people and offices is the moat which can't easily be copied.

      • jmathai 8 hours ago

        It’s all worthless until you find customers. Software factory is optimizing the wrong thing.

        Don’t get me wrong, I have my own version of a software factory. But the hard part is finding customers. The real value would be a customer factory.

        • skydhash 6 hours ago

          Exactly my thought. My software factory is my emacs config, a few unix tools and whatever scripts the current projects require. Before it was my vim setup, a bit more unix tools, and also shell scripts. Sometimes it was just a properly configured IDE.

    • pjmlp 4 hours ago

      Because you still need a team to create the first version, management naturally wants to get rid of the majority of persons responsible for that first version.

      As for those automating themselves out of our profession, who knows.

    • breckenedge 8 hours ago

      Because we’re all snowflakes. I couldn’t find a factory that used tmux, instantiated resources including checking out multiple repos and opening multiple PRs across them, avoided virtualization penalties, had a kanban UI, and mobile UI with notifications, so I ended up making my own. I imagine many other people have similar but different needs.

    • fedupnow 4 hours ago

      I hate peter theil, but he has that interesting lecture at standford about building monopolies, and how everyone falls into the trap of building the exact same thing as everyone else like a memetic disease of creativity. I guess this holds true 15 years later.

  • BubbleRings 8 hours ago

    Hey OP, you’re on the front page of HN, maybe run your post through an AI! This one is just an ordinary typo:

    > by mine does not have it You probably meant > but mine does not have it

    But typing “rouge” when you meant “rogue”, that was just funny! Thought you would want to know. I liked the article btw.

    • skwee357 2 hours ago

      Author here. I refuse to use AI to help me write. I fixed the typo, thanks. And glad you liked the article!

  • LeBit 8 hours ago

    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.

  • orbital-decay 9 hours ago

    How do you self-host Claude?

  • yread 3 hours ago

    Very cool. Wouldnt e2b embed be useful there as well?

  • hasteg 10 hours ago

    > 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.

    • chrikrah 10 hours ago

      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.

      • Kwpolska 4 hours ago

        How often are such notes valuable long-term and not describing one-off incidents and confusing the model?

  • relistan 3 hours ago

    I am sure this was fun to build, and it probably saves some time. But automated Claude runs are not really a factory. It’s orchestration, but not really a factory. It’s like the first level of industrialization, but it’s not an assembly line. What you eventually want is a flexible system where you can change the workflow, have logic and checkpoints, automated review loops, etc.

  • Schlagbohrer 37 minutes ago

    "On top of that, every service I use needs to be self-hosted. No dependency on public services, no subscriptions. "

    Then the author proceeds to sort of tiptoe around the fact that it is apparently 100% a Claude subscription box, with no local AI, unless I missed something. I kept looking for the GPU to be mentioned but it's just an i5 CPU with 32GB RAM so that explains how the author is running AI "on" it (they aren't, and it's not local, and not self-hosted)

  • singular_atomic 10 hours ago

    "Software factories" feel like the next version of whatever this was: https://steve-yegge.medium.com/welcome-to-gas-city-57f564bb3...

    • trymas 4 hours ago

      Side-topic.

      The pace of change for LLM based development is crazy. I could've bet that I have read this article in early 2025 or late 2024. Apparently this was 7 months ago.

      Wonder what we will think in the next ~half year.

    • superfrank 9 hours ago

      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

      • sroerick 7 hours ago

        I think folks were saying "Orchestrator" at the time

    • kooi 7 hours ago

      Technically: cool.

      Practically: ??

      Maybe im not creative enough to see value add for a customer using this 24/7 factory thing.

      Maybe continuous video editing, always-on social media presence..

  • Snibz 6 hours ago

    My boss is building something like this for our company with the vision to replace Jira with it. Can't wait to see how it turns out xd

  • reactordev 8 hours ago

    That’s a lot of off the shelf stuff to make this work.

    I wrote mine to have all of that self contained. A single binary I run on my Pi that orchestrates containers on my Sparks and Beelinks while hosting my stories/issues/tasks as well as my repositories and artifacts. Surprisingly, it takes little effort to software factory your software factory until you have an optimized assembly line of slop. I like mine. Hope you enjoy yours.

    Written in Go by Claude, Codex, Pi, and myself - supports git, docker, npm, pypy, cargo, maven - has a linear like project board and a GitLab like repo browser - bring your own server style clustering over websockets - swarms - GPU over docker or run agents. It works over cloudflare tunnels too.

  • serious_angel 11 hours ago

        > 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.

    In a year, there's a mess no one knows how to manage: https://xkcd.com/927/

    • skwee357 16 minutes ago

      Isn't this the spirit of "hacker" from HackerNews? Build stuff and mess with computers rather than installing the latest hyped npm package that you saw in some youtube video by a "tech-fluencer"?

      I never published my workflow, nor I intend to.

    • malfist 11 hours ago

      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

    • coffeefirst 10 hours ago

      I miss the good old days when everyone would just invent their own JavaScript framework.

  • bluerooibos 10 hours ago

    I stopped reading at software development factory. What even is the point?

    • xnx 10 hours ago

      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.

      • mynegation 10 hours ago

        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