When, Which, and What to Fork: The Launch-Policy Design Space for LLM Agents
Abstract
Agents built on LLMs are becoming a major workload for inference-serving systems. Because a single attempt often fails, operators run many replicas of the same agent on each task. Each replica, however, is a stateful stream whose context grows over time. When many such streams share an engine, they can exhaust its fixed KV-cache memory and hit the memory wall: the entire batch slows down. We argue that the missing control layer lies at the client: when to start each agent and from what state. We propose a launch policy that paces admission by running leaders first, publishes milestones from their trajectories as checkpoints, and then releases followers by forking from selected checkpoints. On SWE-bench Verified, across more than 200 graded runs, we compare our leader-follower policy with fixed-window launches under the same live-concurrency cap. On our main task, for batches of 64 agents, even when fixed-window uses its fastest tested concurrency cap of 26, our policy reduces batch completion time by 20% and yields 1.36 times the solves per lane-hour, with similar mean resolve rates. For a larger batch of 128 agents with a concurrency cap of 32, switching to our policy reduces completion time by 37% and yields 1.7 times the solves per lane-hour. These gains come from the complete policy, and the comparisons do not isolate the contributions of checkpoint inheritance and selection. Everything runs client-side on an unmodified engine.
Create a lesson
Metadata
- Comments
- 7 pages, 4 figures. Presented at the ACM Symposium on Cloud Computing (SoCC 2026), Singapore
Related papers
TokenSimV3: Full-Stack Simulation for Agentic LLM Serving and Hardware-Software Co-Design
Shared title terminologycs.DCZhuohang Bian, Songhan Huang, Zhuoran Li et al.
μSmith: An Agentic Factory for the Fastest Specialized LLM Serving Engines
Shared title terminologycs.DCYaoyao Ding, Qidong Su, Baorun Mu et al.
ForkTide: Lineage-Aware Placement for Branching Code-Agent Sandboxes
Shared title terminologycs.DCQibin Gu
HPC Navigator: A Researcher's App for Using Shared GPU Clusters with AI Agents
Shared title terminologycs.DCSebastian Haan
Copula: Sound Sharing of Stochastic Nodes Across Runs of Agentic Systems
Shared title terminologycs.DCBowen Sun, Haizhong Zheng, Beidi Chen et al.
Omokage: Understanding How Agents Develop and Optimize HPC Kernels on GPUs
Shared title terminologycs.DCLingqi Zhang, Jens Domke, Chen Zhuang et al.