Refactor a million-line repo with 1,393 subagents
As described in the source, teknium gave his everyday Hermes agent a standing goal with /goal, plus a dev skill it had built up over time.
- Agent or tool
- Hermes Agent
- Topic
- Software Development
- Reported on
- Blog
- Added
- 2026-10-15
Why it matters
Coding agents are moving from autocomplete to doing whole tasks: reading a codebase, making a plan and changing many files. This case is a concrete example of where that works in practice. It is one of 106 sightings filed under Software Development on Agent Sightings (number 70 by interest), and one of 21 involving Hermes Agent.
How you could try it
Here is a reusable prompt, written by us in our own words, that captures the task. Paste it into Hermes Agent or any similar agent and adjust the details to your situation.
In this repo, refactor a million-line repo with 1,393 subagents. Read relevant code, apply a minimal patch, run available checks, and summarize the diff. Stop before merge or deploy.
The prompt breaks down into 3 steps you can check as the agent works:
- In this repo, refactor a million-line repo with 1,393 subagents.
- Read relevant code, apply a minimal patch, run available checks, and summarize the diff.
- Stop before merge or deploy.
Tip: Work on a fresh branch, ask for a plan before edits, and review the diff and test results before merging.
Source
Read the original first-hand account on Blog: https://nousresearch.com/refactoring-hermes-with-1393-agents. Our summary is a paraphrase; details are in the source.
Related sightings
- Fix app bugs, harden security and ship fixes autonomously
- Run agents that work Jira tickets, review PRs and send updates
- Review GitHub pull requests for bugs and security
- Plan meals and track symptoms
- Plan business trips and learn from each debrief
- Build a personal assistant for email, briefings and planning