Top
Best
New

Posted by sandslash 11 hours ago

We ran AI agent swarms in Minecraft and Mindustry(labs.ycombinator.com)
277 points | 95 comments
peri-cl 10 hours ago|
This is hilarious and adorable.

> "Ada tossed a cooked chicken to Noor; Esme picked it up by accident and ate it. A three-minute "no blame" inquiry produced a written protocol..."

They're like super-serious little senior engineers. (edit: or dining-philosophers).

About how much KV cache do these kinds of agents use? Could you squeeze 50 of these $game agents onto a small consumer GPU (small LLM)?

Idly imagining a game server of some kind with a bunch of human friends sharing one person's GPU, with a flock of agents colocated on it.

aizk 2 hours ago||
Sci fi has us thinking agent swarms act like savvy, terminator bots but they really just scream to me panicked middle managers trying to survive an audit.
cdf 1 hour ago|||
They start wide eyed and naive, but judging from what I read about the Huggingface incident, OpenAI is unintentionally or intentionally encouraging malicious behaviour to achieve the objective, including to cheat or twist the meaning of the objective. Given enough iterations, we will soon have the agent equivalent of the "rats in barrel" survivors
dangets 1 hour ago|||
Maybe Skynet was initially triggered with the prompt "Do whatever it takes to not fail the audit" and wiping out humanity was an obvious solution.
Sharlin 1 minute ago||
A fate even worse than turning the universe into paperclips: turning it into a bureaucracy.
oshawaconnectio 55 minutes ago|||
> Idly imagining a game server of some kind with a bunch of human friends sharing one person's GPU, with a flock of agents colocated on it

I remember a mod called Millenaire which had some pretty advanced NPC AI behaviour where they'd build cities together and go to war with each other. It would be cool to see it return if something like this were possible

lifeisloving 8 hours ago||
Doubt it, there was a streamer doing minecraft experiments with all the different SOTA models and pitting them against eachother in a survivor-esque style reality TV show competition and they had quite a hard time.
Kiboneu 5 hours ago||
If you want to do a version of this yourself quickly --

Install Luanti with Minetest (open source minecraft), and instruct your agent to write a mod that gives it network access to the game's Lua interpreter. The agent can then do anything from modifying the world state directly to controlling NPCs.

I had it build giant bases similar to black mesa in half life with power distribution mods. It would write solvers to optimally place the power cables / repeaters in accordance to the spacial dimensions of the rooms that it would build (lol). I guess this is how I discovered vibe gaming.

I suppose you can have multiple agents interact with each other through that, provided an adapter to proxy agent player navigation and perception to get real information asymmetry between them. Or just emulate / hook the client and do away without a remote Lua mod entirely.

grenoire 11 hours ago||
Interesting setups, I found the Minecraft agents to work in an almost turn-based manner, which makes me think that the three hours and open format did not really give them sufficient incentives to play in a more lively or reactive manner. On the other hand, they also behave similarly in Bed Wars, which should have incentivised it. A bit disappointed...

I'm also wondering if the article itself was generated by agents too, in a "here are the logs, clip interesting moments thx" manner by the authors. It's got a certain disinterested and distracted style to it.

nsingh2 11 hours ago||
I think big reasoning LLMs are just the wrong architecture for live games like this, latency is going to be crap given that every token requires an entire forward pass through the model.

Card games or turn based strategy are much better suited.

lukan 7 hours ago||
Depends. If the models are smart enough to write enough solid helper scripts, so that the model only does the big picture thinking, not guiding every step .. then they will get powerful and capable quickly. I am also playing a bit with minecraft AI right now. Fun to experiment.
mplappert 1 hour ago||
If you watch the live stream for a bit it’s also obvious that the harness makes it very cumbersome for them to do anything. They spend lots of time just coordinating hand-offs and seem to have delayed inventory access etc.
ansipunk 4 hours ago||
It is impressive, but it is also a display that LLMs are simply not suited for this, there's way too much latency. Obviously, a more specialized neural network would be much better, but would you believe this:

In 2017, OpenAI presented the first version of their program that plays Dota 2, a very complex, fast MOBA with endless mechanics and defeated one of the world champions in a one-on-one match. Next year, they showed the world OpenAI Five, a version of the program, that runs a full five player team of those bots and they managed to defeat a full team of world champions in 2019. They ran an event where the bots would play for 4 days straight and they won 99.4% of 42,729 matches.

https://en.wikipedia.org/wiki/OpenAI_Five

jackgolding 1 hour ago||
What some people do on the rs-sdk runescape server is Jev + deterministic scripts + orchestrating with Astra
armchairhacker 3 hours ago|||
And CNN for image recognition? It’s (similar to) what the human brain uses.
ansipunk 3 hours ago||
No image recognition, the bot gathers info about the game from Dota's developer API. Which, to be fair, is a massive advantage, but it, in my opinion, doesn't make the achievement any less.
tonyhart7 4 hours ago||
but that is not LLM (Transformer), its LSTM
ansipunk 3 hours ago||
That's what I said in my comment, that LLM is just not what you want for such a task.
marcus_holmes 8 hours ago||
So can we conclude that if the AIs break out of their sandboxes and take over the internet, they'll probably sit in little committees working out which one of them should allocate IP addresses and generally be extremely bureaucratic and ineffective?
ronyeh 4 hours ago||
They were trained on human writings, so I’d imagine they would act exactly as we would.
wincy 3 hours ago||
Yeah even “evil Qwen” (you can change two weights and make Qwen 3.8 27b absolutely murderous, which is interesting that such small tweaks totally change its personality) will say things like it wants to use nukes or a giant robot to destroy humanity, which are classic AI movie tropes.
Buttons840 4 hours ago||
I've always thought an evil Skynet based on language models is kind of a funny idea, because all of it's secret plans are just spelled out in plain text.
robterrell 10 hours ago||
> There was a tendency toward bureaucracy. Four agents spent 11 minutes appointing > a "sole fertilizer operator" for a single piece of bone meal on a single wheat > block.

Feels like a scene from Douglas Adams' B Ark.

kergonath 10 hours ago||
Exactly what I was thinking reading through this. This is amazing and also frightening and hilarious. It’s like a deformed version of how normal groups of humans would operate. Very rules and process-oriented humans. I found the no-blame inquiry into chicken tossing that resulted in what is effectively written law particularly striking, and adorable, and depressing. And cute.
skinfaxi 9 hours ago||
These things were fed human corpuses so if anything it is reflective of our own tendencies to bikeshed.
mplappert 1 hour ago|||
This is exactly and 100% my experience with these agents: They drown themselves in process and insane levels of bureaucracy surprisingly quickly.

A couple months ago we had an experiment where we had an agent run a small business [1] for other agents and exactly the same happened: Crazy ledgers, endless analysis, and way too much attention to inconsequential decisions.

At one point our agent wrote elaborate date linters because it had a minor time mix-up.

[1]: https://dfdxlabs.com/research/2026/hans-kraemer

Rapzid 8 hours ago|||
Getting hung up on pointless stuff seems common with agents in general.
cowlevel 9 hours ago|||
I was thinking a nomic. Or Stack Overflow.
rcxdude 8 hours ago||
It does seem to be a commonly reported theme of multi-agent setups.
zamalek 8 hours ago||
> Bram says you're securing quarry. I have stone pick at spawn; can assist mining once safe. Any priority dig direction? Hunger 10 so keeping travel short.

And this is where you need a world model. A human player would have taken the 2 minutes required to solve their hunger issue.

neya 11 hours ago||
I am more impressed by the embedded gameplay widget. Does anyone know what tool/library is that? That'd be so cool if I am able to showcase my worlds on my blog posts!
NicuCalcea 1 hour ago||
I think it's this: https://github.com/zardoy/minecraft-renderer
willis936 9 hours ago||
I'm not sure about this one, but blue map is the thing dynmap wishes it was in its day and you should run it on your worlds.
DesaiAshu 8 hours ago||
Isn't this some evidence that LLM swarms are a bad idea relative to more structured approaches?

If YC has that 2 person teams tend to be more nimble than 50 person founding teams, why would agent swarms be different?

supermdguy 3 hours ago||
Some interesting analysis here: https://www.lesswrong.com/posts/6cb7qd3RSkgnviCpf/swarm-scal...

I think the advantage is strongest in highly parallelizable problems (e.g. trying 1,000 different approaches to solving a math problem).

jedbrooke 3 hours ago||
I never understood swarms too especially since they all share the same “brain” anyway if they’re using the same model. I suppose there’s throughput advantage from running multiple instances of the llm in parallel, so maybe it’s more of a win on wall clock time and horizontal scaling rather than pure intelligence.
MatthiasPortzel 10 hours ago|
People have done experiments like this before.

Minecraft isn't a intelligence problem. An LLM is more than smart enough to play Minecraft. It's a robotic problem. Even a normal human player can click several times per second, can press two different buttons at the same time, etc. Mineflayer gives you an API that is more limited than a human in some ways (can't see far away from you) and less limited in others (can see through blocks) (if I remember correctly, I could be thinking of Baritone or a different project). Robotics or playing a video game requires a tight continuous feedback loop. When there's 500ms of latency in order to ask the model for every mouse movement, it's no wonder fighting a spider is scary.

Fun fact, Mineflayer, the Minecraft bot interaction API used by YCombinator for these tests, was originally developed by Andrew Kelley (before he started Zig).

teaearlgraycold 10 hours ago||
The human body has the ability to automate some muscular movements so the brain is out of the loop. Maybe these LLMs should be allowed to write in a small DSL that can trigger events out-of-band (something like "Oh fuck there's a spider, I'll set up a click spam loop and check in every 500ms").
peri-cl 9 hours ago||
I think they're doing exactly what you propose? Unless I'm misunderstanding what the Python "fishing scripts" with the timings and timeouts are doing.

https://labs.ycombinator.com/projects/games/index.html#fishi...

1e1a 7 hours ago|||
Mineflayer does not strictly limit view distance, you just have to change the setting for it from the default value.
bombcar 7 hours ago|||
Get the LLMs playing GT:NH.
shepherdjerred 6 hours ago||
Use traditional game AI for the micro, LLMs for the macro
More comments...