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

Self-improving software is inevitable (opens external site)

90 points by tmach32 1 day ago | boristane.com | 90 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. I have a lovely old MOO I have been working on and off with friends now for ~21 years.

    A MOO is really interesting because it's sort of ... a networked operating system? a shared server with a textual VR which we've pushed far, far beyond text. It connects to a ton of different services, listens and pretends to be a webserver, and generally connects very promiscuously.

    We've obviously built a lot of agent infrastructure around it, and one of my favorite new features is the scheduled agent runs. Every day, multiple times a day, a Kimi agent will wake up, audit a small piece of the massive amounts of old source code for security issues (again shared networked environment with a permissions system written by programmers of all different skill levels over decades, there're plenty of issues to find.) It files issues, and an hour later a Codex agent wakes up and fixes them. Watching the average priority level of the issues drop over time, watching things steadily improve without me really organizing or coordinating the campaign? It's been weird. I kept some holdout issues that I specifically knew about to check our audits and ... they were all found in the first three days.

    There's a lot I had to do to get here. Having agents build tests. Lots of tests. Integrating the MOO's checkpoint system and Git so we can trivially rollback if an agent breaks something. Building an alternate server so we can get off this horrific 36-year-old pile of C!

    The idea of software which simply improves itself over time? It's coming, and I think one of the first places it's coming is old image-based systems (think MOO, Smalltalk), where you get a lot of the upsides of a Monorepo, all the code for the entire system trivially accessible, you also have a live system it can inspect and edit, and the unit of work is generally tiny (think editing a single verb.)

    Like the OP says though, you have to actually have signals that the agents can see, and since MOO is so integrated (data, code, everything in one place) it's trivial to set up, for instance, an MCP tool to list/categorize recent errors.