Researchers built a Model Context Protocol server for AI agents to control live discrete element simulations. The agent can submit, monitor, read, change or stop a running simulation. A human modeler remains at the engine console and the agent sees their actions. The tools follow four principles: correctness, coverage, orthogonality and simplicity. Two documentation tools let the agent search and browse the engine manual. Five execution tools let the agent run code, submit jobs, check status, read models and stop runs. A bridge connects the server to PFC and YADE engines. A case study showed an agent calibrating a sand model in both engines while the modeler worked. The same calibration ran on YADE with seven language models, three sessions each. Twenty of twenty-one sessions hit the calibration targets. Nineteen of the twenty-one parameter sets clustered in one small region. The server and bridge are released as open-source packages.
What changed
AI agents could not interact with live discrete element simulations in real time.
What it unlocks
AI agents can now operate, monitor, and modify live discrete element simulations while they run.
- 20 of 21 sessions reached targets
- 19 of 21 parameter sets in one small region
- 26 pages, 13 figures
What you need to act on it
- Model Context Protocol server
- commercial or open-source discrete element engine (PFC or YADE)
- human modeler at engine console
Sources