Skip to content

Getting Started on Windows

saudademjj edited this page Dec 5, 2026 · 1 revision

The Windows launcher is the shortest way to play: it starts a local server with the mod, starts the agent and lets you join. Nothing else needs to be installed.

What you need

  • Windows x64 with Factorio 2.1 installed (Space Age is optional).
  • A DeepSeek API key. The launcher uses DeepSeek's deepseek-flash. To use another model, start the agent from the command line instead; see Command-Line Setup and Model Providers.

Steps

  1. Download factorio-ai-commander-space-age-<version>-windows-x64.zip from the Releases page. The .sha256 file next to it holds its checksum. You can also build the package yourself: Building and Releasing.
  2. Extract the whole ZIP to a folder and double-click fai-launcher.exe.
  3. Choose Host on this Windows PC and start the agent, confirm the detected factorio.exe, and enter your DeepSeek API key.
  4. Optionally pick an existing save ZIP. Leave it empty to create a new map.
  5. Press Start server and agent, wait until the window shows it is ready, then press Join game.
  6. In game chat, type @ai followed by your request, for example @ai build 30/min red science.
  7. Press Stop when you are done. The server saves and shuts down cleanly.

The launcher's interface is in Traditional Chinese. The full walkthrough, with the original button labels, is in docs/WINDOWS_LAUNCHER.md.

Playing with friends

  • On your PC: friends join through Multiplayer → Connect to address with your PC's address and the game UDP port (default 34197). They need the same Factorio and mod versions. RCON listens on 127.0.0.1 only.
  • On someone else's server: choose Connect to an existing server and enter the host, RCON port and RCON password. The server admin copies mod/factorio_ai_bridge from the ZIP into the server's mods folder, enables it and loads the save. Use a different save code for each save so each keeps its own build ledger.

What's in the package

Item Purpose
fai-launcher.exe The Windows GUI described above
fai.exe, fai-setup.exe, fai-agent.exe, fai-mcp.exe, fai-rcon.exe Command-line tools, see Command-Line Setup
mod/factorio_ai_bridge/ The Lua mod
server/config.example.toml Configuration template, see Configuration
scripts/setup_windows.bat, scripts/start_factorio_rcon.bat Setup and dedicated-server helpers
BUILDING.md, WINDOWS_LAUNCHER.md, LICENSE Documentation and licence

Next: Playing with the AI.

Clone this wiki locally