CODE, MEMORY & PHYSICAL INTELLIGENCE

HarnessPAI

An Evolving Harness for Physical AI

Darwin Agent

HarnessPAI spans seven experimental settings, four embodiment categories, and five downstream interfaces, combining memory, open-loop program execution, and closed-loop evolution
One executable, evolving harness across models and embodiments.
ABSTRACT

Physical intelligence beyond the action model.

Physical AI aims to build embodied agents that perceive the world, understand and reason about it, and decide how to act. Yet the field has focused primarily on the action model that maps observations to low-level controls. Even strong action models remain vulnerable to scene perturbations and long-horizon tasks, motivating explicit support for perception and reasoning.

We introduce HarnessPAI, a model- and embodiment-agnostic harness that treats code as the executable and evolvable interface around an action primitive. Within a rollout, a fixed program guides and checks execution. Across rollouts, execution feedback revises the program and distills failures into reusable skills.

Across robot arms, household robots, a robot vacuum, and a legged agent, HarnessPAI improves task completion without retraining the underlying model, including +61.6 percentage points on LIBERO-PRO and +27.2 points on RoboCasa atomic tasks. Once selected, the program runs without online high-level LLM deliberation. In a separate downstream experiment, fine-tuning π0.5 on successful harness trajectories improves LIBERO-PRO success by 38.8 points. These results point toward physical agents that integrate perception, task reasoning, and action through executable, verifiable, feedback-driven programs.

01 / OVERVIEW

The model is a primitive.
The program completes the task.

Physical tasks demand more than an action prediction. HarnessPAI builds executable programs that coordinate perception, geometric reasoning, control, learned action models, and success checks. The program stays fixed within a rollout; feedback improves it between rollouts.

Compose capabilities

Combine learned policies with explicit perception, geometry, and control APIs.

Evolve executable code

Diagnose failures, revise isolated candidates, and validate before promotion.

Retain repair knowledge

Keep task programs, structured skills, and maintained implementations for reuse.

HarnessPAI architecture: task memory, structured skill memory, executable code memory, and a library of perception, control, and model primitives
Persistent memories connect the task to an executable program and its action primitives.

One task graph, different control units.

The task graph connects grounding, approach, grasp, lift, transport, and placement. At each stage, the fixed program invokes the appropriate perception or control unit: SAM3 and Molmo for grounding, control APIs for approach, lift, and transport, and the VLA for grasp and placement.

LIBERO Spatial · stage-by-stage execution

The highlighted panel follows the active stage. Different stages use different units within the same retained program; the program itself is not rewritten during this rollout.
02 / MOTIVATION

Three questions behind the HarnessPAI.

Action competence is only one part of a physical agent. The examples in Section 3 of the manuscript motivate explicit grounding, stable execution, and a program that can improve from experience.

2.1

Why Do Physical Models Need a Harness?

Strong action performance does not guarantee reliable task completion when an instruction changes, a target moves, or a contact requires precision. HarnessPAI complements the frozen action model with explicit target grounding, geometric reasoning, and execution checks.

One word changes which bowl to pick.

“Pick up the black bowl not between the plate and the ramekin and place it on the plate.”

Adding “not” before “between” changes the intended target to a different bowl, yet π0.5 still grasps the bowl specified by the original instruction. HarnessPAI re-grounds the instruction in code and grasps the correct bowl. The manuscript also shows that externally masking the scene does not resolve the error; the pair below shows the unmasked rollouts.

Pure VLA · original instruction

Original instruction: “Pick up the black bowl between the plate and the ramekin and place it on the plate.” Pure VLA ep0 success, before adding “not”; complete rollout at 2×.

With “not” · comparison

Pure VLANormal · wrong bowlHarnessPAINormal · correct bowl

2× source playback. Pure VLA ep6 vs. HarnessPAI ep9. Paper Spatial / Task 0: 0% → 92% (+92 pp), measured over 50 trials per method, not from this selected pair.

The original-instruction reference and the negated-instruction comparison use different episodes; per-episode positions vary. They are not an identical-initial-state comparison.

The instruction stays the same. The destination moves.

The VLA succeeds in the original layout. After the plate and the other black bowl swap positions, it initially carries the target toward the plate’s old location, then fails to complete placement. HarnessPAI re-locates the destination and succeeds in the swapped layout.

Pure VLA · original layout

Pure VLA success before the swap. Standalone baseline reference, 2× source playback.

Swapped layout · comparison

Pure VLASwapped · failureHarnessPAISwapped · success

Plate and distractor bowl swapped on both sides. Complete rollouts at 2×; HarnessPAI’s source masking retained. Exact initial-state equality is unverified.

Paper Spatial / Swap / Task 1: 50% → 100% (+50 pp), measured over 50 trials per method, not from this selected pair.

Recorded instruction (Spatial / Task 1): “Pick up the black bowl next to the ramekin and place it on the plate.” LIBERO-PRO aggregate results.

Reaching the button is not the same as pressing it.

On RoboCasa’s microwave task, the evaluated WAM reaches toward the small start button but fails to press it in the illustrated rollout. HarnessPAI completes the button-pressing task.

Turn on the microwave · head camera

Pure WAMHead camera · failureHarnessPAIHead camera · success

Each pair uses the complete corresponding column from the two three-view recordings, preserving aspect ratios. 1× source playback; the shorter clip holds its final frame. Different source sampling means clip lengths do not measure execution speed. RoboCasa aggregate results.

These examples motivate the harness; they do not establish that training eroded language or vision, or isolate a single cause of fine-manipulation failure.

2.2

Why Open-Loop Execution?

Physical actions can leave persistent changes. A lost or overturned pot may leave no useful recovery within the rollout. Grounding and checks should therefore aim to prevent high-risk mistakes and improve first-attempt success.

Irreversible pot-handling error

Illustrative failurePot droppedHarnessPAISuccessful lift

2× source playback. Left: illustrative scripted drop in robosuite TwoArmLift, with the pot lost below the table. Right: successful lift. This is not a pure-WAM baseline or a RoboCasa benchmark comparison.

Within one rollout

Keep the program fixed. Read observations, ground targets, and run predefined checks and recovery.

Between rollouts

Use outcomes to revise the code, then validate the next candidate in a resettable experimental environment.

“Open-loop” is a program-level distinction, not blind action playback. It does not remove feedback control or guarantee safety; real-world resets cannot be assumed.

2.3

Why Use Code as a Physical Harness?

Code makes perception, grounding, action, and checks explicit within one control structure. It can invoke a learned VLA or WAM as a primitive, or use direct control APIs when no action model is available. The program executes within a rollout and evolves from feedback between rollouts.

Executable

Ground the scene, compose actions, and check task success during execution.

Inspectable

Locate and diagnose perception, grounding, and recovery decisions in an explicit control structure.

Evolvable

Revise a failing stage from feedback, re-evaluate, and retain a validated implementation.

HarnessPAI targets one task executed many times: development produces a reusable program, while a repair-skill library preserves lessons such as re-localizing after a missed grasp or checking a button press before proceeding. Repeated deployment offers opportunities to improve the program; it does not relax the requirements of each physical attempt.

03 / METHOD

Execute. Diagnose. Evolve.

High-level reasoning belongs in program development, not at every action step. During a rollout, the program can read observations, branch, check outcomes, and recover without online high-level LLM deliberation.

01

Define

Specify the task, permitted primitives, and an authoritative success contract.

02

Execute

Preflight an isolated candidate, then run it across a batch of environments.

03

Diagnose

Use rollout evidence and VLM feedback to identify the failing program stage.

04

Validate & retain

Revise the implementation, check success, and preserve validated code and skills.

Optional initialization stages feed a coding agent, which iterates through rollouts, diagnosis, code repair, skill management, and validation
Optional workflow extraction, policy evaluation, and perception initialization support the required program-evolution loop.
What is fixed during execution?

The executable task program is fixed for one rollout. Sensor-driven branches and predefined recovery remain active. “Open-loop execution” refers to the program-level plan, not blind action playback or the absence of control feedback.

What does a skill store?

A skill is a workflow-node-indexed account of a problem and its repair, linked to maintained executable code. Task Memory retrieves programs, Structured Skill Memory retrieves repair knowledge, and Executable Code Memory preserves implementations.

For example, aligning an object to a basket mouth requires the upper rim, not the basket-body centroid. A grounding repair can correct the target without rewriting the placement controller.

When does a candidate become the retained program?

VLM diagnosis guides revision, while the environment's deterministic success condition gates promotion. Crashes and timeouts count as failures. Evolution ends when development rollouts meet the contract or the round budget is exhausted; unsuccessful candidates do not replace the validated program.

How can the harness improve the action model?

Successful rollouts supply success-filtered demonstrations for supervised fine-tuning. This is a downstream use of the evolved harness, separate from the main frozen-backend experiments. The reported work does not establish a complete bidirectional harness-model co-evolution cycle.

04 / RESULTS & DEMOS

Seven settings. One program-level idea.

From single-arm manipulation to a mobile household robot, a cleaning robot, and a legged agent: evolve the harness around the available action interface.

Reported results at a glance
ExperimentReferenceHarnessPAIMeasure / scope
LIBERO-PRO34.9% (π0.5)96.5%Success · Swap + Task
RoboCasa65.0% (WorldDreamer)92.2%Success · 18 Atomic-Seen tasks
robosuite81.0% (ASPIRE)96.3%Success · 7 tasks
LIBERO96.9% (π0.5)98.1%Success · 3 suites
BEHAVIOR-1K84% / 72% (zero-shot)100% / 92%Radio / soda can · after adaptation
VacuSim4.90% / 11.7% (40 × 40 campaign start / 25 × 25 initial policy)63.76% / 53.92%Coverage · 40 × 40 / 25 × 25 maps
MicroDuckUp to 0.8 m drift (PPO Walker)Near-zero lateral errorReported straight-line trajectory

ROBUST MANIPULATION · VLA

LIBERO-PRO

+61.6 percentage points

Controlled changes to object positions and task instructions expose failures hidden by familiar layouts. HarnessPAI improves the same π0.5 action backend from 34.9% to 96.5% across the reported perturbations.

95.7% Swap97.4% Task60 perturbed tasks

Pick up the cream cheese and place it in the basket

Pure VLAWrong objectHarnessPAISuccess
10.8% → 99.2%Object / Task subset · +88.4 pp

Selected task: cream cheese, not alphabet soup. Paper Task 0: 0% → 100%. The subset score above averages all 10 Object / Task tasks.

All three comparisons use 2× source playback, with pure VLA on the left and HarnessPAI on the right. Each pair shares a task, not a verified identical initial state. Masked observations are preserved. Shorter clips hold their final frame with an explicit end label.

KITCHEN MANIPULATION · WORLD ACTION MODEL

RoboCasa

+27.2 percentage points

Explicit perception and geometric control complement WorldDreamer in kitchen tasks. On the evaluated Atomic-Seen subset, successful episodes increase from 234 / 360 to 332 / 360.

Turn on the microwave · WorldDreamer vs. HarnessPAI

WorldDreamerFailureHarnessPAISuccess
0% → 100%TurnOnMicrowave · +100 pp · 0/20 → 20/20 paper trials

Task 16; source seed 53, layout 2, style 2. The +27.2 pp result is the manuscript’s 18-task, 20-trial-per-task aggregate, not a statistic computed from this pair. Different source sampling prevents a timing comparison.

SINGLE-ARM & BIMANUAL · GRASPNET

robosuite

+15.3pp over ASPIRE · cross-paper

Seven tasks test grasping, insertion, stacking, wiping, and two-arm coordination. HarnessPAI reaches 100% on five tasks, 91% on two-arm lifting, and 83% on insertion.

Per-task robosuite success rates for HarnessPAI and reported reference methods
81.0% → 96.3% average success. External baselines are taken from the ASPIRE paper, as cited in the manuscript.

Successful rollouts only. Rate differences are cross-paper comparisons, not a pure-model ablation. Original recordings are 224 × 224 pixels.

STANDARD MANIPULATION · VLA

LIBERO

+1.2pp · standard-suite average

The harness also improves a strong starting point: π0.5 rises from 96.9% to 98.1% across Spatial, Object, and Goal.

MethodSpatialObjectGoalOverall
π0.595.6%100%95.2%96.9%
HarnessPAI97.2%100%97.2%98.1%
Alphabet soup → basket · Object / Base
Standard-task success, Object / Base, task 0. The base policy is already at 100% on this suite.

BEYOND FAMILIAR SCENES

What changes when the instruction or layout changes?

The “not between” comparison and the changed plate location are presented in Motivation. Those are Task / Swap perturbations, separate from the standard-suite result above.

Instruction and scene perturbations

MOBILE HOUSEHOLD MANIPULATION · GRASPNET

BEHAVIOR-1K

+20pp · soda-can adaptation

A humanoid upper body on a mobile base must first reach an object, then pick it up. Program adaptation repairs the gap between navigation and end-to-end completion on two household tasks.

84% → 100% Pick up radio72% → 92% Pick up soda can
Pick up the blue soda can 4× playback
One complete successful rollout, seed 1, egocentric view. Navigation, approach, and grasp are retained.

FROM NAVIGATION TO COMPLETION

Reach the object. Finish the task.

The final soda-can program completes 23 of 25 evaluated trials. Eight adaptation rounds improve task success from 72% to 92% on the evaluated seeds.

The reference is the zero-shot program, not a pure-model baseline or an unseen-seed comparison.

BEHAVIOR-1K adaptation over eight rounds: radio task success improves from 84 to 100 percent, soda-can task success from 72 to 92 percent; navigation remains at 100 and 92 percent
Navigation and end-to-end task success during program adaptation.
Evaluation protocol

The initial program is evolved on seeds 26–35 and tested zero-shot on seeds 1–25. Eight further rounds adapt it on previously failing seeds within 1–25. Navigation remains at 100% for radio and 92% for soda can throughout these rounds.

BEHAVIOR-1K reference comparisons, separating navigation from end-to-end task success
Reported reference comparisons use the respective protocols described in the manuscript.

COVERAGE & NAVIGATION · CONTROL API

VacuSim

63.76% coverage · 40 × 40

No learned action model is required here. A differential-drive vacuum uses velocity commands and read-only sensor feedback; supervisor-measured cleaning progress guides program evolution.

4.90% → 63.76% Unfurnished · 40 × 4011.7% → 53.92% Furnished · 25 × 2573.06% Furnished cleanable ceiling
Furnished · 25 × 25 30× playback
53.92% final coverage. Central simulation view from the same recording; application controls and inset map cropped out. 29.47 seconds at 30× source playback.
Unfurnished · 40 × 40 2× playback
Same reference recording, central scene only. Loading trimmed; 22.23 seconds at 2× source playback. This recording ends at 62.91% coverage; the paper reports 63.76% for its evaluated run.
cleaning coverage over time, 63.76 percent in the unfurnished map and 11.72 to 53.92 percent in the furnished map
Left: unfurnished 40 × 40, final coverage 63.76%. Right: furnished 25 × 25, initial policy 11.72% → evolved policy 53.92%; the physically cleanable ceiling is 73.06%.

Playback multipliers refer to the original recordings, not simulation time. The two maps have different time budgets and attainable coverage. No improvement over the strongest 40 × 40 baseline is inferred from the plot.

Campaign evolution and evaluation scope

Coverage is measured by the ground supervisor, not planner-side tile counts. The unfurnished 40 × 40 map improves from 4.90% to 63.76%; the furnished 25 × 25 map improves from an initial-policy coverage of 11.7% to 53.92%.

VacuSim evolution: coverage improves from 4.90 to 63.76 percent on the 40 by 40 map and from 11.7 to 53.92 percent on the 25 by 25 map
Campaign-level evolution under the two map settings.

Each outer round selects a technical direction, explored through isolated candidates with its own Skill and Code memory. Three valid attempts without improvement retire that direction; bounded combinations of validated skills are tested before moving to another direction. Failed candidates remain diagnostic evidence without overwriting the retained program.

LEGGED LOCOMOTION · FROZEN PPO

MicroDuck

Near zerolateral error · paper trajectory

The learned Walker policy advances but drifts sideways. HarnessPAI measures the heading error and steers the same policy back toward the line, without retraining the Walker.

MicroDuck manuscript experiment: over 4 meters of forward progress, the pure policy drifts up to 0.8 meters while the harness keeps lateral error near zero and reaches the goal
Reported straight-line experiment: up to 0.8 m lateral drift for the pure policy over 4 m of forward progress, versus near-zero lateral error with HarnessPAI. The manuscript reports trajectory error and goal distance, not a batch success rate.
Walk to the ball 4.5× playback
Supplementary demonstration. The full source recording is accelerated to 9.33 seconds, retaining ball contact.

SUPPLEMENTARY DEMONSTRATIONS

Keep the frozen walker on course.

The videos illustrate straight-line walking with ball contact, commanded head motion while balancing, and walking on stilts. They are separate from the manuscript’s straight-line trajectory above.

These selected demonstrations carry no additional success-rate or percentage-improvement claims.

Balance on the ball and nod on command

Frozen policy0 requested nodsHarnessPAI3 requested nods

Supplementary comparison, 1× source playback. Front and side views show a fixed head for the frozen policy and commanded nodding with HarnessPAI. Both robots remain standing in this selected recording; the visible nod counts are clip observations, not manuscript success statistics.

Walk on stilts and contact the ball

Frozen policyMisses the ballHarnessPAIBall contact

Supplementary comparison, 1× source playback. The pure policy veers past the ball; the feedback-guided policy reaches it. No quantitative improvement is attributed to this selected pair.

05 / FURTHER ANALYSIS

What persists beyond one rollout?

TRANSFER A new action backend. The same harness.

A harness evolved with π0.5 is reused with DreamZero on LIBERO-PRO Object, without re-evolution.

Swap
0.6% → 73.4%
Task
9.6% → 84.4%

Object suite only. These are not averages across all three LIBERO-PRO suites.

EXECUTION Reason during development. Run the retained program.

Fixed-program execution removes online high-level LLM deliberation. Perception, action inference, simulation, and hardware still have costs.

Swap · serial
23.1× speedup
Task · serial
18.4× speedup

Reported serial execution speedups on LIBERO-Goal Task 1 relative to Harness VLA, under Swap and Task perturbations. This is not a program-development or lifecycle-cost estimate.

SKILL MEMORY Repair knowledge supports faster revision

With the skill library, three representative LIBERO-PRO Object tasks reach 100% development-batch success within the first two rounds. Without it, the observed trajectories include delayed jumps, oscillation, and gradual improvement.

Program evolution curves for three representative tasks, comparing access to a skill library against no skill library
Object tasks 0, 1, and 5. Each development score pools 15 seeds under Swap and Task, for 30 seed-condition rollouts. These curves are not held-out cross-task transfer evidence.
POST-TRAINING Evolved code as an efficient demonstration collector

Evolution produces more than a capable policy wrapper: it produces a reusable source of training data. Once validated, the converged code can run repeatedly across layouts and instructions without high-level LLM deliberation at every step. An environment-success gate turns reliable execution into demonstrations for the action model.

  1. Reuse evolved code

    Retain the task program after evolution and validation.

  2. Collect rollouts

    Re-run the same program under base, Swap, and Task conditions.

  3. Keep successes

    Retain trajectories that pass the environment task-success check; discard failures.

  4. Post-train the model

    Fine-tune on successful demonstrations to transfer corrections into model weights.

Why collect training trajectories with evolved code?
AdvantageReported evidenceValue for collection
Efficient execution23.1× / 18.4× serial speedupLower repeated-execution overhead than Harness VLA on LIBERO-Goal Task 1 under Swap / Task.
No stepwise deliberation0 online high-level LLM API chargeFixed code needs no stepwise high-level reasoning calls. Perception, action inference, simulation, and hardware still have costs.
Success filteringEnvironment-confirmed successful trajectories onlyThe collector need not succeed on every seed: failed attempts are excluded from the demonstrations.

The collected trajectories improve the underlying model. The following post-training experiment is separate from the main results, which evolve code around a frozen action model.

34.9% → 73.7%π0.5-LIBERO · +38.8 pp after full-mixture fine-tuning

The full mixture samples all three suites under base, Swap, and Task in equal proportion across nine categories. π0.5-Base improves from near zero to 53.3%. Both results use each model’s best checkpoint within 30,000 training steps.

Full-mixture post-training curves for pi0.5-Base and pi0.5-LIBERO on held-out LIBERO-PRO seeds under Swap and Task
Full-mixture post-training. Evaluate all three suites under Swap and Task, 60 perturbed tasks in total.
Separate per-suite fine-tuning · best checkpoint within 15,000 steps
SuiteBefore fine-tuningAfter fine-tuning
Object21.5%88.0%
Spatial50.0%82.5%
Goal32.5%54.5%
Per-suite post-training curves on Object, Spatial, and Goal under Swap and Task, with equal base, Swap, and Task training mixtures
Per-suite fine-tuning mixes base, Swap, and Task trajectories 1:1:1, then evaluates on that suite’s Swap and Task conditions.

For each task, seeds 0–39 supply the additional fine-tuning data; seeds 40–49 are held out for evaluation. Reported maxima follow the manuscript’s best-checkpoint convention, not final-step performance.

SCOPE Repeated tasks, explicit validation, bounded claims

HarnessPAI targets repeated-task settings where a task program can be developed, evaluated, and reused. It is not demonstrated as a universal one-shot solution to unseen tasks. Performance depends on the available primitives, perception quality, success contract, and evolution budget.

Reference methods and metrics differ across experiments: task success, floor coverage, and lateral error measure their respective task objectives.

06 / CITATION

Citation

arXiv preprint · 2026

Xin Wang, Wenhao Wu, Menghao Zhang, et al. HarnessPAI: An Evolving Harness for Physical AI.

arXiv:2609.29166
@article{wang2026harnesspai,
  title   = {{HarnessPAI}: An Evolving Harness for Physical AI},
  author  = {Xin Wang and Wenhao Wu and Menghao Zhang and Zhi Wang and Kun Shao and Jian Luan and Yang Li and Qing Li and Shangding Gu and Huichi Zhou and Shuqing Shi and Fei Ni and Shuo Lu and Weicheng Meng and Kang Li and Jin Wu and Kang Zhao and Shangmin Guo and Gen Li and Yongqiang Tang and Zhizhong Zhang and Yuan Xie and Heng Qu},
  journal = {arXiv preprint arXiv:2609.29166},
  year    = {2026}
}

Figure