Skip to content
Agentguiden.no
Submit

Let an agent clean up a codebase with subagents

From Nous Research, the company behind Hermes. According to Nous, Teknium put the everyday Hermes agent on cleaning up over a million lines of Python in Hermes itself. The main run took about 19 active hours with 1,393 subagents, up to 218 at once. Non-test code shrank 34.4 percent for about 19,300 dollars in model cost. Nous estimates manual work at 150,000 to 1.8 million dollars. The figures are Nous's own, without human review. Reviewers found bugs the tests missed.

Done with HermesModerate

What was done

From Nous Research, the company behind Hermes. According to Nous, Teknium put the everyday Hermes agent on cleaning up over a million lines of Python in Hermes itself. The main run took about 19 active hours with 1,393 subagents, up to 218 at once. Non-test code shrank 34.4 percent for about 19,300 dollars in model cost. Nous estimates manual work at 150,000 to 1.8 million dollars. The figures are Nous's own, without human review. Reviewers found bugs the tests missed.

How to do it

  1. Paste the prompt into the tool, and replace the text in brackets with your own.
  2. Read the answer through. Do not send, delete or publish anything until you have seen it yourself.
  3. Check the original before you trust a figure, a name or a date.

Try it with Hermes

Split the codebase into [number] groups with no overlap. Give each a written assignment in its own git worktree: goal, fixed interfaces and checks before every commit. Target: at least [percent] less code. Do not remove public names without checking external use. Show me the plan before anything runs, and let nothing reach the main branch before I have seen the changes. You are done when the tests pass against a frozen baseline and I have read a summary.

Replace text in brackets with your own.

Read the original

Nous Research (the company behind Hermes) ·

Five agents a day

A short email each morning with five concrete examples of what people use AI agents for. Each example links to its source. You can unsubscribe at any time.

You will first get an email to confirm the address.