From LLM Inference to Agentic Workloads: Characterization and Implications for Serving Systems
Organizations: Hong Kong University of Science and Technology · Alibaba Group · Bytedance
Abstract
Agentic applications are shifting AI serving from isolated model inference to long-running workloads in which LLMs coordinate tools, environments, and persistent state. However, the system behavior of these workloads---where latency, cost, and bottlenecks arise---remains poorly characterized, leaving serving systems to rely on assumptions built for conventional inference. We present AgentSysBench, a benchmark suite and measurement toolkit with ten representative agentic applications and unified systems-level instrumentation. Across controlled deployments and production traces, we identify six properties that distinguish agentic workloads from conventional LLM serving: (1) execution is heavyweight and stateful, with non-LLM components dominating latency in 5 of 10 applications and sandbox working-set memory peaking at 28 GB per session; (2) applications compose components with heterogeneous resource affinity---GPU-bound inference, memory-bound retrieval, CPU-bound sandboxes---whose task latencies diverge by up to 32x; (3) bottlenecks shift across requests, models, and deployments; (4) production sessions hold state idle for minutes to hours between active steps; (5) a control-plane tax---auxiliary LLM calls and context overhead from tool schemas and observations---crowds out productive compute and context; and (6) production traces from three applications reveal heavy cross-request redundancy in search queries and web fetches, exposing a large caching opportunity. Four design explorations demonstrate that these findings are actionable: task-aware serving reduces latency by 29--40%, communication-aware placement by up to 4.5x, state offloading reduces memory usage by 4.6x, and tool-result caching removes 35.2% of redundant search calls and saves 19.3% of aggregate search latency.
Figures & tables
| Domain | Application | Domain | Application |
| QA | RAG ( Gao et al., 2024 ) | AI search | DeepResearch ( AI, 2024 ) |
| Multimodal processing | HuggingGPT ( Shen et al., 2023 ) | Software engineering | Mini-SWE ( Team, 2025b ) |
| Terminal use | Codex ( OpenAI, 2025 ) | Browser use | WebAgent ( Research, 2025 ) |
| Computer use | GUIAgent ( Xie et al., 2024 ) | Tool-rich assistants | Claude Code ( Anthropic, 2025 ) |
| Office work | Openclaw ( WW-AI-Lab, 2025 ) | AutoResearch | Pi-AutoR ( Barcelona, 2025 ) |
| Application | Domain | Datasets | Key Tools/Envs | Major Orch. | Model |
| RAG ( Gao et al., 2024 ) | Retrieval QA | WQA ( Yang et al., 2015 ) , MS-MARCO ( Nguyen et al., 2016 ) | VecDB, embed | Pipeline | Qwen2.5-7B |
| HuggingGPT ( Shen et al., 2023 ) | Multimodal | TaskBench ( Shen et al., 2024 ) | Specialized models | Plan-Exec | DS-V4-Pro |
| OpenDR ( AI, 2024 ) | AI Search | YDC ( Su-Sea, 2024 ) , GAIA ( Mialon et al., 2023 ) , HLE ( Phan and Alice Gatti, 2025 ) | Search, VecDB, embed | Parallel, Plan-Exec, | Qwen3.7-Max; |
| Branching, Loop | DS-V4-Pro, V4-Flash | ||||
| Mini-SWE ( Team, 2025b ) | Coding | SWEBench Verified ( Jimenez et al., 2023 ) | FS, shell | ReAct | DS-V4-Pro |
| Codex ( OpenAI, 2025 ) | Terminal | Terminal Bench ( Shaw et al., 2025 ) | FS, shell | ReAct | DS-V4-Pro |
LLM Agent Serving
Large language model agent serving runs tool-using, multi-step agents efficiently by coordinating inference, memory, and workflow execution.
See all 35 papers