Skip to content

A General Agent That Can Read Images and Write Code: Can It Perform Robot Operations? CodeActionBench Released

CodeActionBench is a study that evaluates the performance of general multimodal agents in robot operation tasks, testing the strategy generation and execution capabilities of multiple models through a dual-arm simulation environment. The study highlights Astra's advantages in task success rate and code error rate, and analyzes differences in task coverage, execution trajectories, and completion judgment across different configurations.

Translation is incomplete. Read the original source for full text.

From visual observation to strategy generation, physical execution, and completion judgment, CodeActionBench evaluates the robotic manipulation capabilities of general-purpose multimodal agents under unified conditions. In dual-arm simulation evaluations,

the attempt success rate of GPT-6 Astra (Codex CLI) was

rate reaches

73.3%

Claude Opus 5 achieved

49.3%

and the

45.3%

.

Paper title: CodeActionBench: Evaluating Agentic Code-as-Policy for Embodied Manipulation

Project homepage: https://codeactionbench.org/

GitHub:https://github.com/lyhkk/CodeActionBench

arXiv:https://arxiv.org/abs/2609.33807

Figure 1|Astra generates code based on observation, then adjusts and retracts the action based on execution feedback to complete the stacking task.

Figure 2|After failed grasping, Astra re-observes, corrects the grasping posture, and then completes the dual-arm transfer and placement.

General-purpose multimodal models can understand images, generate code, and also modify plans based on tool feedback. When these capabilities are integrated into robotic operations, can they collectively support a complete sequence of grasping, transportation, and placement?

Researchers from Nanyang Technological University and collaborators proposed

CodeActionBench, establishing 25 dual-arm simulation tasks around this question, and conducted 675 attempts with 9 models and runtime framework configurations. The attempt success rates of each configuration ranged from 2.7% to 73.3%, and the execution trajectories revealed the capability differences behind the overall scores.

"Let general agents convert visual observations into operational strategies on their own, and validate this process with physical results."

Agents independently select visual evidence, estimate 3D targets, write and revise programs, and the evaluation simultaneously checks task results, intermediate progress, and completion judgment.

Shared interface, leaving task decision to the agent

The extent to which the interface provides assistance directly determines what capability is evaluated. If the system already provides object poses, grasping candidates, or complete skills, the work the model carries out is clearly different from constructing action goals from observations on its own.

Figure 3|The shared robot interface and evaluation process of CodeActionBench.

CodeActionBench is based on RoboTwin 2.0 and SAPIEN, using the ALOHA-AgileX dual-arm robot. Evaluation

does not perform task-specific fine-tuning, nor does it provide task demonstrations, specialized perception or grasping module outputs, privileged scenario states, or preset task strategies.

The shared API provides RGB images, camera calibration, robot state, contact feedback, as well as geometric calculations and restricted motion execution. Agents independently select observation perspectives and visual goals, build 3D estimates, and then construct operational positions and postures. Inverse kinematics, motion planning, and low-level control are handled by the shared infrastructure.

"Tools handle the computation and execution, while task decision is left to the agent."

Agents can directly call tools, or use run_code to write computation, branching, loops, and multiple actions as Python programs, and then re-observe, revise goals, or adjust actions based on actual feedback.

Both success rate and task coverage are considered

Each task has a fixed scene instance, and each configuration attempts three times per task, totaling 75 attempts. Task conditions, robot interface, and resource budget remain consistent. Seven configurations use Reference harness, while the other two use Claude Code and Codex CLI. The harness manages the conversation context, organizes tool calls, and feeds the execution results back to the model. Therefore, the comparison objects are

combinations of models and harnesses.

An independent hidden verifier checks the physical results, and the scores are not returned to the agent. The agent's completion judgment is separately recorded and then verified against the actual results.

Figure 4|Attempt success rates and task coverage of the nine agent configurations.

Figure 5|Representative execution snippets of the top three configurations across 25 tasks, prioritizing successful attempts.

Among the seven configurations using the shared Reference harness, Opus led, followed by Gemini 3.6 Flash with a 20.0% attempt success rate.

The success rates of the two Opus configurations differed by 4 percentage points, with task coverage of 19/25 and 14/25 respectively.

「

Beyond success rate, the ability to complete which tasks is also important."

Astra's performance demonstrates the potential of code-based strategy construction

Astra completed

55/75 attempts

on

22 tasks

with at least one successful attempt, among which

1

5 tasks

were successfully completed three times.

Fig. 6|Number of successful attempts in each task across three tries for each configuration.

"Without additional training of the VLA action head, a general Agent can complete operational tasks through code."

In this set of experiments, the Agent uses its existing visual, reasoning, and programming capabilities for target estimation, action construction, and strategy correction, generating programs during reasoning and executing them through the shared robot interface.

How programs are organized also affects performance. A single program submission can combine multiple tool calls, consuming only one external call quota, while internal movements still consume simulation time. The program submission ratio refers to the proportion of all tool calls counted toward the budget that are submitted through run_code. For the four configurations with the highest success rates, this ratio is

85.6%

to

9

2.6% , while the remaining five are 15.6% to 35.2% . Astra has the highest ratio, and its code error rate is also the lowest, at 0.46%(10/2,167) . Here, errors refer to Python exceptions and sandbox rejections, and are separately counted from robot action failures.

Fig. 7|Program usage ratio and code error rate for each configuration.

"The programming capability is reflected in the understanding of robot tools and their combination into effective operational strategies."

Compared to Opus (Reference), Astra has a total API equivalent cost 15.1% lower and a median single attempt duration 60.0% shorter, at 477.2 seconds. These comparisons are based on the same fixed scenario, with duration including model waiting and environment execution.

From "whether it succeeded" to "how far it progressed"

"In addition to the final success or failure, the progress during execution also needs to be measured."

CodeActionBench analyzes the execution trajectory from two levels through intermediate checkpoints (checkpoints): spatial checkpoints record whether the robot end-effector enters the relevant operational area, and sub-goal checkpoints record whether the stage requirements are met. Both types of coverage are statistically weighted equally across tasks.

The spatial coverage of the two Opus configurations is 73.6% and 73.4%, almost identical, but their task success rates and task coverage differ. Similar spatial progress can correspond to different operational outcomes. Combining object motion, release, and target state, one can continue to check at which stage the operation is blocked.

The study starts from uncompleted or later-failed sub-goals, combines spatial location, contact, object motion, and release records, and classifies each failure into the earliest stage with supporting evidence. Among 491 failures, 122 occurred where the robot had already reached the relevant area, yet failed to complete or maintain the corresponding sub-goal.

Fig. 8|Task results and failure stage distribution for each configuration.

"Whether the task is done" is also judged by the Agent itself

Autonomous operation also includes deciding when to stop. The Agent needs to judge whether the task is completed or whether it is no longer possible to continue based on observations and execution feedback, and then actively end the task and report success or failure through done. The hidden verifier independently scores, so

The Agent's self-judgment and the actual task results can be separately evaluated.

Fig. 9|Autonomous termination and completion judgment for the top three configurations.

Astra had 75 attempts, 68 correct judgments including correctly reporting success or failure. The ability to distinguish configurations is more evident in the judgment after failure: among Astra's 20 failures, 14 times clearly reported failure, 3 times incorrectly reported success. For Opus (Reference), among its 38 failures, the corresponding counts were 14 and 13. Attempts that did not make a statement before the budget was exhausted were counted separately and not considered as judgment errors.

"Being able to execute a strategy also requires the ability to recognize whether the strategy is effective."

This allows the evaluation to further examine whether the Agent can judge the outcome of an operation based on feedback and decide when to stop.

CodeActionBench links

task results, execution progress, and completion judgment

together, allowing researchers to compare overall performance and trace the formation of strategies and where they stop working along the trajectory. Subsequent methods can further test improvements in spatial estimation, program organization, and feedback utilization under the same interface and protocol.

Author Information

The authors include Yiheng Lyu (first author) from Nanyang Technological University, Xueying Jiang, Wenhao Li, Shijian Lu (corresponding author), and independent researcher Gongjie Zhang (corresponding author, CodeActionBench project leader). The team focuses on the robotic operational capabilities of general multimodal agents, studying how visual understanding, code generation, and execution feedback support autonomous operation.

© THE END

For republication, please contact this official account for authorization

For submissions or media inquiries: liyazhou@jiqizhixin.com

Source notes

  1. 会看图、会写代码的通用 Agent,能完成机器人操作吗?CodeActionBench 发布↩
Source evidence

Reported by the source; not independently verified.

Reported success rate
2.7%[5]

Not established in the collected evidence: Environment, Control, Data origin.

Reported performance applies to the described task. It does not establish general autonomy or deployment readiness.

  1. CodeActionBench 基于 RoboTwin 2.0 和 SAPIEN,采用 ALOHA-AgileX 双臂机器人。
    Exact source
  2. 在双臂仿真评测中, GPT-6 Astra (Codex CLI) 的尝试成功 率达到 73.3% ,Claude Opus 5 在 Reference harness 和 Claude Code 下分别取得 49.3% 和 45.3% 。
    Exact source
  3. 在共享 Reference harness 的七个配置中,Opus 领先,Gemini 3.6 Flash 以 20.0% 的尝试成功率位居其后。
    Exact source
  4. 各配置的尝试成功率从 2.7% 到 73.3%,执行轨迹则揭示了总体分数背后的能力差异。
    Exact source↩
  5. Astra 的占比最高,代码错误率也最低,仅 0.46%(10/2,167) 。
    Exact source
  6. 成功率最高的四个配置,该占比为 85.6% 至 9 2.6% ,其余五个为 15.6% 至 35.2% 。
    Exact source

Automatically extracted; no manual editorial approval recorded.

Article details
SignalEditorial score78

The paper evaluates a new benchmark method for embodied manipulation using code-as-policy on simulated robots.

Timezone · UTC

Article dates follow your selected timezone. Briefing editions use Hong Kong time (UTC+8).