News for hackers. Stuff that matters.
Re:Show HN: Factorio Learning Environment – Agents Build Fac... by jharohit on Tuesday March 11, 2025 @08:51AM (#43331920)
Everytime a paper like this comes out, I always have 1 question - How do they control the game using the LLMs? How does the control-feedback loop work? WHat tools, software and APIs they use to do it on Mac or Windows?
Re:Show HN: Factorio Learning Environment – Agents Build Fac... by collinvandyck76 on Tuesday March 11, 2025 @09:00AM (#43331985)
Re:Show HN: Factorio Learning Environment – Agents Build Fac... by noddybear on Tuesday March 11, 2025 @09:06AM (#43332031)
So the core insight was that we can take over the Factorio console remotely using RCON over TCP. From this, we implemented a server-side library of tools that run inside the game. We then implemented a client-side Python library that can invoke these tools - resulting in a Python API for the game. A nice side effect is that creating new tools is really easy, and they can be hot-loaded into running game servers (unlike the traditional Factorio modding approach).
Re:Show HN: Factorio Learning Environment – Agents Build Fac... by jharohit on Tuesday March 11, 2025 @09:56PM (#43339213)
this is cool! How could one extend that to a broader set of games? E.g another one where you can run larger simulations on behaviour are procedural games like No Man's Sky
Re:Show HN: Factorio Learning Environment – Agents Build Fac... by noddybear on Wednesday March 12, 2025 @09:40AM (#43343157)
This specific approach relied on: a) availability of multiplayer servers, and b) a remotely accessible console.

I know Minecraft works in the same way - but I’m not sure about RPGs like NMS.

Re:Show HN: Factorio Learning Environment – Agents Build Fac... by jharohit on Tuesday March 11, 2025 @09:54PM (#43339208)
its just for this game - prev I have seen python bots extended to GTA V or Counter Strike or other games. So was wondering if broader set of tools are available?