Robots and spacecraft have long been commanded with scripts: fixed sequences of commands that say what to do and when. Scripts are easy to write, but they record neither why each step is there nor how much its timing may vary, so the agent cannot adapt when an action runs long, and cannot tell when something has gone wrong.
This lab introduces participants to the Reactive Model-based Programming Language (RMPL), and through it gives a tour of how several programming paradigms come together to make cognitive agents easier to design, while giving programmers richer ways to specify their behavior. We cover four. Goal-directed programs state what should become true, not how to make it true. Monitorable programs declare conditions and effects, which let the executive detect a failure the moment an assumption breaks. Temporally flexible programs bound uncertain durations and are scheduled online as events unfold. Non-deterministic programs offer alternatives and leave the choice to a planner. Each paradigm hands more of the work from the programmer to the executive, and each rests on algorithms participants will see at work: temporal networks with uncertainty, causal-link monitoring and Conflict-Directed A*.
The lab is half lecture and half coding. The lecture introduces each paradigm and the reasoning behind it. In the hands-on session, participants program a two-robot mission in a Jupyter notebook, starting from a timed command script and adding one paradigm per stage, and watch the Janeway executive plan, schedule and monitor it on simulated robots. Programs are compiled by Tanagra, our RMPL compiler, and checked before they run, so an infeasible program is rejected with the specific constraints that conflict. Everything runs on participants' own laptops in Docker, with no ROS installation or robot hardware, and the same programs run unchanged on physical TurtleBot3 robots.
Is this lab for me?
If you are interested in building cognitive agents, this lab is for you. It suits planning and scheduling researchers who want to see their plans executed, and roboticists who want task-level autonomy without hand-coding sequencing, timeouts and failure checks. It also suits anyone building agents, embodied or driven by large language models, who wants a program representation that an executive can check, schedule and monitor. Participants leave with a working, MIT-licensed RMPL toolchain they can take back to their own research and teaching.
What background is required?
General familiarity with AI and with programming. No background in planning, temporal reasoning, ROS or Lisp is assumed.