WorldSolver: Can LLM Agents Simulate the Physical Dynamics via Solver Generation?

Siru Jiang, Tieniu Tan and colleagues (CASIA, Peking University, Huawei Noah's Ark Lab) introduce WorldSolver, a benchmark that asks coding agents to implement physics solvers that reproduce phenomena from computer graphics papers.
Ask this paper
Benchmark. 168 tasks from 61 classic graphics papers across 7 physical domains. Each task gives a fixed simulation scaffold and leaves the solver for the agent to write.
Three checks. Execution, visual fidelity of the rendered simulation, and physical plausibility of the generated dynamics.
Low scores. GPT-5.6-Sol scores 48.7% and Claude-Opus-5 46.7%; Gemini-3.7-Flash reaches 29.3% and most other agents are near 20%.
Execution is the first gap. All models submit solvers for 88% to 100% of tasks, but only 38% (Kimi-K2.7-Code) to 82% (GPT-5.6-Sol) produce valid trajectories and videos. GPT-5.6-Sol and Claude-Opus-5 pass 41% and 37% of cases.
Domain differences. GPT-5.6-Sol leads by 26% on rods and strands, and Claude-Opus-5 leads by 24.3% on cloth and shells.
Abstract
LLM-based agents are increasingly advancing scientific and engineering problem solving, with physics simulation emerging as a challenging yet practical testbed for reproducing complex physical phenomena with application in embodied AI, games and films. As the workhorse of such simulation, a solver computes how the state of a dynamic system evolves over time. Building such solvers requires physical understanding to identify appropriate models, mathematical reasoning to formulate the underlying dynamics, and software engineering to implement them as executable code, yet this capability of LLM agents remains underexplored. To this end, we introduce WorldSolver, a benchmark of 168 simulation tasks derived from physical phenomena in 61 classic computer graphics papers, spanning 7 physical domains. Each task contains a code scaffold that provides a fixed simulation environment for the scene, with the solver implementation left for the agent to complete. Specifically, we evaluate them along three dimensions: Execution Checks for successful execution, Visual Fidelity for reproducing the intended dynamic behavior in the rendered simulation, and Physical Plausibility for physics-grounded verification of the generated dynamics. Experiments on frontier agents reveal that producing executable solvers is difficult itself, and satisfying visual and physical correctness is even harder. GPT-5.6-Sol and Claude-Opus-5 perform comparatively better than the other evaluated agents, yet achieve overall scores of only 48.7% and 46.7%, respectively. WorldSolver is an early step toward agentic solver generation, and we hope it helps drive progress toward agents that can faithfully simulate the dynamic physical world. Code is available at https://github.com/sirujiang/WorldSolver.