File size: 9,617 Bytes
578663d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# EmbodiedSWE: Coding Agents for Long-Horizon Dexterous Robotics

<p align="center">
  <img src="docs/media/overview.jpg" width="100%" alt="EmbodiedSWE overview">
</p>

<p align="center">
  <a href="https://arxiv.org/abs/2609.27308"><img src="https://img.shields.io/badge/arXiv-2609.27308-b31b1b?style=for-the-badge&logo=arxiv&logoColor=white" alt="arXiv"></a>
  <a href="https://embodiedswe.github.io"><img src="https://img.shields.io/badge/Project%20Page-4c8eda?style=for-the-badge&logo=googlechrome&logoColor=white" alt="Project page"></a>
  <a href="#"><img src="https://img.shields.io/badge/Blog-coming%20soon-6f42c1?style=for-the-badge&logo=rss&logoColor=white" alt="Blog"></a>
</p>

EmbodiedSWE studies how frontier coding agents can help robotics. It has four parts:

- **EmbodiedSWE-Bench**, an agent-native benchmark of long-horizon, dexterous everyday tasks, built on Isaac Lab.
- **Evaluation** of frontier coding agents on these tasks: task performance, completion time, and inference cost.
- **EmbodiedSWE-Gen**, which diversifies one verified agent solution into a large trajectory dataset for training general robot policies.
- **Agent improvement**, which generates new tasks from existing ones and improves the coding agent with RL on verified outcomes.

See the [paper](https://arxiv.org/abs/2609.27308) for the full benchmark, evaluation, and data-generation details.

> **Note:** this repository is under active development. Folder layouts, interfaces, and settings
> may change as the codebase evolves.

## Installation

Requirements: Linux, an NVIDIA GPU with a CUDA 12.x driver, and [`uv`](https://docs.astral.sh/uv/).

```bash

git clone <this repo> && cd <this repo>

./scripts/bootstrap_isaaclab_5_1.sh      # Isaac Sim 5.1 + Isaac Lab 2.3.2 + robobench into ./.venv

source .venv/bin/activate

export OMNI_KIT_ACCEPT_EULA=YES               # Isaac Sim asks interactively otherwise (hangs headless runs)

# Optional: prefetch every task and room (~3.4 GB); otherwise env.build() fetches what it needs.

python -m robobench.scripts.fetch_assets

uv pip install "pin==2.7.0" "pin-pink==3.1.0" "daqp==0.8.5" "numpy==1.26.0"   # whole-body IK (pink_ik)

```

Task assets and shared rooms live in the Hugging Face dataset `EmbodiedSWE/robobench-assets`.
Building an environment automatically downloads its required asset groups and verifies their SHA-256
checksums against `robobench/assets_manifest.json`. Verified local copies are reused, including offline.
Listing tasks does not download anything. `fetch_assets --check` verifies the whole local collection.

Every built-in registered task configuration declares its default room in its suite's
`configs/envs.py`, including alternate robots and control modes. Shared loading code lives in
`robobench/core/rooms.py`; downloaded rooms live in the ignored `robobench/assets/rooms/` directory.
Use `--room none` with the smoke launcher or `cfg.build(room=None)` to disable scenery explicitly.
Set `COSIGEN_ASSET_DIR` before starting Python to use a writable cache outside the checkout.
See [task rooms and asset downloads](docs/rooms.md) for the room assignments and maintainer commands.

The `deformable` suite runs on the Newton physics backend and needs a separate venv; see
[`robobench/suites/deformable/README.md`](robobench/suites/deformable/README.md).

## Quick start

Preview a task:

```bash

python -m robobench.scripts.smoke --list                                          # all registered tasks

python -m robobench.scripts.smoke --env assembly.bulb.franka.osc --livestream 2   # random actions, live view

```

Tasks are named `suite.scene[.robot[.control_mode]]`. The environment API and design are described
in [`robobench/README.md`](robobench/README.md).

**A few examples from EmbodiedSWE-Bench:**

<table align="center">
  <tr>
    <td align="center"><img src="docs/media/bulb.gif" width="100%"><br><sub><code>assembly.bulb</code></sub></td>

    <td align="center"><img src="docs/media/ikea_table.gif" width="100%"><br><sub><code>assembly.ikea_table</code></sub></td>

    <td align="center"><img src="docs/media/so101.gif" width="100%"><br><sub><code>assembly.so101</code></sub></td>

    <td align="center"><img src="docs/media/pc_motherboard.gif" width="100%"><br><sub><code>assembly.pc_motherboard</code></sub></td>

    <td align="center"><img src="docs/media/tool_packing.gif" width="100%"><br><sub><code>packing.tool_packing</code></sub></td>

  </tr>

  <tr>

    <td align="center"><img src="docs/media/egg_carton.gif" width="100%"><br><sub><code>packing.egg_carton</code></sub></td>

    <td align="center"><img src="docs/media/tshirt.gif" width="100%"><br><sub><code>deformable.tshirt</code></sub></td>

    <td align="center"><img src="docs/media/latte.gif" width="100%"><br><sub><code>deformable.latte</code></sub></td>

    <td align="center"><img src="docs/media/slice_banana.gif" width="100%"><br><sub><code>cutting.slice</code></sub></td>

    <td align="center"><img src="docs/media/fruit_delivery.gif" width="100%"><br><sub><code>locomanip.fruit_delivery</code></sub></td>

  </tr>

</table>


## Solving a task

The easy way: open the repo in a coding agent such as Claude Code or Codex, point it at
`robobench/README.md`, and ask it to solve a task, e.g. `assembly.bulb.franka.osc`. A solution is a
Python program exposing `solve(env)`; the contract the agents see is
[`eval/prompts/_contract.md`](eval/prompts/_contract.md).

For rigorous, large-scale evaluation, `eval/` runs the agent in an isolated Docker container under a
time budget and grades its solutions afterwards in fresh containers on independently randomized episodes.

```bash

python eval/scripts/build_env.py --name bulb_e2e --stage bulb:franka    # build the world once

python eval/scripts/run_agent.py experiments/bulb_e2e --agent claude    # one agent run in Docker

python eval/scripts/run_grade.py experiments/bulb_e2e --run <run>       # grade the delivery

```

Prompt conditions (hints, rules, blocked features) are authored yaml files in `eval/configs/` and
`eval/prompts/`. Docker images and the container contract are documented in
[`eval/docker/README.md`](eval/docker/README.md).

## Data engine

Once a task is solved, `data_engine/` turns that one verified solution into a large, diverse,
per-episode-verified demonstration dataset. Coding agents author the diversity at five independent
levels: scene, strategy, phase, dynamics, and visual.

A generic launcher then mass-produces batched episodes, the scene's grader stamps a verdict on each
one, and the verified episodes are rendered and baked into a LeRobot dataset for policy training.

```bash

python data_engine/scripts/init_gen.py experiments/bulb_e2e/runs/<run>                  # start a campaign from a solved run

python data_engine/scripts/diversify.py <gen_root> data_engine/configs/scene_default.yaml # agent session that adds diversity

python data_engine/scripts/generate.py --headless <gen_root> --scene scene_1 --num_envs 8 # generate + verify a batch

python data_engine/scripts/render.py --headless <gen_root> --batches <batch>              # render episodes to video

.venv-lerobot/bin/python vla/convert/convert.py <gen_root> --repo-id <name>               # bake a LeRobot dataset

```

Training and closed-loop evaluation of VLA policies live in [`vla/`](vla/README.md).

## Repository layout

```

robobench/            EmbodiedSWE-Bench: the benchmark package

  core/               BaseEnv, BaseScene, BaseRobot, controller and grader contracts, registries

  suites/             task suites: assembly, packing, puzzle, deformable, cutting, locomanip

  robots/             embodiments: franka, xarm7, attached (Kinova Gen3 + panda hand), g1, multi (bimanual), ...

  controllers/        joint, diff_ik, task_space (OSC / impedance), pink_ik, composite, loco_policy

  scripts/smoke.py    build and step any registered env

eval/                 dockerized agent evaluation

data_engine/          EmbodiedSWE-Gen: expands one solution into diverse trajectories

vla/                  bake episodes into LeRobot datasets, train and evaluate VLA policies

rl/                   RL baselines (not agent improvement)

sim_gen/              generates new simulation tasks from seed tasks (agent improvement)

real_to_sim/          real scenes and objects to sim: splat backgrounds, photos to sim-ready assets

scripts/              bootstrap installers, record_video.py, asset vendoring

```

## Citation

If you use EmbodiedSWE in your research, please cite our [paper](https://arxiv.org/abs/2609.27308):

```bibtex

@misc{embodiedswe2026,

  title         = {EmbodiedSWE: Coding Agents for Long Horizon Dexterous Robotics},

  author        = {Shen, Zeyu and You, Haoxiang and Liu, Yilang and Zheng, Zhicheng and Zha, Lihan and

                   Yamazaki, Kashu and Zhang, Mingtong and Huang, Suning and Sun, Jiankai and

                   Chen, Qianzhong and He, Lucy and Liu, Kaiyuan and Chang, Haoran and Fragkiadaki, Katerina and

                   Shah, Dhruv and Schwager, Mac and Henderson, Peter and Abraham, Ian and Xu, Canwen},

  year          = {2026},

  eprint        = {2609.27308},

  archivePrefix = {arXiv},

  primaryClass  = {cs.RO},

  url           = {https://arxiv.org/abs/2609.27308},

}

```

## License

Apache 2.0. See [LICENSE](LICENSE).

Built on [Isaac Lab](https://github.com/isaac-sim/IsaacLab), [Newton](https://github.com/newton-physics/newton),
and [LeRobot](https://github.com/huggingface/lerobot).