Unofficial Hacker News companion — get notified on comment replies, and more.

Self-hosted software development factory (opens external site)

331 points by ingve 2 days ago | kudmitry.com | 188 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (3)

  1. The "factory" word makes it sound like it's something big and complex, whereas what hides behind that is "autonomous feedback loop" and its only up to you how complex you make it.

    Mine is pretty simple: two Hermes instances connected to Github repo as bots listening to webhooks and ground rules: pick up the work you're asked to do and preemptively review PRs of others, after their changes in the PR.

    This is enough to create a loop where I post an issue asking one agent to do something, it submits a PR, then the other agent does the review and posts the comments. If there are changes required, the author does them and the whole cycle repeats up to 4 times. 99% of work passes that loop to completion.

    There's more to it of course like an AGENTS.md setup, CI/CD, tests, e2e tests, online tests, evals and so on. But the core principle is established and I can scale the "factory" up by adding more agents.

    There are two things I have not yet automated on purspose: issue creation and PR merging - these are mine to do. Although agents create issues that contain big fixes and improvements - but never new features.

    That's the whole factory.

    Replies (2)
    1. https://en.wikipedia.org/wiki/Software_factory is probably what OP was referring to
    2. > it submits a PR, then the other agent does the review and posts the comments.

      PRs are really a thing for humans. You can have the same agent review the differences between two branches in a separate session, make changes, and get the same result. You don't need a lot of complicated CI/CD with AI since they're good enough to deal with the tedium of the comparisons and, with a new session, have no bias from what they've already done.