Code2Worlds-2: Physically Plausible Agent Harness for Embodied World Simulation

Recent coding large language models (LLMs) can synthesize dynamic 4D worlds from natural language, but the resulting content remains a visual artifact. It lacks physical semantics such as the collision geometry, mass, friction, inertia, and joint structure, required to enable it to simulate the physical world, and its dynamics are scripted to look plausible rather than designed to execute. What is needed is an executable world: one that a physics engine can load and step, resolving contact physically. We present Code2Worlds-2, an extension of Code2Worlds that turns 4D world generation into an embodied world simulation. We keep the original dual-stream generation pipeline intact and append two modules. First, a SimReady Scene Compiler that turns a generated visual scene into a simulator-compatible representation: it assigns collision meshes via convex decomposition, estimates physical attributes with a vision-language model, infers a lightweight support graph, instantiates the engine's contact, friction, and dynamics constraints, and applies a gravity settling pass, before exporting the scene as MuJoCo MJCF. Second, a Simulator-in-the-Loop 4D Refiner that implements an automated agent harness-a compile, simulate, critique and refine loop-that converts visual dynamics into executable rigid and articulated dynamics and evolves the physical settings rather than only the code, replacing the purely visual motion critic with a simulator critic that inspects penetration depth, collision pairs, stability, contact forces, joint limits, and robot reachability. We further propose SimCode4D, a state-based benchmark with five task templates for evaluating embodied simulation. Experiments on SimCode4D and across natural, indoor, industrial, urban, and service scenes show that Code2Worlds-2 produces physically plausible, simulator-compatible, and robot-interactable scenes.

Link
https://www.semanticscholar.org/paper/fc1115fa703663f1dab3531639697e506123cf03
Found by
Semantic Scholar
Authors
Hao-Yu Zhang, Si-Ming Li, Ze-Yu Zhang, Yi Zhang, Tat-Seng Chua, Hao Tang
Categories
benchmark, evaluation, agentic
Published
2026-10-13
Last seen by the radar
2026-10-15
Citations
0
Influential citations
0
Radar score
44.25 / 100 (how it is scored)
Why it scored so
Matched: agent~harness, benchmark, evaluat; Primary record: Semantic Scholar
Related links
https://arxiv.org/abs/2610.17651
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar