Three bottles that look the same
Three bottles arrive at a packing station run by a robot arm. They look identical, and they have to go on the shelf in order of weight. The arm is steered by a hosted frontier model, a large AI model rented through an online service, that watches through cameras. Teams build cells this way so the robot follows a plain instruction instead of a programmed routine. The picture shows three matching bottles, so the model guesses. In the paper's trials, GPT-6 Astra sorted them correctly 0 times in 10. The same blindness hits every job that depends on touch, what roboticists call contact-rich manipulation: wiping a whiteboard, driving a screw, peeling an eggplant, pushing in a USB plug, telling soft from hard.
Three bottles that look the same. Which is heaviest?
I see three bottles.
A packing station: the bottles must go on the shelf in order of weight.
Same model. Not retrained.
0 of 10 and 10 of 10: GPT-6 Astra sorting three bottles by weight on a real Franka FR3 arm, 10 tries each (the paper's results). The bottle weights and ± (how sure each reading is) are simulated by us.
Now the arm lifts each bottle first and reports what it felt: a mass for each, with an error bar (a ± that says how sure the number is). Nothing else changes: same model, same cameras, no retraining. It sorts them correctly 10 times in 10.
Join free to read the rest
Join free to score your team, see what to check before you bet on it, get the first moves step by step, and learn how you'll know it's working.
Before you bet on it
What is measured is strong but narrow: one real arm, the authors' own simulated test, and a public test suite the tools were tuned on. Read it as a promising method to try, not a proven product.
54 of 60 on one real Franka FR3, 10 runs per task, judged by the operator
Other arms and grippers: only single-arm tabletop work with a two-finger gripper
135 of 140 on HiddenPhys, the authors' simulated test, 0 damage
Which part caused the real-arm gain: how force is shown was compared only in simulation
ForceBench, a public simulated suite: 70.0% → 87.5% (tools tuned on 8 of its 10 set-ups); 62.5% → 82.5% on unseen set-ups, on the project page and README only
Three ForceBench scores may read high: the suite skips some release and clearance checks
Comparing weights through the joints
Weighing to the gram: the joint estimate is off in absolute grams
Twelve hand-written primitives and a hand-written instruction per task
Tasks outside the menu, and tasks without a written instruction
GPT-6 Astra's cost per simulated job fell 45%
Speed, delay and price per job
Which robot tasks does ForceHarness fit?
Fits: slow, steady contact work where the missing fact is physical and changes item to item, such as weighing, checking a part has seated, finding a hole or pressing to a set force; cells with many different items and few of each, where 200 demonstrations per task never pay back; an arm with sensors in its joints that measure twisting load, or a force sensor at the wrist.
Does not fit: fast lines or anything that must react mid-motion; an arm with neither sensor; a motion the twelve primitives lack, which needs new code, not a new prompt; weighing to the gram.
Worth testing now in simulation, where it costs only model calls. Worth a real-arm pilot once your contact task maps onto the existing primitives. Not yet something to run a line on: it rests on one arm and 10 runs per task.
What to ask a robot or integration vendor: does the arm report the twisting load in each joint (its joint torques) many times a second, and can new primitives be added under the same safety guard?
Your first moves
Check your arm
ForceHarness reads force from a wrist force sensor or from the twisting load measured in each joint of the arm. The paper's real arm is a Franka FR3 under Polymetis; a safety guard runs on the robot's own computer and the harness on a workstation. Other arms need the porting guide (docs/robot_protocol.md) and must meet the contract every primitive follows (forceharness/backends/base.py).
Run it in simulation
The code is public under the MIT licence (showlab/ForceHarness). It needs Python 3.10 or newer; the HiddenPhys test runs on robosuite 1.5.1 and MuJoCo 3.2.7, and a port of the public ForceBench suite runs on Isaac Lab. It supports the OpenAI Responses and Anthropic clients. Start with no model key, then add one.
Show technical view: install and first runs
- Get the code
git clone https://github.com/showlab/ForceHarness.git && cd ForceHarness- Make an environment
python3 -m venv .venv && source .venv/bin/activate- Install the harness and tests
pip install -e ".[dev]"- Add the simulator
pip install -e ".[sim]"- See what is missing
python -m forceharness.doctor- Run the offline tests
python -m pytest -q- One job, no model key
python scripts/run_episode.py --task weight_sort --agent scripted --backend fake- Check the simulator
python scripts/check_sim.py- One job with a model (spends API credit)
python scripts/run_episode.py --task weight_sort --model gpt-6-astra --provider openai-responses --reasoning-effort low --paper-defaults --seed 9100- Model keys
- In a
.envfile:FH_API_KEYfor OpenAI,ANTHROPIC_API_KEYfor Anthropic
Prove it on your own question
Run the same seeds, fixed random starting set-ups so both runs face identical tasks, with force off and with force on; the difference is ForceHarness's effect for your model. Then write one of your own contact tasks as a plain instruction against the existing primitives, and run it with the scripted agent on the fake backend before any model sees it.
Show technical view: force on against force off
- Force off, same seed
python scripts/run_episode.py ... --fmt none --interface pose --seed 9100- A whole test matrix
python scripts/run_matrix.py --matrix configs/hiddenphys/forceharness_astra.yaml --workers 8 --out runs- Compare the results
python scripts/hiddenphys/compare_table.py --runs runs
Move to a real arm
The README is blunt: real-robot code moves hardware, so keep a person at the emergency stop. Recent changes to the real-robot path have not yet been re-validated on hardware. The paper's safety guard stops the arm before it can press too hard, move too fast or act on a command that arrived too late.
Show technical view: the safety guard's limits
- Force
- Above 25 N, or twist above 3 N·m
- Speed
- Above 8 mm/s
- Tracking
- The hand more than 15 mm from where it was told to be
- Stale commands
- Older than 300 ms
How much does ForceHarness cost to run?
None for ForceHarness. The trained policies it was compared with needed about 200 demonstrations per task and 30,000 to 40,000 training steps.
No price per job in the paper. Measured as tokens × list price, GPT-6 Astra's cost per simulated job fell 45% with ForceHarness; GPT-6.1 Sol came close to Astra at about a fifth of the cost.
Not given, beyond seconds between moves. You need an arm with sensors in its joints that measure twisting load, or a force sensor at the wrist.
Free, MIT licence.
How you'll know
What to watch
Watch peak force against the 25 N stop, the flags in each reading (lost contact, jammed), drift in the joint-based force reading as the arm changes position, and jobs that hit the budget. Peg-in-hole was the hardest task for every model, and three of GPT-6 Astra's peg runs ran out of time.
Under the hood
Picture a supervisor on a video call with a worker on a factory floor. The supervisor is clever and sees through the worker's camera, but can't feel anything, and each instruction takes seconds to arrive. That supervisor is the hosted model. The question is what the worker should say back.
Why do camera-steered robot arms fail at touch tasks?
One move, today and with ForceHarness
Follow one move round the loop. Then switch ForceHarness on to see what changes at each stop.
The camera sends a picture of three bottles.
A picture has no weight in it, so all three look the same.
Sources: [1]
Why this fails at contact. A picture has no weight, stiffness or friction in it. The controller goes to the point whatever is in the way: a scripted position-only controller managed 2 of 40 episodes on four contact tasks. And the model is too slow to steer a press; by the time it has read a force and answered, the moment has gone.
The two fixes tried today. Sending the model raw force numbers tells it something was felt, but it still can't react inside the press. Training a force-aware policy takes about 200 recorded demonstrations per task. In the paper's simulation, giving three such policies force did not help: Diffusion Policy fell from 83 to 74 of 140, π0.5 from 69 to 67, and they pressed too hard in 13 to 29 runs.
The fix and its methods
The fix: the worker stops by feel and reports a number
ForceHarness is software on the computer next to the arm, between the hosted model and the arm's controller. It is called a harness because it wraps around a model that stays unchanged, the way a harness fits a horse without changing the horse. The supervisor stays; the worker changes, running moves that stop themselves and reporting a measurement, not a feeling.
The bottle job, start to finish. The model finds the first bottle in the camera picture, and a locate tool turns that pixel into a 3D point. It calls grasp, then lift and hold: the arm lifts, settles and holds still while ForceHarness averages the force, then reports the mass with a ± and flags such as lost contact. While the model thinks, the arm unloads and waits, so the seconds cost nothing. After three lifts the model compares three masses, places the bottles in order and calls done. ForceHarness never decides what counts as heavy.
Where the data goes. The force signal stays on the local computer. The hosted model receives the quantities as text, the call history and the camera images from the last two turns, so those pictures and numbers go to the model provider. How long the provider keeps them is not in the source; it depends on your contract with them.
Method 1: Force read through the arm's own joints
When something pushes on the hand, every joint feels a little extra twist. Knowing the arm's shape, ForceHarness works backwards from those twists to how hard, and which way, the hand is pushed. It re-zeroes at rest, reads only after the arm settles, and reports the change from the start. Everyday version: you can feel a suitcase's weight in your shoulder with no scale in your hand. Caveat: the authors say the estimate drifts with the arm's pose and gets absolute grams wrong, so comparing weights is safer than reading exact grams.
Method 2: Self-terminating force primitives
A self-terminating force primitive is one complete move with its own control loop that ends itself: on contact, when a peg drops in, at a goal, or at a force cap or time limit as backups. There are twelve, plus about ten plain tools to move, grip, look and finish.
To press gently, ForceHarness sets the hand's target just past the surface; the arm's controller acts like a spring, so the further past, the harder the press, and a cap on that distance caps the force. Many times a second it nudges the target until the force felt matches the force wanted. Engineers call this admittance control: the hand gives way when pushed, so it holds a set force instead of a set point. Everyday version: pressing a doorbell until you feel the click. Evidence: a model writing the whole job as one program up front rose from 23% to 77% success with the primitives; deciding move by move with them reached 91%.
Method 3: The physics translation layer
After each primitive, the physics translation layer turns the force trace into mass, friction, stiffness, contact height or insertion progress, each with a ± and flags. No formula has a task threshold: it reports a stiffness, never this is soft. Everyday version: a kitchen scale says 612 g; you decide whether that is enough flour.
No force
Large model (GPT-6.1 Sol)0.63
Five smaller models0.18
Event words only (contact, dropped)
Large model (GPT-6.1 Sol)0.77
Five smaller models0.54
Force plot as an image
Large model (GPT-6.1 Sol)0.90
Five smaller models0.56
Raw numbers
Large model (GPT-6.1 Sol)0.87
Five smaller models0.63
Quantities with ± (the default)
Large model (GPT-6.1 Sol)0.90
Five smaller models0.70
For a large model, most of the gain comes from having force at all and from moves that stop themselves: any form of force got it to 0.77 or above. The translation matters most for smaller models, where quantities with ± beat raw numbers, 0.70 against 0.63.
Method 4: The model decides one move at a time
Each turn the model gets the instruction, the tool menu, its history and the latest results, and answers with one tool call. On the real arm it adapted: a wipe at 8 N left ink, so it retried at 10 N, and a side load while driving a screw made it release in place.
How well does ForceHarness score on touch tasks?
Sources
Check our working
- Sun, Ma, Zhang, Chen and Shou, ForceHarness: Turning Force into Action and Physics for Frozen Frontier Models, arXiv 2611.21099 (16 Nov 2026)
- showlab/ForceHarness, code and README (MIT licence)
Found this useful? Send it to someone who should read it.