MarkovSim: an LLM Agent Harness with Bounded Context for Long-Horizon Computational Simulation
Yeui-Lung Lei, Wen-Bo Chen, Pan Zhang
Abstract
Recent studies have applied large language model (LLM) agent systems to computational simulation workflows. Such workflows are long-horizon, so the information generated can exceed what an LLM can reason over at once, its context window. Context management is therefore essential, yet existing systems have either neglected it or treated it as a supporting mechanism rather than a subject of study. This paper presents MarkovSim, an LLM agent harness for long-horizon computational simulation, whose core is a context management scheme built into the workflow. The workflow record is written to a memory system with a predefined schema, and at workflow-defined boundaries, namely the state transitions of a finite-state machine a compact representation of the solution progress is constructed from it as the agent's context. Instantiated on finite element analysis and evaluated on six benchmark problems, MarkovSim passed 16 of 18 runs and corrected its own faults in both the solver operations and the model physics. The engineer was consulted only where engineering judgement was needed. The context remained bounded throughout every run, regardless of its length.
Create a lesson
Related papers
BizAgentBench: Unveiling Hidden Challenges in Deploying Long-Horizon Agents for Real-World Business
Shared title terminology · Enhan Zhao, Yongqi Tong, Xuejun Yu et al.
Reliability by Architecture: Agentic Workflows for Validated Multi-Physics Simulation from Natural Language
Shared title terminology · Søren Taverniers, Eric Darve, Hamdi A. Tchelepi
From Simulation to Suture Lines: Computational Fluid Dynamic Simulation-Guided Baffle Construction for Complex Biventricular Repair
Shared title terminology · Alexander K. Reed, Elena Sabdy Martinez, Alexander D. Kaiser et al.
Report2Alpha-Bench: Evaluating LLM Agents on End-to-End Quantitative Research
Shared title terminology · Yun Zhang, Hui Yang, Wei Meng
MSRyzen: An Agentic Platform for Unified Proteomics Analysis and Evidence-Centric Visualization
Shared title terminology · Yucheng Liao, Jubao Cheng, Zexu Xiao et al.
A Metamaterial Agentic Swarm: Coordinated Search for Discrete Mechanical Design
Shared title terminology · Achuth Chandrasekhar, Alexander Zhao, Amir Barati Farimani