Search papers, labs, and topics across Lattice.
To address the brittleness and lack of inspectability in end-to-end vision-language-action (VLA) models, this work introduces "Physical Coding" via HexaAnything, a framework that represents world state, task progression, and control policies as explicit, executable code. By leveraging tool-calling and closed-loop verification typical of digital coding agents, the system autonomously debugs execution failures and converts successful execution traces into training data for self-evolving policies. Evaluated on RoboCasa365, HexaAnything outperforms the XR-1 VLA on unseen composite tasks, with its fine-tuned HexaModel outperforming the base model across all splits and demonstrating zero-shot physical deployment on a dual-arm AgileX platform.
Robots fail out-of-distribution because monolithic VLA policies hide task state and recovery logic; treating physical execution as inspectable, debuggable code enables closed-loop failure recovery and continuous self-evolution.
Vision-language-action (VLA) and world-action (WAM) models map observations and instructions directly to robot actions. This directness ties a policy to training: minor layout or viewpoint changes cause failure, and instructions generalize poorly. The root cause lies in representation: task requirements, conditions, progress, and failure recovery are implicitly encoded in action sequences, making them difficult to inspect or revise. Digital coding agents offer a precedent: LLMs call tools, verify results, and revise from feedback as executable code. The same working pattern of explicit state, manageable execution, and revisable procedures underlies generalization and long-horizon execution in the physical world, letting physical experience return as reusable programs, memory, or evidence. We propose Physical Coding, representing task state and execution as code. Code as World records objects, relations, constraints, and progress; Code as Policy organizes planning, verification, recovery, and execution. We build HexaAnything, which calls perception, planning, and control tools, including VLA/WAM policies, and makes in-the-loop decisions from external feedback. Verified traces become data and memory, enabling evolution from tools and Harness to model weights, architectures, and ultimately hardware and task design. On RoboCasa365, HexaAnything improves Composite-Unseen and overall success over XR-1 VLA, and its Harness-trained HexaModel beats the base on every split, indicating code traces internalize physical execution. On PhyBench and a dual-arm AgileX robot, the agent autonomously completes physics experiments and most tabletop tasks, often faster than published results. We observe data, model, and tool self-evolution; future work targets weight internalization, autonomous redesign of architectures, languages, representations, and tasks, and deployment in manufacturing and science.