AI Player

by ob_105

Adds an autonomous AI player that uses LM Studio/Open ai to play Factorio. The AI can build, mine, craft, fight, and interact with the world.

Utilities
4 months ago
2.0
1.04K
Logistics Combat Character Enemies Logistic network Manufacturing

g Anyone had the AI actually build a factory ?

4 months ago

Hi all,

Has anyone actually had the AI player build a functioning setup, i have run this for several days and the most the AI player has built was 3 furnaces and 1 piece of road, put a load of stuff in a chest...and then they just keeps walking north.

Am i missing something here ??
do i need to change some of the scripts file to make it actually do something useful ??

3 months ago

mine built a furnace after like 5mns then moved north, maybe a few steps every few minutes, does anyone has better results?

3 months ago

I have left this running for a week, it explored maybe 2x the starting map size, build 4 furnice's and 1 piece conveyer, even used an LLM on a really fast server so responses were coming back every 30 seconds. but that's as far as it got in a week.

But have a look at https://jackhopkins.github.io/factorio-learning-environment/versions/0.3.0.html

10 days ago

FLE looks cool, but a local model is way more interesting.

5 days ago

Trying to figure out some fixes: 1. the ai-player needed changes to load fuel into the miner, this was fixable; 2. the fuel and ore inputs for the furnace is even more challenging. 3. getting the ai-player to follow the rules and not place buildings where they shouldn't - offshore pump on an crude oil output with a boiler and some pipe was fun, and unusable.

Would be cool to have blueprints usable, some sort of memory for entities. I've had to use claude for the ability to edit task lists and notes, albeit some challenges there.

New response