RAPID: Robot Agentic Programming from Demonstrations
cs.RO, cs.AI, cs.CV
Submitted: 2026-09-24
Updated: 2026-09-24
Project page: https://yuyaoliu.me/projects/rapid
License: http://creativecommons.org/licenses/by/4.0/
The gist: Coding agents have demonstrated enormous success in solving complex programming problems.
Terminology
Abstract
Coding agents have demonstrated enormous success in solving complex programming problems. To leverage their potential for robot systems, this work introduces Robot Agentic Programming from Demonstrations (RAPID), which automatically generates, verifies, and refines robot programs, given a single visual human demonstration. The iterative agentic loop of code refinement requires several key ingredients: (i) a testable task specification, (ii) action primitives for robot execution, and (iii) an interactive environment for program execution and verification. RAPID infers all three from the demonstration automatically. To make the resulting program reusable beyond the demonstration setting, RAPID uses an object-centric relational program representation that focuses on the underlying structure of the demonstrated strategy rather than the specific motion per se: it expresses the action primitives as trajectory-optimization programs that realize object-level motion effects, while composing them through relational constraints that capture scene-specific geometry at run time. We evaluated RAPID in simulation on eight challenging contact-rich nonprehensile manipulation tasks as well as general prehensile manipulation tasks in the LIBERO-Pro benchmark. We also successfully deployed it on a real Franka arm and evaluated on all eight nonprehensile tasks. In all experiments, RAPID demonstrated strong performance, with generalization over object pose, shape, material, and environment. Website: https://yuyaoliu.me/projects/rapid.
Sources
- GaP: A Graph-as-Policy Multi-Agent Self-Learning Harness For Variational Automation Tasks
- ENPIRE: Agentic Robot Policy Self-Improvement in the Real World
- ASPIRE: Agentic /Skills Discovery for Robotics
- AgentCoder: Multi-Agent-based Code Generation with Iterative Testing and Optimisation
- LIBERO-PRO: Towards Robust and Fair Evaluation of Vision-Language-Action Models Beyond Memorization
- RoboClaw: An Agentic Framework for Scalable Long-Horizon Robotic Tasks
- Playful Agentic Robot Learning
- Rational Inverse Reasoning: Few-Shot Imitation by Inferring Intent through Planning
- $\pi_{0.5}$: a Vision-Language-Action Model with Open-World Generalization
Related papers
- FMT x: An Efficient and Asymptotically Optimal Extension of the Fast Marching Tree for Dynamic Replanning
- MPCFormer: A physics-informed data-driven approach for explainable socially-aware autonomous driving
- RoboLab: A High-Fidelity Simulation Benchmark for Analysis of Task Generalist Policies
- ARC: A Reasoning Recipe for Robot Foundation Models
- HRDexDB: A 4D Dexterous Grasping Dataset Across Human and Multiple Robot Embodiments
- APT: Action Expert Pretraining Improves Instruction Generalization of Vision-Language-Action Policies