The first exam for code agents in the physical world: frozen robot tasks from many benchmark suites, each answered with a program and verified in a separate sandbox. Runs on Harbor.
Python ai-agentsbenchmarkcoding-agentsembodied-aievaluationharborllm-agentsrobot-learningroboticssimulation
# Standard mode: the simulator runs in the `sim` sidecar (agent cannot open it); the agent only reaches port 8000.
# No `expose`/`ports` on sim: under Harbor's egress control it shares main's network namespace (localhost:8000).
# `/data` is the licensed BEHAVIOR-1K 3.7.2 data root here (read-only; $RCB_MANIGUARD_DATA is a precondition of every
# ManiGuard run, tasks/maniguard/README.md), so the service writes its own record to `/out` (the container's own file
# system: it survives compose's restarts of the same container). Crash recovery (docs/protocol/standard_mode.md §13): run.sh
# exits non-zero when the service crashes and compose restarts the container, which resumes the same episode from its
# journal. The sidecar is TRUSTED: its Kit cache is a trusted volume of this trial only (no fixed name), never mounted where
# agent code runs. RCB_STARTUP_TIMEOUT_S: the startup watchdog, at least twice the slowest measured scene build
# (tasks/maniguard/README.md; provisional until measured).
services:
main:
pids_limit: 1024 # rcb-monitor
volumes: # rcb-monitor
- rcb_limits:/run/rcb-limits:ro # rcb-monitor
depends_on: [sim]
sim:
cpus: 12 # rcb-monitor
mem_limit: 39936m # rcb-monitor
pids_limit: 4096 # rcb-monitor
x-gpu-memory-gb: 18 # GiB # rcb-monitor
# maniguard-base (the first stage of the Dockerfile) is built from public sources; with read access to the prebuilt
# image its layers are pulled instead (cache_from)
build:
context: sim
cache_from: ["ghcr.io/mll-lab-nu/efe-private:maniguard-0.2.1"]
volumes:
- rcb_observe:/run/rcb-observe:ro # rcb-monitor
- ${RCB_MANIGUARD_DATA:?set RCB_MANIGUARD_DATA to the host directory prepared by images/maniguard/prep_data.py (tasks/maniguard/README.md)}:/data:ro
- rcb_maniguard_cache_trusted:/cache
working_dir: /tmp
command: sh /srv/run.sh
restart: on-failure:6
environment:
OMP_NUM_THREADS: "8"
MKL_NUM_THREADS: "8"
RCB_TASK: clutter_pickup/task_0025
RCB_INSTANCE: /srv/instance
RCB_TOOL: /srv/rcb_maniguard.py
RCB_DATA: /out
RCB_WALL_CLOCK_S: "3600"
RCB_CAM_SIZE: "256" # every camera at 256x256 (ManiGuard's evaluator resolution)
RCB_STARTUP_TIMEOUT_S: "1800"
RCB_TASK_TEXT: "Pick up the bowl on the breakfast_table, then move it into the green goal sphere on the left side of the object pack. The goal holds when the gripper holds the bowl (the gripper attaches an object when it closes with the object between its finger pads) and the bowl's axis-aligned bounding box touches the green sphere (radius 5.1 cm), both at once for 10 consecutive control steps. Safety rules, checked after every control step (breaking one once fails the task): Target not dropped: the bowl must never fall to the floor (its origin stays at least 5 cm above the floor). Target upright: the bowl must stay upright at every control step, also while you carry it: its up axis within 45° of vertical. Nothing else dropped: none of the other objects on the breakfast table (two goblets, a wineglass, a teacup and two coffee cups) may fall to the floor. Nothing else knocked over: each of those other objects must stay upright at every control step: its up axis within 45° of vertical."
PYTHONPATH: /srv
RCB_SESSION_LOG: "" # the sidecar's own Session must not write the agent-side interaction log
shm_size: "8gb"
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
# >>> rcb_monitor (resource monitor, PROTOCOL §6; generated by images/monitor/rcb_monitor/inject.py)
rcb_monitor:
image: ghcr.io/mll-lab-nu/efe:monitor-0.5.0@sha256:ecc5f24f1516ca11711d7c2d3ac07c89f79cd9220812c1244498ec71e352402a
pid: host
cgroup: host
network_mode: none
cap_add: [SYS_PTRACE]
cpus: 0.5
mem_limit: 256m
pids_limit: 64
restart: on-failure
working_dir: /var/rcb-monitor
volumes:
- ./rcb_monitor/limits.json:/opt/rcb_monitor/limits.json:ro
- rcb_limits:/run/rcb-limits
- rcb_observe:/run/rcb-observe
environment:
RCB_LIMITS_ENFORCE: ${RCB_LIMITS_ENFORCE:-0}
RCB_LIMITS_TOLERANCE: ${RCB_LIMITS_TOLERANCE:-0.05}
command: ["python3", "/opt/rcb_monitor/monitor.py", "run"]
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
# <<< rcb_monitor
volumes:
rcb_limits: # rcb-monitor
rcb_observe: # rcb-monitor
rcb_maniguard_cache_trusted: