STATE OF AI.

See what AI can do now.

Robotics / Coding

AI-developed code guides a flying robot through a cabinet fetch

Fly-by-Code researchers report that programs refined in simulation opened cabinet doors and delivered a bottle in three of five laboratory trials.

Painted view from inside a cabinet toward a hovering machine whose articulated gripper reaches toward a bottle on the shelf.
AI-generated editorial illustration of a flying manipulator reaching into an imagined cabinet for a bottle. · AI-generated editorial illustration by State of AI

What happened

A flying robot fitted with an arm opened two cabinet doors, retrieved the bottle inside and carried it to a hanging basket, according to the Fly-by-Code research team. The full sequence succeeded in three of five physical trials. A second task, moving a hammer to a basket and a wrench to an upper shelf, succeeded in four of five. The team reports that the task programs were written and revised by AI coding agents in simulation, then executed on the real robot without changing their source code. They used current observations to guide their actions through shared robot functions, with sensing and control implementations adapted for the physical machine. The manuscript was submitted to arXiv on October 8.[1][2][3]

Why it’s interesting

Handling objects in flight combines two difficulties: arm movement and contact forces affect the flying machine, while a camera mounted at the wrist may lose sight of where an object ends up. An empty gripper alone cannot establish that a delivery succeeded. Fly-by-Code lets the coding agent write a separate inspection program after a simulated attempt. It can move to another viewpoint or test an interaction, gather evidence and use that information to revise the task program before another full attempt. In one simulation example, extra views revealed that tools had fallen; the subsequent code changed how they were released and placed, and the authors report completion on the fourth task execution. Earlier work, including Code as Policies, already used language models to compose robot programs. This project adds an attempt-specific diagnostic step to that approach for flying manipulation, connecting evidence gathering in simulation with programs subsequently run on hardware.[1][2][4][5]

Keep in perspective

The reported result depends on substantial preparation: researchers supplied the tasks, environment descriptions and robot functions, while planning software and flight controllers carried out the requested movements. The physical setup used external motion tracking and perception processing on a separate workstation. The failures also show where these sequences broke down. The team attributes one missed tool delivery to an incorrectly perceived basket position. In the cabinet trials, a gripper caught on a handle, and a grasped bottle blocked the wrist camera before a missed delivery. Five trials on each of two known laboratory tasks establish a limited experimental result. The diagnostic probing took place in simulation; the paper does not establish safe unrestricted probing on hardware or operation in wholly unfamiliar environments.[1][2]

Sources

  1. Fly-by-Code: Embodied Coding Agents for Aerial Manipulation with Active Visual and Physical Feedback (v1)Jaewoo Lee and coauthors / arXiv · Primary source
  2. Fly-by-Code — From code to flightFly-by-Code research team · Primary source
  3. arXiv:2610.12549 — submission and version recordarXiv / submitting authors · Primary source
  4. Code as Policies: Language Model Programs for Embodied ControlJacky Liang and coauthors / Robotics at Google · Primary source
  5. Aerial Manipulation Using Hybrid Force and Position NMPC Applied to Aerial WritingDimos Tzoumanikas, Felix Graule, Qingyue Yan, Dhruv Shah, Marija Popovic and Stefan Leutenegger / arXiv · Primary source
Back to all stories