arXiv Science⌕ Search

arXiv · 2611.35172

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Zirui Wang, Mohamed M. Kassem, Adam Barker. 2026-11-25. When, Which, and What to Fork: The Launch-Policy Design Space for LLM Agents. https://doi.org/10.1145/3828161.3857903. https://arxiv.science/abs/2611.35172

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Gutenberg: Taming Latency-Critical Online Datacenter Services with Near-Data-Processing

Latency-critical online datacenter services place growing pressure on memory while requiring isolation, fairness, and predictable QoS. Servers that pair a host CPU with near-data processing (NDP) units can relieve this pressure by executing requests next to memory, but three problems stand in the way. First, prior NDP schedulers often optimize solely for throughput, ignoring tail-latency SLOs. Second, uneven and shifting compute and memory traffic can overload a few NDP units and increase tail latency. Third, when the CPU and an NDP unit share writable hot data, keeping these data coherent on every write significantly increases service times on both sides. We present Gutenberg, a management system that combines the complementary strengths of the host CPU and the NDP units. A lightweight sketch tracks how often each group of co-accessed data is requested and written, and Gutenberg uses these statistics at two levels. At the request level, SLO-aware routing sends each request to the CPU or to an NDP unit according to its remaining deadline. At the memory level, Gutenberg manages data at the granularity of hot groups: it balances work across the NDP units and the CPU, keeps write-heavy data on a single side, and guards against shifts in the read/write mix, the data placement, and the bottleneck. Per-tenant pacing isolates co-located tenants. Cycle-accurate simulation results show that Gutenberg improves service capacity--throughput while meeting tail-latency SLO--by up to 65% (28% on geometric mean) over the best baselines across five services and three NDP hardware regimes. Under a shifting workload it misses the SLO for only 0.04% of requests, compared to at least 1.85% for baselines, and it sustains two co-located services at 50% of their standalone load, versus 30% for the baselines.

cs.DC↗

A Match Made in Hell: Perpetual Exploration with a Gray Hole and Byzantine Agents

Mobile agents can monitor a network by revisiting its nodes to assess changing local conditions. We study how a team of such agents can monitor a ring with at most $f$ \emph{Byzantine} agents, which are controlled by an adversary and may deviate arbitrarily from the algorithm; the other agents are honest. The agents act in common rounds, agree on a clockwise direction, and start together at a safe home node. The ring has one \emph{gray hole}, a node that the same adversary may activate in any round to destroy every honest agent on it; all other nodes are safe. The goal of \emph{perpetual exploration} is that every safe node is visited infinitely often by at least one honest agent. A Byzantine agent can deliberately fail to return, and its absence is then indistinguishable from the destruction of an honest agent. We consider the \emph{whiteboard} model, in which agents communicate through whiteboards at the nodes, and the \emph{face-to-face} model, in which agents communicate only when they meet. In the whiteboard model, $2f+3$ agents are necessary and sufficient when the ring size $n\ge4$ is known. On a triangle ($n=3$), $2f+2$ agents are necessary and sufficient. When $n$ is unknown, $3f+3$ or fewer agents do not suffice, whereas $3f+5$ agents suffice. In the face-to-face model, $2f+2$ or fewer agents do not suffice for $n\ge4$, whereas $3f+3$ agents suffice when $n$ is known. For $f=0$ and known $n\ge4$, three agents are necessary and sufficient, improving the upper bound of four agents of Bhattacharya et al.\ [DISC~2025]. On known rings of four or five nodes, five agents tolerate one Byzantine agent, which is optimal. When $n$ is unknown and all agents are honest, five agents are necessary and sufficient - two more than for known $n\ge4$. Finally, with up to $f$ Byzantine agents and unknown $n$, $3f+3$ or fewer agents do not suffice, whereas $5f+5$ agents suffice.

cs.DC↗

SmartIntent: A Serverless Edge Intelligence Architecture with Local LLMs for Building Automation

Building automation increasingly requires edge systems that can interpret ambiguous, multilingual, and context-dependent requests while checking structured outputs before device dispatch. We present SmartIntent, a serverless edge-intelligence architecture combining local large language model (LLM) intent services, device-state aggregation, a context-grounded JSON interface, deterministic pre-dispatch checks, orchestration, and device microservices. We adapt two compact LLMs with LoRA and evaluate them against compact, medium, and large local models and remote API baselines on a 2,000-instance Chinese-English-French test set. We distinguish offline structured-intent metrics from deployment-level validity, latency, and energy. The strongest adapted model, Qwen3.5-4B+LoRA, improves over its base model by 22.8, 20.9, and 13.1 percentage points in clarification handling, device identification, and action-parameter correctness, respectively. It matches or exceeds Qwen3.6-27B in format compliance and clarification handling and remains 1.0 and 1.9 percentage points below it in device and action-parameter correctness, respectively. In a local K3s/Knative deployment, it improves valid-output rate over its base model by 10.0--14.9 percentage points and reduces baseline-adjusted run-level energy by 5.2--18.4%, with a latency increase of 10.9--16.6%. For Qwen3.5-4B+LoRA, thinking mode adds at most 1.6 percentage points to output validity but increases latency by 58.2--118.2% and energy by 78.5--152.2%. These results show that compact local LLM services with deterministic output checks can support structured intent generation for execution-oriented building automation under controlled edge-deployment conditions while exposing clear validity-latency-energy trade-offs.

cs.DC↗