Software & DevOpsDone with Hermes Agent
Refactor a million-line repo with 1,393 subagents
A Nous Research developer had Hermes dispatch 1,393 subagents over about 19 hours to clean up its own repo, cutting non-test Python source by 34.4% in a merged PR.
- What They Did
- Teknium gave his everyday Hermes agent a standing goal with /goal, plus a dev skill it had built up over time. The orchestrator split the code into 36 non-overlapping groups and wrote briefs for workers. Workers used separate git worktrees, committed after each verified step, and checked interfaces against the original. An expired token killed the run at about fifty minutes, so a separate session prepared a handoff and the run resumed.
- How It Went
- Non-test Python fell from 1,063,826 to 698,363 lines (34.4%), and gateway/run.py from 34,847 to 5,512 lines. Reviewers found regressions the tests missed, and six files still exceeded 5,000 lines.
- Worth Knowing
- Model spend was about $19,300 for the main run, roughly $25k with follow-ups, excluding human review. Review caught removed public names that plugins use and altered exception handling at about 65 sites.
Try it yourself with Hermes Agent
Audit my repo at [path or repo name] for dead code, duplicated logic, and over-complicated modules. Split the cleanup into independent chunks, work on each in a separate branch, and run [test command] after every change. Finish with one pull request summary showing lines removed and test results, and pause for my review before merging or deleting anything.