AI Player v3 (skills)


Skill-based autonomous AI player for Factorio 2.0. The mod implements deterministic skills (basic loops) + primitive actions; an external bridge runs a small LLM router that picks skills/params and returns them via RCON.

Utilities
2 hours ago
2.0
30
Owner:
d3m0n117
Source:
https://github.com/thedemon117/ai-player-v3
Homepage:
N/A
License:
MIT
Created:
12 days ago
Latest Version:
0.3.4 (2 hours ago)
Factorio version:
2.0
Downloaded by:
30 users

Hello World

Using the amazing work of ob_105 for ai-player, factoring in work from factorio-agent by lvshrd, using claude I made this mod... it is definitely still a work in progress.

Discussion

  • This thing is fun and buggy, and has lots of potential for better solo and co-op play
  • Love to see if and how it's working for others
  • Would to hear about the bugs - fun and not
    -- Like setting up steam power by dropping an offshore pump on a crude oil patch with random pipes, a boiler and steam engine

Installation

Follow https://mods.factorio.com/mod/ai-player installation instructions for setting up LMStudio, the requirements.txt has been updated for the current version of factorio-rcon.py
- Github has detailed instruction for this version

Github for more details (setup, skills and commands)

Local Recommended Model

  • qwen/qwen3-coder-next
    -- Super fast model for fast action (not having to wait up to 240 seconds for Minimax M2.7's reasoning)
    -- Capable model, albeit the skills equipped need some improvement (blame the human, not the model lol)

Factorio MCP

  • Opus created an MCP from RCON to assist with
    -- ClaudeCode taking controls
    -- Interrogating the game_state and factory to better task the ai-player over RCON

ClaudeCode recommendation

  • Sonnet is recommended if you're going to connect ClaudeCode to the game, Haiku might be reasonable
  • Opus was instrumental in getting this version of the mod functional

Future

  • Further local agent work
  • More and better looping
  • Better use of skills, perception and less dropping of so many furnaces and cheating miners (refer to thumbnail for a burner-miner configuration)

Challenges

  • Infinite bootstrap, always dropping and starving furnaces
  • Triple burner miners - the ai cheats over RCON - illegal placement of machines

Thanks for giving my mod a shot!