Skip to content
Preprint

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

Oct 2026 · 0 citations · 25 references
Computer Science

TL;DR

MarkovSim, an LLM agent harness for long-horizon computational simulation, whose core is a context management scheme built into the workflow, passed 16 of 18 runs and corrected its own faults in both the solver operations and the model physics.

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.

View source

Similar papers

#natural language process... Preprint Nov 2026

WorkflowArena: Benchmarking Executable Workflow Orchestration in LLM-Based Multi-Agent Systems

Large language model agents are increasingly deployed as multi-agent systems rather than as a standalone model operating within a single context. Recent agent harnesses allow the model to instantiate worker agents and to author the executable workflow that coordinates them, shifting the design of system structure from...

Zheng Jiang, Fang Niu, Bo-Kai Peng et al. · 0 citations
#artificial intelligence Preprint Nov 2026

Keeping LLM Agents on Procedure: Executable Finite-State Control for Long-Horizon Instruction Fidelity

Much of the automation handed to language-model agents is procedural: each step needs little intelligence, but a long unattended run must follow a skill or SOP stated once at the start. We show that agents drift from such procedures over long runs, and that restating the instructions or resuming a stopped agent only mo...

Yu-Tao Sun, Hao-Kun Li, Ming-Shuai Chen et al. · 1 citation
#artificial intelligence Preprint Oct 2026

MASBench: Benchmarking LLM-based Multi-Agent Collaboration under Partial Observability

MASBench is introduced, a multi-agent collaboration benchmark designed under partially observable constraints that provides deterministic evaluation metrics, including performance score, communication cost, and cost effectiveness, to characterize both collaboration outcomes and communication overhead.

Qi-Zhi Chu, Ze-Kai Yu, Si-Jie Wen et al. · 1 citation
Preprint Oct 2026

Verse: Semantics and Verification of Hybrid Multi-Agent Scenarios

Verifying cyber-physical systems with many interacting agents remains difficult because interactions are mediated by sensors, individual decisions are constrained by environment (map) structure, and the resulting mode space scales combinatorially. We present Verse, a framework for writing agents, maps, and sensors in a...

Yang-Ge Li, Katherine Braught, Alex Yuan et al. · 0 citations

Staying on Task: Testing the Foundations of Long-Horizon Agent Reliability

Long-Transduction is introduced, a controlled diagnostic that tests a model's ability to stay on task during long generation while continuously reading, mutating, and outputting input-context dependent operations such as arithmetic, sorting, variable lookups, and table transformations.

Jeffrey Willette, Krishna C. Puvvada, Boris Ginsburg · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.