# AgentWeave: Efficient Distributed Agent Serving via Flow Decomposition

DevFeed: [AgentWeave: Efficient Distributed Agent Serving via Flow Decomposition](<https://devfeed.tech/articles/agentweave-efficient-distributed-agent-serving-via-flow-decomposition-127794.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.14804>)

Author: Kaibin Guo, Pengtu Li, Zicong Hong, Zhiyuan Fang, Wuhui Chen, Rachid Guerraoui, Anne-Marie Kermarrec

Published: 2026-11-11T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [agent](<https://devfeed.tech/tags/agent.md>), [applications](<https://devfeed.tech/tags/applications.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [batch](<https://devfeed.tech/tags/batch.md>), [blocking](<https://devfeed.tech/tags/blocking.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [device](<https://devfeed.tech/tags/device.md>), [devices](<https://devfeed.tech/tags/devices.md>), [distributed](<https://devfeed.tech/tags/distributed.md>), [execution](<https://devfeed.tech/tags/execution.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [fine](<https://devfeed.tech/tags/fine.md>), [flow](<https://devfeed.tech/tags/flow.md>), [language](<https://devfeed.tech/tags/language.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llm](<https://devfeed.tech/tags/llm.md>), [long-running](<https://devfeed.tech/tags/long-running.md>), [serving](<https://devfeed.tech/tags/serving.md>)

## AI overview

AgentWeave addresses request blocking in aggregated distributed agent serving. Disaggregated systems can suffer pipeline bubbles when module latencies are imbalanced; aggregated systems keep devices active but make short requests wait behind longer requests in a batch, and new arrivals wait for the ongoing workflow to finish. AgentWeave decomposes long requests into fine-grained execution units while preserving agent semantics, so shorter and newly arriving requests can progress. A flow-adaptive scheduler balances decomposition's throughput gains against its scheduling overhead. Across four representative agent applications, the paper reports 1.28-1.81x higher throughput, 2.08-2.45x lower average latency, and 1.56-2.04x lower P90 latency than state-of-the-art baselines.

## Source excerpt

arXiv:2610.14804v2 Announce Type: replace Abstract: Agent applications are evolving into workflows composed of large language model (LLM) calls and tool invocations, termed modules. Existing distributed agent systems typically adopt a disaggregated architecture, deploying different modules on separate devices. While this enables pipeline parallelism, imbalanced module latencies introduce severe pipeline bubbles that limit throughput. A natural alternative is an aggregated architecture that co-deploys all modules across all devices, eliminating bubbles by keeping every device continuously active. However, this introduces request blocking: short requests are forced to progress in lockstep with longer ones in the same batch, and newly arriving requests must wait until the entire ongoing batch completes the full workflow. To address this, we propose AgentWeave, an efficient distributed serving system for agent applications built on the aggregated architecture. Its core mechanism, flow decomposition, decomposes long agent requests into fine-grained execution units while preserving agent semantics, allowing short and newly arriving requests to proceed without being stalled by long-running ones. Complementing this, a flow-adaptive scheduler dynamically balances the throughput gains of decomposition against its scheduling overhead. Experiments across four representative agent applications demonstrate that AgentWeave improves throughput by 1.28-1.81x, reduces average latency by 2.08-2.45x, and reduces P90 latency by 1.56-2.04x over state-of-the-art baselines.