MarkovSim: an LLM Agent Harness with Bounded Context for Long-Horizon Computational Simulation
On the map: LLM agents and tool use → Software engineering coding agents also fits: General LLM agent frameworks and benchmarks
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 6 of its 25 references that are in the map. Submitted 26 Oct 2026.
Builds on
6 of 25 references.
References · 6
- 2023ChemCrow: Augmenting large-language models with chemistry toolscited by 715
- 2023An Empirical Study of the Non-determinism of ChatGPT in Code Generationcited by 161
- 2023MechAgents: Large language model multi-agent collaborations can solve mechanics problems, generate new data, and integrate knowledgecited by 72
- 2025AI Agents in Engineering Design: A Multi-Agent Framework for Aesthetic and Aerodynamic Car Designcited by 25
- 2025Large language model-empowered next-generation computer-aided engineeringcited by 10
- 2026A Multi-AI-agent Framework Enabling End-to-end Finite Element Analysis for Solid Mechanics Problemscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Scientific Coding with Large Language Models: Evidence from Finite Element Analysis
- 2025Foam-Agent: A Large Language Model-Based Multi-Agent Framework for Automating Computational Fluid Dynamics Workflows
- 2026Reliability by Architecture: Agentic Workflows for Validated Multi-Physics Simulation from Natural Language
- 2024Collaboration Dynamics and Reliability Challenges of Multi-Agent LLM Systems in Finite Element Analysis
- 2026Agentic Scientific Simulation: Execution-Grounded Model Construction and Reconstruction
- 2026From Static Templates to Dynamic Runtime Graphs: A Survey of Workflow Optimization for LLM Agents
- 2026WorldSolver: Can LLM Agents Simulate the Physical Dynamics via Solver Generation?
- 2025A Lightweight Large Language Model-Based Multi-Agent System for 2D Frame Structural Analysis