Research ·
Fewer Tokens, Better Action: GPT-6 Astra Robot Agents with 14% Higher Success Rate but 65% Fewer Tokens
PyRUA-Lean is a code-execution framework for robot agents that cuts token use by 65% while raising success rates to 71.7% with a GPT-6 Astra planner, and an open 4B model trained on it beats a 27B baseline.

PyRUA-Lean is a new interactive code-execution framework for vision-language model robot agents, aimed at the token overhead caused by repeated LLM calls and redundant observations. Instead of tool calling, the agent composes robot primitives, including vision-language-action (VLA) policies, into Python cells that perform conditional checks and local retries, returning only the images and state feedback the agent explicitly requests for replanning.
Evaluated across 700 simulated task instances from LIBERO-PRO, RoboTwin 2.0, and RoboCasa365, the framework raises success from 63.1% to 71.7% compared to tool calling with the same GPT-6 Astra planner and primitives, while using 49% fewer LLM calls and 65% fewer input tokens on jointly solved instances. On RoboDojo, without any VLA policy or privileged information, it reaches a 51.6% average success rate (Score 58.2), 19.4 points above the top entry of the public leaderboard.
The authors also trained PyRUA-Lean Coder v0.1-4B, an open 4B model, with GRPO on just 45 LIBERO-PRO instances. It improves from 18.8% to 44.1% on unseen task instances, surpassing the Qwen3.5-27B base model. For builders, the result suggests that structuring agent control as local code loops with selective observation can cut costs substantially while improving task success, and that small open models can compete with much larger ones when trained on such a framework.
References
- Hugging Face · huggingface.co
Read the full story at Hugging Face ↗Like, save or discuss on Buzz