ThunderAgent: A Simple, Fast and Program-Aware Agentic Inference System

Hao Kang, Ziyang Li, Xinyu Yang, Weili Xu, Yinfang Chen +5 more
2/14/2026
cs.OScs.MA

No official code found. Best implementation: ThunderAgent-org/ThunderAgent (439 stars, MIT, last commit 2026-03-16).

Abstract

Large language models(LLMs) are now used to power complex multi-turn agentic workflows. Existing systems run agentic inference by loosely assembling isolated components: an LLM inference engine (e.g., vLLM) and a tool orchestrator (e.g., Kubernetes). Although agentic workflows involve multiple LLM and tool requests, these systems schedule and allocate resources separately on a per-request basis, without end-to-end knowledge of the workflow. This leads to sub-optimal management of KV cache and tool execution environments. To address the challenges, we propose ThunderAgent, a fast, simple, and program-aware agentic inference system. We first abstract agentic workflows as LLM Programs, enabling a unified view of heterogeneous resources, including KV caches, system states, and external tool assets such as disk memory and network ports. Built upon this abstraction, ThunderAgent introduces a program-aware scheduler and a tool resource manager designed to maximize KV cache hit rates, mitigate memory imbalances, and enable asynchronous environment preparation. Evaluations across coding, routing, and scientific discovery agents demonstrate that ThunderAgent achieves 1.5-3.6x throughput improvements in serving, 1.8-3.9x in RL rollout, and up to 4.2x disk memory savings compared to state-of-the-art inference systems. To facilitate reproducibility and support future development, we open-source the system implementations of the whole ThunderAgent at: https://github.com/Agentic-Kinetics/ThunderAgent.

View on arXivView PDF

Code Implementations(1)

MIT

A simple, fast and robust program-aware agentic inference system.

43940PythonAug 27, 20257 months agoMIT
ai-agentscomputersystemsreinforcement-learning-agent

Similar Papers

Cite this paper

@article{kang2026thunderagent,
  title  = {ThunderAgent: A Simple, Fast and Program-Aware Agentic Inference System},
  author = {Hao Kang and Ziyang Li and Xinyu Yang and Weili Xu and Yinfang Chen and Junxiong Wang and Beidi Chen and Tushar Krishna and Chenfeng Xu and Simran Arora},
  year   = {2026},
  eprint = {2602.13692},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.13692v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.13692.svg)](https://codeofpaper.com/paper/2602.13692)

Discussion