HexaFuture/HexaShell
HexaShell: A Universal Harness for Robot Coding Agents in Simulation and the Real World
What it solves
Robot agents built on vision-language models usually write and refine task-specific code through many rounds of trial and revision. That code tends to overfit the benchmark it was tuned on, can exploit benchmark shortcuts, and is costly to port to a new benchmark or robot. HexaShell takes a different bet: a thin, task-agnostic harness with general tools, to test how far general tools alone can go. The only task-specific input is an optional skill of about a page of guidance.
How it works
- The model (an OpenAI-compatible chat endpoint such as GPT-6-Astra, or Anthropic Messages for Claude) acts through one Python cell per turn.
- The agent calls 14 basic tools shared by all tasks: motion (
goto,gripper,home,wait), perception (look,find,measure,to_world,to_pixel) and state (task,state,things,image,camera). - Perception separates segmentation from geometry: SAM 3 segments an object from a few words or a click, then NumPy/OpenCV code turns outlines from several cameras, or a depth image, into the object's 3-D position, size and grasp angle.
- The robot API, agent loop and sandbox are shared across all tasks; a new simulator or robot needs only an adapter of 350-1,450 lines and a prompt that describes its world.
- The model sees RGB(-D) cameras, camera parameters, proprioception, the instruction and a step budget — but not the simulator's internal state. Success is judged by the benchmark's own check.
- Cells run in a sandbox with no network, no processes, no writes outside its workspace, and no API key.
- Every motion can be checked with a dry run before it consumes steps; thinking and looking cost no steps.
- Optional skills: about a page of guidance per task, drafted by an analysis agent from records of earlier runs on a few seeds, then reviewed by a person.
Who it's for
Researchers working with robot coding agents on simulated benchmarks — RoboDojo (Isaac Sim, two ARX X5 arms), RoboCasa365 (MuJoCo, PandaOmron mobile manipulator), LIBERO-PRO (MuJoCo, Panda arm) and RoboTwin 2.0 (SAPIEN, two ARX X5 arms) — or on real dual-arm PiPER-X robots. It requires Linux with NVIDIA GPUs (RTX for some simulators), a streaming model endpoint, and SAM3 for segmentation. A comparison included in the README shows the earlier task-specific version (about 78,000 lines of frozen Python tools per task set) passed only 36% of development episodes after freezing, while general tools plus short skills reached 85% on RoboDojo.
Highlights
- Same tools, loop and sandbox run unchanged across three simulators, two kinds of arm, fixed and wheeled bases, and cameras with and without depth.
- With skills: 85.0% success on RoboDojo, 85.6 on RoboCasa365, 96.7% on LIBERO-PRO, 96.8% on RoboTwin 2.0 — above the best published result the authors know of on each benchmark.
- Without any skills, the agent still reaches 69.9% on RoboDojo, above every entry on its leaderboard, while the same model in the RoboDojo team's agent reaches 22.5%.
- On real dual-arm PiPER-X robots, 76 of 90 episodes succeed across nine tasks.
- No trained policy and no demonstration data; the only task-specific input is an optional skill of about a page.
- New benchmarks or robots need only a thin adapter (350-1,450 lines) and one general prompt.
Related
- Project
- Project
- Project
- Project