Serf


An AI teammate ("serf") that plays as a real character next to you: walks, mines, crafts and builds under normal player rules, and takes orders from chat. Type /serf add. It runs on your own computer with your own Claude login (the serf app); servers can also host serfs over RCON. github.com/stirby/factorio-serf

Utilities
a month ago
2.1
17
Logistics

Changelog

Version: 0.4.0
Date: 2026-11-01
  Changes:
    - Made for Factorio 2.1. It no longer loads in 2.0 (0.3.6 is the last 2.0 version).
    - Reads fluids, underground belt pairs, recipe categories and mining triggers the 2.1 way.
Version: 0.3.6
Date: 2026-10-29
  Changes:
    - A serf mining for wood picks only trees that drop wood. On Vulcanus, where the only trees are lichen (they give carbon), it says there's no wood instead of walking off to a lichen tree.
    - A serf lays mining drills only where they have something to mine, as a player can. Drills in its layouts that would sit off the ore are left out, and it says so.
    - A serf boxed in among its own drills or furnaces lifts one, steps out and puts it back.
Version: 0.3.5
Date: 2026-10-25
  Changes:
    - On another planet a serf gathers items from that planet's chests instead of searching Nauvis and hand-crafting what sat next to it.
    - Serfs see the logistic networks as players do: what's in storage, and where the roboports' logistic and construction areas reach.
    - The serf panel keeps the thinking time at its right edge, steady while the dots move.
Version: 0.3.4
Date: 2026-10-25
  Features:
    - Serf tasks window (Ctrl+Shift+J, the Tasks button on the serf panel, or /serf tasks): what each serf is doing, every step of its plan (done, now, failed, to do), its queue and what it finished lately.
    - The serf panel is a compact strip: what it's doing, the step it's on with a progress bar, its order, and how many orders wait, need you or failed lately.
    - With Todo List (and its remote interface), tasks you assign to the serf become its orders: its status shows under the task, its plan's steps are the task's subtasks, and it ticks the task off when done.
    - Serfs read your map tags (your names for places and purpose-built chests) and can put their own labelled tags on the map.
    - Serfs can mark an area's trees and rocks (only those) for your construction bots to clear.
  Changes:
    - Serfs show on the map: a dot in their color with their name, the same size at any zoom.
    - A serf puts items in a storage chest set to one item only if it's that item, as robots do.
    - On other planets a serf reads its own planet: storage, base checks, ghosts, alerts and production no longer default to Nauvis.
    - The base check gives an example spot for each problem (starved, blocked, no power) instead of one for the whole group.
Version: 0.3.3
Date: 2026-10-25
  Features:
    - A serf can hop to another planet's spawn (any planet someone has been to), but only empty-handed: it stores everything it carries in chests first. Armor, guns and ammo go along.
  Changes:
    - A serf app taking over a serf from a save (one another player's app had) now gets it, instead of the panel saying no serf is connected.
    - A test copy of a world (biters removed by the serf's test tools) warns everyone who joins not to save it over their real game.
Version: 0.3.2
Date: 2026-10-24
  Features:
    - /serf leave [name] sends a serf out of the game and /serf join [name] brings it back next to you, with all its items (armor keeps its equipment, items their quality). "@serf leave" and "@serf join" in chat do the same.
  Changes:
    - The serf panel, the state over a serf's head and the Teach serf shortcut show only while its app is connected and it's in the game.
    - /serf join brings back a serf that left; with none away it calls one as /serf add does.
Version: 0.3.1
Date: 2026-10-19
  Features:
    - Teach serf: hold a blueprint or a whole blueprint book and click Teach serf in the toolbar (or ctrl+shift+T, or /serf learn [name]). Every blueprint goes into your serf's design library, named from its label.
    - Blueprints held straight from Game blueprints work everywhere; My blueprints work in single player (on a server, drag it to Game blueprints or your inventory first).
    - /serf join works as another name for /serf add.
  Changes:
    - Placing clears trees and rocks in the way (with mining time), rotates or upgrades what's already there like a click would, and lines coordinates up with the grid.
    - Building ghosts clears trees and rocks in their way.
    - Pole lines hop by wire reach over belts, machines and water.
    - Belt and pipe lines go under crossings and water with undergrounds.
    - Belt lines built in legs chain up: a line from the last belt of another continues it around the corner, a line to an existing belt feeds into it (never head-on), and missing undergrounds or belts get hand-crafted.
    - Walking to a spot nobody can stand on ends at the nearest free spot; a serf caught on a corner wiggles free.
    - diagnose understands fluids (petroleum gas, steam, water, crude oil).
    - Power is visible: inspecting a machine says powered, low power, or no power and the nearest grid pole; inspecting any pole shows its grid (load vs capacity, generators, boiler fuel, top users).
    - Placing, stamping and building warn when machines have no power, and a pole line that doesn't reach the grid says so.
    - craft count is the number of items (copper-cable count=10 is 5 crafts), and a short craft says which ingredient ran out.
    - Inserters say which side they pick from and drop to; underground belts say entrance or exit; look can look around any x,y.
    - trace follows a belt line from any of its belts, downstream or upstream: its runs and underground hops, why it ends (a gap, head-on, side-loading another belt), what's on each lane, and the inserters and drills taking from or putting onto it.
    - Clearer messages when take, insert, mine, place or find can't do what was asked.
    - find with an item name (copper-plate, underground-belt) lists where it's stored: chests and machine outputs, nearest first, with counts.
    - fetch walks to the nearest storage and takes the items it's asked for, then hand-crafts whatever storage lacks.
    - Belt, pipe and pole lines fetch every piece their route needs from storage before hand-crafting it, and say whether each end joined a belt; a start next to a line's last belt continues that line.
Version: 0.3.0
Date: 2026-10-19
  Features:
    - Design library: serfs build from proven designs, the builds they verified and saved, and designs players teach them.
Version: 0.2.0
Date: 2026-10-19
  Features:
    - /serf add: bring your own AI helper into single player or a multiplayer game, driven by the serf app on your computer.