logoalt Hacker News

c-linkageyesterday at 10:53 PM1 replyview on HN

I was going to say that this is how genetic algorithms work, but there is still too much human in the loop.

Maybe code husbandry?


Replies

digdugdirkyesterday at 11:27 PM

Code Husbandry is a good term for what I've been thinking about how to implement. I hope you don't mind if I steal it. Think automated "mini agents", each with a defined set of tools and tasks, responding to specific triggers.

Imagine one agent just does docstrings - on commit, build an AST, branch, write/update comments accordingly, push and create a merge request with a standard report template.

Each of these mini-agents has a defined scope and operates in its own environment, and can be customized/trained as such. They just run continuously on the codebase based on their rules and triggers.

The idea is that all these changes bubble up to the developer for approval, just maybe after a few rounds of LLM iteration. The hope is that small models can be leveraged to a higher quality of output and operate in an asynchronous manner.