RAPID: Robot Agentic Programming from Demonstrations
RAPID turns one visual human demonstration into verified, reusable robot programs via an agentic coding loop.
RAPID generates, verifies, and refines robot programs from a single visual human demonstration by inferring a task specification, action primitives, and an interactive test environment. Programs are object-centric and relational: primitives are trajectory-optimization problems for object-level effects, composed with run-time geometric constraints. It is evaluated in simulation on eight contact-rich nonprehensile tasks and on LIBERO-Pro prehensile tasks, and deployed on a real Franka arm for all eight nonprehensile tasks. Results report generalization across object pose, shape, material, and environment.