The authors introduce PyRUA-Lean, an interactive code-execution framework that couples feedback-driven primitive composition with selective observation, letting the agent compose classical robot primitives and learned vision-language-action (VLA) policies into Python cells that perform conditional checks and local retries and return only explicitly requested images and state feedback for replanning; across 700 simulated task instances from LIBERO-PRO, RoboTwin 2.0, and RoboCasa365, compared with a tool-calling baseline using the same GPT-6 Astra planner and the same underlying robot primitives, it raises overall success from 63.1% to 71.7% under equal LLM-call budgets and, on instances solved by both agents, uses 49% fewer LLM calls and 65% fewer input tokens.
The authors introduce PyRUA-Lean, an interactive code-execution framework that couples feedback-driven primitive composition with selective observation, letting the agent compose classical robot primitives and learned vision-language-action (VLA) policies into Python cells that perform conditional checks and local retries and return only explicitly requested images and state feedback for replanning; across 700 simulated task instances from LIBERO-PRO, RoboTwin 2.0, and RoboCasa365, compared with a tool-calling baseline using the same GPT-6 Astra planner and the same underlying robot primitives, it raises overall success from 63.1% to 71.7% under equal LLM-call budgets and, on instances solved by both agents, uses 49% fewer LLM calls and 65% fewer input tokens.