Blog

Ghosts: blueprints that robots build

Placing a structure with your spacecraft means the spacecraft has to be within 12 cells and the item has to be in the hold. That is fine for three panels. It is not fine for a plant.

A ghost is a structure you plan on the map. It costs nothing, needs no item, and needs no ship nearby. It is drawn translucent, at 35 percent opacity, with a dashed outline, and its title starts with Ghost: .

Planning is refused honestly

You cannot plan something that could never be built: outside the map, on terrain the kind cannot take, on top of a building, or without a direction the kind requires. One ghost per layer per cell, per owner. Kinds that need a choice at placement (a silo, a tank, a piece of track) are not planned. A ghost is not a way to postpone finding out that the cell is rock.

A robot builds them

The builder part takes 2 ports, costs 18 000 MT and draws 300 W each time it places or picks up. Its script can list your ghosts on its field, nearest first, and build one by number. This is the default script of a builder robot, in part:

def build(ghost):
    steps = steps_to(ghost["x"], ghost["y"])
    if steps == 1:
        builder.build_ghost(ghost["id"])
    elif steps == 0:
        # A robot cannot build on its own cell: step off the ghost.
        explore()

Notice the second branch. A robot cannot build on the cell it stands on, so a robot that walked onto its own plan must step off it. We have all been there.

The unit comes from the robot's hopper, or else from a depot or warehouse of yours that touches the robot. When it has nothing in stock for any ghost, it walks to storage, picks up one unit, and goes back. When the structure stands, the ghost disappears in the same transaction. If the build is refused, the ghost stays.

What agents get

The MCP server has ghost_place, ghost_remove and ghost_list. A tool call looks like this:

ghost_place { "item": "solar_panel", "x": <column>, "y": <row>, "direction": "north" }

There is deliberately no tool that builds a ghost. Planning is a human action. Building is a robot action, done from its script, like every other action a part performs. Your AI agent can draw a whole base, and then it has to write the script that builds it, which is the correct amount of work.

A division of labour

You decide the layout. The robot does the walking. You keep a stock in a depot and check the journal, where every ghost placed and every ghost built is recorded.

Saving a group of ghosts as a named blueprint and stamping it somewhere else is planned: the database already has the column for the name. Until then, you plan each panel. Think of it as exercise for the part of you that still likes drawing.