RoboHarness README

README проекта с github.com/BinceQu/RoboHarness. Одним файлом markdown: README.md.

RoboHarness

A Simple Harness Outperforms VLA and World Action Models

Project Page · Quick Start · Documentation · Citation · 中文

License: MIT Benchmark

RoboHarness overview

RoboHarness overview: visual keypoints are tracked persistently, converted into geometric constraints, executed, and verified in a closed loop. View original PDF

News

Overview

Without training models, RoboHarness combines visual clicks, keypoint tracking, and geometric constraints to provide an embodied control panel for an LLM agent.

The LLM marks points of interest on a 2D image and continuously receives their positions via optical-flow tracking and depth back-projection; with this information, it composes accurate primitive actions to perform complex manipulation.

The reported BEHAVIOR results use Claude Code 2.1.259 with Qwen3.8-Flash-Next-FP8 and the R1 Pro robot. A Codex harness is also available.

RoboHarness V2 replaces the tool plugin with a robot workspace that the agent works inside: robot model, joint manuals, readable Python tools and skills. It runs on the same tasks and evaluator with --harness v2; see harness/v2. The commands below use V1 and reproduce the paper results.

Repository structure

RoboHarness/
├── run.sh           # entry point: ./run.sh --task task01 [--harness claude_code|codex|v2]
├── harness/         # agent side: how the agent sees and controls the robot
│   ├── v1/          #   paper version: Claude Code and Codex plugins
│   └── v2/          #   workspace harness: R1 Pro and ARX X5 workspaces
├── eval/            # evaluation side: runner, BEHAVIOR interface, RoboDojo bridge, viewers
├── BEHAVIOR/        # official simulator and evaluator (submodule)
├── tasks/ prompt/   # task definitions and archived prompts
├── configs/         # example configurations
└── scripts/ docs/ tests/ website/
Path Purpose
harness/v1/claude_code/ Claude Code harness used for the paper results
harness/v1/codex/ Codex harness
harness/v2/ V2 workspace harness (R1 Pro on BEHAVIOR, ARX X5 on RoboDojo); --harness v2
eval/runner/ Task runner behind ./run.sh: starts the evaluator stack and agent, collects official scores
eval/behavior/ BEHAVIOR interface: RGB-D observations, robot control and the official evaluator wrapper
eval/robodojo/ RoboDojo bridge for V2
BEHAVIOR/ BEHAVIOR simulator and evaluator, pinned to v3.9.1
tasks/ Task definitions, evaluation instances and step budgets
prompt/ Task-specific instructions for household manipulation
reference_results/ Reference evaluator scores (hosted on Hugging Face; setup.sh fetches them)
validation_results/ Evaluation reports and scores (hosted on Hugging Face)

See eval/README.md for the evaluation side in more detail.

Installation

Use Linux x86-64, an NVIDIA RTX GPU, Python 3.11 and the CUDA 12.4 toolkit. The validation host has 48 GB VRAM per GPU; this is the tested capacity, not a measured minimum. You also need BEHAVIOR scene data, local cache space and a separately configured model endpoint.

git clone --recurse-submodules https://github.com/BinceQu/RoboHarness.git
cd RoboHarness
./scripts/setup.sh
cp configs/example.json configs/local.json

Videos, reference results and validation reports are hosted in the RoboHarness-assets dataset, pinned by assets.lock.json, so cloning stays small. setup.sh fetches the reference results the runner needs; python3 scripts/fetch_assets.py --group all fetches everything and verifies each SHA-256. The paper and project page correspond to the v1.0-paper release.

Follow the installation guide to obtain the licensed datasets, install Claude Code 2.1.259, and configure the model endpoint and authentication. Edit configs/local.json for this machine's data and Python paths.

Run a task

The model server and the evaluation runner are separate processes. Keep your model server running throughout evaluation. setup.sh installs the simulation and agent environments; it does not download LLM weights or start a model server.

1. Connect to your model service.

The default Claude Code harness uses an Anthropic-compatible /v1/messages endpoint with image input, tool calls and streaming. The paper configuration uses Qwen3.8-Flash-Next-FP8. If your server only provides OpenAI Chat Completions, follow the bridge setup first. Codex uses a different Responses configuration.

On the evaluation machine, open a terminal in this repository and replace the host, served model ID and key below with your service's values:

export ROBOHARNESS_MODEL_URL='http://YOUR_MODEL_HOST:31000'
export ROBOHARNESS_MODEL='Qwen3.8-Flash-Next-FP8'
export ANTHROPIC_API_KEY='YOUR_MODEL_SERVER_KEY'
export ANTHROPIC_AUTH_TOKEN="$ANTHROPIC_API_KEY"

Use the origin without /v1 for ROBOHARNESS_MODEL_URL. The model ID must match the name exposed by your server. For a server with authentication disabled, use local-no-auth as the key. 127.0.0.1 works only when the model service is on this evaluation machine, or an SSH tunnel forwards it here.

Send a small request before starting the simulator:

python3 - <<'PY' | curl --fail-with-body --silent --show-error \
  "${ROBOHARNESS_MODEL_URL%/}/v1/messages" \
  -H 'Content-Type: application/json' \
  -H 'anthropic-version: 2023-06-01' \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "Authorization: Bearer $ANTHROPIC_AUTH_TOKEN" \
  --data-binary @-
import json, os
print(json.dumps({
    "model": os.environ["ROBOHARNESS_MODEL"], "max_tokens": 128,
    "messages": [{"role": "user", "content": "Reply with OK."}]
}))
PY

Expect a Messages response with "type": "message". This checks reachability, authentication and the model ID; the service must also support the image and tool features above. Connection errors, HTTP 401/403 and HTTP 404 are covered in model connection troubleshooting.

2. Save the session configuration.

In the same terminal, copy your installation settings on first use and save the model address and name. Existing session settings are retained:

python3 - <<'PY'
import json, os
from pathlib import Path
path = Path(os.environ.get("ROBOHARNESS_SESSION_CONFIG", ".local/session-config.json"))
source = path if path.exists() else Path("configs/local.json")
config = json.loads(source.read_text())
config.update(model_url=os.environ["ROBOHARNESS_MODEL_URL"],
              model=os.environ["ROBOHARNESS_MODEL"])
path.parent.mkdir(parents=True, exist_ok=True)
path.write_text(json.dumps(config, indent=2) + "\n")
print("Saved", path)
PY

The default session file is .local/session-config.json; set ROBOHARNESS_SESSION_CONFIG to select another file. Review it: data_path must point to the BEHAVIOR data root, and interface_python, evaluator_python and agent_python must point to the installed environments. The example paths work with setup.sh. Set cache_dir to writable scratch space outside any Git checkout when needed. Relative paths are resolved from the repository root. Credentials stay in the shell environment; export them again in each new terminal. Later configuration edits belong in this session file.

3. Inspect the plan, then launch.

claude --version  # must be 2.1.259 for the paper configuration
./run.sh --list
./scripts/reproduce_task.sh task01 --gpu 0 --dry-run
./scripts/reproduce_task.sh task01 --gpu 0 --run-dir runs/task01-001

In the dry-run output, check model_url, model, gpu, the three ports and the five instance IDs. Dry-run prints configuration; it does not contact the model or validate the simulator installation. The final command starts the interface, evaluator and Claude Code agent and runs all five instances in order. --gpu 0 selects the simulation GPU; model-serving GPUs are selected when you start your own model server. Choose resources with enough capacity for both.

Change task01 to another listed task; task04 is not included. Use a new output directory for every run, or omit --run-dir to generate one automatically. For a single-instance trial, add --instances 301 and use a separate directory; the full task mean requires all five instances.

4. Watch the rollout and read the results.

With default ports, task01's interface is http://127.0.0.1:15071 on the evaluation machine. For a remote machine, run this on your own computer, then open that address in your browser:

ssh -N -L 15071:127.0.0.1:15071 YOUR_USER@YOUR_EVALUATION_HOST

The launcher prints the HTTP, policy and gate ports. Configure them with task_ports if needed. For the command above, outputs are in:

Path Contents
runs/task01-001/summary.json Completed instance count, scores and current mean Q-score
runs/task01-001/output/json/ Official per-instance evaluator results
runs/task01-001/instance_301/ Prompt, agent output, error log and trajectory for instance 301
runs/task01-001/run.log and runs/task01-001/logs/ Controller, interface and evaluator logs

After all five instances finish, generate the comparison report:

python3 scripts/report_validation.py runs/task01-001 \
  --output .local/reports/task01-001 --check-live --require-match

Open .local/reports/task01-001/README.md for the result. --require-match returns a nonzero exit code for an incomplete or mismatched evaluation. Both runs/ and .local/ are ignored by Git.

Reproduction contract

The paper's BEHAVIOR evaluation protocol is:

The runner defaults to session_timeout_s: 0, so there is no additional wall-clock limit. Execution time varies with hardware, model serving and concurrent load; evaluation budgets are measured in simulation control steps.

The report compares each complete task mean with its reference value using a tolerance of 1e-6. Individual instance scores may differ. --require-match exits nonzero if a task is incomplete, its mean differs, or the run fails the evaluation checks. Use --check-live on the evaluation host; omit it when analyzing copied runs. Add --watch for continuous reporting.

Citation

If you use RoboHarness in your research, please cite our paper:

@misc{qu2026roboharness,
  title         = {RoboHarness: A Simple Harness Outperforms VLA and World Action Models},
  author        = {Bince Qu and Wei Chen and Bo Zhang},
  year          = {2026},
  eprint        = {2610.14018},
  archivePrefix = {arXiv},
  primaryClass  = {cs.RO},
  doi           = {10.48550/arXiv.2610.14018},
  url           = {https://arxiv.org/abs/2610.14018}
}

GitHub's Cite this repository button provides the same reference in APA and BibTeX formats from CITATION.cff.

Development and license

Run the installed environments' CPU checks with ./scripts/check.sh. See contribution guidelines for focused checks and the information needed in a reproducibility issue.

Repository code is released under the MIT license, subject to the component-specific third-party notices. BEHAVIOR data, NVIDIA Isaac Sim and model weights have their own access and license terms.

RoboHarness (BinceQu/RoboHarness)

Ищем в базе…

Что это?RoboHarness — обвязка, не требующая обучения, которая даёт LLM-агенту визуально-геометрическую панель управления: модель отмечает точки интереса на 2D-изображениях, они отслеживаются и превращаются в геометрические ограничения, чтобы LLM мог напрямую составлять и выполнять физические манипуляционные действия.
Это обученная роботизированная политика или обёртка над существующим LLM?Это обвязка, а не обученная модель: LLM отмечает точки на 2D-изображении и непрерывно получает их позиции через отслеживание оптического потока и обратную проекцию глубины, а затем сам использует это для составления примитивных манипуляционных действий.
Как запустить прогон оценки?Подключитесь к совместимому с Anthropic эндпоинту модели /v1/messages (или используйте мост для серверов в стиле OpenAI), сохраните эту настройку в файл конфигурации сессии, запустите setup.sh для установки сред симуляции и агента, затем запустите задачу, чтобы интерфейс, оценщик и агент Claude Code или Codex отработали все пять экземпляров.
Какое железо и ПО нужны перед началом?Нужны Linux x86-64 с GPU NVIDIA RTX, Python 3.11 и набор инструментов CUDA 12.4; на хосте валидации было по 48 ГБ видеопамяти на GPU. Также нужны лицензионные данные сцен BEHAVIOR и отдельно работающий эндпоинт модели, например Claude Code 2.1.259 с Qwen3.8-Flash-Next-FP8.
Каких подводных камней установки ждать?У данных сцен BEHAVIOR своя отдельная лицензия, которую нужно получить, а серверу модели нужен эндпоинт в стиле Anthropic с вводом изображений, вызовами инструментов и поддержкой стриминга — обычным серверам OpenAI Chat Completions сперва потребуется дополнительный мост.
Весь ли проект свободен для использования под MIT?Код репозитория сам лицензирован под MIT, но данные BEHAVIOR, NVIDIA Isaac Sim и веса моделей идут каждый со своими отдельными условиями доступа и лицензирования, которые нужно выполнить независимо.
Что, по заявлению RoboHarness, он превосходит?Название проекта строится вокруг утверждения, что эта простая обвязка превосходит VLA-модели (vision-language-action) и world action модели, что подкреплено диаграммой сравнения по обобщению на объекты против этих базовых методов плюс базовый метод pick.
Как оценивается задача?Каждая задача выполняется на пяти фиксированных экземплярах оценки (seed 20260911); официальный оценщик BEHAVIOR Challenge 2025 выдаёт Q-score для каждого прогона, а среднее по задаче — это невзвешенное среднее всех пяти, приводимое с точностью до четырёх десятичных знаков.
Какие робот и модели использовались в опубликованных результатах?В опубликованных результатах BEHAVIOR Claude Code 2.1.259 работает в паре с моделью Qwen3.8-Flash-Next-FP8, управляющей роботом R1 Pro; также доступна обвязка на базе Codex как альтернатива Claude Code.
Какие есть похожие проекты?ASPIRE, SuperMimic-Reproduced, RoboICL, Zetta-Embodiment, flex-pi, dreamforge, UMR, ZDTaichu5.0-9B
Автор
BinceQu
Размер
35 MB
Звёзды
527
Обновлён
КоммитNov 05
Возраст
1 мес
Коммиты · 90 дней