ACAP: Asynchronous Coding Agents for Efficient Robot Control

Zexin He, Rui Li, Yushi Lan, Chengkai Jin, Zhi Hou, Xingang PanarXiv 2026

TL;DR

Imagine a robot with two arms: if the "brain" is busy troubleshooting a tricky grasp with the left hand, the right hand shouldn't have to sit idle waiting for its turn to think. ACAP (Asynchronous Coding Agents as Policy) solves this by turning a single robot into a team of specialized agents that think and act in parallel, coordinated by a "Hyper-agent" that knows when to let them run wild and when to step in and lead. This approach slashes task completion time by over 28% in real-world tests.

What Problem Does This Paper Address?

We are entering the era of "coding agents"—Large Language Models (LLMs) that control robots by writing and revising code on the fly. It’s a powerful paradigm, but it has a major bottleneck: reasoning takes time.

In most current systems, a single agent manages the entire robot. If the robot needs to perform a complex bimanual task, the agent processes observations and generates code for both arms sequentially. While the LLM is "thinking" about the left arm's next move, the right arm is often frozen. This "reasoning-induced seriality" makes robots slow and inefficient.

However, you can't just give each arm its own independent brain and hope for the best. Robots are single physical entities; arms can collide, or they might need to work in perfect synchrony to lift a heavy box or fold a towel. The challenge is balancing asynchrony (letting parts work independently) with coordination (ensuring they don't fight over the same space or drop the ball during a handoff).

Methods

The authors introduce ACAP, a framework that organizes a robot as a team of persistent agents:

  1. Member Agents: Each is assigned to a "control group" (e.g., the left arm, the right arm, or the mobile base). They run their own independent loops: Observe $\rightarrow$ Reason $\rightarrow$ Code $\rightarrow$ Execute. This allows one arm to plan its next move while the other is already moving.
  2. The Hyper-agent: This is the "Project Manager." It observes the high-level state and decides how to distribute the workload. It can delegate a sub-task to a member, or, for tightly coupled actions (like a coordinated two-handed fold), it can take over and control multiple groups directly.
  3. Framework Scaffolding: To make this team work, the authors built four key mechanisms:
  4. Persistent Contexts: Agents remember their history and code even when control is handed back and forth.
  5. Message Buffers: Asynchronous communication so agents don't have to wait for a "reply" to keep working.
  6. Event-based Waits: Synchronization points (e.g., "Don't put the flower in the vase until the other arm has moved away").
  7. Exclusive Ownership: A safety mechanism ensuring only one agent can command a specific motor at any given time.
The ACAP architecture showing how the Hyper-agent coordinates independent member loops.

Datasets

The researchers didn't just stick to simulations. They evaluated ACAP using:

  • 72 real-world rollouts across 25 different task/platform settings, using robots like the Galaxea R1 Pro and AgileX PiPER.
  • A new open-source dataset: They released a dataset of 162 rollouts containing raw observations, the actual Python code generated by the agents, and the physical feedback received. This is a goldmine for anyone studying how LLMs reason about the physical world.

Key Insights and Ideas

  • Parallel Thinking > Parallel Moving: The timing analysis revealed that the biggest efficiency gains didn't come from the robot moving its arms faster, but from overlapping reasoning. While one arm is executing a move, the other arm's agent is already "thinking" about the next one.
  • The "Lead" is Essential for Collaboration: The authors compared ACAP to "Fixed Delegation" (where members always control their own arms). Fixed delegation actually performed worse than a single agent on collaborative tasks because the overhead of two agents trying to talk to each other to coordinate a single lift is higher than just having one brain do it. ACAP wins because the Hyper-agent can stop the "meeting" and just take the wheel when things get complicated.
  • Dynamic Role Switching: As seen in Figure 1, the robot can switch from "Parallel Preparation" (both arms working independently) to "Lead Takeover" (Hyper-agent driving both for a fold) seamlessly.
Timeline of ACAP coordinating a vase insertion and a towel fold.

Key Results

  • Speedup: ACAP reduced the task-balanced time cost by 28.2% compared to a standard single-agent policy.
  • Consistency: In repeated trials, ACAP was consistently faster. For example, in a "wipe and arrange towels" task, every single ACAP trial finished before the fastest trial of the single-agent baseline.
  • Success in Complexity: ACAP was the only policy to successfully complete the "Bottle Opening" task, which requires one hand to stabilize while the other twists—a classic coordination challenge.
Figure 1: Asynchronous reasoning with agent-directed coordination. Left: Schematic timelines show parallel preparation with ordered vase access, and lead takeover followed by delegated finishing for towel folding. Top right: Mean physical progress and time cost across six tasks, with five trials per policy. Bottom right: Task- level time comparisons between Direct and ACAP in the task-coverage and repeated-trial studies.

Limitations and Future Work

The authors are upfront about a few hurdles:

  • Policy-Level Collision Avoidance: Currently, the agents avoid collisions by "reasoning" about them (e.g., waiting for a clearance report). There isn't a dedicated, low-level geometric collision-checking layer. If the LLM makes a spatial math error, the arms could still bump into each other.
  • Complexity of the Hyper-agent: As the number of robot parts increases (imagine a humanoid with fingers, head, and legs), the Hyper-agent's job becomes exponentially harder.
  • Future Directions: Integrating a dedicated motion-level safety layer and exploring even more diverse physical roles (like sensors or specialized end-effectors) as team members.

Summary updated

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.
BibTeX
@misc{he2026acap,
  author = {Zexin He and Rui Li and Yushi Lan and Chengkai Jin and Zhi Hou and Xingang Pan},
  title = {{ACAP: Asynchronous Coding Agents for Efficient Robot Control}},
  year = {2026},
  eprint = {2611.31205},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31205},
}
Figure