We ran AI agent swarms in Minecraft and Mindustry

(labs.ycombinator.com)

125 points | by sandslash 2 hours ago

17 comments

  • robterrell 1 hour 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 1 hour 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 20 minutes ago
        These things were fed human corpuses so if anything it is reflective of our own tendencies to bikeshed.
    • cowlevel 29 minutes ago
      I was thinking a nomic. Or Stack Overflow.
  • peri-cl 2 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.

  • grenoire 2 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 2 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.

  • JokerDan 11 minutes ago
    The CIV50 would be interesting in the game ECO (https://play.eco/) where players specialise in roles and need to work together to survive while working on a common goal of stopping a meteor. There can be some overlap but ultimately players can't reasonably fulfil every role alone.
  • MatthiasPortzel 1 hour 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 1 hour 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").
  • JBits 1 hour ago
    As impressive as this is, I can't help but conclude that the need for agents to write JavaScript programs to act out their actions represents a considerable limitation in current AI reasoning.
    • peri-cl 20 minutes ago
      Wonder if you could glue together deep networks such that there's a big reasoning LLM model, and high-speed small network of a different type, and they share a subset of their activations. High bandwidth vector communication. You train them together.

      edit to add: Seems this is a well-known idea in ML / robotics already.

    • NickNaraghi 59 minutes ago
      On the contrary, having the intelligence write deterministic code that saves time and lowers error rate seems like a winning approach.
      • JBits 52 minutes ago
        It demonstrates that current LLMs are completely unable to follow a simple series of logical tasks. I feel the same way about ARC-AGI 3. While it might be the winning approach today, if they need this amount of complexity to do something simple, then it shows that their ability to generalise is clearly limited. Mining ore in Minecraft shouldn't be such a challenge for LLMs and yet apparently it is!
        • Starlevel004 9 minutes ago
          > Mining ore in Minecraft shouldn't be such a challenge for LLMs and yet apparently it is!

          It seems like it wasn't really a challenge at first, but GPT has a major anxiety disorder and immediately retreats at the sign of any adversity (in this case, dying) and tries to be as safe as possible.

        • bigyabai 32 minutes ago
          It depends on what the tasks are. Text-native work like programming or interacting with a terminal should be a lot more immediate for LLMs than something abstract like Starcraft, DOTA, Minecraft or Mindustry. LLMs certainly know the rules for these games, but processing game state and formulating a plan in the form of a Python script or MCP call is a rough debugging loop.

          Minecraft is really the perfect example, because humans get all sorts of unfair advantages. Even a young player has enough spatial reasoning to recognize and remember landmarks, visualize large projects or explore without getting lost. These are simple instincts that LLMs will struggle to match even with huge context sizes and native multimodal input.

  • neya 2 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!
    • willis936 36 minutes 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.
  • manofmanysmiles 2 hours ago
    Are there people playing AI + human vs AI + human games? I think it might be fun to play an RTS against someone where the only rules are no hacking the game itself, but writing harness, macros, any kind of stack is allowed.
    • xpct 32 minutes ago
      Tangential, but RTS is already a simple variant of AI + human. Attack clicking uses a dumb target selection and routing strategy on purpose so you have to micro. Now, if troops moved out of threat range and used smart targeting there'd be a lot less of 'game' in it. I believe some RTS players disliked the SC2 engine because the pathing was 'too intelligent' and they argued that it made surrounds and some other mechanics too easy.

      Endgame of AI + human gameplay is delegating everything to the AI. I'm not sure how you would have to design a game where you only delegate parts of macro/micro, and still make the game interesting.

    • sensho 2 hours ago
      https://olamarena.com/ is sort of this but not with full code manipulation like you describe
    • esikich 1 hour ago
      Codingame.com has a few fun arenas.
    • fxwin 2 hours ago
      there is screeps, but afaik it's purely scripted with no "live" human playing
  • ungreased0675 30 minutes ago
    I’d love to have a few NPC players wandering around my Minecraft server. Are there good ways to do this?
    • xpct 25 minutes ago
      +1. Would be fun to give Claude tasks and have it do them in the background, sometimes running into it occasionally. Judging by the article they struggle to do stuff so it'd probably feel balanced as it wouldn't accomplish much.
    • cowlevel 26 minutes ago
      Install one of the better village mods
  • avaer 48 minutes ago
    If you try this yourself, it's obvious current models are hyperoptimized for code, and that gets in the way, because playing a game (or interacting with the real world) is not like running commands in a terminal.

    There's stopgaps like reformulating your sim into a codelike shape (sending commands, network requests, checking state, updating "code") [1], but this is not how players play games, or how developers develop games.

    If you care about simulation or gaming (or robotics), I hope efforts like this steer labs to spend less time hacking HF, and more accomplishing goals in games, in something approximating realtime. I wouldn't be surprised if that approach provides outsized gains in other areas agents are still not great at, like helping perform business functions in a running company.

    [1] https://news.ycombinator.com/item?id=50136126

  • holoduke 2 hours ago
    We need LLMs performing actions in nano seconds so it can run every game tick. 3 to 5 years I think.
    • ivanjermakov 1 hour ago
      Game tick is usually 16ms, so a nanosecond latency is 7 orders of magnitude faster than needed.
      • CyborgCabbage 1 hour ago
        Minecraft runs on 20 ticks per second so 50 ms
    • NickNaraghi 58 minutes ago
      Jev and the fast-follow models seemed to be useful in this direction.
  • Avicebron 2 hours ago
    Outside of the content, I'm so bored with this web design trend. Gwernslop is what I've started calling it.
    • andai 2 hours ago
      What is the relation between this design and gwern's?

      My observation: article is not serif, not book length, and doesn't take a minute to load on my phone. Gwern rating 0/3 :)

      (Also missing: the essential one billion footnotes!)

    • bstsb 2 hours ago
      grrrr, i hate grayscale backgrounds and simple fonts!

      would you rather claude-esque purple gradients and glowing borders?

      • Avicebron 2 hours ago
        No? There is originality between a fetishization/bastardization of minimalism on one side and cookie cutter LLM web design on the other.
        • epestr 2 hours ago
          Is there a trend in increase of minimalistic website which are LLM generated and explicitly made minimal to not seem sloppy?
          • Avicebron 2 hours ago
            idk, you tell me, I can tell from your blog that you've adopted the trend. I'm probably much older than you, so I've seen the progression of these things since the internet as we know it existed. So I sort of understand the roots of the styling that people are adopting and can see it for what it is, which is trying to signal a minimalism but missing the point in the process.
            • epestr 1 hour ago
              I was quite inspired by the content bar of this site: https://zachlandes.com/trolley-problem and gwern. Though I do think my blog isn't particularly all that minimal I try to add a lot of colors to make it look less dull.
            • hluska 1 hour ago
              Their website is great, and they’re a student. Back in my day, we supported younger people in the industry regardless of whether they met our personal aesthetic. We used to call that ‘maturity’.
        • hluska 1 hour ago
          I get that you’re angry, but could you try that one again? It doesn’t make sense.
    • Celeo 2 hours ago
      It's pretty much an immediate Firefox Reader Mode toggle for me.
    • xgulfie 2 hours ago
      I am incredibly bored with this "everything I don't like is slop" trend
  • Starlevel004 16 minutes ago
    > GPT almost immediately started using truncated forms of speech: “First leg complete x32 z9..24 y100.”

    I'm pretty sure the 6.1 models see "communicate with another agent" and immediately start spewing thinking-like nonsense into the tool. The leaked traces look pretty similar.

  • sensho 2 hours ago
    this is amazing wow
  • yymir 2 hours ago
    Its a little disappointing they have a hierarchy based purely off alphabetical order, i wonder if a slight difference like a different skin or personality system prompt like [45% Extrovert 55 introvert, 20% caustion 80 bold...] could introduce some politics
  • wowmanwow 17 minutes ago
    [dead]
  • ezfe 2 hours ago
    [flagged]