Comment

Comment by brody_hamer

I think there’s merit to this approach, particularly to highly parallelizable tasks.

Rather than giving many agents the same prompt, introduce random variations that lead each agent in different directions. For a single bug, you might fire three agents, and later select the best result:

“Fix this bug. The solution is a trivial typo.”

“Fix this bug. The solution centers on correcting a bad assumption.”

“Fix this bug. The solution will require a complete redesign.”

You could follow the same idea with varying the input context, or by adding artificial constraints to the solution. Like telling each agent to “fix the bug, by only modifying file a/b/c”

parent brody_hamer 2 months ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton