File size: 14,952 Bytes
840febe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
---
pretty_name: AgiBot World
size_categories:
- n>1T
task_categories:
- other
- robotics
language:
- en
tags:
- real-world
- dual-arm
- Robotics manipulation
extra_gated_prompt: >-
  ### AgiBot World COMMUNITY LICENSE AGREEMENT

  AgiBot World Alpha Release Date: December 30, 2024 All the data and code
  within this repo are under [CC BY-NC-SA
  4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).
extra_gated_fields:
  First Name: text
  Last Name: text
  Email: text
  Country: country
  Affiliation: text
  Phone: text
  Job title:
    type: select
    options:
    - Student
    - Research Graduate
    - AI researcher
    - AI developer/engineer
    - Reporter
    - Other
  Research interest: text
  geo: ip_location
  By clicking Submit below I accept the terms of the license and acknowledge that the information I provide will be collected stored processed and shared in accordance with the AgiBot Privacy Policy: checkbox
extra_gated_description: >-
  The information you provide will be collected, stored, processed and shared in
  accordance with the AgiBot Privacy Policy.
extra_gated_button_content: Submit
---

<!-- <img src="assets/agibot_world.gif" alt="Image Alt Text" width="70%" style="display: block; margin-left: auto; margin-right: auto;" /> -->

<video controls autoplay loop muted src="https://cdn-uploads.huggingface.co/production/uploads/6763e2cfd3c85f9b6d828f6c/9HkLtnqI_Qx62dNLLsI2I.mp4"></video>

<div align="center">
  <a href="https://github.com/OpenDriveLab/AgiBot-World">
    <img src="https://img.shields.io/badge/GitHub-grey?logo=GitHub" alt="GitHub Badge">
  </a>
  <a href="https://agibot-world.com">
    <img src="https://img.shields.io/badge/Project%20Page-blue?style=plastic" alt="Project Page Badge">
  </a>
  <a href="https://opendrivelab.com/blog/agibot-world/">
    <img src="https://img.shields.io/badge/Research_Blog-black?style=flat" alt="Research Blog Badge">
  </a>
  <a href="https://docs.google.com/spreadsheets/d/1GWMFHYo3UJADS7kkScoJ5ObbQfAFasPuaeC7TJUr1Cc/edit?usp=sharing">
    <img src="https://img.shields.io/badge/Dataset-Overview-brightgreen?logo=googleforms" alt="Research Blog Badge">
  </a>
</div>


# Key Features πŸ”‘
- **1 million+** trajectories from 100 robots, with a total duration of 2976.4 hours.
- **100+ real-world scenarios** across 5 target domains.
- **Cutting-edge hardware:** visual tactile sensors / 6-DoF dexterous hand / mobile dual-arm robots
- **200+ types of tasks:**
    - Contact-rich manipulation
    - Long-horizon planning
    - Multi-robot collaboration
- **87 types of Atomic Skills,** including Tie, OpenJar, Peel, Sweep etc.

<div style="display: flex; justify-content: center; align-items: center; gap: 20px;">
    <video controls autoplay loop muted width="300" style="border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);">
        <source src="https://cdn-uploads.huggingface.co/production/uploads/65111094c3b9d8d1eb71329e/RxhpvglFxkqBKp0siHEjd.mp4" type="video/mp4">
        Your browser does not support the video tag.
    </video>
    <video controls autoplay loop muted width="300" style="border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);">
        <source src="https://cdn-uploads.huggingface.co/production/uploads/65111094c3b9d8d1eb71329e/WwTyIz3wJpIL23E6mPrVp.mp4" type="video/mp4">
        Your browser does not support the video tag.
    </video>
    <video controls autoplay loop muted width="300" style="border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);">
        <source src="https://cdn-uploads.huggingface.co/production/uploads/65111094c3b9d8d1eb71329e/WjJ_H4YzAmdZ5ffqG06-Y.mp4" type="video/mp4">
        Your browser does not support the video tag.
    </video>
</div>


# News 🌍
- **`[2025/3/1]`** AgiBot World Beta released.
  
# TODO List πŸ“…
- [ ] **AgiBot World Colosseum**:Comprehensive platform (expected release date: 2025)
- [ ] **2025 AgiBot World Challenge** (expected release date: 2025)


# Table of Contents
- [Key Features πŸ”‘](#key-features-)
- [News 🌍](#news-)
- [TODO List πŸ“…](#todo-list-)
- [Get started πŸ”₯](#get-started-)
  - [Download the Dataset](#download-the-dataset)
  - [Dataset Structure](#dataset-structure)
  - [Explanation of Proprioceptive State](#explanation-of-proprioceptive-state)
  - [Dataset Preprocessing](#dataset-preprocessing)
- [License and Citation](#license-and-citation)

# Get started πŸ”₯
## Download the Dataset
To download the full dataset, you can use the following code. If you encounter any issues, please refer to the official Hugging Face documentation.
```
# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs install

# When prompted for a password, use an access token with write permissions.
# Generate one from your settings: https://huggingface.co/settings/tokens
git clone https://huggingface.co/datasets/agibot-world/AgiBotWorld-Alpha

# If you want to clone without large files - just their pointers
GIT_LFS_SKIP_SMUDGE=1 git clone https://huggingface.co/datasets/agibot-world/AgiBotWorld-Alpha
```

If you only want to download a specific task, such as `task_327`, you can use the following code.
```
# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs install

# Initialize an empty Git repository
git init AgiBotWorld-Alpha
cd AgiBotWorld-Alpha

# Set the remote repository
git remote add origin https://huggingface.co/datasets/agibot-world/AgiBotWorld-Alpha

# Enable sparse-checkout
git sparse-checkout init

# Specify the folders and files
git sparse-checkout set observations/327 task_info/task_327.json scripts proprio_stats parameters

# Pull the data
git pull origin main
```

To facilitate the inspection of the dataset's internal structure and examples, we also provide a sample dataset, which is approximately 7 GB. Please refer to `sample_dataset.tar`.

## Dataset Preprocessing
Our project relies solely on the [lerobot library](https://github.com/huggingface/lerobot) (dataset `v2.0`), please follow their [installation instructions](https://github.com/huggingface/lerobot?tab=readme-ov-file#installation).
Here, we provide scripts for converting it to the lerobot format. **Note** that you need to replace `/path/to/agibotworld/alpha` and `/path/to/save/lerobot` with the actual path.
```
python scripts/convert_to_lerobot.py --src_path /path/to/agibotworld/alpha --task_id 352 --tgt_path /path/to/save/lerobot
```
We would like to express our gratitude to the developers of lerobot for their outstanding contributions to the open-source community.

## Dataset Structure
### Folder hierarchy
```
data
β”œβ”€β”€ task_info
β”‚   β”œβ”€β”€ task_327.json
β”‚   β”œβ”€β”€ task_352.json
β”‚   └── ...
β”œβ”€β”€ observations
β”‚   β”œβ”€β”€ 327 # This represents the task id.
β”‚   β”‚   β”œβ”€β”€ 648642 # This represents the episode id.
β”‚   β”‚   β”‚   β”œβ”€β”€ depth # This is a folder containing depth information saved in PNG format.
β”‚   β”‚   β”‚   β”œβ”€β”€ videos # This is a folder containing videos from all camera perspectives.
β”‚   β”‚   β”œβ”€β”€ 648649
β”‚   β”‚   β”‚   └── ...
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ 352
β”‚   β”‚   β”œβ”€β”€ 648544
β”‚   β”‚   β”‚   β”œβ”€β”€ depth
β”‚   β”‚   β”‚   β”œβ”€β”€ videos
β”‚   β”‚   β”œβ”€β”€ 648564
β”‚   β”‚   β”‚   └── ...
β”‚   └── ...
β”œβ”€β”€ parameters
β”‚   β”œβ”€β”€ 327
β”‚   β”‚   β”œβ”€β”€ 648642
β”‚   β”‚   β”‚   β”œβ”€β”€ camera
β”‚   β”‚   β”œβ”€β”€ 648649
β”‚   β”‚   β”‚   └── camera
β”‚   β”‚   └── ...
β”‚   └── 352
β”‚       β”œβ”€β”€ 648544
β”‚       β”‚   β”œβ”€β”€ camera # This contains all the cameras' intrinsic and extrinsic parameters.
β”‚       └── 648564
β”‚       β”‚    └── camera
|       └── ...
β”œβ”€β”€ proprio_stats
β”‚   β”œβ”€β”€ 327[task_id]
β”‚   β”‚   β”œβ”€β”€ 648642[episode_id]
β”‚   β”‚   β”‚   β”œβ”€β”€ proprio_stats.h5 # This file contains all the robot's proprioceptive information.
β”‚   β”‚   β”œβ”€β”€ 648649
β”‚   β”‚   β”‚   └── proprio_stats.h5
β”‚   β”‚   └── ...
β”‚   β”œβ”€β”€ 352[task_id]
β”‚   β”‚   β”œβ”€β”€ 648544[episode_id]
β”‚   β”‚   β”‚   β”œβ”€β”€ proprio_stats.h5
β”‚   β”‚   └── 648564
β”‚   β”‚    └── proprio_stats.h5
β”‚   └── ...
```
### json file format
In the `task_[id].json` file, we store the basic information of every episode along with the language instructions. Here, we will further explain several specific keywords.
- **action_config**: The content corresponding to this key is a list composed of all **action slices** from the episode. Each action slice includes a start and end time, the corresponding atomic skill, and the language instruction.
- **key_frame**: The content corresponding to this key consists of annotations for keyframes, including the start and end times of the keyframes and detailed descriptions.

(`action_text` and `description` *are not available now, to be released by mid-January.*)
```
[ {"episode_id": 649078,
   "task_id": 327,
   "task_name": "Picking items in Supermarket",
   "init_scene_text": "The robot is in front of the fruit shelf in the supermarket.",
   "lable_info":{
    "action_config":[
       {"start_frame": 0,
        "end_frame": 435,
        "action_text": "Pick up onion from the shelf."
        "skill": "Pick"
       },
       {"start_frame": 435,
        "end_frame": 619,
        "action_text": "Place onion into the plastic bag in the shopping cart."
        "skill": "Place"
       },
       ...
    ]
    "key_frame": [
      {"start": 0,
       "end": 435,
       "comment": "Failure recovery"
      }
    ]
},
...
]
```
### h5 file format
In the `proprio_stats.h5` file, we store all the robot's proprioceptive data. For more detailed information, please refer to the [explanation of proprioceptive state](#explanation-of-proprioceptive-state).

```
|-- timestamp
|-- state
    |-- effector
        |-- force
        |-- position
    |-- end
        |-- angular
        |-- orientation
        |-- position
        |-- velocity
        |-- wrench
    |-- head
        |-- effort
        |-- position
        |-- velocity
    |-- joint
        |-- current_value
        |-- effort
        |-- position
        |-- velocity
    |-- robot
        |-- orientation
        |-- orientation_drift
        |-- position
        |-- position_drift
    |-- waist
        |-- effort
        |-- position
        |-- velocity
|-- action
    |-- effector
        |-- force
        |-- index
        |-- position
    |-- end
        |-- orientation
        |-- position
    |-- head
        |-- effort
        |-- position
        |-- velocity
    |-- joint
        |-- effort
        |-- index
        |-- position
        |-- velocity
    |-- robot
        |-- index
        |-- orientation
        |-- position
        |-- velocity
    |-- waist
        |-- effort
        |-- position
        |-- velocity
```
## Explanation of Proprioceptive State
### Terminology
*The definitions and data ranges in this section may change with software and hardware version. Stay tuned.*

**State and action**
1. State
State refers to the monitoring information of different sensors and actuators.
2. Action
Action refers to the instructions sent to the hardware abstraction layer, where controller would respond to these instructions. Therefore, there is a difference between the issued instructions and the actual executed state.

**Actuators**
1. ***Effector:*** refers to the end effector, for example dexterous hands or grippers.
2. ***End:*** refers to the 6DoF end pose on the robot flange.
3. ***Head:*** refers to the robot's head perspective,which has two degrees of freedom (pitch and yaw).
4. ***Joint:*** refers to the joints of the robot's dual arms, with 14 degrees of freedom (7 DoF each).
5. ***Robot:*** refers to the robot's pose in its surrouding environment. The orientation and position refer to the robot's relative pose in the odometry coordinate system, where the origin is set since the robot is powered on.
6. ***Waist:*** refers to the joints of the robot's waist, which has two degrees of freedom (pitch and lift).

### Common fields
1. Position: Spatial position, encoder position, angle, etc.
2. Velocity: Speed
3. Angular: Angular velocity
4. Effort: Torque of the motor. Not available for now.
5. Wrench: Six-dimensional force, force in the xyz directions, and torque. Not available for now.

### Value shapes and ranges
| Group | Shape | Meaning | 
| --- | :---- | :---- |
| /timestamp | [N] | timestamp in nanoseconds |
| /state/effector/position (gripper) | [N, 2] | left `[:, 0]`, right `[:, 1]`, gripper open range in mm |
| /state/effector/position (dexhand) | [N, 12] | left `[:, :6]`, right `[:, 6:]`, joint angle in rad |
| /state/end/orientation | [N, 2, 4] | left `[:, 0, :]`, right `[:, 1, :]`, flange quaternion with xyzw |
| /state/end/position | [N, 2, 3] | left `[:, 0, :]`, right `[:, 1, :]`, flange xyz in meters |
| /state/head/position | [N, 2] | yaw `[:, 0]`, pitch `[:, 1]`, rad |
| /state/joint/current_value | [N, 14] | left arm `[:, :7]`, right arm `[:, 7:]` |
| /state/joint/position | [N, 14] | left arm `[:, :7]`, right arm `[:, 7:]`, rad |
| /state/robot/orientation | [N, 4] | quaternion in xyzw, yaw only |
| /state/robot/position | [N, 3] | xyz position, where z is always 0 in meters |
| /state/waist/position | [N, 2] | pitch `[:, 0]` in rad, lift `[:, 1]`in meters |
| /action/*/index | [M] | actions indexes refer to when the control source is actually sending signals |
| /action/effector/position (gripper) | [N, 2] | left `[:, 0]`, right `[:, 1]`, 0 for full open and 1 for full close |
| /action/effector/position (dexhand) | [N, 12] | same as /state/effector/position
| /action/effector/index | [M_1] | index when the control source for end effector is sending control signals |
| /action/end/orientation | [N, 2, 4] | same as /state/end/orientation |
| /action/end/position | [N, 2, 3] | same as /state/end/position |
| /action/end/index | [M_2] | same as other indexes |
| /action/head/position | [N, 2] | same as /state/head/position |
| /action/head/index | [M_3] | same as other indexes |
| /action/joint/position | [N, 14] | same as /state/joint/position |
| /action/joint/index | [M_4] | same as other indexes |
| /action/robot/velocity | [N, 2] | vel along x axis `[:, 0]`, yaw rate `[:, 1]` |
| /action/robot/index | [M_5] | same as other indexes | 
| /action/waist/position | [N, 2] | same as /state/waist/position |
| /action/waist/index | [M_6] | same as other indexes | 


# License and Citation
All the data and code within this repo are under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/). Please consider citing our project if it helps your research.

```BibTeX
@misc{contributors2024agibotworldrepo,
  title={AgiBot World Colosseum},
  author={AgiBot World Colosseum contributors},
  howpublished={\url{https://github.com/OpenDriveLab/AgiBot-World}},
  year={2024}
}
```