ThunderAgent is a system that introduces a program abstraction for agentic LLM request scheduling to address KV cache thrashing in high-concurrency synthetic data generation. By treating agent workflows as schedulable programs rather than independent requests, it significantly improves throughput and reduces latency.

  • Achieves up to 2.5× higher single-node throughput and 10× lower P50 latency at high concurrency compared to default SGLang schedulers.
  • Delivers a 2.4× speedup on an 8-node cluster with near-linear throughput scaling from 16 to 64 GPUs.
  • Mitigates KV cache thrashing through program-level admission control and a global waiting queue for load balancing.
  • Compatible with existing offloading strategies like HiCache and speculative decoding via OpenAI-compatible endpoints.

The system allows users to adopt agentic inference optimizations without changing their underlying inference backend, offering practical scalability for large-scale agent training pipelines.