TL;DR
The Agent as Policy (AGP) framework bypasses task-specific training by placing a general-purpose Multimodal Large Language Model (MLLM) agent directly in the robot's runtime execution loop. By autonomously writing local Python code, interpreting visual feedback, and adapting to physical failures on the fly, the agent achieves high zero-shot success rates across complex manipulation tasks like assembly and bimanual towel folding.
What Problem Does This Paper Address?
Current approaches to agentic robotics generally fall into two camps: generating executable code entirely in advance, or using an LLM to orchestrate a fixed library of pre-trained, low-level policies. Both have significant drawbacks. Upfront code generation is brittle because it cannot easily anticipate real-world uncertainties or physical failures. Conversely, policy orchestration limits the robot's physical capabilities to whatever actions the underlying pre-trained policies were originally taught to perform.
Physical manipulation requires continuous flexibility. If a robot fails to insert a peg into a hole, it needs to be able to take a closer look, re-estimate the alignment, or change its approach angle. The authors introduce AGP to give the agent full autonomy over perception, motion generation, and error recovery at the exact moment new physical evidence becomes available.
Methods
AGP connects a general-purpose coding agent (such as GPT-6 Astra) to a physical robot via an Agent-Robot Bridge. The workflow operates in two distinct phases:
- Task Preparation: A separate preparation agent reads the user's high-level request (e.g., a video demonstration or goal image) and generates a reusable task definition outlining goals, constraints, and completion criteria.
- Task Execution: At runtime, the execution agent enters a continuous loop. It interacts with the environment by writing and executing local Python scripts that process RGB-D data from overhead and wrist-mounted cameras, perform geometric calculations (like surface fitting and triangulation), and call low-level robot commands (
move_ee,move_joints,gripper).
Crucially, the framework includes a persistent workspace where the agent can save its measurements, successful scripts, and error-correction strategies. This allows the system to accumulate experience across repeated trials or transfer knowledge between different models.
Datasets
The framework was evaluated directly on real-world physical platforms across five distinct task groups designed to test specific agent capabilities:
- Video-guided assembly: Assembling eight precision-mating parts into four pairs, adapted from the AutoMate dataset, based on a human video demonstration.
- Image-guided block construction: Building a pyramid, two towers, or a six-block tower matching a static goal photograph.
- Dice flipping: Reorienting six randomly placed dice to show a specific number face-up based on language instructions.
- Targeted throwing: Executing a dynamic joint swing and timed gripper release to throw a potato into a bowl.
- Bimanual towel folding: Coordinating two arms to reproduce folds from a video demonstration of a deformable object.
Key Insights and Ideas
- Code as a Dynamic Tool: Instead of treating code generation as a static plan, the agent uses Python as a live calculator. It writes scripts to dynamically resolve spatial geometry based on real-time sensor data, closing the gap between high-level reasoning and low-level control.
- Reasoning is the Bottleneck, Not Motion: Time allocation analysis revealed that the physical movement of the robot takes up a fraction of the total execution time. The vast majority of the time is spent in the "visual loop"—the agent observing the scene and deciding what to do next.
- Strong-to-Weak Knowledge Transfer: A powerful, expensive model (e.g., GPT-6 Astra) can be used to "discover" the correct geometric code and strategy for an unfamiliar task. Once saved to the workspace, this frozen experience can be handed off to a weaker, cheaper model (e.g., GPT-5.6 Terra), drastically improving the weaker model's success rate while lowering inference costs.
Key Results
The main quantitative results across the manipulation tasks are detailed in the paper's primary evaluation table:
- Zero-Shot Success: AGP achieved remarkable zero-shot performance without any environment-specific training, succeeding in 8/10 trials for four-pair assembly, 10/10 for dice flipping, and 29/30 across the block construction configurations.
- Efficiency via Experience Accumulation: When allowed to reuse its own saved files over 5 consecutive cycles of the two-pair assembly task, the agent's execution time decreased by 29.3%. This gain was driven entirely by a 47% reduction in reasoning latency as the agent reused validated programs.
- Successful Cross-Model Transfer: Seeding GPT-5.6 Terra with frozen experience files from GPT-6 Astra caused Terra's success rate to jump from 1/5 to 4/5, while simultaneously slashing its mean completion time by 34.3% and reducing token usage.
Limitations and Future Work
Despite its high autonomy, AGP faces significant hurdles before it can be deployed practically:
- High Latency and Cost: Successful trials often took between 20 to 50 minutes and cost upwards of $10–$24 in API tokens per run. Real-time operation will require much faster inference speeds and smaller, specialized models.
- Deformable Object Coordination: While sequential towel folding succeeded perfectly, simultaneous bimanual folding (requiring tight temporal coordination of both arms on a flexible material) dropped to a 3/5 success rate.
- Safety Risks: Granting an LLM the power to write and execute arbitrary code on physical hardware introduces risks of collisions or joint damage. The authors mitigated this using strict workspace bounding boxes in the robot runtime, but more robust, independent safety verification mechanisms are needed.
Summary updated