📖
MarkovSim: an LLM Agent Harness with Bounded Context for Long-Horizon Computational Simulation
Yeui-Lung Lei, Wen-Bo Chen, Pan Zhang

MarkovSim: an LLM Agent Harness with Bounded Context for Long-Horizon Computational Simulation

Author / Organization:
Computer Science & Mathematics Published 2026 Verification Pending

Overview & Synopsis

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.

Indexed from repository: arXiv (arxiv.org)
Loading document from verified source...
Keyboard Shortcuts: ← / → for pages • + / - for zoom • 0 to fit width Powered by Mozilla PDF.js v3.11

Document Information

Document Title MarkovSim: an LLM Agent Harness with Bounded Context for Long-Horizon Computational Simulation
Author / Organization Yeui-Lung Lei, Wen-Bo Chen, Pan Zhang
Subject & Discipline cs.CE
Categories Computer Science & Mathematics
Publication Year 2026
License / Rights arXiv Open Access / Creative Commons
Resource Verification Listed PDF (Verification Pending)
Original Host Website arXiv (arxiv.org)
File Format application/pdf (Portable Document Format)
Language EN
Catalog ID DOC-993
Original Source Link Visit Source Page on arxiv.org »