Manuscript Offprint

arXiv:2609.03335

Latency-Aware Orchestration for Multi-Agent LLM Workflows on Heterogeneous GPUs

Jinghao Wang, Yifeng Zhang, Xiao Zhou, Yao Lu, Yihui Zhang, Xiaoyang Sun, Tianyu Wo, Xu Wang, Chunming Hu, Renyu Yang

Abstract

Concurrent multi-agent workflows expose future dependencies and serving-state requirements while running on heterogeneous GPU pools with time-varying load, model residency, and resource availability. The logical workflow defines the required computation, whereas its physical scheduling units, model-lifecycle actions, resource ordering, and placement must be selected according to the observed pool state. We present a prediction-guided runtime that uses workflow forecasts to construct and optimize a physical execution graph. Predictor estimates device-specific activation latency, peak memory, and model-loading cost, then propagates these predictions through workflow dependencies to forecast activation readiness and future model demand. Constructor builds semantics-preserving fusion and model-lifecycle alternatives, while Scheduler jointly optimizes their selection, placement, and execution order based on the live pool state. Across a workload spanning three workflow scenarios on a heterogeneous GPU pool, our system reduces end-to-end makespan and overall p95 completion latency under burst arrivals by up to 36.8% and 25.9%, respectively, over state-of-the-art workflow schedulers. It also saves up to 24.63 GPU-s per completed session.

Keywords: Multi-Agent Workflows, LLM Serving, Graph Optimization, Heterogeneous GPUs, Adaptive Scheduling

1 Introduction

LLMs such as DeepSeek [15], Qwen [41], and LLaMA [36] increasingly power compound AI systems that orchestrate model calls, tools, and control flow [46]. LangGraph [23], AutoGen [40], and AgentScope [11] express these applications as stateful Agent graphs. Software-development systems coordinate planners, coders, testers, and reviewers [16, 30], while information-seeking systems dispatch parallel researchers and integrate their results [4]. Serving these applications therefore means executing concurrent multi-Agent workflows whose dependencies, model state, and resource demands unfold over time.

Agent workflows increasingly process confidential inputs and proprietary data, making private deployment a practical requirement in privacy-sensitive sectors [5, 20]. Cost constraints keep these deployments on small, non-elastic GPU pools; fixed capacity and device heterogeneity make physical execution a first-order decision. Agent roles invoke different models and request shapes, and the same activation can vary substantially in latency, memory demand, and feasibility across GPUs [38]. A flexible review Agent can occupy the only high-capacity GPU required by a long-context synthesizer; model weights, KV caches, prefixes, and engine state can meanwhile remain useful to later activations. Because model upgrades and incremental GPU procurement also leave sparse model-device measurements, the runtime must decide not only when an Agent can run, but how and where to realize it.

Workflow progress exposes many physical choices before every downstream Agent becomes runnable. Once its branch, role, model, and eligible devices are determined, the runtime can prefetch its deployment or retain and reclaim resident replicas while a predecessor still runs. It can also fuse consecutive same-deployment activations, order independent units to avoid resource conflicts, and coordinate compatible model lifecycles across workflows. These choices preserve the logical workflow but change loading, residency, peak memory, and critical-path time; poor choices instead evict useful models or occupy a scarce GPU.

Prior systems schedule or place agent calls [17, 26, 27, 39], reduce model-loading overhead [9], anticipate KV reuse [29, 49], or predict isolated executions [38]. Existing planners couple several decisions but exclude admission-boundary transformations from joint lifecycle, ordering, placement, and cumulative-memory planning. They therefore do not jointly evaluate a transformation's cumulative effects on ready work, scarce devices, memory, and resident state.

The runtime must expose each resolved cross-workflow window, forecast readiness and device-specific costs, construct legal physical alternatives, and build a feasible graph-schedule plan that adapts to workflow events and telemetry.

Challenge 1: constructing legal physical executions. A logical agent graph fixes dependencies, roles, tool semantics, and externally visible effects, but leaves open how each activation is realized physically. The runtime must construct a bounded set of useful same-deployment fusions and model-lifecycle realizations while preserving logical dependencies, request isolation, and completed results.

Challenge 2: cross-device performance prediction. Physical-graph cost depends jointly on activation readiness, device-specific execution time, model-transition time, peak memory, and future deployment reuse. Exhaustive profiling does not scale across models, devices, sequence lengths, and serving configurations, while underestimation can reverse a device ranking or make an infeasible timeline appear feasible.

Challenge 3: feasible online graph-schedule construction. An alternative that is cheap in isolation can delay ready work, consume the only suitable GPU for a constrained agent, or violate capacity after model, request, engine, and transitional memory demands accumulate. The runtime must choose graph structure, placement, resource order, and state lifetime together, commit only a small executable prefix, and revise the uncommitted suffix when arrivals, tool returns, or telemetry invalidate the plan.

Our system uses a resolved but not-yet-runnable workflow window to prepare physical execution without changing logical semantics. At each scheduling event, Predictor forecasts activation-device costs and release times; Constructor enumerates legal fusion and model-lifecycle alternatives, including compatible actions shared across workflows; and Scheduler builds a feasible graph-schedule plan while protecting ready work. Our system commits only through the next execution boundary and revises uncommitted physical decisions as workflow events and vLLM telemetry arrive, while preserving logical dependencies and results.

The main contributions of this work are¹:

  • Graph construction. We construct bounded physical alternatives for concurrent multi-agent workflows through same-deployment chain fusion and compatible model-lifecycle actions, and expose them for joint planning with resource ordering and placement.
  • Cross-device performance prediction. Predictor estimates device-specific execution time, peak memory, and model-loading time and propagates these values through workflow dependencies to forecast activation readiness.
  • Adaptive scheduling. Scheduler constructs a feasible physical graph and schedule under live pool state and cumulative memory constraints, protects ready work, and reranks affected uncommitted decisions using runtime feedback.

References (14)