RoboLang

RoboLang is a task language for robots, written mainly by AI systems and reviewed by people. A task declares what must be true before it starts, the goal it must achieve, the steps to take, and safety limits. RoboLang checks the task statically and runs it in a deterministic, symbolic simulation. A run succeeds only when the goal is verified in the final world, not merely because the steps ran.

⚠️ Simulation only. Physical robot execution is not implemented or authorized. RoboLang does not replace ROS 2, MoveIt 2, Nav2 or hardware safety controllers. Do not run it against real hardware.

The README has the full overview, command table and roadmap. A map of the documentation lists every specification and plan.

Quickstart

You need Python 3.11 or newer. No ROS 2, no robot, no other packages.

python -m pip install robolang
robolang reference          # the language reference: everything a task author needs
robolang example            # writes fetch.rob and world.json
robolang validate fetch.rob --world world.json
robolang simulate fetch.rob --world world.json

simulate prints simulation only: run sim-…: SUCCEEDED, then the run record as JSON. If the goal is false after the last step, the run fails (S301) even though every step ran.

Example task

robolang 1.6;

task fetch(robot r, object box, location src, location dst) {
    pre { robot_ready r; }
    goal { object_at box dst; }
    plan {
        move r to src;
        grasp r box;
        move r to dst;
        place r box at dst;
    }
}

A world file lists the locations, robots and objects and binds each task parameter to one of them (format). The language also has typed sensors (1.3), bounded if/else (1.4), step failure handlers (1.5) and measured values with units and uncertainty (1.6).

The simulator tracks symbolic facts only: no motion planning, kinematics, collisions or physics. @safety limits are checked against the robot profile and recorded, never enforced. A simulation result is not evidence that a task is safe on hardware.

Status

Area State
Language 1.1 to 1.9, validator, Task IR 1.0 to 1.8 Delivered; 1.4 to 1.8 accepted on benchmark sets 3 to 7 (1.8, declared actions, on set 7); 1.9 (clock readings) is built and taught in the repository, its acceptance run on set 8 is next
Symbolic simulation (simulate, validate --world) Delivered
Core 0.1 reference simulation Implemented, gate 1 signed off 2026-10-27
Core 0.2 Frozen 2026-10-30, opt-in with --core 0.2
Gate 2 independent interoperability Passed 2026-11-10: an independent Core 0.2 implementation passes 25/25 cases
.rob → Core bridge (export-goal, delegate) Delivered in simulation
ROS 2 / Gazebo backend Optional, repository only, simulation only; not part of the installed package
Physical execution Not implemented or authorized. Safety case in draft; authorization documents and chain check on main, unreleased, always refusing

Where to go next