Published 2025 | Version v1

A Self-Correcting Multi-Agent Framework for Language-Based Physics Simulation and Explanation

Authors/Creators

Description

Physics-based simulations are essential in science and engineering, yet creating them typically requires expert knowledge of numerical solvers and governing equations. Large language models (LLMs) offer new possibilities for natural language-based simulation, but they often fail when prompts are vague, incomplete, or multilingual. We present MCP-SIM (Memory-Coordinated Physics-Aware Simulation), a self-correcting multi-agent framework that transforms underspecified prompts into validated simulations and explanatory reports. The system integrates input clarification, code generation, error diagnosis, and multilingual explanation through structured agent collaboration and persistent memory. Rather than relying on one-shot code generation, MCP-SIM emulates expert-like reasoning via iterative plan–act–reflect–revise cycles (Figure 1). Tested on a twelve-task benchmark across diverse physics domains, MCP-SIM achieved 100% success, significantly outperforming baseline LLMs. In addition to numerical accuracy, the system produces interpretable, language-localized reports that explain each simulation’s physical logic. MCP-SIM represents a step toward general-purpose autonomous scientific assistants that simulate, adapt, and teach

Files

Files (19.9 kB)

Name Size
md5:99f5e11192b9be711d602a89fea08f46
4.6 kB Download
md5:59b8987e4c4e0df20a67eb4c80957192
3.4 kB Download
md5:5340f7cfc262b3911c9002781e01a1be
2.5 kB Download
md5:7c32d75968ec1c8e7105f92dd69598ae
3.0 kB Download
md5:6f3c7a48a8eccc5c5e3fa614fb21000b
3.8 kB Download
md5:6e79afad92939aec83518bf9f8963ce8
2.6 kB Download

Additional details

Identifiers

Other
None

Related works

Describes
None (Other)

Dates

Submitted
2025-06-12

References

  • None