Repository navigation
Home
Factorio AI Commander is an AI engineer teammate for Factorio 2.1 and Space Age. Type what you want in chat,
for example @ai build 0.5/s green science, and it reads the map, works out the ratios, picks a site, lays out the
production lines and builds them with its own character. No cheats are needed, and achievements stay enabled.
This wiki is a practical guide. The README
gives the overview, and the docs/
folder holds the reference pages that ship with the code.
Status: under active development. Expect rough edges, and back up your saves.
| I want to… | Page |
|---|---|
| Play on Windows with the least setup | Getting Started on Windows |
| Use the command line, Linux or a dedicated server | Command-Line Setup |
| Choose a language model and set its API key | Model Providers |
| Drive it from Claude Desktop, Cursor or Claude Code | Using MCP Clients |
| Learn the chat commands, map tags and mod settings | Playing with the AI |
Change config.toml or environment variables |
Configuration |
| Fix a problem | Troubleshooting |
| Build from source or cut a release | Building and Releasing |
中文说明:简体中文
Factorio 2.1 ── factorio_ai_bridge (Lua mod)
▲
│ RCON (/fai JSON-RPC)
▼
fai (Rust) ── fai-agent ◄── language model ← "@ai ..." in chat
├─ fai-mcp ◄── MCP clients
└─ fai-launcher (Windows GUI)
-
factorio_ai_bridgeis a small mod inside the game. It runs the build queue, controls the AI character and reports events. It stays deterministic, so multiplayer games keep in sync. -
faiis a set of native programs that plan and drive the work over RCON: a CLI (fai), the in-game agent (fai-agent), an MCP server (fai-mcp), an RCON self-test (fai-rcon) and a Windows launcher (fai-launcher).
Module layout: docs/ARCHITECTURE.md. All 15 tools and their parameters: docs/TOOLS.md.
Repository · Releases · Issues · MIT licence · Factorio is a trademark of Wube Software Ltd. This project is not affiliated with Wube Software.
Getting started
Playing
Developing
中文