llm-d maps agent traces to replay tools for inference testing
A new engineering survey compares six trace datasets and six replay mechanisms, then matches them to proof-of-concept, sizing and pre-production work.
Agent-serving tests can produce precise-looking numbers while replaying the wrong parts of a workload. A new llm-d engineering survey, published November 9, compares six agent-trace datasets with six replay mechanisms and makes that mismatch explicit.
The central point is practical: trace datasets preserve different evidence. Some retain timing, token counts and shared-prefix structure but remove message content. Others preserve complete conversations, tool definitions and request parameters, but do not capture production timing or cache behavior. Once a dataset discards a field, a replay tool cannot reconstruct it reliably.
Six datasets, six replay paths
The survey covers WEKA/AgentX, SWE-smith, TraceLab, Mooncake, Baseten Trace and IBM's Exgentic Agent LLM Traces v2. It selected those datasets by tracing native support in Inference-Perf, NVIDIA AIPerf, GuideLLM, vLLM bench serve, SGLang bench_serving and NVIDIA DynoSim.
That produces a useful distinction between workload shape and behavioral content. WEKA/AgentX and TraceLab derive from real user activity but strip message content; Mooncake preserves timestamps, token lengths and prefix hashes from serving traffic without publishing session boundaries. Exgentic and SWE-smith are benchmark-generated and retain richer semantic records, trading realism in user activity for repeatability and inspectability.
The replay mechanisms also do materially different work. Inference-Perf can reconstruct dependency graphs and substitute live model outputs into downstream turns. AIPerf supports recorded schedules or closed-loop conversations through dataset-specific adapters. vLLM's benchmark path treats timed-trace rows as independent requests, while DynoSim replays trace demand against simulated engine cores rather than a live endpoint. The survey cautions that results are comparable only when the replay target, preserved trace properties and reported metric line up.
Match the trace to the decision
llm-d proposes a staged selection rule. For a proof of concept, synthetic shared-prefix shapes or Mooncake traces can isolate one serving mechanism. For hardware sizing, real session structure such as subagent fan-out and tool delays matters, making WEKA/AgentX a stronger fit. For pre-production checks, the full messages, tool definitions and call dependencies in Exgentic support functional testing. In production, the authors recommend controlled load ramps read against live router and engine metrics rather than treating a static trace as ground truth.
For platform teams, the takeaway is not that one dataset or load generator wins. It is that an agentic benchmark is only as informative as the information its trace retained and the behavior its replay path preserves. Infrastructure throughput, end-to-end session latency and simulator predictions may all be valid measurements, but they are not interchangeable.
sources
- From agent traces to replayllm-d.ai
comments · 0