---
title: "ThunderAgent: 2x Faster Agentic Inference for Synthetic Data Generation at Scale"
description: "ThunderAgent is a scheduling layer between agent clients and inference backends that treats each multi-turn agentic workflow as a schedulable program instead of independent requests, preventing KV cache thrashing when agents pause for tool calls."
url: "https://swe.quest/articles/thunderagent-2x-faster-agentic-inference-for-synthetic-data-generation-at-scale-7560ef73731954d5"
canonical: "https://www.together.ai/blog/thunderagent"
source: "Together AI"
published: "2026-07-29"
difficulty: "hard"
kind: "Research"
reading_minutes: 6
tags: ["inference","ai-agents","scheduling","performance","llms"]
---

# ThunderAgent: 2x Faster Agentic Inference for Synthetic Data Generation at Scale

A post on [Together AI](https://swe.quest/sources/together.md), published 2026-07-29, 6 min read, Research. Original: [https://www.together.ai/blog/thunderagent](https://www.together.ai/blog/thunderagent)

## Summary

ThunderAgent is a scheduling layer between agent clients and inference backends that treats each multi-turn agentic workflow as a schedulable program instead of independent requests, preventing KV cache thrashing when agents pause for tool calls. Under memory pressure it pauses low-priority programs to raise cache hit rates, then resumes them via a global waiting queue onto the node with the most free capacity, replacing static session pinning. On one 8×H100 node with HiCache at batch 192 it reached 803 vs 390 tokens/s for SGLang, with mean latency cut from 65s to 10.6s. Across 2 to 8 nodes it scaled near-linearly and outperformed SGLang Gateway by up to 2.39×, requiring only a program\_id field on OpenAI-compatible requests.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Scheduling](https://swe.quest/tags/scheduling.md) (Distributed systems)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

- KV cache in LLM inference ([easy posts on Caching](https://swe.quest/tags/caching.md?difficulty=easy))
- LLM serving engines like vLLM/SGLang ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- agentic tool-calling loops ([easy posts on AI agents](https://swe.quest/tags/ai-agents.md?difficulty=easy))

## Keywords

ThunderAgent, SGLang, vLLM, HiCache, LMCache, CoderForge, NVIDIA Dynamo, SkyRL

## Related posts

- [Benchmarking inference at scale: coding agents](https://swe.quest/articles/benchmarking-inference-at-scale-coding-agents-f8c09180ef476b13.md): Together AI · 2026-05-19 · Hard · 6 min read · Inference & serving, Performance engineering, LLMs, AI for coding
  On a long-context, high-concurrency coding agent workload (prompts ~45k–200k tokens, ~450-token outputs, EAGLE speculative decoding) running Kimi K2.5 on B200 GPUs, Together Inference Engine delivers 31% more per-user TPS than TensorRT-LLM at 2.5M TPM.
- [Making open models work for long-horizon agentic workloads](https://swe.quest/articles/making-open-models-work-for-long-horizon-agentic-workloads-904e5a2645303fb2.md): Together AI · 2026-11-16 · Medium · 12 min read · Inference & serving, AI agents, Caching, LLMs, Load balancing
  Agentic coding workloads resend the whole growing transcript each turn while emitting short tool calls, so they are prefill-dominated and depend on prefix caching, which only reuses work up to the first changed token.
- [Production is the New Prototype: Notes from LangChain Interrupt 2026](https://swe.quest/articles/production-is-the-new-prototype-notes-from-langchain-interrupt-2026-598a0cd4d231f95d.md): 8th Light · 2026-05-17 · Easy · 8 min read · AI agents, Evaluation, Observability, LLMs, Cost optimization
  Production agent deployments at LangChain Interrupt 2026 point to operational discipline, not model capability, as the hard part of shipping agents.
- [Together AI at ICML 2026: frontier research across the full stack](https://swe.quest/articles/together-ai-at-icml-2026-frontier-research-across-the-full-stack-7ba2ab06914581c4.md): Together AI · 2026-06-30 · Hard · 10 min read · Inference & serving, Model training, LLMs, AI agents, Evaluation
  Together AI's nine ICML 2026 papers span the AI stack from agents to GPU kernels, each with a headline result.
- [Key research and product announcements at the AI Native Conf](https://swe.quest/articles/key-research-and-product-announcements-at-the-ai-native-conf-07f3b657efde83f0.md): Together AI · 2026-03-05 · Hard · 7 min read · Inference & serving, Hardware, Model training, AI agents, Performance engineering
  Together AI announced seven research and product releases spanning GPU kernels, reinforcement learning infrastructure and inference optimization.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
