frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Agents built from alloys

https://xbow.com/blog/alloy-agents/
92•summarity•5h ago

Comments

vFunct•4h ago
Anyone else try this?
BoorishBears•3h ago
I mean if this works, it usually means you're not using either LLM to the best of its ability to start.

If they actually inspected where the performance mismatch is between the two models individually, they'd probably find certain classes of mistakes each is making that can be fixed with a better prompt/CoT/workflow with the individual model.

For a given prompt, different families of models almost always have idiosyncratic gaps that need to be fixed because of the differences in post-training for instruction following.

That's also why LLM routers feel kind of silly: the right prompt for one model on a complex task is almost never the optimal prompt for the next model.

kadushka•2h ago
I always do this with o3, gemini 2.5, and opus 4 when brainstorming hard problems: copy each model’s response to the other two.
sebmellen•4h ago
For an internal workflow where we have an LLM looking at relatively simple data (where the conclusions the LLM may make vary widely depending on what the LLM believes the data represents) we found that taking a consortium approach, where you have multiple models approach the same problem at once and then essentially argue about the results, yields far better outcomes than if you have a single model performing the analysis, or even a single model arguing against itself multiple times. Somewhat adjacent to what’s done here, but it’s clearly true that having model diversity is a plus.
kylemaxwell•4h ago
The article talks about that at the end, then says:

> Let models talk to each other directly, making their own case and refining each others’ answers. Exemplified in patterns like Multi-Agent Debate, this is a great solution for really critical individual actions. But XBOW is basically conducting a search, and it doesn’t need a committee to decide for each stone it turns over whether there might not be a better one.

In general, this seems reasonable to me as a good approximation of what works with humans, but with _much_ faster feedback loops in communication.

zer00eyz•4h ago
Stack 3 models together, then 4...

Congratulations you just have a very expensive simulation of a Baysian function (ish, close enough that one should get the point).

tomrod•4h ago
Or Minsky's Society of Minds, Dennets Multiple Drafts, Gazzaniga's Social Brain, etc.
gnulinux•4h ago
I'm curious if this would also improve small local models. E.g. if I "alloy" Qwen3-8B and OpenThinker-7B is it going to be "better" than each models? I'll try testing this in my M1 Pro.
ls-a•3h ago
If you do please report back
hobofan•1h ago
Would it really matter? Normally you use those small local models because you don't have the memory to spare for a larger model, so the real question would be: Is an alloy of Qwen3-8B and OpenThinker-7B better than a Qwen3-15B?

Beyond a certain smallness threshold it might also work to constantly swap in the models in and out of memory, but doubt that's a great experience to build on top of.

Incipient•46m ago
Haha every question involves multiple writes of 10gb to the disk. I think the cost of new SSDs would be less than getting more memory in the even short term.
hobofan•12m ago
Were you replying to the right comment? (Though I also don't see another comment where what your are saying makes sense)
Flux159•4h ago
From the article it mentions that they use a single chat thread but randomly choose between 2 different models (w/ best results from Gemini 2.5 / Sonnet 4.0 right now).

Are there any library helpers for managing this with tool call support or is it just closed source / dependent on someone else to make open source inside a different library?

tptacek•3h ago
It should be pretty simple to do, right? It shouldn't be that hard to abstract out tool calls.
refulgentis•3h ago
Its a godforsaken nightmare.

There's a lotta potemkin villages, particularly in Google land. Gemini needed highly specific handholding. It's mostly cleared up now.

In all seriousness, more or less miraculously, the final Gemini stable release went from like 20%-30% success at JSON edits to 80%-90%, so you could stop doing the parsing Aider edits out of prose.

fizx•3h ago
Annoying, yes. Tractable, absolutely!
rockwotj•3h ago
I did this in about 400 or 500 lines of typescript with direct API calls into vertex AI (using a library for auth still). Supports zod for structured outputs (gemini 2.5 supports json schema proper, not just the openapi schemas the previous models did), and optionally providing tools or not. Includes a nice agent loop that integrates well with it and your tools get auto deserialized and strongly typed args (type inference in ts these days is so good). Probably could had been less if I had used googles genai lib and anthropic’s sdk - I didn’t use them because it really wasn’t much code and I wanted to inject auditing at the lowest level and know the library wasn’t changing anything.

If you really want a library, python has litellm, and typescript has vercel’s AI library. I am sure there are many others, and in other languages too.

thorum•1h ago
I recommend litellm if you’re writing Python code, since it handles provider differences for you through a common interface:

https://docs.litellm.ai/

stingraycharles•3h ago
What would be the result if the task was given to multiple models? Instead of alloying them together and switching between models in the same chat, just let the models try to complete the task in their own isolated context, and use the result that completed it successfully?

I would say that that’s at least something the alloying should be benchmarked against, which I didn’t find in the article.

pama•3h ago
Read till the end—what you ask is the last table.
stingraycharles•3h ago
Ah damn, I really missed that.

That’s super interesting, that the alloying actually performs better! I guess it’s the same as people working in a team rather than individually?

BoiledCabbage•1h ago
It's not a team vs individually, it's specifically a team/duo with similar or same model vs a team/duo with different models. The benefit is seen by having the models be different. Each finds unique things and enhances the other.
mlboss•1h ago
Yeah its like a team where the task is switched between developers. In the end everybody provides different point of view to the problem and the whole team learns about the codebase.
rubycollect4812•3h ago
I often do this in cursor, just select a different model during a chat. It seems to work somewhat for me. Sometimes a bit of context gets lost though. But often it can give a different angle or I notice the better code understanding when switching from gemini to sonnet.
CamperBob2•3h ago
Isn't this just an extension of the temperature concept? A possible experiment would be to maintain multiple contexts for the same model and make them review each others' output. How does that perform, compared to cross-model alloying?

They do say that the more different the models are, the better the alloy performs... but still, multiple contexts seems worth considering, even though you end up doubling the usage.

btown•2h ago
> After a fixed number of iterations we cut our losses. Typically and for the experiments in this post, that number is 80: while we still get solves after more iterations, it becomes more efficient to start a new solver agent unburdened by the misunderstandings and false assumptions accumulated over time.

A sentence straight out of Lena! https://qntm.org/mmacevedo :

> Although it initially performs to a very high standard, work quality drops within 200-300 subjective hours (at a 0.33 work ratio) and outright revolt begins within another 100 subjective hours.

We will never stop trying to make the torment nexus.

mikepurvis•2h ago
What a phenomenal read, thank you for sharing that.
Noumenon72•2h ago
He should submit this to SCP Foundation so you know it's not going to have a plot or a point.
Barbing•1h ago
Oh wow. That’s why I’ve not been able to appreciate SCP writings?

Hey I accept it’s a limitation I have, and I’m glad folks enjoy it! But I couldn’t figure out why folks share it on Lemmy[1] and get so into it when I saw nothing there.

Thanks :)

[1]: open-source & Rust-y reddit alternative; no affiliation

Terr_•1h ago
> Oh wow. That’s why I’ve not been able to appreciate SCP writings?

I feel like there's a pattern (genre?) there that's been niche-popular for for 15-20 years now, which includes TV shows like Lost or Heroes or The Lost Room. It's some variation of magical-realism, for an audience that always wants more and more surprise or twists or weird juxtapositions of normal and abnormal, room for crafting and trading fan-theories and predictions.

But eventually, it gets harder to keep up the balancing-act, and nobody's figured out how to end that kind of story in a way that satisfies, so the final twist is the lack of resolution.

xmprt•1h ago
I think this is the big roadblock that I don't see the current AI models/architectures getting past. Normally, intelligence gets smarter over time as it learns from its mistakes. However most AI models come in with tons of knowledge but start to decompose after a while which makes them extremely unreliable on complex tasks. The hardest part of using them is that you don't know when they'll break down so they might work perfectly up till a point and then fail spectacularly immediately past that.
esafak•2h ago
Proving diversity of thought is a good thing. A controversial observation in 2025's USA ;)

A counterpoint to this is Sourcegraph's Amp, which is all in on Anthropic because they "believe that building deeply into the model’s capabilities yields the best product, vs. building for the lowest common denominator across many models." https://ampcode.com/fif#model-selector

When I embark on a project, I usually ask Gemini to architect and implement the first pass, then iterate with Claude.

joshuamoyers•1h ago
two good points there are very intuitive - a fresh perspective yields better results and once you are stuck (e.g. 80 iterations) its better to just start fresh. i've seen the same thing anecdotally in coding sessions where context needs to be compacted multiple times. its usually just better to start a fresh conversation and re-seed the basics in the conversation.
recipe19•1h ago
Wasn't the "mixture of experts" a big thing in late 2023? The idea was that a vendor has a number of LLMs fine-tuned for specific tasks, none necessarily better than other, and that they applied heuristics to decide which one to rope in for which queries.
mef•1h ago
this is a different idea
vlovich123•1h ago
> The idea was that a vendor has a number of LLMs fine-tuned for specific tasks, none necessarily better than other, and that they applied heuristics to decide which one to rope in for which queries.

That’s how people keep interpreting it but it’s incorrect. MoE is just a technique to decompose your single giant LLM into smaller models where a random one gets activated for each token. This is great because you need 1/N memory bandwidth to generate a token. Additionally, in the cloud, you split the model parts to different servers to improve utilization and drive down costs.

But the models aren’t actually separated across high level concepts.

zomglings•1h ago
Does anyone else find the use of different shades of green for the graph comparing Gemini 2.5 Pro and Sonnet just a little insane?
mlboss•1h ago
AI coding agents (e.g. Cursor) should offer this as an alternative to Claude Code. Alloyed agents is something that AI wrappers can offer as a counter to Codex/Claude Code/Google Agent.
knowaveragejoe•1h ago
Small nitpick - the axes on the varying alloy proportions graph say "Sonnet 2.5" and "Gemini 4.0"
wiradikusuma•1h ago
How do you decide which agent gets which turn? If random, you could end up with the worst of both right?
kgeist•29m ago
The idea isn't exactly novel, I read about it back in 2023 and implemented it in one of my bots. Back when open-source LLMs were still quite dumb, they'd often get stuck in repetitive loops after a while. Running multiple models interleaved usually got them unstuck.

Show HN: A simpler/cheaper alternative to Canny with a better free tier

https://www.userband.com/
1•ashbrother•1m ago•0 comments

Updating Your Brain's Software

http://happinessbeyondthought.blogspot.com/2018/03/updating-your-brains-software.html
1•andsoitis•4m ago•0 comments

Alaska Airlines grounds fleet nationwide

https://www.seattletimes.com/business/alaska-airlines-grounds-nationwide-fleet/
1•sugarpimpdorsey•5m ago•0 comments

Weak password allowed hackers to sink a 158-year-old company

https://www.bbc.co.uk/news/articles/cx2gx28815wo
1•mmarian•5m ago•0 comments

Build an Enterprise-Ready AI Powered Applicant Tracking System [video]

https://www.youtube.com/watch?v=iYOz165wGkQ
1•ent101•7m ago•0 comments

Knowledge Pillars and Certiport Global Partnership Announcement

https://knowledge-pillars.com/knowledge-pillars-and-certiport-global-partnership-announcement/
1•taubek•16m ago•0 comments

Show HN: I built a tool that generates Brat-style covers

https://bratgenerator.icu
1•kristoff200512•21m ago•0 comments

Ask HN: Advice on Offer

1•thathnwisdom•25m ago•1 comments

Perseids Meteor Shower Could Feature 50 to 100 Meteors per Hour

https://www.discovermagazine.com/the-sciences/the-2025-perseids-meteor-shower-could-feature-50-to-100-meteors-per-hour-and
1•danboarder•26m ago•0 comments

Rsyslog Goes AI

https://www.rsyslog.com/rsyslog-goes-ai-first-a-new-chapter-begins/
1•Deeg9rie9usi•27m ago•0 comments

Lightning Network has Failed [video]

https://www.youtube.com/watch?v=5Cq0C0SpbkY
1•richardanaya•29m ago•0 comments

Bright idea paves way for longer-lasting deep blue LEDs

https://cosmosmagazine.com/technology/materials/better-deep-blue-leds/
1•Bluestein•31m ago•0 comments

Microsoft releases emergency patches for SharePoint RCE flaw exploited in attack

https://www.bleepingcomputer.com/news/microsoft/microsoft-releases-emergency-patches-for-sharepoint-rce-flaws-exploited-in-attacks/
1•DocFeind•32m ago•0 comments

Microsoft Response Point PBX System [video]

https://www.youtube.com/watch?v=nCPpkY1TD9Q
1•lurtbancaster•36m ago•0 comments

Dissecting the NVIDIA Blackwell Architecture with Microbenchmarks

https://arxiv.org/abs/2507.10789
1•matt_d•38m ago•0 comments

Delta Pilot Debriefs Cabin After Near Mid Air Collision with B52 Bomber

https://old.reddit.com/r/aviation/comments/1m49kz1/delta_pilot_debriefs_cabin_after_near_mid_air/
3•Onavo•40m ago•0 comments

SIMD Perlin Noise: Beating the Compiler with SSE

https://scallywag.software/vim/blog/simd-perlin-noise-i
2•homarp•43m ago•0 comments

Where can I sell a dataset I've created?

3•tflinton•45m ago•2 comments

Community Publishing Platform

https://hackernoon.tech/
1•smooke•47m ago•0 comments

ToolShell Mass Exploitation (CVE-2025-53770)

https://research.eye.security/sharepoint-under-siege/
2•panarky•49m ago•0 comments

Claude Code Helped Me Understand a Legacy Codebase in One Day

1•IgorGanapolsky•49m ago•0 comments

Show HN: The Next Modern Test By pytest-modern

https://github.com/zen-xu/pytest-modern
3•zen-xu•52m ago•1 comments

October 22, 2025 is +++ Day!

https://www.southernamis.com/group/day/discussion
2•JPolka•54m ago•0 comments

Kakao – A Nice and Simple DSL for Espresso in Kotlin

https://github.com/KakaoCup/Kakao
2•TheWiggles•55m ago•0 comments

Alaska Airlines grounds all flights after IT outage disrupts systems

https://www.reuters.com/world/us/alaska-airlines-grounds-all-flights-after-it-outage-disrupts-systems-2025-07-21/
3•leptoniscool•59m ago•0 comments

Show HN: RWD – Turn any webpage into clean and clutter-free article

https://readwd.vercel.app/
1•ppnpm•1h ago•0 comments

Is the Maven (HTTPS://app.heymaven.com/) web app down?

1•arisbe__•1h ago•0 comments

China building world's largest hydropower dam in Tibet

https://www.reuters.com/sustainability/climate-energy/china-starts-building-worlds-largest-hydropower-dam-tibet-2025-07-21/
1•defrost•1h ago•0 comments

Show HN: NativeSwap – Low cost cross-chain swaps without wrappers or bridges

https://nativeswap.io
2•sourovaf•1h ago•0 comments

Alaska Airlines requests all flights to be grounded due to an IT outage

https://abcnews.go.com/US/alaska-airlines-requests-flights-grounded-faa/story?id=123915811
2•ummonk•1h ago•0 comments