Abstract
Traditional robot programming is notoriously challenging: it requires orchestrating multimodal perception, managing complex physical contact dynamics, and handling diverse environment configurations and execution failures. We introduce ASPIRE (Agentic Skill Programming through Iterative Robot Exploration), a continual learning system in which a coding agent writes and refines robot control programs and compounds validated fixes into a reusable skill library. ASPIRE combines (1) a closed-loop robot execution engine that exposes per-primitive multimodal traces for failure diagnosis and repair validation, (2) a skill library that distills validated repairs into transferable knowledge, and (3) evolutionary search that explores beyond single-trajectory refinement. ASPIRE surpasses prior methods by up to 77% on LIBERO-Pro, 72% on Robosuite's bimanual handover, and 32% on BEHAVIOR-1K, and its skill library transfers zero-shot to unseen LIBERO-Pro Long tasks (31% versus 4% for prior coding agents). ASPIRE improves as models get stronger: with Claude Opus 5.5 it nearly saturates these benchmarks, reaching 99% average success across all 80 LIBERO-Pro tasks and 100% on representative Robosuite and BEHAVIOR-1K tasks. On real robots, skills discovered in simulation reduce programming effort despite different embodiments and robot APIs, and skills learned online let ASPIRE solve a Rubik's Cube with progressively improving efficiency.