A common language for robotic tasks · open source · language 1.1 to 2.4

00 robots moved
01 goal verified

Write, validate and simulate structured robot tasks. Built for developers and AI systems. No hardware required.

RoboLang describes what a robot should do in a small, typed, human-readable text format: what must be true before it starts, the goal it must achieve, the steps and the safety limits. A run succeeds only when the goal is verified in the final world, not merely because the steps ran.

pip install robolang

Run departures · examples/handover.rob

Simulation only · world.json

StepActionRobotTargetCheckStatus
PRE CHECK arm, mobile robot_ready · object_exists box pre Holds
01 MOVE arm src ≤ 0.5 m/s Done
02 GRASP arm box gripper Done
03 MOVE arm handoff ≤ 0.5 m/s Done
04 PLACE arm box at handoff — Done
05 COMMUNICATE arm "fleet" · BOX_AT_HANDOFF — Done
06 WAIT UNTIL — region_clear zone · 30s condition Done
07 MOVE mobile handoff ≤ 0.5 m/s Done
08 GRASP mobile box gripper Done
09 MOVE mobile dst ≤ 0.5 m/s Done
10 PLACE mobile box at dst — Done
GOAL OBJECT_AT — box dst goal Verified

Same task, world and seed give the same run record · fails closed on a false or unknown precondition run sim-70f08163c77b… · SUCCEEDED

Gate 01

How a task flies

Nothing it does reaches a robot. Every stage is static or symbolic, and each one can stop the task with a clear message.

Robot tasks are often written as ad hoc scripts or free-form text. A typo, a missing argument or a name that was never declared is found late, usually when something is already running. That gets worse when the task text is produced by a language model instead of a person.

RoboLang's purpose is to give a task a precise written form with a published grammar, so that tools can reject a malformed task with a clear message and hand a well-formed one to other software as structured data.

  1. Write

    Author the task

    A person or a model writes a .rob file: typed parameters, pre, goal, plan and @safety.

    robolang reference

  2. Validate

    Check the text

    Syntax, names, types and values. Every problem is reported, not just the first.

    robolang validate

  3. Pre-flight

    Check the world

    A speed above a robot's profile, a grasp without a gripper, a sensor on another robot.

    validate --world

  4. Simulate

    Run it symbolically

    A deterministic run record with a run ID. The same inputs always give the same record.

    robolang simulate

  5. Verify

    Goal or nothing

    Success means every goal condition is true in the final world. A missed goal fails the run.

    SUCCEEDED · FAILED (S301)

Gate 02

A task is a ticket

Small, typed and human-readable. Tools reject a malformed task with a clear message and hand a well-formed one to other software as structured data.

Task · handover

examples/handover.rob
// examples/handover.rob
// An arm places a box at a handoff point; a mobile robot picks it up once the zone is clear.
robolang 1.3;

task handover(robot arm, robot mobile, object box, location src, location handoff, location dst, region zone) {
    @safety max_speed 0.5 m/s;

    pre {
        robot_ready arm;
        robot_ready mobile;
        object_exists box;
    }

    goal {
        object_at box dst;
    }

    plan {
        move arm to src;
        grasp arm box;
        move arm to handoff;
        place arm box at handoff;
        communicate arm to "fleet" with "BOX_AT_HANDOFF";
        wait until region_clear zone timeout 30s;
        move mobile to handoff;
        grasp mobile box;
        move mobile to dst;
        place mobile box at dst;
    }
}
Language
1.3
Robots
2
Plan steps
10
Speed limit
0.5 m/s
Goal
object_at box dst
$ robolang validate examples/handover.rob
examples/handover.rob: valid RoboLang 1.3 (1 task)
Validation covers the text of the program only. It does not make a task safe to run on a robot.
$ robolang simulate examples/handover.rob --world examples/world.json
simulation only: run sim-70f08163c77bb0d98b645068d07b66f7c501d3d30d82ab2b7ba8b2ed059f4fd0: SUCCEEDED
Distribution
0.11.0
Language
1.1 to 2.4
IR schema
1.0 to 1.12
Python
3.11+
License
Apache-2.0

Gate 03

What works today

Distribution 0.11.0 is on PyPI. It installs one command, robolang, needs Python 3.11 or newer and has no other dependencies. Nothing it does reaches a robot.

Capabilities

6 available · 2 experimental, simulation only

CodeCapabilityCommandWhat it doesStatusSee
Write robolang reference Languages 1.1 to 2.4: goals (1.3), branching (1.4), failure handlers (1.5), measured values (1.6), region limits (1.7), declared actions (1.8), clock readings (1.9), missions (2.0), incoming messages (2.1), more measured kinds (2.2), choosing at run time (2.3) and the robot's own charge (2.4). Available Reference →
Start robolang example Writes a sample task and a world file for it, so the first validate and simulate work from PyPI alone. Available Get started →
Validate robolang validate Checks syntax, names, types and values. Every problem as file:line:column with a stable code. Available Diagnostics →
Pre-flight validate --world Failures a run would certainly hit in that world, before anything runs. Available Get started →
Inspect robolang inspect What a valid file describes, as text or JSON: Task IR 1.0 to 1.12, Mission IR 1.0 to 1.4. Reads Task IR back with --ir. Available JSON IR →
Simulate robolang simulate Runs a validated task, or with --mission a bounded mission, against a world file. Fails closed; succeeds only on a verified goal. Same inputs, same record. Available A goal checked →
Delegate robolang delegate Sends a task's goal, never its plan, as a signed Core message (0.1 by default, 0.2 with --core 0.2); success only after re-checking evidence. Experimental A delegation →
Exchange robolang arch02 Core 0.1 reference scenario (A2R and R2R) in one process. Gate 1 of RL-ARCH-02 passed on 2026-10-27. Experimental Reference simulation →

Future: real transports, independent implementations, physical robots and richer world models. None of these is in the package. Vision & roadmap →

Gate 04

What it does not do

These limits are deliberate for the developer preview. Please read them before you start.

Robot execution Not available
It does not run tasks on robots. Nothing in the supported package moves a robot. simulate and arch02 track symbolic facts only: no motion planning, kinematics, collisions or physics.
Safety enforcement Not available
It does not enforce safety. @safety limits are checked against the simulated robot profile and reported in the run record, never enforced. pre conditions are evaluated only against the symbolic world file. Region limits (1.7) are requests, checked and recorded the same way. A file that validates, or a run that succeeds in simulation, is not thereby safe to run on hardware. Physical mode is not enabled: even a valid, signed physical-run authorization chain ends in A731.
Interoperability Experimental
It is not a robot protocol. Core 0.1 and 0.2 are drafts, exercised in simulation only. An independent Core 0.2 implementation passed the Gate 2 interoperability test on 2026-11-10, through a test binding between processes. There is no network transport. Signatures are simulation-only by default; real Ed25519 signatures are an optional extra (robolang[ed25519]). A valid Core message is never permission to operate a robot. See the Core 0.1 and Core 0.2 specifications.
ROS 2 Not supported
The installed package has no ROS 2 integration. A separate, experimental ROS 2 backend runs .rob tasks in the Gazebo physics simulator in the core repository's CI; it is not part of pip install robolang and never drives hardware. See the roadmap. The early v1 prototype is kept as historical source, never validated and not supported; its ROS 2 adapter was removed.
AI generation Not included
It does not generate tasks with AI. The language is designed to be easy for language models to write, and the core repository benchmarks how well models write it, but no model is included. The planners in delegate and arch02 are scripted stubs.
Release Alpha
It is an alpha. Version 0.11.0 is published on PyPI. Details may change between versions.

Gate 05

Who it is for

Robotics developers, ROS 2 engineers and researchers who want to experiment with a checkable task format, including as a target for tasks written by language models. Feedback on the language and the tools is the main thing the project needs right now.