Astraea: A State-Aware Scheduling Engine for LLM-Powered Agents

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Ni, Hongqiu, Zhang, Jiabao, Li, Guopeng, Wang, Zilong, Wu, Ruiqi, Zhang, Chi, Tan, Haisheng
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914203608023040
author Ni, Hongqiu
Zhang, Jiabao
Li, Guopeng
Wang, Zilong
Wu, Ruiqi
Zhang, Chi
Tan, Haisheng
author_facet Ni, Hongqiu
Zhang, Jiabao
Li, Guopeng
Wang, Zilong
Wu, Ruiqi
Zhang, Chi
Tan, Haisheng
contents Large Language Models (LLMs) are increasingly being deployed as intelligent agents. Their multi-stage workflows, which alternate between local computation and calls to external network services like Web APIs, introduce a mismatch in their execution pattern and the scheduling granularity of existing inference systems such as vLLM. Existing systems typically focus on per-segment optimization which prevents them from minimizing the end-to-end latency of the complete agentic workflow, i.e., the global Job Completion Time (JCT) over the entire request lifecycle. To address this limitation, we propose Astraea, a service engine designed to shift the optimization from local segments to the global request lifecycle. Astraea employs a state-aware, hierarchical scheduling algorithm that integrates a request's historical state with future predictions. It dynamically classifies requests by their I/O and compute intensive nature and uses an enhanced HRRN policy to balance efficiency and fairness. Astraea also implements an adaptive KV cache manager that intelligently handles the agent state during I/O waits based on the system memory pressure. Extensive experiments show that Astraea reduces average JCT by up to 25.5\% compared to baseline methods. Moreover, our approach demonstrates strong robustness and stability under high load across various model scales.
format Preprint
id arxiv_https___arxiv_org_abs_2512_14142
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Astraea: A State-Aware Scheduling Engine for LLM-Powered Agents
Ni, Hongqiu
Zhang, Jiabao
Li, Guopeng
Wang, Zilong
Wu, Ruiqi
Zhang, Chi
Tan, Haisheng
Computation and Language
Large Language Models (LLMs) are increasingly being deployed as intelligent agents. Their multi-stage workflows, which alternate between local computation and calls to external network services like Web APIs, introduce a mismatch in their execution pattern and the scheduling granularity of existing inference systems such as vLLM. Existing systems typically focus on per-segment optimization which prevents them from minimizing the end-to-end latency of the complete agentic workflow, i.e., the global Job Completion Time (JCT) over the entire request lifecycle. To address this limitation, we propose Astraea, a service engine designed to shift the optimization from local segments to the global request lifecycle. Astraea employs a state-aware, hierarchical scheduling algorithm that integrates a request's historical state with future predictions. It dynamically classifies requests by their I/O and compute intensive nature and uses an enhanced HRRN policy to balance efficiency and fairness. Astraea also implements an adaptive KV cache manager that intelligently handles the agent state during I/O waits based on the system memory pressure. Extensive experiments show that Astraea reduces average JCT by up to 25.5\% compared to baseline methods. Moreover, our approach demonstrates strong robustness and stability under high load across various model scales.
title Astraea: A State-Aware Scheduling Engine for LLM-Powered Agents
topic Computation and Language
url https://arxiv.org/abs/2512.14142