ACAP: Asynchronous Coding Agents for Efficient Robot Control

TL;DR ACAP gives each part of a robot (an arm, or the torso and chassis) its own coding agent so they reason and act in parallel, while a lead agent delegates work or takes over coupled actions. Across 72 real-robot rollouts in 25 task/platform settings it cuts task-balanced time by 28.2% compared with a single coding agent.
What they do
Coding-agent policies write and revise robot-control programs while the task runs. When one agent controls the whole robot, every decision goes through the same reasoning loop, so diagnosing a failed grasp on one arm stalls independent work on the other. ACAP turns one robot into a team of persistent coding agents, one per control group, plus a coordinating agent that decides when to delegate and when to act directly.
How it works
- Members. Each member observes, reasons, writes code and executes for its own group at its own pace, using a lighter reasoning setting than the lead.
- Hyper-agent. The lead assigns and revises objectives, sets dependencies, grants access to shared workspaces such as a vase, and can take over several groups for a coupled action like a shared towel fold. It gets no task graph and decides from feedback.
- Scaffolding. Each member keeps its context across handoffs. Messages wait in buffers until they are acknowledged, agents can wait on events, and each group has one command owner at a time. Handoffs keep the controller targets, so held objects are not released.
Results
All on real robots: a Galaxea R1 Pro and four AgileX PiPER/PiPER-X dual-arm setups.
- 72 rollouts, 25 settings: 13.67 min mean time against 19.04 min for single-agent Direct (28.2% lower); physical-progress AUC 72.9 against 62.3.
- Eight collaborative settings: 13.75 min, against 26.02 min for Fixed Delegation (members only, no lead takeover) and 16.25 min for Direct.
- 90 repeated trials on six tasks: lower mean time than Direct on all six (29.4% overall). On the two collaborative tasks ACAP completes 10/10 runs, Direct 8 and Fixed 3.
- Timing traces credit most of the gain to overlapping reasoning across agents, not to simultaneous arm motion.
Limitations
No motion-level collision checking; collision avoidance rests on the agents’ reasoning. ACAP was slower than Direct in 2 of the 25 settings (grid sorting, basket lift), and its mean time per task still ranges from 6 to 29 minutes.
Figures




Abstract
Coding agents can construct and revise robot behavior during execution, but using one agent for the whole robot can delay otherwise independent work. We introduce Asynchronous Coding Agents as Policy (ACAP), an asynchronous framework that organizes one robot as a team of persistent agents. Each member reasons and acts for a configurable control group, such as an arm with its gripper or the torso and chassis, enabling asynchronous reasoning and execution. However, different robot components often have physical dependencies that require coordination. To address this challenge, ACAP introduces a hyper-agent that assigns tasks, coordinates dependencies, and dynamically allocates control between the lead and member agents. This allows independent work to progress concurrently while supporting tightly coupled manipulation when necessary. Across 72 real-world rollouts covering 25 task/platform settings, ACAP reduces task-balanced time cost by 28.2% compared with a single-agent Direct Policy, with improvements across Fully Parallel, Parallel-Sequential, and Collaborative tasks. Across all eight Collaborative settings, ACAP also achieves lower mean time cost than Fixed Delegation, where only member agents can control their assigned groups. An additional 90-rollout study shows lower mean 30-minute-capped time cost than Direct on all six tasks. We further demonstrate mobile manipulation using the same member interface for chassis and torso control. We present the framework and a real-world rollout dataset containing observations, generated programs, actions, and feedback to support research on how coding agents reason and act in the physical world.
Summaries are written automatically from each paper's text. Figures and videos come from the paper and its project page; all credit goes to the authors.
