Docs  /  Space Engineers — Minecraft RL successor

Space Engineers — Minecraft RL successor

Space Engineers is the in-tree successor to the Minecraft Spigot + DQN + MathNN stack: same observation→safe action→MathNN policy→goal→executive plan loop, retargeted at SE grids.

Architecture

Space Engineers (AiSe mod)
  ObservationBuilder → thrusters, power, cargo, asteroids, threats, goals
  SafetyAdvisor      → collision / low-power gates
  SafeActionExecutor → discrete thrust/gyro/tools (26 actions)
  BridgeClient       → JSON-lines TCP client
        │
        ▼  port 8766 (Minecraft uses 8765)
_AI SpaceEngineersBridge  (+ BridgeManager adapter "se")
        │
        ▼
_AI SpaceEngineersRL  → RLAgentNet agent "space_engineers" (MathNN dueling-DQN)
        │
        ├─ Executive Functions plans
        ├─ se smoke / curriculum (synthetic, dry-run)
        └─ MathODE se_power twin

Install the mod

  1. Copy space_engineers_mod/ to
    %AppData%\SpaceEngineers\Mods\AugmentedIntelligenceSe\
  2. Enable the mod in the world.
  3. In chat: /aise config host 10.0.0.151 (your _AI host),
    /aise config token YOUR_TOKEN, /aise status.

Commands

space engineers status
space engineers map              # Minecraft → SE feature map
se smoke 8                       # offline curriculum + fixture + power twin
se dry-run on|off                # default ON (no live thrust)
se twin                          # ODE power twin
se fixture                       # BridgeManager fixture replay

space engineers bridge configure 0.0.0.0 8766 YOUR_TOKEN true
space engineers bridge start
space engineers bridge status

se rl net on
se rl observe
se rl train 200
se rl step
se rl smoke 8
se rl dry-run on
se rl goal mine Iron 20
se rl plan on
se rl status

Aliases: se …, space engineers …, spaceengineers ….

Minecraft → SE map

Minecraft Space Engineers
Spigot plugin space_engineers_mod (AiSe)
Bridge :8765 Bridge :8766
Player health/food/blocks Energy, cargo, thrusters, asteroids
Wall-guard / blocked_* Collision ray + dampeners
Goal mine/gather/reach Mine ore / gather / reach / dock / survive
MathNN minecraft MathNN space_engineers
Executive plan tags Space Engineers RL plans
Client key controller In-sim thruster/gyro overrides (mod)
Offline tests se smoke, fixture under tests/fixtures/space_engineers/

Safety

  • Dry-run defaults ON for successor smoke and RL actuation until se dry-run off.
  • Thrust and angular rates clamped in mod (Config.MaxThrustFraction).
  • Low-power grids block drill/grinder when configured.
  • Collision-imminent blocks forward thrust / prefers brake.
  • Action catalog only — no arbitrary remote script execution.

Files

space_engineers_mod/          SE ModAPI scripts
SpaceEngineers.hpp/cpp        successor facade (smoke/map/twin/dry-run)
SpaceEngineersBridge.hpp/cpp  TCP server
SpaceEngineersRL.hpp/cpp      DQN + MathNN + plans + curriculum smoke
tests/fixtures/space_engineers/
docs/SpaceEngineersRL.md      this document

Quick offline test (no game)

se map
se smoke 8
se fixture
se twin
Generated from the project markdown docs on 2026-07-24. This is a static, self-contained site.