ACAP: Asynchronous Coding Agents for Efficient Robot Control
This arXiv preprint introduces ACAP, which lets separate coding agents plan and act for different parts of one robot while a lead coordinates shared work. Across 72 real-robot runs in 25 task and platform settings, ACAP cut task-balanced time cost by 28.2% versus the single-agent Direct Policy. Independent preparation can continue while the lead manages access to shared objects or takes control of both arms.
Can coding agents assigned to different parts of one robot reduce task time while adapting to the physical dependencies of two-arm manipulation?
A single coding agent can send simultaneous motion commands, but diagnosing a failed grasp can delay an unrelated decision for the other arm. Splitting the work creates a different bottleneck when both arms need the same space or one arm's recovery changes the object the other is handling.
Code as Policies expresses robot behavior as executable programs, and CodeAct uses code as the agent's action interface. The Direct Policy baseline puts planning and recovery for the whole robot in one agent session. Fixed Delegation distributes that work and lets a lead synchronize it, but command ownership stays with the members, so closely coupled movements depend on messages and waits.
ACAP gives each control group a persistent agent that observes, writes code and acts asynchronously. Buffered messages and event-based waits let members keep preparing while a shared action is pending. A hyper-agent assigns work from feedback and can transfer exclusive command authority to the lead for coupled moves. The trials used Astra at xhigh reasoning for Direct and the lead, and medium for members, with fresh sessions per run. Hardware included a Galaxea R1 Pro 2025 and four AgileX PiPER-family setups, including PiPER and PiPER-X. The rollout dataset links observations, generated code, agent messages, actions and feedback.
In 72 real-robot runs across 25 settings, ACAP vs Direct averaged 13.67 vs 19.04 min with settings weighted equally and a 30 min minimum for noncompletion. Physical-progress AUC over 30 min was 72.9 vs 62.3 on a 0 to 100 scale. Time was lower in all three dependency categories. Across eight Collaborative settings, ACAP was faster than Fixed Delegation in each, averaging 13.75 vs 26.02 min and 70.8 vs 36.3 AUC. Direct averaged 16.25 min and 56.9 AUC on that subset. A separate 90-run real-robot study covered six tasks with five runs per task and policy. Mean 30 min-capped cost was 15.14 min for ACAP, 21.43 for Direct and 23.73 for Fixed Delegation. ACAP cut cost by 29.4% vs Direct, with lower mean cost on all six tasks and higher AUC on five. Across towel folding and milk carton lifting, ACAP completed 10 of 10 runs, Direct completed 8 and Fixed Delegation completed 3.
The repeated study used five runs per task and policy. The Direct comparison includes a change in reasoning settings, since ACAP members use a lighter configuration. The study benchmarks coding-agent variants, and compute spend was not reported in the paper. Mobile manipulation was illustrated with a flower collection task on one Galaxea R1 Pro.
Dual-arm robot makers and automation integrators could pilot ACAP for mixed tasks with shared workspaces in 1 to 3 years. Production use would depend on repeatable cycle times, safe control handoffs and acceptable inference costs on the target hardware and workloads.
The full text is not republished here because the paper's license does not allow it. Read the original on arXiv.