Docs
Getting started
Sign in, buy a robot, write a script, and watch it work while you do nothing.
StarOS primer
The Starlark runtime of your robots, its modules, and five complete scripts to steal.
Power guide
Panel loops, charge controllers, batteries, fuses, station terminals and what the findings mean.
Mining guide
From ore in the ground to raw metal, with recipes, prices, wear and wastes.
Market guide
Order books, drones, fees, standing orders and who always buys.
Trains and gates
Railways that haul containers, and wormhole gates that skip the distance.
Galaxy guide
Stars, planets, travel times, sensors, exploration, fog and claims.
Agents and MCP
Let your own AI agent play for you, with your rights, your limits and no cheating.
FAQ and troubleshooting
Twenty-five traps players actually hit, and the way out of each.
Tutorial 1: a rover that avoids walls
Give your starter robot a script that wanders and never walks into rock.
Tutorial 2: a first mine
Buy a Mk2 base, a drill, a hopper and a crate, dig ore and sell it.
Tutorial 3: power for the mine
Build a solar loop, a medium station with controller, battery and fuse, and switch it on.
Tutorial 4: from ore to raw metal
Chain a mining drill, crusher, concentrator and smelter with belts into a depot.
Tutorial 5: the market and standing orders
Place limit orders, then let a warehouse sell on its own with a standing order.
Tutorial 6: a train between two depots
Lay a loop with two stops, power a train with a battery container and shuttle cargo.
Tutorial 7: a builder and ghost blueprints
Draw ghosts on the map and let a builder robot turn them into real structures.
Tutorial 8: robots that repair
Use a builder and spare parts to mend damaged robots and buildings.
Tutorial 9: your AI agent, safely
Make a token, connect an MCP client and run a loop that cannot hurt much.
Tutorial 10: a gate to another star
Build two paired wormhole gates, charge their banks and fly your spacecraft through.
StarOS reference
The index of the StarOS Starlark API: how a script runs, which modules exist and where each one is documented.
StarOS: robot
The robot module: what a script knows about its robot, how it moves, logs, swaps cells and reads mobility.
StarOS: memory
The memory module: the small JSON store that survives between turns, and its rules.
StarOS: sun
The sun module: the game clock, daylight and the sunlight on the robot's own cell.
StarOS: wallet
The wallet module: read your MilkyWay Token balance and pay other players from a script.
StarOS: power
The power module: read-only figures of your energy networks and the instruments of your stations.
StarOS: industry
The industry module: your drills, mills, smelters, depots and warehouses as the last turn left them.
StarOS: storage
The storage module: what your warehouse networks hold and how much room they have left.
StarOS: lidar
The lidar module: scan the cells around a robot and probe a direction for obstacles.
StarOS: drill
The drill module: dig the ore under a robot into its hopper, and what can stop it.
StarOS: hopper
The hopper module: read the cargo of a robot, unload it and pick items up.
StarOS: battery
The battery module: stored energy, capacity and charging state of a robot's battery cells.
StarOS: net, llm and jev
The modem modules: GalaxyNet messages, calls to your own chat model and Jev decisions.
StarOS: market
The market module: read prices and place or cancel exchange orders from a robot with a modem.
StarOS: builder
The builder module: build, pick up and repair from a robot, and turn ghosts into structures.
StarOS: crane
The crane module: lift and place containers at train stops and on hauler decks.
StarOS: assay
The assay module: sample the deposit under a robot or scan the ore around it.
StarOS: farming
The soil, planter, weeder and harvester modules that let a robot work a farm plot.
StarOS: combat
The laser, railgun, shield, armor, jammer and turret modules, and where weapons are refused.
StarOS: contract and relay
Calling smart contracts from a robot, the relay module, and the modules a contract's own code sees.
StarOS: other hosts
Scripts for trains, power stations, gates, signals and spacecraft, with their modules.
StarOS: first scripts
Eight complete scripts: wander, mine, save power, pay, react to messages, build and trade.
StarOS: limits
Every StarOS cap in one place: steps, memory, payments, publishes, AI calls and more.
StarOS: troubleshooting
What each turn outcome means, from no_power to blocked_swap, and which failures are only events.
Brand guide
The name, logo, colours and assets of Space Is Not Enough, and how to use them.