Live data from Hacker News

A case study in testing with 100+ Claude agents in parallel

imbue.com

51–57 of 57 posts

Re: A case study in testing with 100+ Claude agents in parallel

#51

Me: has to babysit every feature for hours in Claude Code, building a good plan but then still iterating many many times over things that need to be fixed and tweaked until the feature can be called done. Bloggers: Here's how we use 3,000 parallel agents to write, test, and ship a new feature to production every 17 minutes in an 8M-LOC codebase (all agent-generated!). ... I'm doing something wrong, or other people ar…

> 8M-LOC codebase I think this is the difference. These toy examples of using parallel agents are *not* running against large codebases, allowing them to iterate more effectively. Once you are in real codebases (>1M LoC), these systems break down.

(author here) I strongly agree that these systems start to break down once the code base gets larger (we've seen that with our own projects)

But our reaction to it has been to say "ok, well the best practice in software engineering is to make small, well-isolated components anyway, so what if we did that?"

We've been trying to really break things apart into smaller pieces (and that's even evident in mngr, where much of the code is split out into separate plugins), and have been having a ton of success with it.

I realize that that might not be an option for more brownfield / existing / legacy projects, but when making something new, I've really been enjoying this way of building things.

Re: A case study in testing with 100+ Claude agents in parallel

#52

If this will be future of software in 20 years nobody will understand what the hell software actually does. If nobody will things will get to implode quickly.

20 years is quite an optimistic timeline. Of course, we will use agents to solve the problems of agents!

Re: A case study in testing with 100+ Claude agents in parallel

#53
post #50

If this will be future of software in 20 years nobody will understand what the hell software actually does. If nobody will things will get to implode quickly.

(author here) I agree that it's super important to understand what software actually does--that's part of the whole reason we made mngr in the first place! I believe we can use these types of tools to make software more understandable, and mngr is an example of how to do that. In our case study, we're using AI to increase our test coverage, and if you look at it, I would argue that we are making it more understandabl…

Answer from an author! Wow!

And it is great! Really! Reading your post I was thinking if I could not do the same to write tests in an automated way in project I am working on. It would be awesome!

Though in an other hand we are living in a corporate, capitalistic, and a lot inhumane economic system. If this way of automation would work and deliver consistent output in a way of working software for 2 or 3 years, how long it would take to C-level suits to figure out that it is way better to have 2 or 3 Product Owners and maybe one Designer to write description of the entire programme and then just feed it to one of those automation pipeline? If tech giants will price product like that reasonably and it will work actually, how long it will be till it will cause entire industry to collapse and you will be able to produce software by paying to those tech giants? And it there will be like 5 of those only in the entire world - because nobody else will have enough GPUs. How soon till they came to agreement and split the world in areas of monopoly:

- if your company is in Asia you can either buy your application from Google or Alibaba.

In a world when everything is done in a computer via the software, such concentration of power would be bad for everyone.

Of course I doubt it will come that, simply because this would be very hard to achieve with our level of technology and some human involment will be necessary. But maybe I am kiding myself and I will loose my job entirely in few years along with tens of thousands other Software Engineers in a few years.

Re: A case study in testing with 100+ Claude agents in parallel

#54
post #50

Earlier quoted context omitted.

(author here) I agree that it's super important to understand what software actually does--that's part of the whole reason we made mngr in the first place! I believe we can use these types of tools to make software more understandable, and mngr is an example of how to do that. In our case study, we're using AI to increase our test coverage, and if you look at it, I would argue that we are making it more understandabl…

Answer from an author! Wow! And it is great! Really! Reading your post I was thinking if I could not do the same to write tests in an automated way in project I am working on. It would be awesome! Though in an other hand we are living in a corporate, capitalistic, and a lot inhumane economic system. If this way of automation would work and deliver consistent output in a way of working software for 2 or 3 years, how l…

These are real problems, and I think you nailed it: the concentration of power is the core issue.

I don't have a simple, perfect solution. We're just trying to make it possible for individuals and smaller companies to have access to the same kinds of tooling that the largest companies already have access to, and hopefully equalize the playing field at least a little bit...

If anyone has better ideas, I'd love to hear them!

Re: A case study in testing with 100+ Claude agents in parallel

#55
post #41

Earlier quoted context omitted.

Billions of years of evolution and we increasingly understand what the genome does. And that's about as random as it gets. I think we'll be fine. This feels more like Y2K panic than grounded in truth. Senior software engineers guide these systems effectively today without creating a mess. I'm sure in some years agents will fill the role of maintainability engineer too. We are not special or irreplaceable. It's not li…

I think we are talking about different timespans. I am talking about change in the world after decades of something like that happening. How those Senior Engineers will know how good software looks like if they would never write it themeselves? Imagine looking at someone driving a car for 20 years. Will it be enough for you to drive a car yourself? Thinking about that always makes me think about Foundation, The Merch…

> I think we are talking about different timespans. I am talking about change in the world after decades of something like that happening. How those Senior Engineers will know how good software looks like if they would never write it themeselves?

How will we know what good software looks like if we no longer write assembler?

> Imagine looking at someone driving a car for 20 years. Will it be enough for you to drive a car yourself?

You don't have to drive stick to be able to drive.

Whatever the economically important functions are, the miracle of capitalism will find a way to staff it and solve it.

People fill all the gaps. No problem goes uninvestigated, no opportunity goes ignored.

At the end of the day we're delivering value. We'll be judged on value creation, and that'll map itself to whatever the tools of the day happen to be.

Re: A case study in testing with 100+ Claude agents in parallel

#56
The debugging part at this scale is harder than you would expect - behavioral drift between parallel agent instances is nearly invisible without something aggregating what they are actually doing across runs. We hit this ourselves: two agents completing the same task successfully via completely different paths, one of which quietly broke edge cases in prod. The only thing that caught it was treating the conversation traces as a dataset, not just logs.

Re: A case study in testing with 100+ Claude agents in parallel

#57

The debugging part at this scale is harder than you would expect - behavioral drift between parallel agent instances is nearly invisible without something aggregating what they are actually doing across runs. We hit this ourselves: two agents completing the same task successfully via completely different paths, one of which quietly broke edge cases in prod. The only thing that caught it was treating the conversation…

Imbue team member here - that's an interesting problem in general, but we haven't really run into this a lot here. Each testing agent is asked to work on one single issue and, to our slight surprise, most of the changes merge cleanly.

When they don't merge cleanly, it is time for human intervention, and the integration step would leave traces on which branches failed to merge.

Finally, when you do need to debug individual agents:

- Because mngr is, at the low level, just managed tmux sessions (local and remote), it's very easy to just attach to those sessions (`mngr connect`). It works even if the agent has been stopped, because mngr remembers enough about an agent to resurrect it.

- `mngr message` also allows you batch-message a bunch of agents. So if you do need to resume a lot of agents, you can experiment on one agent, figure out a good prompt, and then batch-message every other agent.

In this testing scenario, most agents don't actually require human intervention, and we've found that just connecting to a few individual agents to resolve problems is smooth and easy enough.

Post reply on HN