Skip to content
aiqbenchAI & Quantum Intelligence
NewsInsightsBenchmarksSkillsAsk AILearnAbout
...Loading your session
NewsInsightsBenchmarksSkillsAsk AILearnAbout
Back to list
aiqbench takeAI Products

aiqbench analysis

AgentServeSim introduces a novel simulation framework specifically designed for LLM agent programs, addressing the unique challenges of cross-turn state retention and policy-dependent scheduling that existing request-stream simulators miss. By validating against real vLLM deployments with sub-6% error rates, it enables efficient CPU-based policy search to optimize job completion times without requiring expensive GPU clusters for every iteration. This tool is critical for advancing the infrastructure layer required to scale complex, multi-step agent workflows effectively.
1
Source coveringarXiv

AgentServeSim: Serving-System Simulation and Policy Search for LLM Agent Programs

arXiv·September 9, 2026·1 min read

From arXiv

Full text

Large language model agents execute programs comprising multiple model turns interleaved with external tool calls. Their job completion time depends on how the serving system retains KV state across tool gaps, routes successor turns, and schedules competing programs. Most existing serving simulators operate on request streams in which arrivals are externally supplied and KV state follows request- or cache-scoped semantics. They therefore cannot jointly represent the cross-turn state and policy-dependent successor releases needed to evaluate counterfactual agent-serving trajectories.

We present AgentServeSim, a simulator whose unit of execution is the agent program. A Program Control Block maintains cross-turn state, while a Program Orchestrator causally releases successor turns from simulated predecessor completions. A Retention Plane controls KV state across tool gaps, and a Dispatch Plane determines where and when each ready turn executes. We validate AgentServeSim against real vLLM deployments in 20 paired simulator-real cells spanning two GPU platforms, Llama-3.1-8B and Llama-3.1-70B, coding and function-calling agents, and five arrival rates.

Mean JCT error remains within 5.5% on B200 and 5.2% in the saturated RTX PRO 6000 regime. Finally, we propose LLM-driven automated agent-serving policy search using AgentServeSim as a CPU-based fitness evaluator. The resulting policies improve mean JCT over hand-written seed policies by 0.5% for KV retention and 2.8% for scheduling.

Full text under the publisher's open licence · 209 words

Read at arXiv ↗Ask about this article

Related coverage

AI Products

AGENTSERVESIM: A Hardware-aware Simulator for Multi-Turn LLM Agent Serving

arXiv · Jun 9, 2026

Article info

Source

arXiv

Published

September 9, 2026

Read time

1 min

Category

AI Products
aiqbench
AI & Quantum Intelligence© aiqbench. All rights reserved.

Feeds:RSS·JSON Feed

LanguageEnglish·Românăbeta
NewsAI & TechQuantumInsights
ExploreBenchmarksLearn
CompanyAboutTrustLegal noticeTerms of ServicePrivacy PolicyCopyright noticesData erasureReport content

The aiqbench take, the insights, the daily digest and Ask answers are written by AI models from the sources shown, without editorial review before publication. They may contain errors — check the source. How the model is used →

  • News
  • Insights
  • Ask AI
  • Benchmarks
  • Account