logoalt Hacker News

Multiagent coding is the future

68 points • by akalin • yesterday at 6:20 PM • 69 comments • view on HN

Comments

preommr • today at 2:45 AM

Multiagent coding is definitely not the future.

The models are smart and fast enough that you only need a single entrypoint for main work, and misc. setup for however you want to organize secondary tasks. The latter can be a dumb agent that loops to find small issues, monitors reported issues, does chaos monkey, and whatever else. Low effort, but also low-risk stuff that gets cleaned up and mostly accessed by a single agent. If I need to interact with it, I can get the agent to create a dashboard, or whatever else.

The more people mess around with complex setups, the more it distracts from creating simple domain models of the actual problem that requires actual human thinking to problem solve.

➕ show 1 reply
ilaksh • today at 2:23 AM

You don't need to spend $1.7 million to get something like Grimm. Claude has built-in sub-agent capabilities. You can just tell it something like "spawn and coordinate/supervise sub-agents to efficiently manage the tasks I give you". The sessions it spawns will show info at the bottom of the terminal window.

Next time I am going to just use Opus 5.5 for the supervisor though. I think Fable 5.2 was mostly just a waste of money for that job. It didn't normally try to override the Opus 5.5 workers or anything that generally justified the extra expense.

➕ show 7 replies
daylily • today at 1:00 AM

> Stripe has published that thousands of pull requests each week are coded and merged by autonomous “minions.”

This line was directly contradicted by the Stripe blog post [0] he linked (emphasis mine):

> Over a thousand pull requests merged each week at Stripe are completely minion-produced, and while they’re human-reviewed, they contain no human-written code.

[0]: https://stripe.dev/blog/minions-stripes-one-shot-end-to-end-...

➕ show 3 replies
amluto • today at 2:14 AM

Where’s the “multi agent” part?

I’m all for better tools. I’m all for tokens getting cheaper. But sometimes the parallel algorithm takes more overall computation than the serial one, sometimes the parallel algorithm makes silly compromises, and sometimes the single agent is plenty fast.

Also, sometimes the problem is too much code and too little design. When you fix your problems with more code, you might just be digging in deeper.

➕ show 1 reply
bnh • today at 10:03 AM

The bottleneck as i see it is at the checking phase. If the code we generate is meant to be used by humans, you ultimately will need some form of QA by humans. And that doesn't scale

slezica • yesterday at 6:23 PM

> One reason I do not love [the word "vibecoding"] is that the discourse convinced both engineers and outsiders that the ceiling to modern coding tools is non-rigorous toys.

This is a good point, though the term does emerge from a dynamic that justifies it. I do think it's time to leave it behind in professional contexts, and reserve them for hobby or no-code development.

jameskilton • today at 1:06 AM

Correction: is a future.

➕ show 2 replies
gavmor • today at 3:33 AM

The future? I've been doing things this way for over a year now; the purpose of multiple agents is discrete a) RAG knowledge bases, and b) context windows.

One agent is steeped in the libraries' documentation, another in the codebase's ADRs, and a third in user personas.

Or one in the latest Lean drops and another in music theory. The "work" is like a candle, dipped in one session, then another.

The confluence of themes isn't something I would strictly trust agents to negotiate themselves, or maybe I haven't found the right harness—I use `aoe` for a lot of this, but it's still quite semi-manual.

I did use Munder Difflin for a minute; it was completely opaque and I hated it. Maybe time to try it again.

driverdan • today at 3:38 AM

For the naysayers, keep in mind that we are a minority. Most people are not even using LLMs, let alone using complex custom multi-agent orchestration. If you're not already doing this you may feel like you're being left behind. You're not.

The first time you have something orchestrate a multi-step task using multiple agents with a good result it's like magic.

ChatGPT is going to turn four in five days. Four!!! This stuff is moving incredibly fast.

➕ show 1 reply
ttthkim • today at 2:11 AM

In my experience running multiple coding agents, code generation speed is rarely the real bottleneck—keeping file ownership isolated and having deterministic tests to verify outputs is much harder.

xiaodai • today at 3:11 AM

my question is this, why does it have to be multiagent? why can't one agent be good enough?

petesergeant • today at 3:02 AM

This is a bad article by an otherwise reliable author.

jfcheng • today at 2:56 AM

[dead]

longhei_pcyw • today at 3:36 AM

[flagged]

reticulates • today at 1:11 AM

If it weren't for the date on the article, I'd think this was written 6 months ago.

> Situational Awareness begins with an excellent line: “You can see the future first in San Francisco.” I consult on software development for the eponymous hedge fund.

Does Patrick mean the hedge fund that has blown up multiple times and is now barely holding it together? Writing an article about the virtue of Situational Awareness spending $1.7 million on inference over the last month seems ill-timed given the absolute disaster they've had this year. They're a modern day Softbank.

> I remarked at the time that it included a remarkable line about Nvidia and then promptly continued not buying Nvidia.

The linked tweet is from June 7th 2024. On June 7th 2024 the stock price of Nvidia was $120. The stock price of Nvidia last week was $125. This article would have been great 6 months ago, before the bottom fell out of the market.

I'm, like, 90% sure this article was written 9 months ago and a tweaked a little before being published today. Gas Town? Nobody has said that name in 8 months.

➕ show 2 replies
RGS1811 • today at 12:59 AM

> Situational Awareness begins with an excellent line: “You can see the future first in San Francisco.” I consult on software development for the eponymous hedge fund.

Enough said.

➕ show 1 reply
dofm • today at 2:08 AM

> We’re going to spend so much money on inference

I think all the evidence is we are not. "We" as an industry are limiting our team spends, not showing excitement about $ANT, watching $NVDA in freefall, rehiring people, trashing the Proton CEO, evidently yawning somewhat at GPT-6.2, and getting overexcited about quite small open weights models. None of it shows anywhere near as much excitement to spend so much money on inference, and even the market knows.

(And that's just inside our industry. Outside our industry, kids use "that's so AI" as an insult)

Is this a blog post from a year ago written in San Francisco that through some freak of nature slipped out of the drafts folder and fell through the porthole to the future?

➕ show 1 reply
conrs • today at 3:02 AM

While I enjoy discourse here, I wish just once one of these articles will show the outcome.

I have many software engineer friends. They have all built software factories. None of them have used them to build software that is not explicitly in service of the factory.

I could get into the mathematics and token burn side of this, but there is an easier concept to grok called the theory of constraints. Here the bottleneck is either your ability to comprehend the changes or your users ability to understand them without you breaking the product. Neither of those are served by even more coding.

crq-yml • today at 1:51 AM

If one LLM is smart and makes good decisions, you could just keep using the one and enjoy the lion's share of upside instead of trying to anthropomorphize them into minions that suffer all the problems of communication bottlenecks found in human organizations.

Like, I do think there is a use-case for multi-agent, but it's similar to the observed outcomes for parallelization of computing tasks: you can't do it for everything, you have to spend a while architecting it, and the returns are going to be sharply diminishing.

➕ show 2 replies
avinoth • today at 3:33 AM

Multiagent is no similar to a multi-team or multi-people collaboration. For every developer you add to a project, you add a small delta of additional work to co-ordinate, that wouldn’t have required otherwise. So much so, we have entire functions and roles whose exclusive job is to co-ordinate understanding.

With multi-agent you run into the same problems, and for worse, the context needs to be spoonfed and iterated on continuously. And it’s pretty evident that Human in the loop setup consumes less token as compared to letting agent ruminate. And you also get an understanding of what is being built.

I don’t understand this fascination towards velocity. On one hand we’re racing to automate it end-to-end as much as possible, skipping reviews. On the other hand, we’re getting new attack vectors opening up, where a compromised developer access lets them push code to production- because no one’s reviewing it.

asd88 • today at 8:52 AM

Multiagent coding is the present. Where has the author been this year?

g_a_a_s • today at 3:02 AM

I have a silly harness I made that can run sub agents and direct many instances of itself to complete a task. It has so far,probably cost about $100 in tokens to build. It also improves itself over time by analyzing the outcome of the sessions it ran for the day in a nightly cron.

Being fully transparent its main use is to be bossed around by a claude instance.

I really want to consume the drugs these people are to come with the spend needed to create anything useful.

➕ show 1 reply
digitaltrees • today at 1:09 AM

So these systems dont implement duplicate parallel code paths anymore? Until that is a certainty, then these systems are not ready for autonomous development.

➕ show 1 reply
dools • today at 2:37 AM

The guy who writes Grimm must be doing the same coke as Steve Yegge

octoberfranklin • today at 3:08 AM

Situational Awareness begins with an excellent line: “You can see the future first in San Francisco.” I consult on software development for the eponymous hedge fund. They showed me Grimm, which is their internal orchestrator for modern coding tools.

This guy is holding up as his prime example the codebase of an FTX-alumni-founded hedge fund that famously imploded with $35 billion in losses four months ago, requiring a rescue by Citadel to prevent a disorderly liquidation.

https://en.wikipedia.org/wiki/Situational_Awareness_LP#Situa...

Um, yeah but no. I am not gonna go near anything Leopold Aschenbrenner has touched, ever.

bob1029 • today at 12:59 AM

[dead]

ath3nd • today at 1:45 AM

[dead]

georgemcbay • today at 1:08 AM

> He has spent $1,700,000 on inference. This October.

So, basically, if you accept the premise of the article then it costs almost 2 million dollars a month to participate in the future of coding.

Well, it sure is a good thing everyone's net worth went up by 3 billion dollars the past 2 years.

https://www.reddit.com/r/economy/comments/1xr893w/donald_tru...

Otherwise a lot of us would be immediately shut out of this future.